:root {
  --porcelain: #f5f1e9;
  --putty: #d8cfc4;
  --ink: #24201d;
  --red: #c92532;
  --mauve: #b99aa3;
  --olive: #a6aa78;
  --paper: #fbf8f2;
  --line: rgba(53, 42, 38, .15);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); }
button, a { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }

.walkthrough-nav { height: 78px; padding: 0 4vw; position: fixed; z-index: 30; top: 0; right: 0; left: 0; display: grid; grid-template-columns: 170px minmax(240px, 1fr) 220px auto; align-items: center; gap: 28px; border-bottom: 1px solid rgba(59,45,42,.14); background: rgba(250,247,241,.86); box-shadow: 0 12px 30px rgba(46,34,31,.06); backdrop-filter: blur(20px) saturate(1.2); }
.nav-brand { width: max-content; color: var(--ink); text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.nav-brand span { font: 600 25px/1 var(--serif); letter-spacing: .15em; }
.nav-brand small { font-size: 8px; font-weight: 700; letter-spacing: .26em; }
.nav-project { min-width: 0; display: flex; align-items: baseline; gap: 12px; }
.nav-project small { color: #8e777b; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-project strong { overflow: hidden; font: 500 14px/1.2 var(--serif); white-space: nowrap; text-overflow: ellipsis; }
.nav-progress { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.nav-progress span { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.nav-progress i { height: 2px; overflow: hidden; background: rgba(48,38,35,.13); }
.nav-progress b { width: 14.285%; height: 100%; display: block; background: linear-gradient(90deg, var(--red), var(--mauve)); transition: width .35s ease; }
.portal-back { padding: 11px 15px; border: 1px solid rgba(75,53,55,.28); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }

.chapter-rail { position: fixed; z-index: 20; top: 50%; right: 22px; display: grid; gap: 8px; transform: translateY(-50%); }
.chapter-rail a { width: 34px; height: 34px; position: relative; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; color: #fff; background: rgba(38,30,28,.5); box-shadow: 0 5px 18px rgba(30,22,20,.12); backdrop-filter: blur(12px); font-size: 9px; text-decoration: none; transition: width .25s ease, background .25s ease; }
.chapter-rail b { width: 0; overflow: hidden; white-space: nowrap; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 0; }
.chapter-rail a:hover, .chapter-rail a:focus-visible { width: 116px; padding: 0 12px; grid-template-columns: auto 1fr; gap: 7px; }
.chapter-rail a:hover b, .chapter-rail a:focus-visible b { width: auto; opacity: 1; }
.chapter-rail a.is-active { color: var(--ink); background: var(--paper); }

.chapter { min-height: 100vh; padding: 120px max(7vw, 70px) 80px; position: relative; overflow: hidden; scroll-margin-top: 0; }
.hero-chapter { padding: 0; display: grid; align-items: center; background: #54443f; }
.hero-backdrop { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.8) contrast(1.03); }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,23,21,.8) 0%, rgba(38,27,26,.42) 42%, rgba(42,30,28,.08) 76%), linear-gradient(180deg, rgba(23,17,16,.12), rgba(23,17,16,.36)); }
.glass-card { border: 1px solid rgba(255,255,255,.28); background: linear-gradient(140deg, rgba(68,48,47,.57), rgba(104,77,74,.22)); box-shadow: inset 0 1px rgba(255,255,255,.18), 0 24px 80px rgba(27,19,18,.26); backdrop-filter: blur(18px) saturate(1.15); }
.hero-card { width: min(700px, 78vw); margin: 100px 0 0 8vw; padding: clamp(38px, 5vw, 72px); position: relative; z-index: 2; color: #fff; border-radius: 28px; }
.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 10px; color: #80686d; font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { width: 28px; height: 1px; display: inline-block; background: var(--red); }
.hero-card .eyebrow, .section-heading.inverse .eyebrow, .experience-card small { color: rgba(255,255,255,.72); }
.hero-card h1, .section-heading h2, .selection-panel h2 { margin: 0; font: 500 clamp(45px, 5.4vw, 80px)/.98 var(--serif); letter-spacing: -.04em; }
.hero-card h1 em, .section-heading h2 em, .selection-panel h2 em { color: #d8acb8; font-weight: 500; }
.hero-card > p:not(.eyebrow) { max-width: 570px; margin: 28px 0 0; color: rgba(255,255,255,.82); font-size: 17px; line-height: 1.7; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 22px; }
.primary-button { padding: 15px 20px; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; color: #fff; background: linear-gradient(110deg, #946a76, #b99aa3); border: 1px solid rgba(255,255,255,.28); box-shadow: 0 12px 28px rgba(55,35,40,.19); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.text-link { color: #fff; font-size: 12px; text-underline-offset: 5px; }
.hero-note { position: absolute; z-index: 2; right: 5vw; bottom: 34px; display: grid; justify-items: end; color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-note span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.hero-note strong { margin-top: 5px; font: 500 18px/1.2 var(--serif); }

.light-chapter { background: radial-gradient(circle at 88% 10%, rgba(185,154,163,.2), transparent 26%), var(--paper); }
.section-heading { max-width: 920px; margin-bottom: 52px; }
.section-heading h2 { font-size: clamp(43px, 5vw, 72px); }
.section-heading > p:last-child { max-width: 700px; margin: 24px 0 0; color: #6d605c; font-size: 16px; line-height: 1.7; }
.section-heading.inverse { position: relative; z-index: 2; color: #fff; }
.section-heading.inverse > p:last-child { color: rgba(255,255,255,.7); }
.section-heading.inverse h2 em { color: #e2bec7; }
.scope-layout { display: grid; grid-template-columns: minmax(300px, .75fr) 1.5fr; gap: 24px; }
.scope-price-card { min-height: 390px; padding: 38px; display: flex; flex-direction: column; border: 1px solid rgba(122,91,98,.2); border-radius: 26px; background: linear-gradient(150deg, #9f747f, #604d4d); color: #fff; box-shadow: 0 24px 60px rgba(73,48,54,.16); }
.scope-price-card small { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.scope-price-card strong { margin-top: auto; font: 500 clamp(54px, 5vw, 78px)/1 var(--serif); }
.scope-price-card sup { font: 700 12px/1 var(--sans); letter-spacing: .12em; }
.scope-price-card span { margin-top: 8px; color: #f1d9df; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.scope-price-card p { max-width: 420px; margin: 28px 0 0; color: rgba(255,255,255,.76); line-height: 1.65; }
.included-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.included-grid article { min-height: 185px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.64); box-shadow: 0 12px 40px rgba(49,37,34,.05); }
.included-grid span { color: var(--red); font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.included-grid h3 { margin: 28px 0 8px; font: 500 26px/1.1 var(--serif); }
.included-grid p, .scope-boundary p { margin: 0; color: #71635f; font-size: 14px; line-height: 1.6; }
.scope-boundary { margin-top: 24px; padding: 22px 28px; display: grid; grid-template-columns: 140px 1fr; gap: 22px; border: 1px solid rgba(166,170,120,.44); border-radius: 16px; background: rgba(166,170,120,.13); }
.scope-boundary span { color: #6d7242; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.direction-chapter { min-height: 125vh; background: linear-gradient(135deg, #2d2724, #5f4a4c 58%, #9c7b83); }
.direction-chapter::after { content: "E"; position: absolute; right: -2vw; bottom: -14vw; color: rgba(255,255,255,.035); font: 500 46vw/1 var(--serif); }
.concept-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.concept-card { padding: 14px 14px 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; color: #fff; background: rgba(255,255,255,.075); box-shadow: 0 22px 70px rgba(22,15,14,.18); backdrop-filter: blur(12px); }
.concept-image { width: 100%; height: min(62vh, 680px); padding: 0; position: relative; overflow: hidden; border: 0; border-radius: 19px; background: #eee; cursor: zoom-in; }
.concept-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 4s cubic-bezier(.18,.82,.18,1); }
.concept-image:hover img { transform: translateY(calc(-100% + min(62vh, 680px))); }
.concept-image span, .catalogue-visual button span { position: absolute; right: 16px; bottom: 16px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; color: #fff; background: rgba(35,27,25,.7); backdrop-filter: blur(12px); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.concept-card > div { padding: 24px 12px 0; }
.concept-card small { color: #deb6c1; font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.concept-card h3 { margin: 7px 0 10px; font: 500 34px/1.1 var(--serif); }
.concept-card p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; }

.builds-chapter { background: linear-gradient(180deg, #f8f4ed, #e9e0d8); }
.build-stack { display: grid; gap: 42px; }
.build-card { padding: 20px; display: grid; grid-template-columns: 1.55fr .75fr; gap: 44px; align-items: center; border: 1px solid rgba(83,63,58,.16); border-radius: 30px; background: rgba(255,255,255,.62); box-shadow: 0 20px 65px rgba(61,44,40,.08); }
.build-card.reverse { grid-template-columns: .75fr 1.55fr; }
.build-card.reverse .build-browser { order: 2; }
.build-browser { overflow: hidden; border: 1px solid rgba(50,37,34,.18); border-radius: 18px; background: #fff; box-shadow: 0 22px 50px rgba(42,30,28,.15); }
.browser-bar { height: 35px; padding: 0 14px; display: flex; align-items: center; gap: 7px; background: #eee9e3; }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9b6b7; }
.browser-bar span { margin-left: 8px; color: #837570; font-size: 9px; letter-spacing: .05em; }
.build-browser > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.build-copy { padding: 14px 24px 14px 0; }
.build-card.reverse .build-copy { padding: 14px 0 14px 24px; }
.option-tag { width: max-content; margin: 0 0 24px; padding: 7px 10px; border: 1px solid rgba(159,116,127,.32); border-radius: 99px; color: #8d6470; font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.option-tag.recommended { color: #667044; border-color: rgba(102,112,68,.32); background: rgba(166,170,120,.11); }
.build-copy h3 { margin: 0; font: 500 38px/1.05 var(--serif); }
.build-copy > p:not(.option-tag) { color: #6f625e; line-height: 1.7; }
.build-copy ul { padding: 0; list-style: none; color: #514844; font-size: 13px; }
.build-copy li { margin: 9px 0; }
.build-copy li::before { content: "✦"; margin-right: 9px; color: #a77c88; }
.preview-link { margin-top: 18px; padding: 13px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.preview-link.is-pending { color: #9a8d88; pointer-events: none; }

.catalogue-chapter { padding-right: 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; align-items: stretch; background: #f7f2ec; }
.catalogue-visual { min-height: 760px; margin: -42px 0 -80px -7vw; position: relative; overflow: hidden; background: #b49ca3; }
.catalogue-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 72%, #f7f2ec); }
.catalogue-visual button { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.catalogue-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.catalogue-copy { padding: 18px max(7vw, 70px) 0 54px; position: relative; z-index: 2; }
.catalogue-copy h2 { margin: 0; font: 500 clamp(42px, 4.3vw, 66px)/1 var(--serif); letter-spacing: -.04em; }
.catalogue-copy h2 em { color: #a47784; }
.catalogue-copy > p:not(.eyebrow) { color: #6f625e; line-height: 1.65; }
.catalogue-options { margin-top: 26px; display: grid; gap: 12px; }
.catalogue-options article { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.67); }
.catalogue-options article > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.catalogue-options small { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-options strong { color: #9d6d79; font: 600 23px/1 var(--serif); }
.catalogue-options p { margin: 8px 0 14px; color: #716560; font-size: 12px; line-height: 1.55; }
.estimate-note { margin-top: 16px; display: block; color: #837671; font-size: 10px; line-height: 1.5; }

.decision-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.decision-row button { min-height: 34px; padding: 8px 6px; border: 1px solid rgba(80,59,59,.16); border-radius: 8px; color: #615551; background: #f6f0eb; font-size: 9px; font-weight: 700; letter-spacing: .04em; cursor: pointer; }
.decision-row button:hover, .decision-row button:focus-visible { border-color: #a47784; }
.decision-row button.is-selected[data-choice="interested"] { color: #fff; border-color: #9b6d78; background: #9b6d78; }
.decision-row button.is-selected[data-choice="later"] { color: #4c512d; border-color: #a6aa78; background: #e4e4cb; }
.decision-row button.is-selected[data-choice="no"] { color: #695e59; background: #ddd5ce; }

.experience-chapter { background: #2b2523; }
.experience-backdrop { position: absolute; inset: 0; opacity: .55; background: radial-gradient(circle at 15% 20%, rgba(185,154,163,.46), transparent 30%), radial-gradient(circle at 88% 82%, rgba(166,170,120,.32), transparent 28%), linear-gradient(125deg, #211c1a, #4b393a); }
.section-heading.compact { max-width: 760px; }
.experience-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.experience-card { min-height: 480px; padding: 30px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 1px rgba(255,255,255,.12); backdrop-filter: blur(16px); }
.experience-card.featured { background: linear-gradient(145deg, rgba(169,115,129,.55), rgba(166,170,120,.2)); }
.experience-number { color: rgba(255,255,255,.35); font: 500 34px/1 var(--serif); }
.experience-card > small { margin-top: 48px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.experience-card h3 { margin: 10px 0 12px; font: 500 34px/1.05 var(--serif); }
.experience-card p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.65; }
.experience-card > strong { margin-top: auto; padding-top: 28px; font: 500 19px/1.2 var(--serif); }
.decision-row.light { margin-top: 18px; }
.decision-row.light button { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.07); }
.decision-row.light button.is-selected[data-choice="interested"] { color: #fff; background: #b17f8c; }
.decision-row.light button.is-selected[data-choice="later"] { color: #27231e; background: #c4c79c; }
.decision-row.light button.is-selected[data-choice="no"] { color: #332b29; background: #c5b9b2; }

.selection-chapter { min-height: 92vh; padding-top: 150px; display: grid; grid-template-columns: 1.05fr .8fr; align-items: center; gap: 8vw; background: radial-gradient(circle at 82% 33%, rgba(185,154,163,.3), transparent 25%), var(--paper); }
.selection-panel h2 { font-size: clamp(44px, 5vw, 70px); }
.selection-panel > p:not(.eyebrow) { max-width: 680px; color: #6f625e; font-size: 16px; line-height: 1.7; }
.selection-summary { min-height: 120px; margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); }
.selection-summary > p { margin: 26px 0; color: #8a7e78; text-align: center; }
.selection-item { padding: 10px 0; display: grid; grid-template-columns: 1fr auto auto; gap: 15px; border-bottom: 1px solid var(--line); font-size: 12px; }
.selection-item:last-child { border-bottom: 0; }
.selection-item small { color: #887a75; }
.selection-item b { color: #9a6875; }
.selection-actions { margin-top: 24px; display: flex; align-items: center; gap: 20px; }
.text-button { padding: 10px; border: 0; color: #6a5e59; background: transparent; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.selection-disclaimer { margin-top: 18px; display: block; color: #928681; font-size: 10px; line-height: 1.5; }
.selection-art { aspect-ratio: 1; display: grid; place-items: center; position: relative; border: 1px solid rgba(130,96,102,.18); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #e9dcd6 42%, #ab858e); box-shadow: 0 30px 90px rgba(94,62,69,.18); }
.selection-art::before, .selection-art::after { content: ""; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.selection-art span { font: 500 clamp(48px, 7vw, 100px)/1 var(--serif); letter-spacing: .08em; }
.selection-art em { position: absolute; bottom: 31%; font: 500 18px/1 var(--serif); }
.selection-art i { position: absolute; top: 20%; color: var(--red); font-style: normal; }

.image-lightbox { width: min(94vw, 1180px); height: 92vh; padding: 20px; overflow: auto; border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: rgba(26,21,20,.92); box-shadow: 0 40px 100px rgba(0,0,0,.4); }
.image-lightbox::backdrop { background: rgba(22,17,16,.78); backdrop-filter: blur(8px); }
.image-lightbox button { width: 40px; height: 40px; position: sticky; z-index: 2; top: 0; float: right; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(20,15,14,.75); font-size: 25px; cursor: pointer; }
.image-lightbox img { width: 100%; height: auto; border-radius: 10px; }
.saved-toast { padding: 11px 15px; position: fixed; z-index: 60; right: 28px; bottom: 28px; border-radius: 99px; color: #fff; background: #302724; box-shadow: 0 12px 35px rgba(35,25,23,.25); font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(12px); transition: .25s ease; pointer-events: none; }
.saved-toast.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .walkthrough-nav { grid-template-columns: 150px 1fr auto; }
  .nav-project, .chapter-rail { display: none; }
  .chapter { padding-right: 6vw; padding-left: 6vw; }
  .scope-layout, .catalogue-chapter, .selection-chapter { grid-template-columns: 1fr; }
  .catalogue-chapter { padding-right: 6vw; }
  .catalogue-visual { min-height: 560px; margin: 0 0 42px; border-radius: 26px; }
  .catalogue-visual::after { display: none; }
  .catalogue-copy { padding: 0; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { min-height: 360px; }
  .selection-art { width: min(540px, 80vw); justify-self: center; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 66px; }
  .walkthrough-nav { height: 66px; padding: 0 18px; grid-template-columns: 1fr auto; }
  .nav-progress { display: none; }
  .portal-back { padding: 9px 10px; font-size: 9px; }
  .chapter { min-height: auto; padding: 98px 20px 64px; }
  .hero-chapter { min-height: 100vh; padding: 0; }
  .hero-card { width: calc(100% - 32px); margin: 78px 16px 0; padding: 30px 24px; border-radius: 22px; }
  .hero-card h1, .section-heading h2, .selection-panel h2 { font-size: 42px; }
  .hero-card > p:not(.eyebrow), .section-heading > p:last-child { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-note { display: none; }
  .scope-layout, .included-grid, .concept-grid, .build-card, .build-card.reverse { grid-template-columns: 1fr; }
  .scope-price-card { min-height: 320px; }
  .scope-boundary { grid-template-columns: 1fr; }
  .concept-image { height: 56vh; }
  .concept-image:hover img { transform: none; }
  .build-card.reverse .build-browser { order: 0; }
  .build-copy, .build-card.reverse .build-copy { padding: 12px 4px; }
  .catalogue-visual { min-height: 360px; }
  .catalogue-options article > div:first-child { align-items: flex-start; flex-direction: column; }
  .decision-row { grid-template-columns: 1fr; }
  .experience-card { min-height: 430px; }
  .selection-actions { align-items: stretch; flex-direction: column; }
  .selection-item { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .concept-image:hover img { transform: none; }
}
