/* OH Floors — 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. Different type system (heavy condensed uppercase display 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{
  --oh-ink:#16181A;
  --oh-steel:#5B6770;
  --oh-rust:#B4472B;
  --oh-rust-dk:#8E3720;      /* link color — the accent itself is too light on paper */
  --oh-paper:#F4F3F0;
  --oh-line:#D8D6D0;
  --oh-white:#fff;
}

/* ---------------------------------------------------------------- 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.oh-page .site-header,
body.oh-page .main-navigation,
body.oh-page .site-footer{ display:none !important; }

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

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

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

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

/* ---------------------------------------------------------------- header */
.oh-hdr{ background:var(--oh-ink); color:#EDEBE7; position:sticky; top:0; z-index:30; }
.oh-hdr .oh-wrap{ display:flex; align-items:center; gap:30px; height:74px; }
.oh-brand{ text-decoration:none; display:flex; flex-direction:column; gap:3px; line-height:1; }
.oh-brand .bn{ font:800 23px/1 "Archivo","Inter",Helvetica,sans-serif; text-transform:uppercase;
  letter-spacing:-.02em; color:#fff; }
.oh-brand .bn em{ font-style:normal; color:var(--oh-rust); }
.oh-brand .bs{ font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:#8B959C;
  display:flex; gap:8px; white-space:nowrap; }
.oh-brand .bmotto{ text-transform:none; letter-spacing:.01em; font-size:11px; font-style:italic; }
.oh-nav{ margin-left:auto; display:flex; gap:26px; font-size:13px; text-transform:uppercase;
  letter-spacing:.09em; color:#C4CACE; }
.oh-nav a{ text-decoration:none; padding:5px 0; border-bottom:2px solid transparent; }
.oh-nav a:hover{ border-color:var(--oh-rust); color:#fff; }
.oh-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) */
.oh-hero{ background:var(--oh-ink); color:#F2F0EC; }
.oh-hero .oh-wrap{ padding:64px 26px 38px; }
.oh-hero .inner{ max-width:62ch; }
.oh-kicker{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:#E08A66;
  margin-bottom:20px; font-weight:700; }
.oh-hero h1{ font-size:clamp(34px,5.2vw,62px); font-family:"Archivo","Inter",Helvetica,sans-serif;
  text-transform:uppercase; }
.oh-hero p{ margin:20px 0 0; font-size:17.5px; color:#B9C0C5; max-width:52ch; }
.oh-btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.oh-btn{ display:inline-block; background:var(--oh-rust); color:#fff; text-decoration:none;
  padding:15px 26px; font:700 13px/1 inherit; letter-spacing:.11em; text-transform:uppercase; }
.oh-btn.alt{ background:transparent; border:1px solid #464C51; color:#E6E3DE; }

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

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

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

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

/* estimator */
.oh-est .oh-wrap{ display:grid; grid-template-columns:1fr 400px; gap:46px; align-items:center; }
.oh-panel{ border:1px solid #3A4045; padding:24px; }
.oh-panel h3{ font-size:14px; letter-spacing:.12em; text-transform:uppercase; color:#fff;
  margin-bottom:16px; }
.oh-field{ margin-bottom:13px; }
.oh-field label{ display:block; font-size:11px; letter-spacing:.13em; text-transform:uppercase;
  color:#98A0A6; margin-bottom:6px; font-weight:700; }
.oh-field input,.oh-field select{ width:100%; border:1px solid #3A4045; border-radius:0;
  padding:11px 12px; font:15px inherit; background:#15181A; color:#EFEDE9; }
.oh-row2{ display:grid; grid-template-columns:1fr 1fr; gap:11px; }
.oh-gobtn{ width:100%; margin-top:6px; background:var(--oh-rust); color:#fff; border:0; padding:14px;
  font:700 13px/1 inherit; letter-spacing:.11em; text-transform:uppercase; cursor:pointer; }
.oh-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. */
.oh-est.light{ background:#EDEBE6; color:var(--oh-ink); }
.oh-est.light h2{ color:var(--oh-ink); }
.oh-est.light .oh-lede,.oh-est.light .oh-est-points{ color:var(--oh-steel); }
.oh-est.light .oh-panel{ background:#fff; border-color:var(--oh-line); }
.oh-est.light .oh-panel h3{ color:var(--oh-ink); }
.oh-est.light .oh-field label{ color:#4E585E; }
.oh-est.light .oh-field input,.oh-est.light .oh-field select{ background:#fff;
  border-color:var(--oh-line); color:var(--oh-ink); }
.oh-est.light .oh-panel .note,.oh-est.light .oh-toggle{ color:#4E585E; }
.oh-est.light .oh-result{ border-top-color:var(--oh-line); }
.oh-est.light .oh-total{ color:var(--oh-rust-dk); }
.oh-est.light .oh-total-cap,.oh-est.light .oh-explain{ color:var(--oh-steel); }
.oh-est.light .oh-split-row{ color:var(--oh-ink); border-bottom-color:var(--oh-line); }
.oh-est.light .oh-estimate-flag{ background:#F6EFE7; color:#4A3B33; }
/* dark-theme note was 2.75:1 */
.oh-panel .note{ color:#A3ACB2; }
/* .oh-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. */
.oh-toggle{ background:none; border:0; padding:4px 0; cursor:pointer; font:inherit;
  font-size:13px; text-decoration:underline; text-underline-offset:3px; color:#A3ACB2; }
.oh-est.light .oh-toggle{ color:#4E585E; }

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

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

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

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

.oh-faq{ margin-top:30px; max-width:76ch; }
.oh-faq details{ border-bottom:1px solid var(--oh-line); padding:18px 0; }
.oh-faq summary{ cursor:pointer; font-weight:700; font-size:17px; }
.oh-faq p{ margin:10px 0 0; color:var(--oh-steel); 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. */
.oh-nav{ list-style:none; margin:0; padding:0; }
.oh-nav > li{ position:relative; }
.oh-nav > li > a{ display:flex; align-items:center; gap:7px; }
.oh-caret{ width:7px; height:7px; border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-2px); opacity:.6; }
.oh-sub{ position:absolute; top:100%; left:-14px; min-width:238px; background:var(--oh-ink);
  border:1px solid #2E3438; padding:8px; display:none;
  box-shadow:0 14px 34px rgba(0,0,0,.45); }
.oh-nav > li:hover > .oh-sub, .oh-nav > li:focus-within > .oh-sub{ display:block; }
.oh-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; }
.oh-sub a:hover{ background:#20262A; color:#fff; }


/* ---------------------------------------------------------------- footer */
.oh-ft{ background:var(--oh-ink); color:#A6AEB3; padding:56px 0 30px; font-size:14.5px; }
.oh-ft-cols{ display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:32px; }
.oh-ft-brand{ font:800 20px "Archivo","Inter",sans-serif; text-transform:uppercase; color:#fff; }
.oh-ft-tag{ margin-top:6px; font-size:13.5px; font-style:italic; color:#C08C79; }
.oh-ft-note{ margin:11px 0 0; font-size:13.5px; max-width:40ch; color:#79828A; }
.oh-ft h4{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:#9BA4AA;
  margin-bottom:11px; }
.oh-ft a{ display:block; text-decoration:none; padding:4px 0; color:#A6AEB3; }
.oh-ft a:hover{ color:#fff; }
.oh-ft-fine{ margin-top:40px; padding-top:18px; border-top:1px solid #2A2F33; font-size:13px;
  color:#9BA4AA; }
.oh-ft-sep{ margin:0 9px; }
.oh-ft-inq{ display:inline !important; color:#9BA4AA !important; text-decoration:underline; }
.oh-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 .oh-tablewrap — without this rule the cost-guide comparison table pushed the
   whole page to 427px inside a 360px viewport. */
.oh-tablewrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%; }
.oh-tablewrap table{ min-width:520px; }

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

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