/* ==========================================================================
   St. Croix Paint & Floor — design system
   Palette from the badge: forest green, cream, wood brown, river blue, navy.
   Edit colors here (light theme first, dark theme below).
   ========================================================================== */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --forest-950: #0b2118; --forest-900: #10291e; --forest-800: #163a2b; --forest-700: #1f5a3d; --forest-600: #2a6d4b; --forest-400: #5f9b77; --forest-100: #e2ede5;
  --cream-50: #fcfaf4; --cream-100: #f6f1e5; --cream-200: #ece3d0; --cream-300: #dfd2b7;
  --wood-800: #4f321b; --wood-700: #6b4423; --wood-500: #9a6a3e; --brass: #c8a057; --brass-soft: #ead9b2;
  --river-700: #23577a; --river-600: #2f6f96; --river-400: #6c9dbd; --river-100: #e3eef5;
  --navy-950: #08121c; --navy-900: #0e1c2a; --navy-850: #132436; --navy-800: #1a2e43; --navy-700: #284460;
  --ink: #18221d; --ink-soft: #46524b; --ink-faint: #6b766f;

  --bg: var(--cream-50); --bg-alt: var(--cream-100); --surface: #fff; --surface-2: var(--cream-100);
  --text: var(--ink); --text-soft: var(--ink-soft); --text-faint: var(--ink-faint);
  --line: color-mix(in oklab, var(--ink) 12%, transparent); --line-strong: color-mix(in oklab, var(--ink) 22%, transparent);
  --brand: var(--forest-700); --brand-ink: #fff; --accent: var(--wood-700); --link: var(--forest-700); --focus: var(--river-600);
  --hero-bg: var(--forest-900); --hero-text: var(--cream-50);
  --shadow-sm: 0 1px 2px rgb(16 41 30 / .06), 0 2px 8px rgb(16 41 30 / .05);
  --shadow: 0 2px 6px rgb(16 41 30 / .06), 0 16px 40px -12px rgb(16 41 30 / .18);
  --shadow-lg: 0 30px 80px -24px rgb(8 18 28 / .45);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(.83rem, .8rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.45rem, 1.25rem + .9vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.45rem + 1.6vw, 2.7rem);
  --step-4: clamp(2.3rem, 1.7rem + 2.8vw, 3.9rem);
  --step-5: clamp(2.7rem, 1.8rem + 4.4vw, 5.4rem);
  --radius: 18px; --radius-sm: 10px; --radius-lg: 28px;
  --wrap: 1200px; --gutter: clamp(1rem, 3vw, 2rem);
  --header-h: 68px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: var(--navy-950); --bg-alt: var(--navy-900); --surface: var(--navy-850); --surface-2: var(--navy-800);
  --text: #eef0ea; --text-soft: #c3cbc6; --text-faint: #93a09a;
  --line: rgb(255 255 255 / .1); --line-strong: rgb(255 255 255 / .2);
  --brand: #3f8f66; --link: #8fd0aa; --accent: var(--brass); --focus: #8cc4e6;
  --hero-bg: #071a12;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .4); --shadow: 0 18px 40px -16px rgb(0 0 0 / .6); --shadow-lg: 0 30px 80px -24px rgb(0 0 0 / .8);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
body { margin: 0; font: 400 var(--step-0)/1.65 var(--font-body); color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--link); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; font-variation-settings: "opsz" 96; }
h1 { font-size: var(--step-5); } h2 { font-size: var(--step-3); } h3 { font-size: var(--step-1); line-height: 1.2; letter-spacing: -.005em; } h4 { font-size: var(--step-0); }
p { margin: 0 0 1em; text-wrap: pretty; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--brand); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-sm { padding-block: clamp(2.2rem, 4vw, 3.5rem); }
.alt { background: var(--bg-alt); }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font: 700 .76rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--text-soft); max-width: 62ch; }
.muted { color: var(--text-faint); }
.small { font-size: var(--step--1); }
.center { text-align: center; } .center .lead { margin-inline: auto; } .center .eyebrow { justify-content: center; }
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.5rem), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { --b: var(--brand); display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: #fff; font: 700 .98rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s; box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--b) 80%, transparent); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--b) 80%, transparent); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { border-color: var(--text); box-shadow: none; }
.btn-light { --b: var(--cream-50); color: var(--forest-900); }
.btn-wood { --b: var(--wood-700); }
.btn-river { --b: var(--river-600); }
.btn-outline-light { background: transparent; border-color: rgb(255 255 255 / .45); color: #fff; box-shadow: none; }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: .5rem .95rem; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- offers bar + header ---------- */
.offers-bar { background: var(--forest-950); color: var(--cream-100); font: 700 .78rem/1.2 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.offers-bar .wrap { display: flex; align-items: center; justify-content: center; gap: .4rem 1.4rem; flex-wrap: wrap; padding-block: .55rem; }
.offers-bar a { color: var(--brass-soft); text-decoration: none; }
.offers-bar .ob-item { display: inline-flex; align-items: center; gap: .45rem; }
.offers-bar svg { width: 15px; height: 15px; color: var(--brass); }
@media (max-width: 640px) { .offers-bar .ob-hide-sm { display: none; } .offers-bar .wrap { gap: .3rem .9rem; font-size: .7rem; } }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px var(--brass-soft), var(--shadow-sm); }
.brand-name { font: 650 1.12rem/1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.brand-name small { display: block; font: 700 .64rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-top: .3rem; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a { color: var(--text); text-decoration: none; font-weight: 650; font-size: .94rem; padding: .55rem .7rem; border-radius: 999px; white-space: nowrap; }
.hdr-actions .btn { white-space: nowrap; }
@media (max-width: 1320px) { .nav a { padding: .5rem .5rem; font-size: .9rem; } }
.nav a:hover { background: var(--surface-2); }
.nav a[aria-current="page"] { background: var(--forest-100); color: var(--forest-800); }
:root[data-theme="dark"] .nav a[aria-current="page"] { background: rgb(143 208 170 / .14); color: #bfe8cf; }
.nav .nav-cta { display: none; }
.hdr-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.nav-toggle { display: none; }
.hdr-call { white-space: nowrap; }
@media (max-width: 1360px) { .hdr-call .lbl { display: none; } }
@media (max-width: 1140px) {
  .nav-toggle { display: grid; }
  .nav { position: fixed; inset: var(--nav-top, 0) 0 auto 0; top: 0; flex-direction: column; align-items: stretch; gap: .25rem; padding: 5.5rem 1.25rem 1.5rem; background: var(--bg); box-shadow: var(--shadow-lg); transform: translateY(-105%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); z-index: -1; max-height: 100dvh; overflow: auto; }
  .nav[data-open="true"] { transform: none; }
  .nav a { font-size: 1.15rem; padding: .85rem 1rem; border-radius: 12px; }
  .nav .nav-cta { display: flex; margin-top: .75rem; }
  .hdr-quote { display: none; }
}
@media (max-width: 640px) { .brand-name { white-space: normal; } }
@media (max-width: 420px) { .brand-name { font-size: 1rem; } .brand img { width: 40px; height: 40px; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--hero-bg); color: var(--hero-text); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60rem 30rem at 85% -10%, rgb(47 111 150 / .45), transparent 60%),
  radial-gradient(50rem 30rem at -10% 110%, rgb(154 106 62 / .35), transparent 60%),
  linear-gradient(160deg, var(--forest-800), var(--hero-bg) 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-weight: 560; font-variation-settings: "opsz" 144, "SOFT" 50; }
.hero h1 em { font-style: italic; color: var(--brass-soft); font-weight: 500; }
.hero .lead { color: rgb(246 241 229 / .86); }
.hero .eyebrow { color: var(--brass); }
.offer-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.offer-chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); font-weight: 700; font-size: .9rem; }
.offer-chips svg { width: 16px; height: 16px; color: var(--brass); }
.hero-contact { margin-top: 1.4rem; font-size: .95rem; color: rgb(246 241 229 / .78); }
.hero-contact a { color: #fff; font-weight: 700; }

/* hero visual: animated room illustration */
.room-card { position: relative; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgb(255 255 255 / .1), rgb(255 255 255 / .03)); border: 1px solid rgb(255 255 255 / .16); padding: clamp(.8rem, 2vw, 1.2rem); box-shadow: var(--shadow-lg); }
.room-svg { width: 100%; border-radius: 18px; overflow: hidden; }
.room-svg .wall { fill: var(--wall, #cbd3c5); transition: fill .9s ease; }
.room-svg .wall-side { fill: color-mix(in oklab, var(--wall, #cbd3c5) 78%, #000); transition: fill .9s ease; }
.room-tag { position: absolute; left: 1.8rem; bottom: 1.8rem; display: flex; align-items: center; gap: .6rem; padding: .5rem .8rem .5rem .5rem; border-radius: 999px; background: rgb(8 18 28 / .72); backdrop-filter: blur(8px); color: #fff; font-size: .82rem; font-weight: 700; }
.room-tag i { width: 22px; height: 22px; border-radius: 50%; background: var(--wall); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .6); }
.room-ai { position: absolute; right: 1.8rem; top: 1.8rem; padding: .35rem .7rem; border-radius: 999px; background: var(--brass); color: var(--forest-950); font: 800 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- cards ---------- */
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 2.5vw, 1.8rem); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card .more { display: inline-flex; gap: .35rem; margin-top: .8rem; font-weight: 750; color: var(--link); }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--forest-100); color: var(--forest-700); margin-bottom: 1rem; }
:root[data-theme="dark"] .svc-icon { background: rgb(143 208 170 / .12); color: #a9dcbd; }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card .chip-row { margin-top: .9rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: .82rem; font-weight: 650; color: var(--text-soft); }
button.chip { cursor: pointer; font-family: inherit; }
button.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* container-query responsive feature card */
.feature { container-type: inline-size; }
.feature-inner { display: grid; gap: 1.5rem; align-items: center; }
@container (min-width: 760px) { .feature-inner { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .feature.flip .feature-media { order: -1; } }
.feature-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }

/* ---------- bands ---------- */
.band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4rem); color: #fff; background: linear-gradient(135deg, var(--forest-700), var(--forest-900)); box-shadow: var(--shadow); }
.band.river { background: linear-gradient(135deg, var(--river-600), var(--navy-800)); }
.band.wood { background: linear-gradient(135deg, var(--wood-700), var(--wood-800)); }
.band h2 { color: #fff; } .band p { color: rgb(255 255 255 / .86); }
.band a:not(.btn) { color: #fff; }
.band::after { content: ""; position: absolute; right: -6rem; top: -6rem; width: 22rem; height: 22rem; border-radius: 50%; border: 40px solid rgb(255 255 255 / .06); }

.guarantees { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.guarantee { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.guarantee .seal { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--forest-950); background: radial-gradient(circle at 30% 30%, #f3dfa9, var(--brass)); box-shadow: inset 0 0 0 3px rgb(255 255 255 / .5), 0 6px 16px -6px rgb(200 160 87 / .8); }
.guarantee .seal svg { width: 28px; height: 28px; }
.guarantee h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.guarantee p { margin: 0; color: var(--text-soft); font-size: .95rem; }

.steps { counter-reset: s; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding: 1.4rem 1.3rem 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 600 2.2rem/1 var(--font-display); color: var(--brass); margin-bottom: .6rem; }
.steps h3 { font-size: 1.12rem; }
.steps p { margin: 0; color: var(--text-soft); font-size: .95rem; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: clamp(2.2rem, 5vw, 4rem); }
.page-hero h1 { font-size: var(--step-4); max-width: 22ch; }
.page-hero .lead { margin-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0 0 1.2rem; list-style: none; font-size: .86rem; color: var(--text-faint); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; opacity: .6; }
.crumbs a { color: var(--text-soft); }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.2rem; font-size: .9rem; color: var(--text-faint); }

/* ---------- article / prose ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .toc-wrap { order: -1; } }
.prose { font-size: 1.06rem; line-height: 1.75; max-width: 72ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; padding-top: .2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose blockquote { margin: 1.6em 0; padding: 1rem 1.3rem; border-left: 4px solid var(--brass); background: var(--surface-2); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 750; }
.prose code { font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
.prose a { word-break: break-word; }
.prose .callout, .callout { margin: 1.6em 0; padding: 1.1rem 1.25rem; border-radius: 14px; background: var(--river-100); border: 1px solid color-mix(in oklab, var(--river-600) 25%, transparent); color: var(--navy-900); }
:root[data-theme="dark"] .callout { background: rgb(47 111 150 / .15); color: var(--text); }
.callout strong { color: inherit; }
.toc-wrap { position: sticky; top: calc(var(--header-h) + 1.2rem); }
@media (max-width: 1000px) { .toc-wrap { position: static; } }
.toc { padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); font-size: .92rem; }
.toc h2 { font: 800 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.toc a { display: block; padding: .35rem .6rem; border-radius: 8px; color: var(--text-soft); text-decoration: none; border-left: 2px solid transparent; }
.toc a:hover { background: var(--surface-2); }
.toc a[aria-current="true"] { color: var(--link); border-left-color: var(--brass); background: var(--surface-2); font-weight: 700; }
.toc details summary { cursor: pointer; font-weight: 700; }
.side-cta { margin-top: 1rem; padding: 1.2rem; border-radius: var(--radius); background: linear-gradient(160deg, var(--forest-700), var(--forest-900)); color: #fff; }
.side-cta p { color: rgb(255 255 255 / .85); font-size: .93rem; }
.side-cta .btn { width: 100%; margin-top: .4rem; }
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brass), var(--river-400)); z-index: 60; }
@supports (animation-timeline: scroll()) { .progress-bar { animation: grow linear both; animation-timeline: scroll(root); } @keyframes grow { to { transform: scaleX(1); } } }
.sources { font-size: .9rem; color: var(--text-soft); }
.sources li { word-break: break-word; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; }
.article-nav a { padding: 1rem 1.2rem; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--text); background: var(--surface); }
.article-nav a span { display: block; font-size: .8rem; color: var(--text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.article-nav a:last-child { text-align: right; }

/* guide cards */
.guide-card { display: flex; flex-direction: column; gap: .4rem; padding: 1.35rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.guide-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cat, var(--brand)); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card .cat { font: 800 .7rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cat, var(--accent)); }
.guide-card h3 { margin: .2rem 0; }
.guide-card p { color: var(--text-soft); font-size: .95rem; margin: 0; }
.card-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: .8rem; font-size: .85rem; color: var(--text-faint); font-weight: 700; }
.search-snippet { font-size: .86rem !important; border-left: 3px solid var(--brass); padding-left: .6rem; }
mark { background: var(--brass-soft); color: var(--ink); border-radius: 3px; padding: 0 .1em; }
.search-box { display: flex; gap: .6rem; align-items: center; padding: .4rem .4rem .4rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); max-width: 640px; }
.search-box input { flex: 1; border: 0; background: transparent; font: inherit; color: var(--text); min-height: 44px; outline: none; }
.search-box:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
kbd { font: 700 .75rem var(--font-body); padding: .15rem .45rem; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--text-faint); }

/* ---------- forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.field { display: grid; gap: .35rem; }
.field label, .field legend, .label { font-weight: 750; font-size: .93rem; }
.field .hint { font-size: .84rem; color: var(--text-faint); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 12px; padding: .72rem .9rem; min-height: 48px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: 3px solid color-mix(in oklab, var(--focus) 30%, transparent); outline-offset: 0; }
input[type="file"] { font: inherit; padding: .8rem; border: 1.5px dashed var(--line-strong); border-radius: 12px; width: 100%; background: var(--surface-2); }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem 1.1rem; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer; background: var(--surface); }
.checks label:has(input:checked) { background: var(--forest-100); border-color: var(--forest-600); color: var(--forest-800); }
:root[data-theme="dark"] .checks label:has(input:checked) { background: rgb(143 208 170 / .15); color: #cdeedb; }
.checks input { accent-color: var(--forest-700); width: 18px; height: 18px; }
input[type="range"] { width: 100%; accent-color: var(--forest-600); }
.hp { position: absolute; left: -9999px; }

/* ---------- contact strip & footer ---------- */
.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.contact-card { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--forest-700); color: #fff; flex: none; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card strong { display: block; font-size: 1.05rem; }
.contact-card span { color: var(--text-faint); font-size: .88rem; }
.site-footer { background: var(--forest-950); color: rgb(246 241 229 / .82); padding-block: 3.5rem 2rem; margin-top: 0; }
:root[data-theme="dark"] .site-footer { background: #050d09; }
.site-footer a { color: var(--cream-100); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 800 .74rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .94rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 72px; height: 72px; border-radius: 50%; }
.footer-brand strong { font: 600 1.35rem/1.1 var(--font-display); color: #fff; }
.footer-offers { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; padding: 0; list-style: none; }
.footer-offers li { padding: .3rem .7rem; border-radius: 999px; border: 1px solid rgb(200 160 87 / .5); color: var(--brass-soft); font-size: .78rem; font-weight: 750; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; border-top: 1px solid rgb(255 255 255 / .1); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .84rem; color: rgb(246 241 229 / .6); }
.mobile-cta { position: fixed; inset: auto .75rem .75rem; z-index: 40; display: none; gap: .5rem; padding: .5rem; border-radius: 999px; background: color-mix(in oklab, var(--bg) 85%, transparent); backdrop-filter: blur(12px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.mobile-cta .btn { flex: 1; min-height: 46px; padding-inline: .6rem; }
@media (max-width: 760px) { .mobile-cta { display: flex; } body { padding-bottom: 5rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 1.1rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 750; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .8rem; font: 500 1.5rem/1 var(--font-display); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 1rem; color: var(--text-soft); }

/* ---------- projects / gallery ---------- */
.feed { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.post { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.post-media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media .count { position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .55rem; border-radius: 999px; background: rgb(0 0 0 / .6); color: #fff; font-size: .78rem; font-weight: 700; }
.post-body { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .4rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; font-size: .8rem; color: var(--text-faint); font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .55rem; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status.in-progress { background: #fff1d6; color: #7a4f00; }
.status.in-progress::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e09b17; animation: pulse 1.6s infinite; }
.status.finished { background: var(--forest-100); color: var(--forest-800); }
@keyframes pulse { 50% { opacity: .3; } }
.post h3 { font-size: 1.12rem; margin: 0; }
.post p { margin: 0; color: var(--text-soft); font-size: .95rem; white-space: pre-line; }
.post .thumbs { display: flex; gap: .35rem; padding: 0 1.1rem 1rem; overflow-x: auto; }
.post .thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: none; }
.post .thumbs button[aria-pressed="true"] { border-color: var(--brass); }
.post .thumbs img { width: 56px; height: 42px; object-fit: cover; }
.placeholder-media { display: grid; place-items: center; text-align: center; padding: 1rem; height: 100%; color: var(--text-faint); background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 14px, var(--bg-alt) 14px, var(--bg-alt) 28px); font-weight: 750; font-size: .9rem; }
.placeholder-media strong { display: block; color: var(--accent); letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; --pos: 50%; user-select: none; touch-action: pan-y; background: var(--surface-2); }
.ba img, .ba .placeholder-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba .ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 10px rgb(0 0 0 / .4); pointer-events: none; }
.ba .ba-line::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--forest-900); display: grid; place-items: center; font-weight: 800; box-shadow: var(--shadow); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .ba-label { position: absolute; top: .6rem; padding: .2rem .55rem; border-radius: 999px; background: rgb(0 0 0 / .6); color: #fff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; pointer-events: none; }
.ba .ba-label.l { left: .6rem; } .ba .ba-label.r { right: .6rem; }
.feed-empty { padding: 2rem; border: 2px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--text-faint); }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--bg-alt), var(--surface-2)); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); min-height: 320px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- visualizer ---------- */
.viz { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 1.4rem; align-items: start; }
@media (max-width: 980px) { .viz { grid-template-columns: 1fr; } }
.viz-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0b1218; aspect-ratio: var(--ar, 3 / 4); max-height: 78vh; margin-inline: auto; width: 100%; box-shadow: var(--shadow-lg); }
.viz-stage:not(.is-on) { aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .viz-stage:not(.is-on) { aspect-ratio: 3 / 4; } }
.viz-stage canvas { width: 100%; height: 100%; object-fit: contain; touch-action: manipulation; cursor: crosshair; }
.viz-stage video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.viz-intro { position: absolute; inset: 0; display: grid; place-content: center; gap: 1rem; text-align: center; padding: 1.5rem; color: #fff; background: radial-gradient(circle at 50% 30%, rgb(47 111 150 / .4), transparent 60%), linear-gradient(160deg, var(--forest-800), var(--navy-950)); }
.viz-intro h2 { color: #fff; font-size: var(--step-3); margin: 0; }
.viz-intro p { color: rgb(255 255 255 / .82); max-width: 44ch; margin: 0 auto; }
.viz-intro .btn-row { justify-content: center; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.viz-badge { position: absolute; left: .8rem; top: .8rem; padding: .3rem .65rem; border-radius: 999px; background: rgb(8 18 28 / .7); color: #fff; font: 800 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.viz-handle { position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgb(0 0 0 / .5); pointer-events: none; }
.viz-handle::before, .viz-handle::after { position: absolute; top: .8rem; padding: .2rem .5rem; border-radius: 999px; background: rgb(0 0 0 / .65); color: #fff; font: 800 .66rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.viz-handle::before { content: "Before"; right: .5rem; } .viz-handle::after { content: "After"; left: .5rem; }
.viz-hud { margin-top: .8rem; display: grid; gap: .4rem; }
.viz-hud p { margin: 0; font-size: .92rem; color: var(--text-soft); }
.viz-hud progress { width: 100%; height: 8px; accent-color: var(--brass); }
.viz-stats { font: 700 .78rem/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text-faint); }
.viz-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.viz-panel { display: grid; gap: .9rem; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 1rem 1.1rem; }
.panel h3 { font: 800 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 .8rem; }
.panel .row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.panel label { font-size: .9rem; font-weight: 650; }
.panel select { min-height: 40px; padding: .4rem .6rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.sw-group { width: 100%; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-top: .3rem; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--surface); background: var(--c); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; padding: 0; }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--brass); }
.fsw { display: inline-flex; flex-direction: column; align-items: center; gap: .25rem; width: 76px; padding: .3rem; border: 2px solid transparent; border-radius: 12px; background: none; cursor: pointer; color: var(--text-soft); font: 650 .7rem/1.15 var(--font-body); text-align: center; }
.fsw img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--line-strong); }
.fsw[aria-pressed="true"] { border-color: var(--brass); background: var(--surface-2); }
.color-input { width: 48px; height: 40px; padding: 0; border: 1px solid var(--line-strong); border-radius: 10px; background: none; cursor: pointer; }
.honest { padding: .9rem 1rem; border-radius: 14px; background: #fff7e6; border: 1px solid #f0d9a6; color: #5a4210; font-size: .9rem; }
:root[data-theme="dark"] .honest { background: rgb(200 160 87 / .12); border-color: rgb(200 160 87 / .3); color: var(--brass-soft); }

/* ---------- daylight demo ---------- */
.dl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .dl { grid-template-columns: 1fr; } }
.dl-scene { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.dl-scene svg { width: 100%; }
.dl-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: 1rem; }
.dl-readout div { padding: .8rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.dl-readout b { display: block; font: 600 1.3rem/1.1 var(--font-display); }
.dl-readout span { font-size: .78rem; color: var(--text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dl-compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 1rem; }
.dl-compare figure { margin: 0; text-align: center; font-size: .8rem; font-weight: 700; color: var(--text-soft); }
.dl-compare i { display: block; aspect-ratio: 1; border-radius: 12px; margin-bottom: .35rem; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1); }
.dl-explain { margin-top: 1rem; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; gap: 2px; background: var(--surface); }
.seg button { border: 0; background: none; padding: .45rem .85rem; border-radius: 999px; font: 700 .88rem var(--font-body); color: var(--text-soft); cursor: pointer; min-height: 38px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }

/* ---------- planner ---------- */
.rooms { display: grid; gap: .8rem; }
.room { display: grid; grid-template-columns: 1.4fr repeat(5, minmax(4.5rem, 1fr)) auto; gap: .5rem; align-items: end; padding: .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
@media (max-width: 760px) { .room { grid-template-columns: 1fr 1fr 1fr; } .room .room-name { grid-column: 1 / -1; } }
.room .field label { font-size: .78rem; }
.room input { min-height: 42px; padding: .5rem .6rem; }
.results { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.result { padding: 1.2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.result b { display: block; font: 600 2rem/1 var(--font-display); color: var(--brand); margin: .3rem 0; }
:root[data-theme="dark"] .result b { color: #9fdcb8; }
.result ul { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .9rem; color: var(--text-soft); }

/* ---------- ask ---------- */
.chat { display: grid; gap: .8rem; }
.chat-log { display: grid; gap: .8rem; min-height: 200px; max-height: 60vh; overflow-y: auto; padding: 1rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.msg { max-width: 85%; padding: .8rem 1rem; border-radius: 16px; line-height: 1.55; font-size: .97rem; }
.msg.user { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot ul { padding-left: 1.2rem; margin: .4rem 0; }
.msg .srcs { margin-top: .6rem; font-size: .82rem; color: var(--text-faint); }
.msg.typing::after { content: "…"; animation: pulse 1s infinite; }
.chat-form { display: flex; gap: .5rem; }
.chat-form textarea { min-height: 52px; height: 52px; }
.suggest { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise both cubic-bezier(.2, .7, .2, 1); animation-timeline: view(); animation-range: entry 0% cover 22%; }
    @keyframes rise { from { opacity: 0; transform: translateY(28px) scale(.985); } }
  }
}
.js .reveal-io { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal-io.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal-io { opacity: 1; transform: none; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }

.toast-region { position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%); z-index: 80; display: grid; gap: .5rem; }
.toast { padding: .75rem 1.1rem; border-radius: 12px; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); font-weight: 650; font-size: .93rem; }
.notice { padding: 1rem 1.2rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); }
.todo { background: #fff3cd; color: #5c4400; border: 1px dashed #c9a227; padding: .1rem .4rem; border-radius: 6px; font-weight: 700; }
:root[data-theme="dark"] .todo { background: rgb(201 162 39 / .18); color: #f3dc8f; }
.area-list { columns: 2 14rem; gap: 1.5rem; padding: 0; list-style: none; }
.area-list li { break-inside: avoid; margin-bottom: .5rem; }
.area-list a { font-weight: 700; }
.state-tag { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 6px; font-size: .72rem; font-weight: 800; background: var(--surface-2); color: var(--text-faint); vertical-align: middle; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.2rem; margin: 0; }
.kv dt { font-weight: 750; } .kv dd { margin: 0; color: var(--text-soft); }
@media print { .site-header, .offers-bar, .site-footer, .mobile-cta, .toc-wrap { display: none !important; } body { background: #fff; color: #000; } }

/* ---- additions (pages) ---- */
.offer-chips.on-light li { background: var(--surface); border-color: var(--line); color: var(--text); }
.offer-chips.on-light li svg { color: var(--forest-600, var(--forest)); }
.chip-sq { display: inline-block; width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line-strong); }
.offer-note { padding: .7rem .9rem; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line-strong); }
.ba > .ba-before, .ba > .ba-after { position: absolute; inset: 0; }
.ba > .ba-before svg, .ba > .ba-after svg { width: 100%; height: 100%; display: block; }
.feature-media .ba { border-radius: var(--radius-lg, 20px); box-shadow: var(--shadow); }
.is-admin .mobile-cta, .is-admin .offers-bar { display: none !important; }
.is-admin { padding-bottom: 0 !important; }
.card .more { white-space: nowrap; align-items: center; } .card .more svg { width: 18px; height: 18px; flex: none; }

/* ---------- Full Transparency ---------- */
.d-block { display: block; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; background: var(--surface); }
.table th, .table td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.table thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); }
.tx-table { min-width: 760px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tx-table tbody th { font-weight: 700; max-width: 16rem; }
.tx-tag { display: inline-block; margin: .3rem .3rem 0 0; padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.tone-lower { background: #e2f3e8; color: #17532f; border-color: #a9d8b9; }
.tone-even, .tone-ok { background: #e8eef6; color: #23405f; border-color: #b8c9de; }
.tone-higher { background: #fbeee2; color: #7a3d0c; border-color: #ecc39c; }
:root[data-theme="dark"] .tone-lower { background: #163b26; color: #bfe9cd; border-color: #2d6b45; }
:root[data-theme="dark"] .tone-even, :root[data-theme="dark"] .tone-ok { background: #1c2b3d; color: #c7d8ee; border-color: #36506e; }
:root[data-theme="dark"] .tone-higher { background: #3e2612; color: #f6d2b0; border-color: #7a4b22; }
.tx-nav { margin-top: 1rem; }
.bid-job { display: grid; gap: .5rem; align-content: start; }
.bid-job h3 { margin: 0; }
.bid-job img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; }
.bid-job .table { font-size: .88rem; }
.bid-job tr.is-winner td { background: var(--surface-2); }
.tx-outcome { margin: 0; padding: .5rem .8rem; border-radius: 10px; font-weight: 700; border: 1px solid var(--line); }
.adm-sec { margin-top: .8rem; }
.adm-sec > summary { cursor: pointer; padding: .2rem 0; }
.adm-sec[open] > summary { margin-bottom: .8rem; }
