/* ==========================================================================
   OL Floor theme. Ported 1:1 from the offline design (index.html inline CSS +
   visual.css). Inner pages carry body.visual-page, the home page body.is-home.
   ========================================================================== */
:root {
  --ink: #12332b; --deep: #0d2923; --paper: #eff2ed; --mist: #dce8e2;
  --lime: #75b8c5; --ice: #75b8c5; --clay: #9dc3b0; --line: #bdcec5; --muted: #4b7068;
  --radius: 1.25rem; --shadow: 0 20px 45px rgba(18,27,26,.11);
  --bc-sticky-bg: var(--paper); --bc-top-bg: var(--ink); --bc-top-color: var(--ice);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
.ol-media { display: block; }
.visual-teaser .ol-media, .story-image.ol-media, .inspiration-card .ol-media { position: absolute; inset: 0; }
.story-image.ol-media { position: relative; }
.story-image.ol-media picture, .story-image.ol-media img { position: absolute; inset: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: var(--ice); }
.skip-link:focus { left: 0; }
.shell { width: min(1180px, calc(100% - 2.5rem)); margin: 0 auto; }
.eyebrow { margin: 0 0 .75rem; color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

/* Header / footer */
.site-header { padding: 1.35rem 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-size: 1rem; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { display: grid; width: 2rem; aspect-ratio: 1; place-items: center; background: var(--ink); color: var(--lime); font-size: .8rem; font-weight: 900; }
.nav-links { display: flex; align-items: center; gap: 1.25rem; }
.nav-links a { color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: .25rem; }
.nav-links a.button.primary { color: var(--lime); }
.nav-links a[aria-current="page"]:not(.button) { text-decoration: underline; text-underline-offset: .25rem; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: .55rem .8rem; border: 1px solid var(--ink); border-radius: .25rem; font-size: .85rem; font-weight: 800; }
.menu summary::-webkit-details-marker { display: none; }
.menu .menu__close, .menu[open] .menu__open { display: none; }
.menu[open] .menu__close { display: inline; }
.menu__panel { position: absolute; right: 0; top: calc(100% + .6rem); z-index: 20; display: grid; min-width: 14rem; padding: .5rem; border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.menu__panel a { padding: .75rem .8rem; color: var(--ink); font-weight: 700; text-decoration: none; }
.menu__panel a:hover { background: var(--mist); }
.site-footer { padding: 1.75rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Type + buttons */
main h1, main h2, main h3 { letter-spacing: -.055em; line-height: .96; }
main h1 { margin: 0; max-width: 9ch; font-size: clamp(3.5rem, 8vw, 7.1rem); }
main h2 { margin: 0; max-width: 10ch; font-size: clamp(2.35rem, 5vw, 4.4rem); }
main section { padding: 5rem 0; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .7rem 1.1rem; border: 1px solid var(--ink); border-radius: .25rem; color: var(--ink); font-weight: 800; text-decoration: none; }
.button.primary { background: var(--ink); color: var(--lime); }
.button:hover { transform: translateY(-1px); }

/* Home hero */
main .hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr); gap: 3rem; padding: 5.5rem 0 4.25rem; align-items: end; }
.hero p:not(.eyebrow) { max-width: 33rem; margin: 1.75rem 0 0; color: #43504b; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-photo { position: relative; margin: 0; overflow: hidden; box-shadow: 0 20px 45px rgba(18,51,43,.14); }
.hero-photo picture, .hero-photo img { display: block; width: 100%; }
.hero-photo img { height: auto; min-height: 34rem; object-fit: cover; object-position: 53% center; }
.hero-photo figcaption { position: absolute; right: 0; bottom: 0; margin: 0; padding: .65rem .85rem; background: var(--ice); color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-item { padding: 1.5rem 1.2rem; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item span { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.proof-item strong { display: block; font-size: 1.05rem; letter-spacing: -.025em; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-note { max-width: 25rem; margin: 0; color: var(--muted); font-size: .95rem; }

/* Teasers (home) */
main .visual-intro { padding-top: 4.5rem; }
.visual-teasers { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.25rem; }
.visual-teaser { position: relative; display: block; min-height: 27rem; overflow: hidden; background: var(--deep); color: #fff; text-decoration: none; }
.visual-teaser picture, .visual-teaser img { display: block; width: 100%; height: 100%; }
.visual-teaser img { object-fit: cover; transition: transform .45s ease; }
.visual-teaser:first-child img { object-position: center 60%; }
.visual-teaser:hover img { transform: scale(1.025); }
.visual-teaser::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(8,34,28,.75), rgba(8,34,28,0) 58%); }
.visual-teaser > span { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; display: grid; gap: .35rem; }
.visual-teaser small { color: var(--ice); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.visual-teaser strong { max-width: 18rem; font-size: clamp(1.45rem, 3vw, 2.15rem); letter-spacing: -.05em; line-height: .98; }
main .finder-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; padding: 2rem 0 4.5rem; }
main .finder-strip h2 { max-width: 15ch; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); }
.finder-strip .button { white-space: nowrap; }

/* Comparison table */
.comparison-wrap { overflow-x: auto; border: 1px solid var(--line); }
.comparison { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.comparison th, .comparison td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.comparison tr:last-child td { border-bottom: 0; }
.comparison th { background: var(--mist); color: var(--muted); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.comparison td:first-child { min-width: 12rem; font-weight: 850; letter-spacing: -.02em; }
.best { display: inline-block; padding: .2rem .45rem; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.meter { display: flex; gap: 3px; }
.meter i { display: block; width: .55rem; height: .55rem; background: var(--line); }
.meter i.on { background: var(--ink); }

/* Calculator */
main .calculator-section { background: var(--ink); color: #fff; }
.calculator-section .eyebrow, .calculator-section .section-note { color: #b6c1ba; }
.calculator { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 1px solid rgba(255,255,255,.32); }
.form-pane { padding: 2rem; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .5rem; }
.field.full { grid-column: 1 / -1; }
.calculator label { font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.calculator input, .calculator select { width: 100%; min-height: 3.1rem; border: 1px solid rgba(255,255,255,.45); border-radius: .2rem; background: transparent; color: #fff; padding: .65rem .75rem; }
.calculator select option { color: var(--ink); background: #fff; }
.calculator input:focus, .calculator select:focus { outline: 3px solid var(--lime); outline-offset: 2px; }
.unit-switch { display: inline-flex; width: fit-content; border: 1px solid rgba(255,255,255,.42); border-radius: .25rem; overflow: hidden; }
.unit-switch button { min-width: 4.3rem; border: 0; border-right: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; padding: .55rem .7rem; font-size: .8rem; font-weight: 800; }
.unit-switch button:last-child { border-right: 0; }
.unit-switch button.active { background: var(--lime); color: var(--ink); }
.fine-print { margin: 1.2rem 0 0; color: #aeb9b2; font-size: .79rem; }
.result-pane { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--lime); color: var(--ink); }
.result-pane p { margin: 0; }
.result-pane .eyebrow { color: #35403c; }
.result-figure { margin: .35rem 0 .65rem; font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 900; line-height: .9; letter-spacing: -.075em; }
.result-caption { max-width: 24rem; font-weight: 700; }
.result-details { display: grid; gap: .7rem; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(19,27,26,.35); }
.result-line { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.result-line strong { text-align: right; }
.result-pane .result-disclaimer { margin-top: 1.4rem; color: #35403c; font-size: .78rem; }

/* Steps */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { min-height: 16rem; padding: 1.5rem; background: var(--paper); }
.step-num { display: inline-grid; width: 2.1rem; aspect-ratio: 1; place-items: center; margin-bottom: 3rem; background: var(--ink); color: var(--lime); font-size: .8rem; font-weight: 900; }
.step h3 { margin: 0 0 .7rem; font-size: 1.6rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* Inner pages */
.visual-page main section { padding: 4.5rem 0; }
main .page-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, .73fr); gap: 3rem; align-items: end; padding: 5.25rem 0 3.5rem; }
.page-lead p:not(.eyebrow) { max-width: 31rem; margin: 0; color: #365c52; font-size: 1.08rem; }
.visual-page main section.story-list { padding-top: 0; }
.story { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.story + .story { margin-top: 4rem; }
.story.reverse { grid-template-columns: .92fr 1.08fr; }
.story.reverse .story-image { order: 2; }
.story-image { position: relative; min-height: 33rem; margin: 0; overflow: hidden; background: var(--deep); }
.story-image picture, .story-image img { display: block; width: 100%; height: 100%; }
.story-image img { object-fit: cover; }
main .story h2 { max-width: 9ch; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.story-copy > p:not(.eyebrow) { max-width: 30rem; color: #365c52; font-size: 1rem; }
.material-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.material-tags span { padding: .42rem .65rem; border: 1px solid var(--line); background: #f7f8f4; font-size: .78rem; font-weight: 800; }
.story-copy > p.fine { margin-top: 1.25rem; color: var(--muted); font-size: .84rem; }

.finder-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .92fr); border: 1px solid var(--line); }
.finder-form { display: grid; gap: 1.75rem; padding: clamp(1.35rem, 3vw, 2.35rem); background: #f8f9f5; }
.finder-question { margin: 0; padding: 0; border: 0; }
.finder-question legend { margin-bottom: .8rem; padding: 0; font-size: 1.1rem; font-weight: 850; letter-spacing: -.03em; }
.choice-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice { border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); padding: .6rem .85rem; font-size: .88rem; font-weight: 750; }
.choice:hover, .choice[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--ice); }
.finder-result { display: flex; flex-direction: column; justify-content: space-between; min-height: 29rem; padding: clamp(1.35rem, 3vw, 2.35rem); background: var(--ice); }
.finder-result .eyebrow { color: #365c52; }
main .finder-result h2 { max-width: 9ch; font-size: clamp(2.65rem, 5vw, 4.45rem); }
.result-reason { max-width: 28rem; margin: 1rem 0 0; font-size: 1.02rem; font-weight: 650; }
.result-points { display: grid; gap: .6rem; margin: 1.8rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid rgba(18,51,43,.35); }
.result-points span { font-size: .9rem; font-weight: 700; }
.finder-result .button { width: fit-content; margin-top: 2rem; background: var(--ink); color: var(--ice); }

.material-intro { max-width: 38rem; margin: -1rem 0 0; color: #365c52; font-size: 1.05rem; }
.material-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 2.5rem; border: 1px solid var(--line); background: var(--line); }
.material-card { display: flex; min-height: 19rem; flex-direction: column; justify-content: space-between; padding: 1.5rem; background: var(--paper); }
.material-card:first-child { grid-column: span 2; min-height: 16rem; background: var(--ink); color: #fff; }
.material-kicker { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.material-card:first-child .material-kicker { color: #b7d5d3; }
main .material-card h2 { max-width: 10ch; margin: .5rem 0 0; font-size: clamp(1.8rem, 3.7vw, 3.3rem); }
.material-card p { max-width: 32rem; margin: 1.1rem 0 0; color: #365c52; font-size: .92rem; }
.material-card:first-child p { color: #d6e9e5; }
.material-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.35rem; }
.material-facts span { padding: .35rem .55rem; border: 1px solid var(--line); background: #f8f9f5; color: var(--ink); font-size: .74rem; font-weight: 800; }
.material-card:first-child .material-facts span { border-color: rgba(255,255,255,.33); background: transparent; color: #fff; }

.inspiration-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.25rem; }
.inspiration-card { position: relative; display: block; min-height: 31rem; overflow: hidden; color: #fff; text-decoration: none; }
.inspiration-card.tall { grid-row: span 2; min-height: 43rem; }
.inspiration-card picture, .inspiration-card img { display: block; width: 100%; height: 100%; }
.inspiration-card img { object-fit: cover; transition: transform .45s ease; }
.inspiration-card:hover img { transform: scale(1.025); }
.inspiration-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(8,34,28,.78), rgba(8,34,28,0) 60%); }
.inspiration-card > span { position: absolute; z-index: 1; right: 1.3rem; bottom: 1.25rem; left: 1.3rem; display: grid; gap: .3rem; }
.inspiration-card small { color: var(--ice); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.inspiration-card strong { max-width: 18rem; font-size: 1.55rem; letter-spacing: -.05em; line-height: 1; }

.callout { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: 2rem; background: var(--ink); color: #fff; }
.callout .eyebrow { color: #b7d5d3; }
main .callout h2 { max-width: 12ch; font-size: clamp(2.1rem, 4vw, 3.7rem); }
.callout .button { border-color: var(--ice); color: var(--ice); }

/* Prose / contact / crumbs */
.prose-shell { max-width: 46rem; }
main .prose-shell h2 { max-width: none; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 2rem 0 .8rem; }
.prose-shell p, .prose-shell li { color: #365c52; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 auto; padding: 1rem 0 0; list-style: none; width: min(1180px, calc(100% - 2.5rem)); font-size: .8rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }
.crumbs a { color: var(--muted); }
.contact-section .bc-form__field { display: grid; gap: .4rem; margin-bottom: 1rem; font-weight: 700; }
.contact-section input, .contact-section textarea { width: 100%; padding: .75rem; border: 1px solid var(--line); background: #fff; border-radius: .2rem; font: inherit; }
.contact-section .bc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

@media (max-width: 760px) {
  .shell, .crumbs ol { width: min(100% - 2rem, 1180px); }
  .nav-links a:not(.button) { display: none; }
  .menu { display: block; }
  main .hero { grid-template-columns: 1fr; gap: 2.3rem; padding: 3.6rem 0; }
  main h1 { max-width: 10ch; }
  .hero-photo img { min-height: 22rem; }
  .proof-inner, .how { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child { padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 1rem; }
  main section, .visual-page main section { padding: 3.5rem 0; }
  .visual-page main section.story-list { padding-top: 0; }
  .calculator { grid-template-columns: 1fr; }
  .form-pane, .result-pane { padding: 1.35rem; }
  .step { min-height: auto; }
  .step-num { margin-bottom: 1.5rem; }
  .footer-inner { flex-direction: column; }
  .visual-teasers, main .page-lead, .story, .story.reverse, .inspiration-grid, .callout, .finder-layout { grid-template-columns: 1fr; }
  .visual-teaser { min-height: 23rem; }
  main .page-lead { gap: 1.5rem; padding: 3.7rem 0 2.5rem; }
  .story.reverse .story-image { order: 0; }
  .story-image { min-height: 23rem; }
  .story + .story { margin-top: 3rem; }
  .inspiration-card, .inspiration-card.tall { min-height: 24rem; }
  .callout { gap: 1.5rem; }
  main .finder-strip { grid-template-columns: 1fr; padding: 1.5rem 0 3.5rem; }
  .material-grid { grid-template-columns: 1fr; }
  .material-card:first-child { grid-column: auto; }
  .contact-section .bc-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .field-grid { grid-template-columns: 1fr; } .field.full { grid-column: auto; } }
