/* Shopstead showcase refinement — STUDY-2026-0014 */
:root {
  --font-display: "Bahnschrift", "Aptos Display", "Segoe UI Variable Display", "Segoe UI", sans-serif;
  --font-body: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", "Consolas", monospace;
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-deep: 0 24px 70px rgba(0,0,0,.24);
  --ease-out: cubic-bezier(.2,.75,.2,1);
  --section-rule: linear-gradient(90deg, transparent, rgba(200,122,48,.45), transparent);
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); text-rendering: optimizeLegibility; }
h1,h2,h3,.wordmark { font-family: var(--font-display); font-variation-settings: "wght" 620, "wdth" 95; }
h1,h2 { letter-spacing: -.035em; }
p { text-wrap: pretty; }
.label,.annotation,.osmap-status-text,.osmap-status-phase { font-family: var(--font-mono); letter-spacing: .095em; }
.site-header { background: rgba(13,15,20,.82); backdrop-filter: blur(14px); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.site-header.is-scrolled { border-bottom-color: rgba(228,225,219,.14); box-shadow: 0 10px 30px rgba(0,0,0,.18); background: rgba(13,15,20,.94); }
.nav-link,.nav-cta { min-height: 44px; display: inline-flex; align-items: center; }
.nav-link { position: relative; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--accent); transition: right .2s var(--ease-out); }
.nav-link:hover::after,.nav-link:focus-visible::after,.nav-link[aria-current="page"]::after { right: 0; }
.hero { position: relative; overflow: clip; }
.hero::before { content:""; position:absolute; inset:0; pointer-events:none; opacity:.35; background-image: linear-gradient(rgba(228,225,219,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(228,225,219,.025) 1px,transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(to bottom,black,transparent 82%); }
.hero-inner { min-height: min(780px, calc(100vh - 72px)); align-items: center; }
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { max-width: 15ch; font-size: clamp(3.6rem, 6.4vw, 6.8rem); line-height: .94; }
.hero-body { max-width: 61ch; font-size: clamp(1.04rem,1.35vw,1.22rem); line-height: 1.7; }
.hero-actions { gap: 12px; }
.hero-visual { border: 1px solid rgba(228,225,219,.09); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-deep); }
.hero-visual::before { content:"SYSTEM / CURRENT STATE"; display:block; padding: 11px 14px; border-bottom:1px solid rgba(228,225,219,.08); color:var(--text-dim-dark); font: 600 10px/1 var(--font-mono); letter-spacing:.12em; }
.hero-mobile-flow { display:none; }
.mobile-flow-row { display:grid; grid-template-columns: 1fr 28px 1.2fr 28px 1fr; align-items:center; gap:4px; }
.mobile-flow-node,.mobile-flow-gap { min-height:72px; display:grid; place-items:center; text-align:center; padding:10px 8px; border-radius:7px; font:700 10px/1.25 var(--font-mono); letter-spacing:.07em; }
.mobile-flow-node { background:var(--surface-mid); border:1px solid var(--line-mid); color:var(--text-muted-dark); }
.mobile-flow-gap { background:var(--state-defect-dim); border:1px dashed var(--state-defect); color:var(--state-defect); }
.mobile-flow-arrow { color:var(--text-dim-dark); text-align:center; font-family:var(--font-mono); }
.mobile-flow-note { margin-top:12px; color:var(--text-dim-dark); font:500 11px/1.55 var(--font-mono); }
.section { position: relative; }
.section::before,.os-map-section::before,.cta-band::before { content:""; position:absolute; top:0; left:50%; width:min(1200px, calc(100% - 40px)); height:1px; transform:translateX(-50%); background:var(--section-rule); opacity:.38; }
.section--light .label { color: #9b5e25 !important; }
.os-map-section { padding-top: clamp(72px, 8vw, 118px); }
.osmap-intro { max-width: 60ch; font-size: 1.08rem; }
.os-map { border-radius: var(--radius-lg); box-shadow: var(--shadow-deep); overflow: hidden; }
.osmap-node { transition: transform .18s var(--ease-out), border-color .18s ease, background .18s ease; }
.osmap-node:hover,.osmap-node:focus-visible { transform: translateY(-2px); }
.osmap-node.has-defect { box-shadow: inset 0 0 0 1px rgba(201,85,68,.2); }
.osmap-node.is-fixed { box-shadow: inset 0 0 0 1px rgba(70,149,110,.18); }
.difference-grid { gap: 0; border-top: 1px solid var(--line-light); }
.difference-item { position:relative; padding: clamp(28px,4vw,48px) clamp(18px,3vw,34px); border-bottom:1px solid var(--line-light); border-right:1px solid var(--line-light); background:transparent; transition:background .2s ease, transform .2s var(--ease-out); }
.difference-item:nth-child(3n) { border-right:0; }
.difference-item:hover { background: rgba(200,122,48,.045); transform: translateY(-2px); }
.difference-item::after { content: attr(data-proof); position:absolute; right:16px; top:18px; color:var(--text-dim-light); font:600 9px/1 var(--font-mono); letter-spacing:.09em; }
.method-preview { position:relative; grid-template-columns: repeat(6, 1fr); gap:0; margin-top:50px; }
.method-preview::before { content:""; position:absolute; left:4%; right:4%; top:17px; height:1px; background:linear-gradient(90deg,var(--accent),rgba(200,122,48,.15)); }
.method-stage { position:relative; padding:46px 20px 20px; border-left:1px solid var(--line-dark); }
.method-stage:last-child { border-right:1px solid var(--line-dark); }
.method-stage .annotation { position:absolute; top:0; left:16px; display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--surface-deep); border:1px solid var(--accent); color:var(--accent); z-index:1; }
.method-stage:last-child .annotation { background:var(--accent); color:var(--surface-deep); }
.proof-section { overflow:hidden; }
.proof-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: clamp(34px,6vw,92px); align-items:start; }
.proof-intro h2 { max-width: 11ch; }
.proof-stack { border-top:1px solid var(--line-mid); }
.proof-block { display:grid; grid-template-columns: 120px 1fr; gap:24px; padding:24px 0; border-bottom:1px solid var(--line-dark); }
.proof-block .proof-state { color:var(--state-good); font:700 10px/1.4 var(--font-mono); letter-spacing:.1em; }
.proof-block h3 { margin:0 0 7px; font-size:1.15rem; }
.proof-block p { margin:0; color:var(--text-muted-dark); }
.cta-band { padding-block: clamp(82px,10vw,150px); background: radial-gradient(circle at 82% 50%,rgba(200,122,48,.12),transparent 32%), var(--surface-deep); }
.cta-band .container--narrow { max-width: 860px; }
.cta-band h2 { font-size: clamp(2.4rem,5vw,4.8rem); line-height:1; max-width:13ch; }
.website-hero { padding: clamp(96px,10vw,148px) 0 clamp(72px,8vw,112px); }
.website-hero-grid { display:grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: clamp(36px,7vw,100px); align-items:end; }
.website-hero h1 { font-size: clamp(3.2rem,6vw,6.5rem); line-height:.94; max-width:12ch; }
.offer-console { border:1px solid var(--line-mid); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-deep); background:var(--surface-dark); }
.offer-console-head { padding:12px 16px; border-bottom:1px solid var(--line-dark); color:var(--text-dim-dark); font:600 10px/1 var(--font-mono); letter-spacing:.1em; }
.offer-console-row { display:grid; grid-template-columns: 120px 1fr; gap:14px; padding:14px 16px; border-bottom:1px solid var(--line-dark); }
.offer-console-row:last-child { border-bottom:0; }
.offer-console-key { color:var(--text-dim-dark); font:600 10px/1.4 var(--font-mono); letter-spacing:.08em; }
.offer-console-value { color:var(--text-on-dark); font-weight:600; }
.offer-price { color:var(--accent); font-size:1.45rem; }
.scope-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1px; background:var(--line-light); border:1px solid var(--line-light); }
.scope-card { background:var(--surface-light); padding:clamp(28px,4vw,46px); }
.scope-card h3 { font-size:1.35rem; }
.scope-card ul { margin:20px 0 0; padding:0; list-style:none; }
.scope-card li { padding:10px 0 10px 24px; border-top:1px solid var(--line-light); position:relative; }
.scope-card li::before { content:"+"; position:absolute; left:0; color:var(--accent); font-family:var(--font-mono); }
.scope-card--limits li::before { content:"–"; color:var(--text-dim-light); }
.acceptance-band { background:var(--surface-warm); }
.acceptance-list { counter-reset:accept; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-top:1px solid var(--line-light); }
.acceptance-item { counter-increment:accept; padding:26px 24px; border-right:1px solid var(--line-light); border-bottom:1px solid var(--line-light); }
.acceptance-item:nth-child(3n) { border-right:0; }
.acceptance-item::before { content:counter(accept, decimal-leading-zero); display:block; margin-bottom:18px; color:var(--accent); font:700 10px/1 var(--font-mono); letter-spacing:.1em; }
.ownership-flow { display:grid; grid-template-columns:1fr 56px 1fr 56px 1fr; align-items:stretch; }
.ownership-node { border:1px solid var(--line-mid); border-radius:var(--radius-md); padding:26px; background:var(--surface-dark); }
.ownership-arrow { display:grid; place-items:center; color:var(--accent); font-family:var(--font-mono); }
.ownership-node .label { margin-bottom:14px; }
.ownership-node:last-child { border-color:rgba(70,149,110,.5); }
@media (max-width: 980px) {
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .method-preview { grid-template-columns: repeat(3,1fr); row-gap:28px; }
  .method-preview::before { display:none; }
  .difference-item:nth-child(3n) { border-right:1px solid var(--line-light); }
  .difference-item:nth-child(2n) { border-right:0; }
  .proof-grid,.website-hero-grid { grid-template-columns:1fr; }
  .acceptance-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .acceptance-item:nth-child(3n) { border-right:1px solid var(--line-light); }
  .acceptance-item:nth-child(2n) { border-right:0; }
}
@media (max-width: 700px) {
  html { scroll-behavior:auto; }
  .hero-inner { min-height:auto; padding-top:64px; padding-bottom:54px; }
  .hero-content { max-width:none; }
  .hero h1 { font-size:clamp(3rem,14vw,4.6rem); line-height:.95; max-width:10ch; letter-spacing:-.045em; }
  .hero h1 br { display:none; }
  .hero-body { font-size:1rem; line-height:1.65; max-width:36rem; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .hero-visual { margin-top:34px; border-radius:12px; }
  .hero-visual svg { display:none; }
  .hero-mobile-flow { display:block; padding:18px; }
  .difference-grid { grid-template-columns:1fr; }
  .difference-item,.difference-item:nth-child(n) { border-right:0; }
  .method-preview { grid-template-columns:1fr; margin-top:34px; }
  .method-stage { border-left:0; border-top:1px solid var(--line-dark); padding:26px 0 26px 52px; }
  .method-stage:last-child { border-right:0; border-bottom:1px solid var(--line-dark); }
  .method-stage .annotation { left:0; top:20px; }
  .proof-grid { gap:34px; }
  .proof-block { grid-template-columns:1fr; gap:8px; }
  .website-hero { padding-top:72px; }
  .website-hero h1 { font-size:clamp(3rem,14vw,4.8rem); max-width:10ch; }
  .scope-grid,.acceptance-list { grid-template-columns:1fr; }
  .acceptance-item:nth-child(n) { border-right:0; }
  .ownership-flow { grid-template-columns:1fr; gap:0; }
  .ownership-arrow { min-height:48px; transform:rotate(90deg); }
}
@media (max-width: 430px) {
  .container { padding-left:20px; padding-right:20px; }
  .hero h1 { font-size:clamp(2.85rem,13.4vw,4rem); }
  .mobile-flow-row { grid-template-columns:1fr; }
  .mobile-flow-arrow { transform:rotate(90deg); min-height:22px; display:grid; place-items:center; }
  .mobile-flow-node,.mobile-flow-gap { min-height:58px; }
  .offer-console-row { grid-template-columns:1fr; gap:5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none !important; animation:none !important; }
  .osmap-node:hover,.difference-item:hover { transform:none; }
}

/* =====================================================
   DESKTOP REFINEMENT PASS 2 — CLIENT VISUAL REJECTION
   Preserve <=700px mobile presentation exactly.
   Rebalance laptop/desktop toward the prior live site.
   ===================================================== */
@media (min-width: 701px) {
  body {
    font-family: var(--font-sans);
  }

  h1, h2, h3, .wordmark {
    font-family: var(--font-sans);
    font-variation-settings: normal;
  }

  h1, h2 {
    letter-spacing: -0.025em;
  }

  .site-header {
    background: rgba(13, 15, 20, 0.92);
    backdrop-filter: blur(8px);
    box-shadow: none;
  }

  .site-header.is-scrolled {
    background: rgba(13, 15, 20, 0.96);
    box-shadow: none;
    border-bottom-color: var(--line-dark);
  }

  .hero::before {
    opacity: 0;
    background: none;
  }

  .hero-inner {
    min-height: calc(100vh - var(--nav-height));
    gap: clamp(48px, 6vw, 88px);
  }

  .hero-content {
    max-width: 560px;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(3rem, 3.55vw, 3.55rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
  }

  .hero-body {
    max-width: 49ch;
    font-size: 1.125rem;
    line-height: 1.72;
    margin-bottom: 40px;
  }

  .hero-actions {
    gap: 16px;
  }

  .hero-visual {
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-visual svg {
    max-width: 430px;
  }

  .section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section::before,
  .os-map-section::before,
  .cta-band::before {
    opacity: 0;
  }

  .os-map-section {
    padding-top: 88px;
  }

  .osmap-intro {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 40px;
  }

  .os-map {
    border-radius: var(--radius-md);
    box-shadow: none;
  }

  .difference-grid {
    gap: 24px;
    margin-top: 48px;
    border-top: 0;
  }

  .difference-item,
  .difference-item:nth-child(n) {
    padding: 28px;
    border: 1px solid var(--line-mid-light);
    border-radius: var(--radius-md);
    background: var(--surface-light);
    transform: none;
  }

  .difference-item:hover {
    background: var(--surface-light);
    border-color: rgba(200, 122, 48, .45);
    box-shadow: 0 0 0 1px rgba(200, 122, 48, .12);
    transform: none;
  }

  .difference-item::after {
    display: none;
  }

  .difference-item h3 {
    font-size: 1.05rem;
  }

  .difference-item p {
    font-size: .875rem;
    line-height: 1.65;
  }

  .proof-grid {
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    gap: clamp(52px, 6vw, 84px);
  }

  .proof-intro h2 {
    max-width: 16ch;
    font-size: clamp(1.8rem, 2.4vw, 2.15rem);
    line-height: 1.12;
  }

  .proof-intro p {
    max-width: 42ch;
    font-size: .95rem;
    line-height: 1.7;
  }

  .proof-block {
    grid-template-columns: 112px 1fr;
    gap: 24px;
    padding: 26px 0;
  }

  .proof-block h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .proof-block p {
    font-size: .92rem;
    line-height: 1.65;
  }

  .method-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 44px;
    background: var(--line-dark);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .method-preview::before {
    display: none;
  }

  .method-stage,
  .method-stage:last-child {
    min-height: 184px;
    padding: 28px;
    border: 0;
    background: var(--surface-deep);
  }

  .method-stage .annotation,
  .method-stage:last-child .annotation {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    font-size: .7rem;
    line-height: 1;
  }

  .method-stage h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .method-stage p {
    font-size: .84rem;
    line-height: 1.6;
  }

  .cta-band {
    padding-top: 112px;
    padding-bottom: 112px;
    background: radial-gradient(circle at 50% 48%, rgba(200,122,48,.06), transparent 36%), var(--surface-deep);
  }

  .cta-band .container--narrow {
    max-width: 760px;
  }

  .cta-band h2 {
    max-width: 21ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 3vw, 2.55rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .cta-band p {
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.7;
  }

  .website-hero {
    padding-top: 112px;
    padding-bottom: 96px;
  }

  .website-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(56px, 7vw, 92px);
    align-items: center;
  }

  .website-hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 4.1vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
  }

  .website-hero .hero-body {
    max-width: 56ch;
    font-size: 1.05rem;
    line-height: 1.72;
  }

  .offer-console {
    border-radius: var(--radius-md);
    box-shadow: none;
  }

  .offer-console-head {
    padding: 13px 18px;
  }

  .offer-console-row {
    grid-template-columns: 112px 1fr;
    gap: 18px;
    padding: 15px 18px;
  }

  .offer-console-key {
    font-size: .67rem;
  }

  .offer-console-value {
    font-size: .92rem;
    line-height: 1.45;
  }

  .offer-price {
    font-size: 1.25rem;
  }

  .scope-grid {
    gap: 24px;
    background: transparent;
    border: 0;
  }

  .scope-card {
    padding: 34px;
    border: 1px solid var(--line-light);
    border-radius: var(--radius-md);
  }

  .scope-card h3 {
    font-size: 1.2rem;
  }

  .scope-card li {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: .92rem;
    line-height: 1.6;
  }

  .acceptance-list {
    gap: 0;
  }

  .acceptance-item {
    padding: 28px;
  }

  .acceptance-item strong {
    font-size: .98rem;
  }

  .acceptance-item p {
    margin-top: 8px;
    font-size: .9rem;
    line-height: 1.62;
  }

  .ownership-flow {
    grid-template-columns: 1fr 44px 1fr 44px 1fr;
  }

  .ownership-node {
    padding: 28px;
    border-radius: var(--radius-md);
  }

  .ownership-node h3 {
    font-size: 1.05rem;
  }

  .ownership-node p {
    font-size: .9rem;
    line-height: 1.65;
  }
}

@media (min-width: 701px) and (max-width: 980px) {
  .hero-inner {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 76px;
    gap: 44px;
  }

  .hero-content {
    max-width: 620px;
  }

  .hero h1 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 6.2vw, 3.4rem);
  }

  .hero-visual svg {
    max-width: 390px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .proof-intro h2 {
    max-width: 20ch;
  }

  .method-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .website-hero {
    padding-top: 84px;
    padding-bottom: 76px;
  }

  .website-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .website-hero h1 {
    max-width: 13ch;
    font-size: clamp(2.8rem, 6.4vw, 3.6rem);
  }

  .offer-console {
    max-width: 680px;
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .acceptance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ownership-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ownership-arrow {
    min-height: 24px;
    transform: rotate(90deg);
  }
}

@media (min-width: 1100px) and (max-width: 1280px) {
  .nav-list {
    gap: 18px;
  }

  .hero-inner {
    gap: 52px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-visual svg {
    max-width: 400px;
  }

  .website-hero h1 {
    font-size: 3.45rem;
  }
}

@media (min-width: 1100px) {
  .hero-content {
    max-width: 620px;
  }

  .hero h1 {
    max-width: 19ch;
    font-size: 3.2rem;
    line-height: 1.08;
  }

  .website-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  }

  .website-hero h1 {
    max-width: 18ch;
    font-size: 3.25rem;
    line-height: 1.06;
  }

  .website-hero .hero-body {
    max-width: 52ch;
  }
}

@media (min-width: 1280px) {
  .website-hero h1 {
    font-size: 3.35rem;
  }
}

@media (min-width: 981px) and (max-width: 1099px) {
  .hero-inner {
    grid-template-columns: 1.08fr .92fr;
    gap: 38px;
  }

  .hero h1 {
    max-width: 18ch;
    font-size: 2.8rem;
    line-height: 1.08;
  }

  .hero-body {
    font-size: 1.05rem;
  }

  .hero-visual svg {
    max-width: 390px;
  }

  .website-hero-grid {
    grid-template-columns: 1.04fr .96fr;
    gap: 38px;
  }

  .website-hero h1 {
    max-width: 16ch;
    font-size: 2.8rem;
    line-height: 1.06;
  }

  .website-hero .hero-body {
    font-size: 1rem;
  }
}
