/* Turnkey Homes + Pole Barns: dark navy/orange, built on the prefab-homes (.pf-page) spec-sheet system */
.tk-page {
  --tk-navy:#1a2636; --tk-navy2:#223247; --tk-orange:#ff5c24; --tk-orange-d:#e84c1c;
  --tk-paper:#121b27; --tk-card:#1a2636; --tk-ink:#eef0f3; --tk-mute:#9aa6b4; --tk-line:rgba(233,216,180,.14);
  --tk-pine:#e9d8b4; --tk-pine-dim:#b9a985;
  --tk-notice:rgba(255,92,36,.1); --tk-notice-line:rgba(255,92,36,.45);
  --tk-head:'Bebas Neue','Oswald',sans-serif; --tk-cond:'Oswald',sans-serif; --tk-body:'Barlow',system-ui,sans-serif;
  background:var(--tk-paper); color:var(--tk-ink); font-family:var(--tk-body);
}
.tk-page main { max-width:1200px; margin:0 auto; padding:0 24px 48px; }
.tk-page h1, .tk-page h2 { font-family:var(--tk-head); font-weight:400; letter-spacing:.5px; line-height:.95; color:var(--tk-ink); }
.tk-eyebrow { font-family:var(--tk-cond); font-size:12px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--tk-orange); margin-bottom:8px; }
.tk-page a { color:var(--tk-orange); }

.tk-btn { display:inline-flex; align-items:center; justify-content:center; min-height:48px; background:var(--tk-orange-d); color:#fff !important; font-family:var(--tk-cond); font-weight:700; font-size:15px; letter-spacing:1.2px; text-transform:uppercase; padding:13px 24px; border-radius:5px; border:2px solid var(--tk-orange-d); cursor:pointer; text-decoration:none !important; transition:transform .15s, background .2s; }
.tk-btn:hover { background:var(--tk-orange); border-color:var(--tk-orange); transform:translateY(-2px); }
.tk-btn-ghost { background:transparent; border-color:rgba(233,216,180,.45); color:var(--tk-pine) !important; }
.tk-btn-ghost:hover { background:rgba(233,216,180,.08); border-color:rgba(233,216,180,.7); }
.tk-btn-line { background:transparent; color:var(--tk-pine) !important; border-color:rgba(233,216,180,.45); }
.tk-btn-line:hover { background:rgba(233,216,180,.08); color:#fff !important; border-color:var(--tk-pine); }
.tk-page :focus-visible { outline:3px solid var(--tk-orange); outline-offset:2px; }

/* Hero: split copy/photo, as prefab-homes */
.tk-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:44px; align-items:center; padding:44px 0 30px; }
.tk-hero-img { width:100%; height:auto; aspect-ratio:10/7; object-fit:cover; border-radius:4px; border:1px solid var(--tk-line); box-shadow:18px 18px 0 -1px var(--tk-navy2); animation:tkRise .7s ease both .1s; }
.tk-hero-copy { animation:tkRise .6s ease both; }
.tk-crumb { font-size:12px; letter-spacing:.5px; margin-bottom:20px; color:var(--tk-mute); }
.tk-crumb a { color:var(--tk-pine-dim); }
.tk-hero h1 { font-size:clamp(54px,7.4vw,104px); margin-bottom:16px; }
.tk-lede { font-size:18px; font-weight:300; line-height:1.65; color:#d6dbe2; margin-bottom:20px; max-width:560px; }
.tk-badges { list-style:none; display:flex; flex-wrap:wrap; gap:8px; margin:0 0 24px; padding:0; }
.tk-badges li { font-family:var(--tk-cond); font-size:13px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase; padding:7px 12px; border:1px solid var(--tk-line); border-radius:3px; background:var(--tk-navy); color:var(--tk-pine); }
.tk-badge-sub { margin-left:8px; color:#ffb08f; font-weight:400; text-transform:none; letter-spacing:.3px; }
.tk-hero-ctas { display:flex; flex-wrap:wrap; gap:12px; }

/* Service area notice */
.tk-notice { background:var(--tk-notice); border:2px solid var(--tk-notice-line); border-left:8px solid var(--tk-orange); color:#ffe2d6; padding:16px 20px; border-radius:6px; font-size:16px; line-height:1.55; }
.tk-notice a { color:#ff8a5e; font-weight:700; white-space:nowrap; }
.tk-notice-hero { margin:20px 0 34px; font-size:17px; }
.tk-notice-sm { font-size:14px; padding:12px 14px; border-left-width:6px; margin:14px 0; }
.tk-notice-foot { max-width:900px; margin:0 auto 22px; text-align:left; }
.tk-area-note { font-size:12.5px; line-height:1.45; color:#f4d2c4; background:var(--tk-notice); border:1px solid rgba(255,92,36,.3); border-radius:4px; padding:6px 9px; margin:6px 0 12px; }
.tk-area-note a { color:#ff8a5e; font-weight:600; white-space:nowrap; }

/* How it works */
.tk-how { margin-bottom:56px; }
.tk-how-card { background:var(--tk-navy); border:1px solid var(--tk-line); color:#e9edf5; border-radius:10px; padding:36px; display:grid; grid-template-columns:1.1fr 1fr; gap:28px 40px; }
.tk-how-card .tk-eyebrow { color:var(--tk-orange); }
.tk-how-card h2 { color:#fff; font-size:clamp(38px,4.6vw,58px); margin-bottom:12px; }
.tk-how-copy p { font-size:16.5px; line-height:1.65; }
.tk-fin-box { background:var(--tk-navy2); border-radius:8px; padding:20px 22px; border-top:4px solid var(--tk-orange); }
.tk-fin-box h3 { font-family:var(--tk-cond); font-size:15px; letter-spacing:1.6px; text-transform:uppercase; color:#fff; margin-bottom:10px; }
.tk-fin-box ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.tk-fin-box li { padding-left:22px; position:relative; font-size:15px; line-height:1.5; }
.tk-fin-box li::before { content:''; position:absolute; left:0; top:7px; width:10px; height:10px; background:var(--tk-orange); border-radius:2px; }
.tk-steps { grid-column:1 / -1; list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(4,1fr); gap:12px; counter-reset:none; }
.tk-steps li { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:6px; padding:16px; font-family:var(--tk-cond); font-size:16px; letter-spacing:.5px; text-transform:uppercase; color:#fff; display:flex; align-items:center; gap:12px; }
.tk-steps span { flex:none; width:38px; height:38px; display:grid; place-items:center; background:var(--tk-orange); border-radius:50%; font-family:var(--tk-head); font-size:24px; }
.tk-fine { font-size:13.5px; line-height:1.6; color:var(--tk-mute); }
.tk-how-card .tk-fine { grid-column:1 / -1; color:#b9c3d6; }
.tk-pair { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; }
.tk-incl { background:var(--tk-card); border:1px solid var(--tk-line); border-radius:8px; padding:24px 26px; }
.tk-incl h3 { font-family:var(--tk-cond); font-size:18px; text-transform:uppercase; letter-spacing:1px; color:var(--tk-pine); margin-bottom:12px; }
.tk-incl p { font-size:15px; line-height:1.6; color:#c8cfd8; margin-bottom:16px; }
.tk-incl ul { padding-left:18px; margin:0; display:grid; gap:7px; }
.tk-incl li { font-size:15px; line-height:1.5; color:#d3d9e0; }
.tk-incl li::marker { color:var(--tk-orange); }
.tk-know { border-top:4px solid var(--tk-orange); }

/* Sections / grid */
.tk-section { margin:0 0 60px; scroll-margin-top:80px; }
.tk-sec-head h2 { font-size:clamp(40px,5vw,64px); margin-bottom:18px; }
.tk-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:8px; }
.tk-filter { min-height:44px; font-family:var(--tk-cond); font-size:14px; font-weight:600; letter-spacing:.8px; text-transform:uppercase; padding:9px 16px; border:1px solid rgba(233,216,180,.3); background:transparent; color:var(--tk-pine); border-radius:4px; cursor:pointer; transition:background .15s,color .15s; }
.tk-filter:hover { background:var(--tk-navy2); }
.tk-filter[aria-pressed="true"] { background:var(--tk-orange-d); border-color:var(--tk-orange-d); color:#fff; }
.tk-count { display:inline-block; margin-left:4px; font-size:12px; opacity:.7; }
.tk-filter-status { font-size:13px; color:var(--tk-mute); margin-bottom:16px; }
.tk-grid { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); gap:20px; }
.tk-card { background:var(--tk-card); border:1px solid var(--tk-line); border-radius:8px; overflow:hidden; display:flex; flex-direction:column; scroll-margin-top:90px; transition:transform .2s, box-shadow .2s; }
.tk-card:hover { transform:translateY(-3px); box-shadow:0 18px 30px -18px rgba(0,0,0,.7); border-color:rgba(233,216,180,.3); }
.tk-card[hidden] { display:none; }
.tk-card-photo { position:relative; display:block; padding:0; border:0; background:var(--tk-line); cursor:zoom-in; aspect-ratio:16/11; overflow:hidden; }
.tk-card-photo img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.tk-card:hover .tk-card-photo img { transform:scale(1.04); }
.tk-photo-count { position:absolute; right:8px; bottom:8px; background:rgba(18,27,39,.88); color:var(--tk-pine); font-family:var(--tk-cond); font-size:11px; letter-spacing:1px; text-transform:uppercase; padding:4px 8px; border-radius:3px; }
.tk-card-body { padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.tk-card h3 { font-family:var(--tk-cond); font-size:21px; font-weight:600; color:var(--tk-ink); text-transform:uppercase; letter-spacing:.3px; margin-bottom:4px; }
.tk-spec { font-size:14px; color:var(--tk-mute); line-height:1.45; margin-bottom:10px; }
.tk-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:2px 8px; margin:auto 0 0; }
.tk-price-label { font-family:var(--tk-cond); font-size:12px; letter-spacing:1.6px; text-transform:uppercase; color:var(--tk-orange); font-weight:600; }
.tk-price-num { font-family:var(--tk-head); font-size:34px; line-height:1; color:var(--tk-pine); font-variant-numeric:tabular-nums; letter-spacing:.5px; }
.tk-card .tk-btn { margin-top:auto; width:100%; }

/* Table */
.tk-table-wrap { overflow-x:auto; border:1px solid var(--tk-line); border-radius:8px; background:var(--tk-card); }
.tk-table { width:100%; border-collapse:collapse; font-size:14.5px; min-width:640px; }
.tk-table th, .tk-table td { padding:11px 14px; text-align:left; border-bottom:1px solid var(--tk-line); vertical-align:top; }
.tk-table thead th { background:var(--tk-navy2); color:var(--tk-pine-dim); font-family:var(--tk-cond); font-size:12px; letter-spacing:2px; text-transform:uppercase; }
.tk-table tbody th a { font-family:var(--tk-cond); font-size:16px; text-transform:uppercase; color:var(--tk-ink); }
.tk-table tbody tr:nth-child(even) { background:rgba(255,255,255,.025); }
.tk-table-split th { background:var(--tk-navy2); font-family:var(--tk-cond); letter-spacing:2px; text-transform:uppercase; font-size:12px; color:var(--tk-navy); }
.tk-tag { font-size:11px; color:var(--tk-mute); }
.tk-na { color:var(--tk-mute); font-style:italic; }
.tk-num { font-variant-numeric:tabular-nums; font-weight:700; color:var(--tk-pine); white-space:nowrap; }
.tk-num .tk-area-note { white-space:normal; }
.tk-table-note { display:block; font-weight:400; font-size:11.5px; color:var(--tk-mute); white-space:normal; }
.tk-table-fine { margin-top:12px; }

/* Bottom CTA */
.tk-bottom { background:var(--tk-navy); border:1px solid var(--tk-line); border-top:4px solid var(--tk-orange-d); color:#e9edf5; border-radius:10px; padding:44px 36px; text-align:center; }
.tk-bottom h2 { color:#fff; font-size:clamp(40px,5vw,60px); margin-bottom:10px; }
.tk-bottom p { max-width:640px; margin:0 auto 20px; font-size:17px; line-height:1.6; }
.tk-bottom .tk-hero-ctas { justify-content:center; }
.tk-email { margin-top:18px !important; font-size:15px !important; }
.tk-email a { color:#ff8a5e; }

/* Cross-link to sibling catalog */
.tk-cross { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 30px; border-left:4px solid var(--tk-pine); background:var(--tk-navy); padding:24px 28px; border-radius:0 6px 6px 0; margin:0 0 40px; }
.tk-cross h2 { font-size:clamp(34px,4vw,46px); margin-bottom:6px; }
.tk-cross p:not(.tk-eyebrow) { color:#cfd5dc; font-size:15px; line-height:1.6; }

/* Dialogs */
.tk-dialog, .tk-lightbox { border:0; padding:0; color:var(--tk-ink); background:transparent; max-width:none; max-height:none; }
.tk-dialog { width:min(1080px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; border-radius:10px; overflow:hidden; }
.tk-dialog::backdrop, .tk-lightbox::backdrop { background:rgba(8,12,20,.85); }
.tk-dialog-inner { position:relative; background:var(--tk-card); max-height:calc(100dvh - 32px); overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; display:grid; grid-template-columns:1.15fr 1fr; gap:26px; padding:24px; }
.tk-close { position:sticky; top:0; justify-self:end; grid-column:1 / -1; z-index:2; min-height:44px; min-width:44px; font-family:var(--tk-cond); font-weight:600; font-size:14px; letter-spacing:1.2px; text-transform:uppercase; background:var(--tk-navy); color:#fff; border:0; border-radius:4px; padding:10px 16px; cursor:pointer; }
.tk-close:hover { background:var(--tk-orange-d); }
.tk-close { border:1px solid var(--tk-line); }
.tk-dialog-inner > .tk-close { margin:-8px -8px -14px 0; }
.tk-gallery { display:flex; flex-direction:column; gap:10px; }
.tk-shot { position:relative; display:block; width:100%; padding:0; border:1px solid var(--tk-line); border-radius:6px; overflow:hidden; background:var(--tk-line); cursor:zoom-in; }
.tk-shot img { width:100%; height:100%; object-fit:cover; display:block; }
.tk-shot-main { aspect-ratio:3/2; }
.tk-shot-plan { background:#f2efe8; }
.tk-shot-plan img { object-fit:contain; }
.tk-shot span { position:absolute; left:6px; bottom:6px; background:rgba(18,27,39,.9); color:var(--tk-pine); font-family:var(--tk-cond); font-size:10.5px; letter-spacing:1px; text-transform:uppercase; padding:3px 7px; border-radius:3px; }
.tk-thumbs { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.tk-thumbs .tk-shot { aspect-ratio:3/2; }
.tk-detail h2 { font-size:clamp(38px,4vw,54px); margin-bottom:12px; }
.tk-specs { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:1px; background:var(--tk-line); border:1px solid var(--tk-line); border-radius:6px; overflow:hidden; margin:0 0 14px; }
.tk-specs div { background:var(--tk-paper); padding:9px 12px; }
.tk-specs dt { font-family:var(--tk-cond); font-size:10.5px; letter-spacing:1.8px; text-transform:uppercase; color:var(--tk-mute); }
.tk-specs dd { margin:0; font-size:14.5px; font-weight:600; }
.tk-price-lg .tk-price-num { font-size:48px; }
.tk-desc { color:#d3d9e0; font-size:15.5px; line-height:1.65; margin:4px 0 14px; }
.tk-options { border:1px solid var(--tk-line); border-radius:6px; padding:12px 16px 4px; margin-bottom:12px; }
.tk-options h3 { font-family:var(--tk-cond); font-size:14px; letter-spacing:1.6px; text-transform:uppercase; color:var(--tk-pine); margin-bottom:6px; }
.tk-options ul { margin:0 0 4px; padding-left:18px; }
.tk-options li { font-size:15px; line-height:1.6; font-variant-numeric:tabular-nums; }
.tk-options li::marker { color:var(--tk-orange); }
.tk-fin { font-weight:700; color:var(--tk-pine); font-size:15px; }
.tk-dialog-ctas { display:flex; flex-wrap:wrap; gap:10px; margin-top:6px; }
.tk-dialog-ctas .tk-btn { flex:1 1 200px; }

.tk-lightbox { width:100vw; height:100dvh; margin:0; display:none; flex-direction:column; justify-content:center; align-items:center; padding:16px; }
.tk-lightbox[open] { display:flex; }
.tk-lightbox figure { margin:0; flex:1; min-height:0; display:flex; flex-direction:column; align-items:center; justify-content:center; width:100%; }
.tk-lightbox img { max-width:100%; max-height:calc(100dvh - 130px); object-fit:contain; background:#fff; border-radius:4px; }
.tk-lightbox figcaption { color:#fff; font-size:14px; margin-top:8px; text-align:center; }
.tk-lb-bar { display:flex; gap:10px; margin-top:10px; }
.tk-lb-nav { min-height:44px; min-width:72px; font-family:var(--tk-cond); font-weight:600; letter-spacing:1.2px; text-transform:uppercase; background:var(--tk-pine); color:var(--tk-paper); border:0; border-radius:4px; padding:10px 14px; cursor:pointer; }
.tk-lb-nav[hidden] { display:none; }
.tk-lightbox .tk-close { position:static; }
html.tk-locked, html.tk-locked body { overflow:hidden; }

.tk-page .site-footer { padding-top:32px; }

@keyframes tkRise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce) { .tk-hero-img, .tk-hero-copy { animation:none; } .tk-card, .tk-card-photo img, .tk-btn { transition:none; } }

@media (max-width:900px) {
  .tk-how-card { grid-template-columns:1fr; }
  .tk-hero { grid-template-columns:1fr; gap:24px; padding-top:28px; }
  .tk-hero-img { box-shadow:none; }
  .tk-steps { grid-template-columns:1fr 1fr; }
  .tk-dialog-inner { grid-template-columns:1fr; }
}
@media (max-width:767px) {
  .tk-page main { padding:0 16px 32px; }
  .tk-hero-ctas .tk-btn { flex:1 1 100%; }
  .tk-notice-hero { margin:14px 0 26px; font-size:15.5px; padding:14px 16px; }
  .tk-how-card { padding:24px 18px; }
  .tk-steps, .tk-pair { grid-template-columns:1fr; }
  .tk-grid { grid-template-columns:1fr; }
  .tk-filter { flex:1 1 calc(50% - 8px); }
  .tk-dialog { width:100vw; max-height:100dvh; height:100dvh; border-radius:0; }
  .tk-dialog-inner { max-height:100dvh; height:100%; padding:16px; gap:16px; }
  .tk-bottom { padding:32px 18px; }
  .tk-cross { padding:20px 18px; }
  .tk-cross .tk-btn { width:100%; }
}
