/* TNFloors — design option C (owner-approved 2026-08-06).
 *
 * C = A's industrial type system and rust/steel palette wearing B's room-led structure:
 * a FLAT typographic hero with no photograph behind the headline, a full-bleed room chooser
 * directly beneath it, numbered sections, and a tabular cost sheet.
 *
 * ⛔ NOT a pafloors reskin (XSITE-OK). Different type system (heavy condensed uppercase vs serif),
 * different palette (rust/steel vs oak/bone), different section architecture. Sibling
 * domain-flip sites must never share a design layer.
 *
 * Two design-round fixes are baked in and must not be undone:
 *   1. The brand lockup motto is white-space:nowrap and WILL push the header past the viewport
 *      on phones — the media queries that hide it below 1080px/520px are load-bearing.
 *   2. The cost value's unit overflows its fixed grid column at 375px and runs into the screen
 *      edge; it is hidden below 700px, where the section heading already states the unit.
 */

:root{
  --tn-ink:#16202B;
  --tn-mut:#5A6875;
  --tn-bone:#FBFAF7;
  --tn-birch:#F0EBE1;
  --tn-lake:#1F5C82;
  --tn-lake-dk:#164A69;
  --tn-line:#E2DDD2;
}

/* ---------------------------------------------------------------- WordPress scaffolding
   GeneratePress's own header, nav and footer are replaced wholesale: C's two-line brand
   lockup and full-bleed room grid cannot be produced from GP's markup. */
body.tn-page .site-header,
body.tn-page .main-navigation,
body.tn-page .site-footer{ display:none !important; }

body.tn-page{
  margin:0; background:var(--tn-bone); color:var(--tn-ink);
  font:16.5px/1.6 "Inter",ui-sans-serif,system-ui,-apple-system,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.tn-page .site.grid-container,
body.tn-page .site-content,
body.tn-page .content-area,
body.tn-page .site-main{ max-width:100%; width:100%; padding:0; margin:0; }
body.tn-page .site-content{ display:block; }

body.tn-fullbleed .inside-article{ padding:0; background:transparent; border:0; box-shadow:none; }
body.tn-fullbleed .entry-header{ display:none; }
body.tn-fullbleed .entry-content{ margin:0; }

body.tn-page h1, body.tn-page h2, body.tn-page h3, body.tn-page h4{
  margin:0; font-weight:800; letter-spacing:-.03em; line-height:1.03;
}
body.tn-page a{ color:inherit; }

.tn-wrap{ max-width:1200px; margin:0 auto; padding:0 26px; }
.tn-disp{ font-family:"Archivo","Inter",Helvetica,sans-serif; text-transform:uppercase;
  letter-spacing:-.02em; }

/* ---------------------------------------------------------------- header */
.tn-hdr{ background:var(--tn-ink); color:#EDEBE7; position:sticky; top:0; z-index:30; }
.tn-hdr .tn-wrap{ display:flex; align-items:center; gap:30px; height:74px; }
.tn-brand{ text-decoration:none; display:flex; flex-direction:column; gap:3px; line-height:1; }
.tn-brand .bn{ font:800 23px/1 "Archivo","Inter",Helvetica,sans-serif; text-transform:uppercase;
  letter-spacing:-.02em; color:#fff; }
.tn-brand .bn em{ font-style:normal; color:var(--tn-lake); }
.tn-brand .bs{ font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:#8B959C;
  display:flex; gap:8px; white-space:nowrap; }
.tn-brand .bmotto{ text-transform:none; letter-spacing:.01em; font-size:11px; font-style:italic; }
.tn-nav{ margin-left:auto; display:flex; gap:26px; font-size:13px; text-transform:uppercase;
  letter-spacing:.09em; color:#C4CACE; }
.tn-nav a{ text-decoration:none; padding:5px 0; border-bottom:2px solid transparent; }
.tn-nav a:hover{ border-color:var(--tn-lake); color:#fff; }
.tn-navtoggle{ display:none; margin-left:auto; background:none; border:1px solid #3A4045;
  color:#EDEBE7; border-radius:3px; padding:9px 13px; font:12px inherit; text-transform:uppercase;
  letter-spacing:.1em; cursor:pointer; }

/* ---------------------------------------------------------------- hero (flat, typographic) */
.tn-hero{ background:var(--tn-ink); color:#F2F0EC; }
.tn-hero .tn-wrap{ padding:64px 26px 38px; }
.tn-hero .inner{ max-width:62ch; }
.tn-kicker{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:#E08A66;
  margin-bottom:20px; font-weight:700; }
.tn-hero h1{ font-size:clamp(34px,5.2vw,62px); font-family:"Archivo","Inter",Helvetica,sans-serif;
  text-transform:uppercase; }
.tn-hero p{ margin:20px 0 0; font-size:17.5px; color:#B9C0C5; max-width:52ch; }
.tn-btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.tn-btn{ display:inline-block; background:var(--tn-lake); color:#fff; text-decoration:none;
  padding:15px 26px; font:700 13px/1 inherit; letter-spacing:.11em; text-transform:uppercase; }
.tn-btn.alt{ background:transparent; border:1px solid #464C51; color:#E6E3DE; }

/* ---------------------------------------------------------------- room chooser (full bleed) */
.tn-rooms{ display:grid; grid-template-columns:repeat(3,1fr); gap:2px; background:var(--tn-lake); }
.tn-room{ position:relative; overflow:hidden; text-decoration:none; display:block; min-height:200px; }
.tn-room img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tn-room::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(15,17,19,.05) 42%,rgba(15,17,19,.88)); }
.tn-room .lab{ position:absolute; left:20px; right:20px; bottom:16px; z-index:2; color:#fff; }
.tn-room .lab h3{ font-size:17px; font-family:"Archivo","Inter",sans-serif; text-transform:uppercase;
  letter-spacing:-.01em; }
.tn-room .lab p{ margin:5px 0 0; font-size:13.5px; color:#D5DBDE; }

/* ---------------------------------------------------------------- sections */
.tn-sec{ padding:70px 0; border-bottom:1px solid var(--tn-line); }
.tn-sec.alt{ background:#EDEBE6; }
.tn-sec.dark{ background:var(--tn-ink); color:#EFEDE9; border-bottom:0; }
.tn-num{ font:800 12px/1 inherit; letter-spacing:.2em; color:var(--tn-lake); margin-bottom:14px; }
.tn-sec h2{ font-size:clamp(24px,3.1vw,36px); font-family:"Archivo","Inter",sans-serif;
  text-transform:uppercase; max-width:20ch; }
.tn-lede{ color:var(--tn-mut); max-width:62ch; margin-top:14px; }
.tn-sec.dark .tn-lede{ color:#A6AEB3; }

/* materials — cards (B's contribution to C) */
.tn-mgrid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:32px; }
.tn-mcard{ background:#fff; border:1px solid var(--tn-line); text-decoration:none; display:block; }
.tn-mcard img{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; }
.tn-mcard .t{ padding:15px 17px 19px; }
.tn-mcard h3{ font-size:16px; font-family:"Archivo","Inter",sans-serif; text-transform:uppercase; }
.tn-mcard p{ margin:6px 0 0; font-size:14px; color:var(--tn-mut); }
.tn-mcard:hover{ border-color:var(--tn-lake); }

/* costs — table (A's contribution) */
table.tn-costs{ width:100%; border-collapse:collapse; margin-top:32px; font-size:16px; }
table.tn-costs th{ text-align:left; font:700 11px/1 inherit; letter-spacing:.16em;
  text-transform:uppercase; color:var(--tn-mut); padding:0 0 12px; border-bottom:2px solid var(--tn-ink); }
table.tn-costs td{ padding:14px 0; border-bottom:1px solid var(--tn-line); }
table.tn-costs td.p{ text-align:right; font-variant-numeric:tabular-nums; font-weight:700;
  white-space:nowrap; }
table.tn-costs td.u{ text-align:right; color:var(--tn-mut); font-size:13px; width:92px; }
.tn-disclaimer{ margin-top:18px; font-size:13.5px; color:var(--tn-mut); max-width:66ch; }

/* estimator */
.tn-est .tn-wrap{ display:grid; grid-template-columns:1fr 400px; gap:46px; align-items:center; }
.tn-panel{ border:1px solid #3A4045; padding:24px; }
.tn-panel h3{ font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:#fff;
  margin-bottom:16px; }
.tn-field{ margin-bottom:13px; }
.tn-field label{ display:block; font-size:11px; letter-spacing:.13em; text-transform:uppercase;
  color:#98A0A6; margin-bottom:6px; font-weight:700; }
.tn-field input,.tn-field select{ width:100%; border:1px solid #3A4045; border-radius:0;
  padding:11px 12px; font:15px inherit; background:#15181A; color:#EFEDE9; }
.tn-row2{ display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.tn-gobtn{ width:100%; margin-top:6px; background:var(--tn-lake); color:#fff; border:0; padding:14px;
  font:700 13px/1 inherit; letter-spacing:.11em; text-transform:uppercase; cursor:pointer; }
.tn-panel .note{ font-size:12px; color:#8B959C; margin-top:12px; line-height:1.5; }


/* ---------- estimator, light theme ----------
   The design-round mockup only ever showed the dark estimator, so the light variant shipped
   unstyled: light labels on a light ground measured 2.39:1 under the glyphs on the dedicated
   estimator page. Caught by rendering the live page. */
.tn-est.light{ background:#EDEBE6; color:var(--tn-ink); }
.tn-est.light h2{ color:var(--tn-ink); }
.tn-est.light .tn-lede,.tn-est.light .tn-est-points{ color:var(--tn-mut); }
.tn-est.light .tn-panel{ background:#fff; border-color:var(--tn-line); }
.tn-est.light .tn-panel h3{ color:var(--tn-ink); }
.tn-est.light .tn-field label{ color:#4E585E; }
.tn-est.light .tn-field input,.tn-est.light .tn-field select{ background:#fff;
  border-color:var(--tn-line); color:var(--tn-ink); }
.tn-est.light .tn-panel .note,.tn-est.light .tn-toggle{ color:#4E585E; }
.tn-est.light .tn-result{ border-top-color:var(--tn-line); }
.tn-est.light .tn-total{ color:var(--tn-lake-dk); }
.tn-est.light .tn-total-cap,.tn-est.light .tn-explain{ color:var(--tn-mut); }
.tn-est.light .tn-split-row{ color:var(--tn-ink); border-bottom-color:var(--tn-line); }
.tn-est.light .tn-estimate-flag{ background:#F6EFE7; color:#4A3B33; }
/* dark-theme note was 2.75:1 */
.tn-panel .note{ color:#A3ACB2; }
/* .tn-toggle is a bare <button>: with no rule at all it took the UA default and measured
   1.27:1 on the light estimator. Style it explicitly on both grounds. */
.tn-toggle{ background:none; border:0; padding:4px 0; cursor:pointer; font:inherit;
  font-size:13px; text-decoration:underline; text-underline-offset:3px; color:#A3ACB2; }
.tn-est.light .tn-toggle{ color:#4E585E; }

/* Tennessee notes — numbered rows */
.tn-notes{ margin-top:32px; display:grid; gap:0; }
.tn-note-row{ display:grid; grid-template-columns:34px 1fr; gap:20px; padding:22px 0;
  border-bottom:1px solid var(--tn-line); }
.tn-note-row .k{ font:800 13px/1 inherit; color:var(--tn-lake); letter-spacing:.06em; }
.tn-note-row h3{ font-size:18px; }
.tn-note-row p{ margin:8px 0 0; font-size:15.5px; color:var(--tn-mut); }

.tn-facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:34px;
  border-top:2px solid var(--tn-ink); border-bottom:1px solid var(--tn-line); }
.tn-facts div{ padding:24px 22px 24px 0; border-right:1px solid var(--tn-line); }
.tn-facts div:last-child{ border-right:0; }
.tn-facts .n{ font:800 clamp(20px,2.5vw,28px)/1 "Archivo","Inter",sans-serif; color:var(--tn-lake);
  letter-spacing:-.02em; }
.tn-facts p{ margin:8px 0 0; font-size:13.5px; color:var(--tn-mut); }

/* a dated callout — local rules is timely, but it is color, not the headline */
.tn-alert{ background:#243B36; color:#E8F0ED; padding:26px 28px; margin-top:34px;
  display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start; }
.tn-alert .tag{ background:var(--tn-lake); color:#fff; font-size:11px; font-weight:800;
  letter-spacing:.11em; text-transform:uppercase; padding:7px 12px; white-space:nowrap; }
.tn-alert h3{ font-size:19px; color:#fff; }
.tn-alert p{ margin:9px 0 0; font-size:15.5px; color:#B9CCC6; max-width:74ch; }

.tn-cities{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:30px;
  border-top:2px solid var(--tn-ink); }
.tn-cities a{ padding:15px 20px 15px 0; border-bottom:1px solid var(--tn-line);
  border-right:1px solid var(--tn-line); text-decoration:none; font-size:16px; }
.tn-cities a:hover{ color:var(--tn-lake); }

.tn-faq{ margin-top:30px; max-width:76ch; }
.tn-faq details{ border-bottom:1px solid var(--tn-line); padding:18px 0; }
.tn-faq summary{ cursor:pointer; font-weight:700; font-size:17px; }
.tn-faq p{ margin:10px 0 0; color:var(--tn-mut); font-size:16px; }


/* ---------------------------------------------------------------- nav submenus
   The design-round mockups had a FLAT nav, so option C never needed these rules. Once real pages
   existed the nav grew submenus and every child rendered inline — scrollWidth 2027 at a 1440
   viewport. Caught by rendering the live site, not by any structural check. */
.tn-nav{ list-style:none; margin:0; padding:0; }
.tn-nav > li{ position:relative; }
.tn-nav > li > a{ display:flex; align-items:center; gap:7px; }
.tn-caret{ width:7px; height:7px; border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); opacity:.6; }
.tn-sub{ position:absolute; top:100%; left:-14px; min-width:238px; background:var(--tn-ink);
  border:1px solid #2E3438; padding:8px; display:none;
  box-shadow:0 14px 34px rgba(0,0,0,.45); }
.tn-nav > li:hover > .tn-sub, .tn-nav > li:focus-within > .tn-sub{ display:block; }
.tn-sub a{ display:block; padding:9px 12px; text-decoration:none; color:#D4D9DC; font-size:14.5px;
  border-bottom:0; text-transform:none; letter-spacing:0; }
.tn-sub a:hover{ background:#20262A; color:#fff; }


/* ---------------------------------------------------------------- footer */
.tn-ft{ background:var(--tn-ink); color:#A6AEB3; padding:56px 0 30px; font-size:14.5px; }
.tn-ft-cols{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.tn-ft-brand{ font:800 20px "Archivo","Inter",sans-serif; text-transform:uppercase; color:#fff; }
.tn-ft-tag{ margin-top:6px; font-size:13.5px; font-style:italic; color:#C08C79; }
.tn-ft-note{ margin:11px 0 0; font-size:13.5px; max-width:40ch; color:#79828A; }
.tn-ft h4{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#9BA4AA;
  margin-bottom:11px; }
.tn-ft a{ display:block; text-decoration:none; padding:4px 0; color:#A6AEB3; }
.tn-ft a:hover{ color:#fff; }
.tn-ft-fine{ margin-top:40px; padding-top:18px; border-top:1px solid #2A2F33; font-size:13px;
  color:#9BA4AA; }
.tn-ft-sep{ margin:0 9px; }
.tn-ft-inq{ display:inline !important; color:#9BA4AA !important; text-decoration:underline; }
.tn-ft-inq:hover{ color:#fff !important; }

/* Wide content scrolls inside its OWN box; the page body never scrolls. The design layer wraps
   every table in .tn-tablewrap — without this rule the cost-guide comparison table pushed the
   whole page to 427px inside a 360px viewport. */
.tn-tablewrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }
.tn-tablewrap table{ min-width:520px; }

/* ---------------------------------------------------------------- article pages */
body.tn-article .inside-article{ max-width:800px; margin:0 auto; padding:52px 26px 30px;
  background:transparent; border:0; box-shadow:none; }
body.tn-article .entry-header{ margin-bottom:0; }
body.tn-article .entry-title{ font-family:"Archivo","Inter",sans-serif; text-transform:uppercase;
  font-size:clamp(29px,3.8vw,44px); }
body.tn-article .entry-meta{ font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--tn-mut); margin-top:14px; }
body.tn-article .entry-content{ margin-top:26px; font-size:17px; line-height:1.72; }
body.tn-article .entry-content h2{ font-size:24px; margin:44px 0 0;
  font-family:"Archivo","Inter",sans-serif; text-transform:uppercase; }
body.tn-article .entry-content h3{ font-size:19px; margin:32px 0 0; }
body.tn-article .entry-content p{ margin:15px 0 0; }
body.tn-article .entry-content ul,body.tn-article .entry-content ol{ margin:15px 0 0;
  padding-left:22px; }
body.tn-article .entry-content li{ margin-bottom:8px; }
body.tn-article .entry-content li::marker{ color:var(--tn-lake); }
body.tn-article .entry-content a{ color:var(--tn-lake-dk); text-underline-offset:2px; }
body.tn-article .entry-content img{ max-width:100%; height:auto; display:block; }
body.tn-article .entry-content figure{ margin:34px 0 0; }
body.tn-article .entry-content figcaption{ font-size:13px; color:var(--tn-mut); margin-top:8px; }

/* ---------------------------------------------------------------- responsive */
@media(max-width:1080px){
  /* LOAD-BEARING: the motto is nowrap and will widen the header past the viewport */
  .tn-brand .bdot,.tn-brand .bmotto{ display:none; }
}
@media(max-width:980px){
  .tn-rooms{ grid-template-columns:1fr 1fr; }
  .tn-mgrid{ grid-template-columns:1fr 1fr; }
  .tn-est .tn-wrap{ grid-template-columns:1fr; gap:30px; }
  .tn-facts,.tn-cities{ grid-template-columns:1fr 1fr; }
  .tn-ft-cols{ grid-template-columns:1fr 1fr; }
  .tn-alert{ grid-template-columns:1fr; gap:14px; }
}
@media(max-width:760px){
  .tn-navtoggle{ display:block; }
  .tn-nav{ position:absolute; top:74px; left:0; right:0; background:var(--tn-ink);
    flex-direction:column; gap:0; padding:6px 26px 16px; display:none;
    border-bottom:3px solid var(--tn-lake); }
  .tn-nav.open{ display:flex; }
  .tn-nav a{ padding:13px 0; border-bottom:1px solid #2A2F33; }
  .tn-nav > li{ position:static; }
  .tn-sub{ position:static; display:block; border:0; box-shadow:none; padding:0 0 10px 12px;
    min-width:0; background:transparent; }
  .tn-caret{ display:none; }
  .tn-rooms,.tn-mgrid,.tn-cities{ grid-template-columns:1fr; }
  .tn-facts{ grid-template-columns:1fr; }
  .tn-facts div{ border-right:0; border-bottom:1px solid var(--tn-line); padding-right:0; }
}
@media(max-width:520px){ .tn-brand .bs{ display:none; } }

/* ============================================================================
   OPTION C — northern light. Owner-approved 2026-08-06 ("c is good but use better
   hero image"; hero swapped to hero-room and the scrim rebuilt so the type column
   is always legible over a bright photograph).

   These rules come LAST on purpose. An override placed EARLIER in the file loses to
   the original rule at the same specificity — that cost a round trip on ohfloors. XSITE-OK
   ============================================================================ */

/* header: light, not the industrial dark bar */
.tn-hdr{ background:rgba(251,250,247,.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--tn-line); color:var(--tn-ink); }
.tn-brand .bn{ font:750 22px/1 "Inter",ui-sans-serif,system-ui,sans-serif; letter-spacing:-.035em;
  text-transform:none; color:var(--tn-ink); }
.tn-brand .bn em{ color:var(--tn-lake); }
.tn-brand .bs{ color:var(--tn-mut); }
.tn-nav{ color:var(--tn-mut); text-transform:none; letter-spacing:0; font-size:14.5px; }
.tn-nav a:hover{ border-color:var(--tn-lake); color:var(--tn-lake); }
.tn-navtoggle{ border:1px solid var(--tn-line); color:var(--tn-ink); border-radius:99px;
  text-transform:none; letter-spacing:0; }
.tn-sub{ background:var(--tn-bone); border:1px solid var(--tn-line); border-radius:10px;
  box-shadow:0 14px 34px rgba(22,32,43,.13); }
.tn-sub a{ color:var(--tn-ink); border-radius:7px; }
.tn-sub a:hover{ background:var(--tn-birch); color:var(--tn-lake); }

/* hero: full-bleed photograph, headline overlaid. Dual gradient — bottom for depth, left so the
   type column has a dark ground even when the photograph is bright there. */
.tn-hero{ position:relative; min-height:clamp(420px,54vw,600px); display:flex; align-items:flex-end;
  background:#0E161F; padding:0; }
.tn-hero.sm{ min-height:clamp(300px,34vw,420px); }
.tn-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tn-hero::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(14,22,31,.10) 0 34%,rgba(14,22,31,.80)),
             linear-gradient(96deg,rgba(14,22,31,.74) 0 34%,rgba(14,22,31,.34) 62%,rgba(14,22,31,.06)); }
.tn-hero .tn-wrap{ position:relative; z-index:2; padding:110px 26px 48px; }
.tn-hero .inner{ max-width:60ch; }
.tn-hero h1{ font-size:clamp(31px,4.4vw,52px); line-height:1.07; color:#fff; text-transform:none;
  font-family:"Inter",ui-sans-serif,system-ui,sans-serif; font-weight:680; letter-spacing:-.025em; }
.tn-hero p{ margin:16px 0 0; color:#DDE6EC; font-size:18px; max-width:52ch; }
.tn-eyebrow{ font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:#9CCBE4; margin-bottom:14px; }
.tn-btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.tn-btn{ background:var(--tn-lake); color:#fff; border-radius:6px; text-transform:none;
  letter-spacing:0; font-weight:650; font-size:15px; padding:14px 26px; }
/* A's ghost button is dark text on paper; over C's photograph it rendered as an EMPTY box. */
.tn-btn.alt{ background:transparent; color:#F2F6F8; border:1px solid rgba(242,246,248,.45); }
.tn-btn.alt:hover{ border-color:#fff; }

/* body type: geometric sans throughout, no uppercase industrial display */
body.tn-page{ background:var(--tn-bone); }
body.tn-page h1, body.tn-page h2, body.tn-page h3, body.tn-page h4{ font-weight:645;
  letter-spacing:-.022em; }
.tn-sec h2, .tn-mcard h3, .tn-room .lab h3, .tn-facts .n, .tn-ft-brand,
body.tn-article .entry-title, body.tn-article .entry-content h2{
  font-family:"Inter",ui-sans-serif,system-ui,sans-serif; text-transform:none; letter-spacing:-.022em; }
.tn-sec.alt{ background:var(--tn-birch); }
.tn-num{ color:var(--tn-lake); }
.tn-mcard{ border:1px solid var(--tn-line); border-radius:12px; overflow:hidden;
  background:var(--tn-bone); }
.tn-mcard:hover{ border-color:var(--tn-lake); }
.tn-room{ border-radius:12px; }
.tn-rooms{ gap:16px; background:transparent; }
.tn-cities{ display:flex; flex-wrap:wrap; gap:10px; border-top:0; }
.tn-cities a{ background:var(--tn-bone); border:1px solid var(--tn-line); border-radius:99px;
  padding:10px 19px; }
.tn-cities a:hover{ border-color:var(--tn-lake); color:var(--tn-lake); }
.tn-facts .n{ color:var(--tn-lake); }
.tn-notes .c{ background:var(--tn-bone); border:1px solid var(--tn-line); border-radius:12px; }
.tn-alert{ background:var(--tn-ink); border-radius:12px; }
.tn-alert .tag{ background:var(--tn-lake); border-radius:99px; }
table.tn-costs th{ border-bottom:1px solid var(--tn-ink); }

/* estimator: BOTH themes styled from the start — a sibling site shipped the light one
   unstyled at 2.39:1. XSITE-OK */
.tn-est{ background:var(--tn-ink); }
.tn-panel{ background:#1B2733; border:1px solid #2B3947; border-radius:12px; }
.tn-panel h3{ color:#EAF1F6; text-transform:none; letter-spacing:0; font-size:15px; }
.tn-field label{ color:#9FB0BE; text-transform:none; letter-spacing:0; font-size:12.5px;
  font-weight:600; }
.tn-field input,.tn-field select{ background:#121C25; border:1px solid #2B3947; border-radius:8px;
  color:#EAF1F6; }
.tn-gobtn{ background:var(--tn-lake); border-radius:8px; text-transform:none; letter-spacing:0;
  font-size:15px; }
.tn-panel .note{ color:#93A4B2; }
.tn-est.light{ background:var(--tn-birch); color:var(--tn-ink); }
.tn-est.light h2{ color:var(--tn-ink); }
.tn-est.light .tn-lede,.tn-est.light .tn-est-points{ color:var(--tn-mut); }
.tn-est.light .tn-panel{ background:var(--tn-bone); border-color:var(--tn-line); }
.tn-est.light .tn-panel h3{ color:var(--tn-ink); }
.tn-est.light .tn-field label{ color:#4C5A66; }
.tn-est.light .tn-field input,.tn-est.light .tn-field select{ background:#fff;
  border-color:var(--tn-line); color:var(--tn-ink); }
.tn-est.light .tn-panel .note,.tn-est.light .tn-toggle{ color:#4C5A66; }
.tn-est.light .tn-total{ color:var(--tn-lake-dk); }
.tn-est.light .tn-total-cap,.tn-est.light .tn-explain{ color:var(--tn-mut); }
.tn-est.light .tn-split-row{ color:var(--tn-ink); border-bottom-color:var(--tn-line); }
.tn-est.light .tn-estimate-flag{ background:#EAF2F7; color:#33424E; }
/* a bare <button> takes the UA default and measured 1.27:1 on ohfloors. XSITE-OK */
.tn-toggle{ background:none; border:0; padding:4px 0; cursor:pointer; font:inherit; font-size:13px;
  text-decoration:underline; text-underline-offset:3px; color:#9FB0BE; }

/* footer contrast: set at the SOURCE value, not as an earlier override */
.tn-ft{ background:var(--tn-ink); color:#AEBCC8; }
.tn-ft h4{ color:#9AA9B6; text-transform:uppercase; }
.tn-ft-brand{ color:#fff; text-transform:none; }
.tn-ft-tag{ color:#8FC0DC; }
.tn-ft-note{ color:#8494A2; }
.tn-ft a{ color:#AEBCC8; }
.tn-ft a:hover{ color:#fff; }
.tn-ft-fine{ border-top:1px solid #24313D; color:#9AA9B6; }
.tn-ft-inq{ color:#9AA9B6 !important; }

/* article pages */
body.tn-article .entry-title{ text-transform:none; }
body.tn-article .entry-content a{ color:var(--tn-lake-dk); }
body.tn-article .entry-content li::marker{ color:var(--tn-lake); }

/* The material pages are ARTICLE pages, so `body.tn-article .entry-content a` (0,0,3,1) outranks
   `.tn-btn` (0,0,1,0) and repainted the hero button dark-blue-on-blue — 1.31:1 on all eight of
   them. Caught by rendering the live page, not by any structural check. Match the specificity. */
body.tn-article .entry-content a.tn-btn{ color:#fff; }
body.tn-article .entry-content a.tn-btn.alt{ color:#F2F6F8; }
body.tn-article .entry-content .tn-hero a{ text-decoration:none; }

/* RETROFIT FIX 2026-08-06 — the hero was rendering INSIDE the article content column (boxed and
   narrow) and the theme's own entry-title repeated the same heading directly above it. Break the
   hero out to full width and suppress the duplicate title on any page that carries a page hero.
   Caught by screenshotting the page; contrast and overflow checks both passed with it broken. */
body.tn-article .entry-content > .tn-hero{
  margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
  width:100vw; max-width:100vw; margin-top:0;
}
body.tn-has-hero .entry-header,
body.tn-has-hero .entry-title{ display:none !important; }
body.tn-has-hero .entry-content{ margin-top:0; }
body.tn-has-hero .tn-hero h1{ margin-top:0; }

/* no white strip where the suppressed entry-header used to sit */
body.tn-has-hero .site-content,
body.tn-has-hero .content-area,
body.tn-has-hero .entry-content{ padding-top:0 !important; margin-top:0 !important; }
body.tn-has-hero .inside-article{ padding-top:0 !important; }

/* The theme ships `img{height:auto}`, which beat `height:100%` on the absolutely-positioned
   hero image: it rendered at its natural height (1440 x 1253/1880 = 960px) instead of filling
   the 486px hero, so body text was drawn on top of the photograph. Raise specificity and force it.
   Contrast checks caught the symptom (text over a photo); only measuring the img found the cause. */
.tn-hero.has-photo > img,
.tn-hero > img{
  position:absolute !important; inset:0 !important;
  width:100% !important; height:100% !important;
  object-fit:cover !important; max-width:none !important;
}

/* ============================================================================
   OPTION A, DARK — owner pick 2026-08-08: "option a but with dark background and
   better hero image."

   A's STRUCTURE: banner photograph on top, headline in a card that OVERLAPS UPWARD
   into the bottom of it. The photograph is never dimmed and the type never sits on
   it — which is why there is no scrim here at all.

   These rules come LAST on purpose, same reason the option-C block above does: an
   override placed EARLIER loses to the original rule at the same specificity.

   ⚠️ The markup is unchanged. `[tn_hero]` still emits <section class="tn-hero">
   <img> <div class="tn-wrap"><div class="inner">, so the banner/card shape is built
   entirely in CSS. Do not "simplify" this by editing the shortcode — every page in
   the inventory already renders through it.
   ============================================================================ */

:root{
  --tn-ink:#12100E;        /* warm near-black walnut, not a blue-black */
  --tn-panel:#1B1815;
  --tn-mut:#A29689;
  --tn-paper:#F3EEE7;
  --tn-lake:#6FBF9A;       /* sage green. The darker #2A5545 goes muddy on near-black
                              and stops reading as an accent at all. */
  --tn-lake-dk:#8ED3B4;    /* link colour on dark prose — the -dk name is inherited */
  --tn-brass:#C9A227;
  --tn-line:#2A2420;
  --tn-bone:#12100E;
  --tn-birch:#1B1815;
}

body.tn-page{ background:var(--tn-ink); color:var(--tn-paper); }
body.tn-page h1,body.tn-page h2,body.tn-page h3,body.tn-page h4{ color:#fff; }

/* header */
.tn-hdr{ background:rgba(18,16,14,.93); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--tn-line); color:var(--tn-paper); }
.tn-brand .bn{ color:#fff; }
.tn-brand .bn em{ color:var(--tn-lake); }
.tn-brand .bs{ color:var(--tn-mut); }
.tn-nav{ color:var(--tn-mut); }
.tn-nav a:hover{ color:var(--tn-lake); border-color:var(--tn-lake); }
.tn-navtoggle{ border:1px solid var(--tn-line); color:var(--tn-paper); }
.tn-sub{ background:var(--tn-panel); border:1px solid var(--tn-line);
  box-shadow:0 16px 38px rgba(0,0,0,.6); }
.tn-sub a{ color:var(--tn-paper); }
.tn-sub a:hover{ background:#241F1B; color:var(--tn-lake); }

/* hero — banner above, card overlapping up into it */
.tn-hero{ display:block; position:relative; min-height:0; background:var(--tn-ink);
  padding:0 0 4px; }
.tn-hero.sm{ min-height:0; }
.tn-hero::after{ display:none; }
.tn-hero.has-photo > img,
.tn-hero > img{
  position:relative !important; inset:auto !important;
  width:100% !important; height:clamp(340px,42vw,560px) !important;
  object-fit:cover !important; object-position:50% 72%; display:block;
}
.tn-hero.sm > img{ height:clamp(260px,30vw,400px) !important; }
.tn-hero .tn-wrap{ position:relative; z-index:2; margin-top:-64px; padding:0 26px; }
.tn-hero .inner{ max-width:none; background:var(--tn-panel); border:1px solid var(--tn-line);
  border-radius:14px; padding:38px 44px 40px; box-shadow:0 22px 54px rgba(0,0,0,.55); }
.tn-hero h1{ color:#fff; max-width:20ch; font-size:clamp(29px,3.8vw,45px); line-height:1.09; }
.tn-hero p{ color:#C6BAAC; max-width:56ch; }
.tn-eyebrow{ color:var(--tn-lake); }
@media(max-width:760px){
  .tn-hero > img{ height:230px !important; }
  .tn-hero.sm > img{ height:190px !important; }
  .tn-hero .tn-wrap{ margin-top:-52px; padding:0 16px; }
  .tn-hero .inner{ padding:26px 22px 28px; }
}

/* buttons */
.tn-btn{ background:var(--tn-lake); color:#0C1712; }
.tn-btn:hover{ background:#8AD0AF; }
.tn-btn.alt{ background:transparent; border:1px solid rgba(243,238,231,.32); color:var(--tn-paper); }
.tn-btn.alt:hover{ border-color:#fff; }

/* sections */
.tn-sec{ border-bottom:1px solid var(--tn-line); }
.tn-sec.alt{ background:var(--tn-panel); }
.tn-sec.dark{ background:var(--tn-panel); color:var(--tn-paper); }
.tn-lede,.tn-sec.dark .tn-lede{ color:var(--tn-mut); }
.tn-num{ color:var(--tn-lake); }

/* cards and grids */
.tn-mcard{ background:var(--tn-panel); border:1px solid var(--tn-line); }
.tn-mcard p{ color:var(--tn-mut); }
.tn-mcard:hover{ border-color:var(--tn-lake); }
.tn-mcard:hover h3{ color:var(--tn-lake); }
.tn-room::after{ background:linear-gradient(180deg,rgba(10,9,8,.04) 38%,rgba(10,9,8,.90)); }
.tn-room .lab p{ color:#E4DED6; }

/* costs */
table.tn-costs th{ color:var(--tn-mut); border-bottom:1px solid var(--tn-lake); }
table.tn-costs td{ border-bottom:1px solid var(--tn-line); }
table.tn-costs td.p{ color:var(--tn-lake); }
table.tn-costs td.u{ color:var(--tn-mut); }
.tn-disclaimer{ color:var(--tn-mut); }

/* facts, notes, cities, faq */
.tn-facts{ border-top:1px solid var(--tn-line); border-bottom:1px solid var(--tn-line); }
.tn-facts div{ border-right:1px solid var(--tn-line); }
.tn-facts .n{ color:var(--tn-brass); }
.tn-facts p{ color:var(--tn-mut); }
.tn-notes .c{ background:var(--tn-ink); border:1px solid var(--tn-line); }
.tn-note-row{ border-bottom:1px solid var(--tn-line); }
.tn-note-row .k{ color:var(--tn-brass); }
.tn-note-row p,.tn-notes p{ color:var(--tn-mut); }
.tn-alert{ background:var(--tn-panel); border:1px solid var(--tn-line); }
.tn-alert h3{ color:#fff; }
.tn-alert p{ color:var(--tn-mut); }
.tn-alert .tag{ background:var(--tn-lake); color:#0C1712; }
.tn-cities a{ background:var(--tn-panel); border:1px solid var(--tn-line); color:var(--tn-paper); }
.tn-cities a:hover{ border-color:var(--tn-lake); color:var(--tn-lake); }
.tn-faq details{ border-bottom:1px solid var(--tn-line); }
.tn-faq summary{ color:#fff; }
.tn-faq p{ color:var(--tn-mut); }

/* estimator — ONE ground now, so the .light variant is folded into the same treatment
   rather than left unstyled. The 2.39:1 light-theme miss is exactly what happens when a
   variant exists in the markup and not in the stylesheet. */
.tn-est,.tn-est.light{ background:var(--tn-panel); color:var(--tn-paper); }
.tn-est.light h2{ color:#fff; }
.tn-est .tn-lede,.tn-est.light .tn-lede,
.tn-est .tn-est-points,.tn-est.light .tn-est-points{ color:var(--tn-mut); }
.tn-panel,.tn-est.light .tn-panel{ background:var(--tn-ink); border:1px solid var(--tn-line); }
.tn-panel h3,.tn-est.light .tn-panel h3{ color:#fff; }
.tn-field label,.tn-est.light .tn-field label{ color:var(--tn-mut); }
.tn-field input,.tn-field select,
.tn-est.light .tn-field input,.tn-est.light .tn-field select{
  background:#0E0C0A; border:1px solid var(--tn-line); color:var(--tn-paper); }
.tn-gobtn{ background:var(--tn-lake); color:#0C1712; }
.tn-panel .note,.tn-est.light .tn-panel .note{ color:var(--tn-mut); }
.tn-toggle,.tn-est.light .tn-toggle{ color:var(--tn-mut); }
.tn-result,.tn-est.light .tn-result{ border-top-color:var(--tn-line); }
.tn-total,.tn-est.light .tn-total{ color:var(--tn-lake); }
.tn-total-cap,.tn-explain,
.tn-est.light .tn-total-cap,.tn-est.light .tn-explain{ color:var(--tn-mut); }
.tn-split-row,.tn-est.light .tn-split-row{ color:var(--tn-paper);
  border-bottom-color:var(--tn-line); }
.tn-estimate-flag,.tn-est.light .tn-estimate-flag{ background:#241F1B; color:#D9CDBF; }

/* footer */
.tn-ft{ background:#090807; color:var(--tn-mut); border-top:1px solid var(--tn-line); }
.tn-ft h4{ color:#8B7F73; }
.tn-ft-brand{ color:#fff; }
.tn-ft-tag{ color:var(--tn-lake); }
.tn-ft-note{ color:#8B7F73; }
.tn-ft a{ color:var(--tn-mut); }
.tn-ft a:hover{ color:#fff; }
.tn-ft-fine{ border-top:1px solid var(--tn-line); color:#8B7F73; }
.tn-ft-inq{ color:#8B7F73 !important; }
.tn-ft-inq:hover{ color:#fff !important; }

/* article pages — prose on a dark ground */
body.tn-article .entry-title{ color:#fff; }
body.tn-article .entry-meta{ color:var(--tn-mut); }
body.tn-article .entry-content{ color:var(--tn-paper); }
body.tn-article .entry-content h2,
body.tn-article .entry-content h3{ color:#fff; }
body.tn-article .entry-content a{ color:var(--tn-lake-dk); }
body.tn-article .entry-content li::marker{ color:var(--tn-lake); }
body.tn-article .entry-content figcaption{ color:var(--tn-mut); }
body.tn-article .entry-content blockquote{ border-left:3px solid var(--tn-lake);
  padding-left:18px; color:var(--tn-mut); }
/* Same specificity trap as before: `body.tn-article .entry-content a` (0,0,3,1) outranks
   `.tn-btn` and repainted the hero buttons link-green on green. Match it. */
body.tn-article .entry-content a.tn-btn{ color:#0C1712; }
body.tn-article .entry-content a.tn-btn.alt{ color:var(--tn-paper); }

/* mobile nav panel sits on the dark ground, not the old ink blue */
@media(max-width:760px){
  .tn-nav{ background:var(--tn-panel); border-bottom:3px solid var(--tn-lake); }
  .tn-nav a{ border-bottom:1px solid var(--tn-line); }
  .tn-facts div{ border-right:0; border-bottom:1px solid var(--tn-line); }
}

/* ⚠️ SPECIFICITY: `body.tn-page a{color:inherit}` (0,1,2) outranks `.tn-btn` (0,1,0), so every
   button inherited its parent's text colour instead of its own. On the four earlier sites the
   button text was #fff and the surrounding text was near-white too, so the bug was INVISIBLE.
   Here the button is dark-on-green, and it rendered light-on-green at 1.92:1. Measured on the
   live page — the design-round mockup has no `body.tn-page a` rule and passed at 9:1.
   Match the specificity; do not lower the `a{color:inherit}` rule, other things depend on it. */
body.tn-page a.tn-btn{ color:#0C1712; }
body.tn-page a.tn-btn.alt{ color:var(--tn-paper); }
body.tn-page a.tn-btn:hover{ color:#0C1712; }
body.tn-article .entry-content a.tn-btn{ color:#0C1712; }
body.tn-article .entry-content a.tn-btn.alt{ color:var(--tn-paper); }

/* ---------------------------------------------------------------- estimator RESULT layout
   ⚠️ Only COLOUR rules ever existed for these classes. The result block had no layout at all, so
   `<div class="tn-split-row"><span>Materials</span><span>$1,100 – $3,250</span></div>` rendered as
   the run-together string "Materials$1,100 – $3,250" — on every site in this group, in the one
   feature they are sold on. Colour-only styling passes a contrast check perfectly. */
.tn-result{ margin-top:22px; padding-top:20px; border-top:1px solid var(--tn-line); }
.tn-total-cap{ font-size:12px; letter-spacing:.13em; text-transform:uppercase; font-weight:700; }
.tn-total{ font-size:clamp(26px,3.4vw,34px); font-weight:760; letter-spacing:-.03em;
  margin:6px 0 16px; font-variant-numeric:tabular-nums; }
.tn-split-row{ display:flex; align-items:baseline; justify-content:space-between; gap:18px;
  padding:10px 0; border-bottom:1px solid var(--tn-line); font-size:15px; }
.tn-split-row > span:first-child{ flex:1 1 auto; }
.tn-split-row > span:last-child{ flex:0 0 auto; text-align:right; font-weight:660;
  font-variant-numeric:tabular-nums; white-space:nowrap; }
.tn-split-row:last-of-type{ border-bottom:0; }
.tn-explain{ margin-top:16px; font-size:14.5px; line-height:1.62; }
.tn-explain p{ margin:0 0 10px; }
.tn-explain p:last-child{ margin-bottom:0; }
.tn-estimate-flag{ margin-top:16px; padding:14px 16px; border-radius:8px; font-size:14px;
  line-height:1.6; }
@media(max-width:420px){
  .tn-split-row{ font-size:14px; gap:10px; }
}
