/* RichRender — brand tokens taken from the logo, booklet and showcase videos */
:root {
  --paper: #F7F0E6;
  --paper-2: #EDE2D0;
  --paper-3: #FBF7F0;
  --navy: #14305E;
  --navy-deep: #0F2447;
  --copper: #B5653A;
  --copper-soft: #D9A27F;
  --ink: #1D2333;
  --ink-2: #4A4F5E;
  --line: #DCCDB6;
  --ok: #2F6B4F;
  --bad: #A23B26;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: 2.15rem;
  --step-4: clamp(2.4rem, 4.6vw, 3.6rem);
  --radius-card: 6px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--step-0)/1.6 var(--sans); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 68ch; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.sub-italic { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--navy); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.small { font-size: var(--step--1); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 600 1rem/1 var(--sans);
  background: var(--navy); color: #fff; border: 2px solid var(--navy); border-radius: 999px; padding: .95em 1.5em;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-copper { background: var(--copper); border-color: var(--copper); }
.btn-copper:hover { background: #9b5430; border-color: #9b5430; }
.btn-small { padding: .7em 1.15em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(247, 240, 230, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 700 1.35rem/1 var(--serif); }
.brand img { width: 52px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current]:not(.btn) { color: var(--copper); }
.nav-toggle { display: none; font: 600 1rem var(--sans); background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: .5em 1em; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 20px; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--paper-2); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { margin: 0; max-width: 52ch; color: var(--ink-2); }
.section-head h2 { margin: 0; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 8vw, 104px); }
.hero-drafting { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--copper); opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-kicker { font-family: var(--serif); color: var(--copper); letter-spacing: .28em; text-transform: uppercase; font-size: .82rem; margin-bottom: 1.6em; }
.hero-kicker::before { content: ""; display: block; width: 72px; height: 2px; background: var(--copper); margin-bottom: 1.4em; }
.hero h1 { margin-bottom: .2em; }
.hero .sub-italic { font-size: var(--step-2); margin-bottom: 1.1em; }
.hero .lede { margin-bottom: 1.8em; }
.hero-note { margin-top: 18px; font-size: var(--step--1); color: var(--ink-2); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* the booklet frame: cream page + navy band, like the real booklet cover */
.booklet { background: var(--paper-3); border-radius: var(--radius-card); box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(15, 36, 71, .45); overflow: hidden; }
.booklet-band { background: var(--navy-deep); color: #fff; display: flex; align-items: center; gap: 22px; padding: 14px 22px; font-size: .9rem; border-top: 2px solid var(--copper); }
.booklet-band b { font: 700 1.5rem/1 var(--serif); margin-right: .35em; }
.booklet-band .band-sep { width: 1px; align-self: stretch; background: var(--copper); opacity: .8; }
.booklet-band .band-title { margin-left: auto; font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.hero-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper); }

/* booklet cards */
.card-grid { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.bcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--paper-3); border-radius: var(--radius-card);
  overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 36px -26px rgba(15, 36, 71, .5); transition: transform .2s ease, box-shadow .2s ease; }
.bcard:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 26px 44px -26px rgba(15, 36, 71, .6); color: var(--ink); }
.bcard-page { position: relative; display: block; padding: 0 0 20px; flex: 1; }
.bcard-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; }
.bcard-render .bcard-img img { object-fit: contain; padding: 4%; }
.bcard-name { display: block; padding: 18px 20px 0; margin: 0; font: 700 1.35rem/1.15 var(--serif); color: var(--navy); }
.bcard-tier { display: block; padding: 2px 20px 0; font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.bcard-yours .bcard-img { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(0deg, transparent 0 23px, rgba(181,101,58,.12) 23px 24px), repeating-linear-gradient(90deg, transparent 0 23px, rgba(181,101,58,.12) 23px 24px), var(--paper); }
.yours-art { color: var(--copper); width: 62%; }
.yours-art svg { width: 100%; height: auto; display: block; }
.bcard-yours .bcard-band { background: var(--copper); border-top-color: var(--navy-deep); color: #fff; font-weight: 600; }
.card-badge { position: absolute; top: 14px; left: 14px; background: var(--paper-3); color: var(--navy); font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); }
.bcard-band { display: flex; gap: 18px; background: var(--navy-deep); color: #e8edf6; padding: 12px 20px; font-size: .85rem; border-top: 2px solid var(--copper); }
.bcard-band b { font: 700 1.15rem/1 var(--serif); color: #fff; margin-right: .3em; }
.band-stat + .band-stat { padding-left: 18px; border-left: 1px solid var(--copper); }

/* how it works: a real sequence, so numbered */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--navy); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font: 700 3rem/1 var(--serif); color: var(--copper); margin-bottom: 14px; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.how-video { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.how-video video { width: 100%; border-radius: var(--radius-card); background: var(--paper); }
@media (max-width: 860px) { .how-video { grid-template-columns: 1fr; } }

/* one house, four sizes */
.sizes { background: var(--navy-deep); color: #e8edf6; }
.sizes h2, .sizes h3 { color: #fff; }
.sizes .section-head p { color: #c3cbdb; }
.size-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 32px; }
.size-tab { appearance: none; background: none; border: 0; color: #c3cbdb; text-align: left; padding: 14px 4px 16px; cursor: pointer; font: 500 1rem var(--sans);
  border-bottom: 3px solid transparent; margin-bottom: -1px; }
.size-tab b { display: block; font: 700 clamp(1.4rem, 3vw, 2.1rem)/1.05 var(--serif); color: #fff; margin-bottom: 4px; }
.size-tab[aria-selected="true"] { border-bottom-color: var(--copper); color: #fff; }
.size-tab:hover { color: #fff; }
.size-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.size-panel[hidden] { display: none; }
.size-stage { position: relative; background: var(--paper); border-radius: var(--radius-card); aspect-ratio: 4 / 3; overflow: hidden; }
.size-stage img { width: 100%; height: 100%; object-fit: contain; }
.rr3d { position: absolute; inset: 0; background: var(--paper); cursor: grab; touch-action: pan-y; }
.rr3d:active { cursor: grabbing; }
.rr3d canvas { width: 100% !important; height: 100% !important; display: block; }
.rr3d-hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(15, 36, 71, .78); color: #fff; font-size: .8rem; padding: 5px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.size-copy .size-count { margin-bottom: 28px; }
.size-count { font: 700 clamp(3.2rem, 8vw, 5.6rem)/0.95 var(--serif); color: #fff; letter-spacing: -0.02em; }
.size-count small { display: block; font: 500 1rem var(--sans); color: var(--copper-soft); letter-spacing: 0; margin-top: 10px; }
.size-copy p:not(.size-count) { color: #d4dbe8; }
.size-copy ul { padding-left: 1.1em; color: #d4dbe8; }
.size-copy .btn-ghost { color: #fff; border-color: #fff; }
.size-copy .btn-ghost:hover { background: #fff; color: var(--navy-deep); }
.spin-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
@media (max-width: 860px) { .size-panel { grid-template-columns: 1fr; } .size-tabs { grid-template-columns: repeat(2, 1fr); } }

/* tiers table */
.tier-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.tier { padding: 24px 22px 8px 0; }
.tier + .tier { padding-left: 22px; border-left: 1px solid var(--line); }
.tier h3 { margin-bottom: 4px; }
.tier .pieces { font-family: var(--serif); font-style: italic; color: var(--copper); margin-bottom: 12px; }
.tier p { color: var(--ink-2); font-size: .98rem; }
.tier-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.tier-links a { font-weight: 600; }
@media (max-width: 900px) { .tier-list { grid-template-columns: 1fr 1fr; } .tier:nth-child(3) { padding-left: 0; border-left: 0; } .tier { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .tier-list { grid-template-columns: 1fr; } .tier + .tier { padding-left: 0; border-left: 0; } }

/* inside the booklet */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pages figure { margin: 0; }
.pages img { width: 100%; border-radius: 4px; box-shadow: 0 16px 34px -24px rgba(15, 36, 71, .6); background: #fff; }
.pages figcaption { font-size: var(--step--1); color: var(--ink-2); margin-top: 10px; }
.pages .p-cover { grid-column: 1 / -1; }
@media (max-width: 520px) { .pages { grid-template-columns: 1fr 1fr; } .pages figure:last-child { grid-column: 1 / -1; } }
.kit-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.kit-list li { border-top: 1px solid var(--line); padding-top: 12px; }
.kit-list b { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.1rem; }
@media (max-width: 600px) { .kit-list { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* gifts */
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.gift { border-left: 3px solid var(--copper); padding-left: 18px; }
.gift p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .gift-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 1.15rem/1.35 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 1.6rem/1 var(--sans); color: var(--copper); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }

/* call to action band */
.cta-band { background: var(--navy); color: #e8edf6; border-top: 3px solid var(--copper); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #c3cbdb; }
.cta-band .btn-ghost { color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--navy); }

/* footer */
.site-foot { background: var(--navy-deep); color: #c3cbdb; padding: 56px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--copper-soft); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot-mark { font: 700 1.5rem/1 var(--serif); color: #fff; margin-bottom: 12px; }
.foot-h { color: var(--copper-soft); font-weight: 600; margin-bottom: 8px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 6px 0; }
.foot-legal { margin-top: 40px; font-size: .8rem; color: #95a0b7; }
.foot-legal p { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); margin: 0; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* gallery page */
.page-intro { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 24px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; }
.chip { font: 500 .95rem var(--sans); border: 1px solid var(--line); background: var(--paper-3); color: var(--ink); padding: .5em 1em; border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.group-title { margin: 56px 0 8px; }
.group-note { color: var(--ink-2); margin-bottom: 24px; max-width: 64ch; }

/* house detail */
.crumbs { font-size: var(--step--1); color: var(--ink-2); margin: 28px 0 0; }
.crumbs a { color: var(--ink-2); }
.house-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: 20px 0 64px; align-items: start; }
@media (max-width: 920px) { .house-top { grid-template-columns: 1fr; } }
.viewer { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.viewer > img, .viewer > video { width: 100%; height: 100%; object-fit: contain; }
.viewer .is-photo { object-fit: cover; }

.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; padding: 12px; background: var(--paper-3); }
.thumb { aspect-ratio: 4 / 3; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: var(--paper); padding: 0; cursor: pointer; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--copper); }
.thumb-label { position: absolute; inset: auto 0 0 0; background: rgba(15, 36, 71, .85); color: #fff; font-size: .7rem; padding: 2px 0; text-align: center; }
.house-info h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .1em; }
.house-info .sub-italic { font-size: var(--step-1); margin-bottom: 1em; }
.facts { display: flex; gap: 0; margin: 22px 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); }
.facts div { padding: 14px 18px 12px 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 700 1.6rem/1 var(--serif); color: var(--navy); }
.facts span { font-size: var(--step--1); color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { padding: 6px 0 6px 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--copper); border-bottom: 2px solid var(--copper); transform: rotate(-45deg); }
.notice { background: var(--paper-3); border-left: 3px solid var(--copper); padding: 14px 18px; border-radius: 0 4px 4px 0; font-size: .95rem; color: var(--ink-2); margin: 0 0 24px; }

/* forms */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding-bottom: 96px; align-items: start; }
@media (max-width: 920px) { .form-wrap { grid-template-columns: 1fr; } }
.form { background: var(--paper-3); border-radius: var(--radius-card); padding: clamp(20px, 4vw, 40px); box-shadow: 0 1px 0 var(--line), 0 24px 48px -36px rgba(15, 36, 71, .5); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font: 700 1.3rem var(--serif); color: var(--navy); margin-bottom: 14px; padding: 0; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { display: block; font-size: var(--step--1); color: var(--ink-2); font-weight: 400; margin-top: 2px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=url], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #cbbba2; border-radius: 6px; padding: .8em .9em; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(181, 101, 58, .35); border-color: var(--copper); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.tier-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tier-pick label { display: block; border: 1px solid #cbbba2; background: #fff; border-radius: 6px; padding: 12px 14px; cursor: pointer; font-weight: 400; margin: 0; }
.tier-pick input { margin-right: 8px; accent-color: var(--navy); }
.tier-pick label:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.tier-pick b { font-family: var(--serif); color: var(--navy); }
.tier-pick small { display: block; color: var(--ink-2); margin-left: 24px; }
@media (max-width: 520px) { .tier-pick { grid-template-columns: 1fr; } }
.drop { border: 2px dashed #cbbba2; border-radius: 8px; padding: 24px; text-align: center; background: #fff; cursor: pointer; }
.drop.over { border-color: var(--copper); background: #fff8f1; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 12px; }
.previews figure { margin: 0; position: relative; aspect-ratio: 1; background: var(--paper-2); border-radius: 4px; overflow: hidden; font-size: .7rem; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ink-2); }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.check, .field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; accent-color: var(--navy); }
.hp { position: absolute; left: -5000px; }
.alert { padding: 14px 18px; border-radius: 6px; margin-bottom: 20px; }
.alert-bad { background: #f6e1d9; color: var(--bad); border: 1px solid #e6bfb1; }
.alert-ok { background: #e3efe7; color: var(--ok); border: 1px solid #bcd7c6; }
.aside-card { border-top: 2px solid var(--navy); padding-top: 20px; }
.aside-card + .aside-card { margin-top: 36px; }
.aside-card ol { padding-left: 1.2em; color: var(--ink-2); }
.aside-card li { margin-bottom: 8px; }

/* delivery page */
.delivery-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: 24px; }
.delivery { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding-bottom: 96px; align-items: start; }
@media (max-width: 900px) { .delivery { grid-template-columns: 1fr; } }
.delivery video { width: 100%; background: #000; aspect-ratio: 16/9; }
.file-list { list-style: none; padding: 0; margin: 0; }
.file-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.file-list .fname { font-weight: 600; }
.file-list .fmeta { display: block; font-size: var(--step--1); color: var(--ink-2); font-weight: 400; }

/* simple pages */
.prose { max-width: 68ch; padding-bottom: 96px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.center-page { min-height: 50vh; display: flex; align-items: center; padding-top: 80px; padding-bottom: 80px; }

/* admin */
.admin .site-head { position: static; }
.admin-wrap { padding-top: 28px; padding-bottom: 96px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.admin-nav a { font-weight: 600; text-decoration: none; }
.admin-nav form { margin-left: auto; }
.linkish { background: none; border: 0; color: var(--navy); font: 600 1rem var(--sans); cursor: pointer; padding: 0; text-decoration: underline; }
.stat-row { display: flex; flex-wrap: wrap; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--line); margin: 8px 0 48px; }
.stat-row div { padding: 16px 28px 14px 0; }
.stat-row div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-row b { display: block; font: 700 2rem/1 var(--serif); color: var(--navy); }
.stat-row span { font-size: var(--step--1); color: var(--ink-2); }
.admin-sec { margin-bottom: 56px; }
.admin-sec .section-head { margin-bottom: 16px; }
.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--paper-3); font-size: .95rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-weight: 600; color: var(--ink-2); background: var(--paper-2); }
.table tr.off td { color: var(--ink-2); }
.table input[type=text] { padding: .5em .6em; }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.pill-new { background: #f6e1d9; color: var(--bad); }
.pill-designing, .pill-replied { background: #e2e8f3; color: var(--navy); }
.pill-delivered { background: #e3efe7; color: var(--ok); }
.link-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--paper-3); border-left: 3px solid var(--copper); padding: 18px 20px; margin-bottom: 28px; word-break: break-all; }
.danger-zone { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0 0 28px; }
.dl dt { color: var(--ink-2); }
.dl dd { margin: 0; font-weight: 500; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.photo-grid a { aspect-ratio: 1; background: var(--paper-2); border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; font-size: .85rem; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
code { background: var(--paper-2); padding: 1px 5px; border-radius: 3px; font-size: .9em; }

/* ===================== v2: hero, studs, brick frames ===================== */
.stud { display: inline-block; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.55) 0 18%, transparent 42%), var(--copper);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18), 0 1px 0 rgba(15,36,71,.12); }

.hero2 { position: relative; overflow: hidden; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(64px, 8vw, 112px); }
.drafting { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--copper); opacity: .5; pointer-events: none; }
.drafting .draw { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .drafting .draw { animation: draw 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .drafting .draw-fade { animation: fadein 1s 1.6s both; }
  .hero2-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero2-copy > :nth-child(2) { animation-delay: .08s; } .hero2-copy > :nth-child(3) { animation-delay: .16s; }
  .hero2-copy > :nth-child(4) { animation-delay: .24s; } .hero2-copy > :nth-child(5) { animation-delay: .32s; } .hero2-copy > :nth-child(6) { animation-delay: .4s; }
  .hero2-art { animation: settle 1.1s .15s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes draw { from { stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); } to { stroke-dasharray: var(--len) 0; stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.hero2-grid { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero2 h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.015em; margin-bottom: .18em; text-wrap: balance; }
.hero2 .sub-italic { font-size: var(--step-2); margin-bottom: 1em; }
.hero2 .lede { margin-bottom: 1.6em; }
.hero-proof { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .95rem; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof .stud { width: 11px; height: 11px; }
.hero2-art { position: relative; }
@media (max-width: 900px) { .hero2-grid { grid-template-columns: 1fr; } }

/* the logo's brick outline, as a picture frame: navy brick with two studs on top */
.brick-frame { position: relative; margin: 22px 0 0; padding: 10px; background: var(--navy-deep); border-radius: 18px;
  box-shadow: 0 40px 70px -40px rgba(15, 36, 71, .65); }
.brick-frame::before, .brick-frame::after { content: ""; position: absolute; top: -18px; width: 22%; height: 22px; background: var(--navy-deep); border-radius: 10px 10px 0 0; }
.brick-frame::before { left: 14%; } .brick-frame::after { right: 14%; }
.brick-frame img, .brick-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--paper); }
.hero-tag { position: absolute; left: -18px; bottom: -22px; display: flex; align-items: center; gap: 8px; background: var(--paper-3); color: var(--ink-2);
  padding: 12px 18px; border-radius: 12px; box-shadow: 0 18px 40px -22px rgba(15,36,71,.55); font-size: .9rem; border-top: 3px solid var(--copper); }
.hero-tag b { font: 700 1.35rem/1 var(--serif); color: var(--navy); }
.hero-tag span { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.hero-tag em { font-family: var(--serif); color: var(--navy); margin-left: 8px; }
@media (max-width: 600px) { .hero-tag { left: 8px; right: 8px; bottom: -28px; flex-wrap: wrap; } }

/* ===================== scroll-built house ===================== */
.build { background: var(--paper-2); position: relative; }
.build-track { height: 320vh; }
.build-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; align-items: center; overflow: hidden; }
.build-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 64px); align-items: center; width: 100%; }
.build-copy h2 { margin-bottom: .3em; }
.build-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 6px; }
.build-steps li { position: relative; padding: 14px 0 14px 54px; border-top: 1px solid var(--line); opacity: .42; transition: opacity .35s ease; }
.build-steps li::before { content: attr(data-step); counter-increment: none; position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.05rem var(--serif); color: var(--navy); border: 1.5px solid var(--navy); }
.build-steps li[data-step="0"]::before { content: "1"; } .build-steps li[data-step="1"]::before { content: "2"; } .build-steps li[data-step="2"]::before { content: "3"; }
.build-steps li.is-on { opacity: 1; }
.build-steps li.is-on::before { background: var(--copper); border-color: var(--copper); color: #fff; }
.build-steps h3 { margin: 0 0 4px; font-size: 1.2rem; }
.build-steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.build-stage { position: relative; margin: 0; }
.build-stage canvas, .build-stage .build-poster { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: var(--paper); }
.build-stage .build-poster { position: absolute; inset: 0 0 auto 0; }
.build-stage.ready .build-poster { display: none; }
.build-label { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.stud-meter { margin-left: auto; display: flex; gap: 5px; }
.stud-meter i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .2s; }
.stud-meter i.on { background: var(--copper); box-shadow: inset 0 -1.5px 0 rgba(0,0,0,.25); }
.build-static { display: none; padding-top: 64px; padding-bottom: 64px; }
.build-static-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.build-static figure { margin: 0; }
.build-static img { border-radius: 8px; width: 100%; }
.build-static figcaption { margin-top: 10px; color: var(--ink-2); font-size: .95rem; }
.build-static figcaption b { display: block; color: var(--navy); font-family: var(--serif); }
@media (max-width: 900px) {
  .build-track { height: 260vh; }
  .build-sticky { top: 64px; height: calc(100vh - 64px); align-items: flex-start; padding-top: 16px; }
  .build-grid { grid-template-columns: 1fr; gap: 14px; }
  .build-copy { order: 2; }
  .build-copy h2, .build-copy > p { display: none; }
  .build-steps { margin: 0; }
  .build-steps li { display: none; padding-top: 6px; border: 0; }
  .build-steps li.is-on { display: block; }
  .build-steps li::before { top: 6px; }
  .build-static-grid { grid-template-columns: 1fr; }
}
.no-scrub .build-track { display: none; }
.no-scrub .build-static { display: block; }
@media (prefers-reduced-motion: reduce) { .build-track { display: none; } .build-static { display: block; } }

/* ===================== house tabs ===================== */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.seg-btn { appearance: none; border: 0; background: none; font: 600 1rem var(--sans); color: var(--ink-2); padding: .65em 1.2em; border-radius: 999px; cursor: pointer; }
.seg-btn small { font-weight: 500; opacity: .7; margin-left: 4px; }
.seg-btn[aria-selected="true"] { background: var(--navy); color: #fff; }
.card-grid[role="tabpanel"]:not([hidden]) .bcard { animation: cardin .5s cubic-bezier(.2,.7,.2,1) both; }
.card-grid[role="tabpanel"] .bcard:nth-child(2) { animation-delay: .05s; } .card-grid[role="tabpanel"] .bcard:nth-child(3) { animation-delay: .1s; }
.card-grid[role="tabpanel"] .bcard:nth-child(4) { animation-delay: .15s; } .card-grid[role="tabpanel"] .bcard:nth-child(5) { animation-delay: .2s; } .card-grid[role="tabpanel"] .bcard:nth-child(6) { animation-delay: .25s; }
@keyframes cardin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .card-grid .bcard { animation: none !important; } }

/* ===================== stud ruler ===================== */
.ruler { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 72px); }
.ruler-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) 150px; gap: 20px; align-items: center; }
.ruler-name b { display: block; font: 700 1.15rem var(--serif); color: var(--navy); }
.ruler-name span { font-size: .88rem; color: var(--ink-2); }
.ruler-studs { display: grid; grid-template-columns: repeat(26, minmax(0, 1fr)); gap: 4px; max-width: 100%; }
.ruler-studs i { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.55) 0 18%, transparent 42%), var(--copper);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); max-width: 26px; }
.ruler-row.is-soon .ruler-studs i { background: transparent; box-shadow: none; border: 1.5px dashed var(--navy); opacity: .45; }
.ruler-tag { font-size: .9rem; color: var(--ink-2); text-align: right; }
.ruler-row.is-soon .ruler-tag { color: var(--copper); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .ruler-studs i { transform: scale(0); transition: transform .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i, 0) * 18ms); }
  .ruler.in .ruler-studs i { transform: none; }
}
@media (max-width: 760px) { .ruler-row { grid-template-columns: 1fr; gap: 6px; } .ruler-tag { text-align: left; } .ruler-studs { gap: 3px; } }

/* ===================== tier cards ===================== */
.tier-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.tier-card { display: flex; flex-direction: column; background: var(--paper-3); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 36px -28px rgba(15,36,71,.5); }
.tier-art { position: relative; aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.tier-art img { width: 100%; height: 100%; object-fit: cover; }
.tier-body { padding: 20px 20px 8px; display: flex; flex-direction: column; flex: 1; }
.tier-body h3 { margin: 0; font-size: 1.35rem; }
.tier-body .pieces { font-family: var(--serif); font-style: italic; color: var(--copper); margin: 2px 0 10px; }
.tier-body p { color: var(--ink-2); font-size: .97rem; }
.tier-body .tier-links { margin-top: auto; padding-top: 6px; }
.tier-card.is-soon { background: var(--navy-deep); }
.tier-card.is-soon .tier-art { background: var(--navy-deep); background-image: linear-gradient(rgba(233,199,174,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(233,199,174,.08) 1px, transparent 1px); background-size: 20px 20px; }
.tier-card.is-soon .tier-art img { object-fit: contain; padding: 4%; }
.sd-blueprint { width: 100%; height: 100%; color: #E9C7AE; padding: 8% 10% 2%; }
.tier-card.is-soon h3 { color: #fff; }
.tier-card.is-soon .pieces { color: var(--copper-soft); }
.tier-card.is-soon p { color: #c3cbdb; }
.tier-card.is-soon a { color: #fff; }
.soon-pill { position: absolute; top: 12px; left: 12px; background: var(--copper); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
@media (max-width: 1000px) { .tier-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tier-cards { grid-template-columns: 1fr; } }

/* ===================== hand ===================== */
.hand-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hand-photo { margin: 0; border-radius: 50% 50% 18px 18px / 30% 30% 18px 18px; overflow: hidden; box-shadow: 0 40px 70px -46px rgba(15,36,71,.6); }
.hand-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.hand h2 { text-wrap: balance; }
@media (max-width: 860px) { .hand-grid { grid-template-columns: 1fr; } }

/* ===================== booklet fan ===================== */
.fan { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; gap: 14px; }
.fan figure { margin: 0; }
.fan img { width: 100%; border-radius: 4px; background: #fff; box-shadow: 0 22px 40px -26px rgba(15,36,71,.65); }
.fan-cover { grid-column: 1 / 6; grid-row: 1; transform: rotate(-1.5deg); position: relative; z-index: 2; }
.fan-1 { grid-column: 1 / 3; grid-row: 2; transform: rotate(-2deg) translateY(-10px); }
.fan-2 { grid-column: 3 / 5; grid-row: 2; transform: rotate(1deg) translateY(-18px); z-index: 3; }
.fan-3 { grid-column: 5 / 7; grid-row: 2; transform: rotate(2.5deg) translateY(-6px); }
@media (prefers-reduced-motion: no-preference) { .fan figure { transition: transform .35s cubic-bezier(.2,.7,.2,1); } .fan figure:hover { transform: rotate(0) translateY(-14px) scale(1.02); z-index: 5; } }

/* ===================== gift ===================== */
.gift { position: relative; overflow: hidden; background: var(--paper); padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.gift-photo { position: absolute; left: 0; right: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; }
.gift.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,240,230,.92) 0%, rgba(247,240,230,.55) 42%, rgba(247,240,230,0) 70%); }
.gift .wrap { position: relative; z-index: 1; }
.gift-card { max-width: 460px; background: var(--paper-3); border-radius: 14px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -40px rgba(15,36,71,.55); border-top: 3px solid var(--copper); }
.gift-card dl { margin: 18px 0 24px; display: grid; gap: 12px; }
.gift-card dt { font: 700 1.05rem var(--serif); color: var(--navy); }
.gift-card dd { margin: 2px 0 0; color: var(--ink-2); }
@media (max-width: 760px) { .gift.has-photo { padding-top: 0; } .gift-photo { position: static; height: auto; aspect-ratio: 3/2; } .gift.has-photo::after { display: none; } .gift-card { margin-top: -40px; } }

/* call-to-action band gets a stud texture */
.cta-band { background-image: radial-gradient(circle, rgba(233,199,174,.13) 3px, transparent 3.5px); background-size: 26px 26px; }

/* parallax helper */
[data-parallax] { will-change: transform; }
.tier-group { scroll-margin-top: 90px; }
.tier-group .section-head { margin-top: 56px; margin-bottom: 8px; }
.tier-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.tier-cards-2 .tier-art { aspect-ratio: 16 / 9; }
@media (max-width: 700px) { .tier-cards-2 { grid-template-columns: 1fr; } }
.filter-row a.chip { text-decoration: none; }

/* ===================== v2b: BricksChat-inspired touches ===================== */
.typed { font: 400 italic var(--step-2)/1.3 var(--serif); color: var(--copper); margin-bottom: 1em; min-height: 1.3em; }
.typed .typed-word { color: var(--navy); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--copper); margin-left: 3px; vertical-align: -0.15em; }
@media (prefers-reduced-motion: no-preference) { .caret { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }

.kit-list:has(.ico) { grid-template-columns: 1fr; gap: 18px; }
.kit-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; align-items: start; border-top: 0; padding-top: 0; }
.kit-list li b, .kit-list li { color: var(--ink); }
.kit-list .ico { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: #f3dccb; display: grid; place-items: center; }
.kit-list .ico svg { width: 34px; height: 34px; }
.kit-list li { color: var(--ink-2); }
.kit-photo { margin: 32px 0 0; }
.kit-photo img { width: 100%; border-radius: 16px; box-shadow: 0 30px 60px -44px rgba(15,36,71,.6); }

.bcard, .tier-card { border-radius: 14px; }
.bcard { border: 1px solid rgba(220, 205, 182, .7); }

.hello-wrap { padding-bottom: clamp(56px, 8vw, 104px); }
.hello { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; overflow: hidden;
  background: #f3dccb; border-radius: 24px; padding: clamp(28px, 4vw, 52px); }
.hello::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(181,101,58,.16) 3px, transparent 3.5px); background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%); mask-image: linear-gradient(90deg, transparent 35%, #000 85%); }
.hello-main { position: relative; }
.hello h2 { margin-bottom: .3em; }
.hello p { color: var(--ink-2); max-width: 46ch; margin-bottom: 1.4em; }
.hello .btn-ghost { word-break: break-all; }
.hello-house { position: relative; width: 100%; max-width: 380px; justify-self: end; border-radius: 16px; transform: rotate(2deg); box-shadow: 0 30px 60px -36px rgba(15,36,71,.55); }
@media (max-width: 760px) { .hello { grid-template-columns: 1fr; } .hello-house { justify-self: start; max-width: 260px; } }
.sd-blueprint { padding: 6% 12% 0; }

/* ===================== v3: frameless hero showcase ===================== */
.show { position: relative; }
.show-stage, .show { --t: 4.2s; }
.show-item { position: absolute; left: 0; right: 0; top: 0; display: block; aspect-ratio: 3 / 2; opacity: 0; pointer-events: none;
  transform: translateY(-28px) scale(.96); transition: opacity .9s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.show-item:first-child { position: relative; }
.show-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
.show-item.is-out { opacity: 0; transform: translateY(22px) scale(.98); }
.show-item img { width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 54%, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 62% at 50% 54%, #000 58%, transparent 100%); }
@media (prefers-reduced-motion: no-preference) { .show-item.is-on img { animation: bob 7s ease-in-out infinite; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.show-cap { position: relative; display: flex; align-items: center; gap: 16px; margin: -6px auto 0; max-width: 520px; padding-bottom: 12px; }
.show-text { flex: 1; min-width: 0; }
.show-name { display: block; font: 700 1.5rem/1.15 var(--serif); color: var(--navy); text-decoration: none; }
.show-name:hover { color: var(--copper); }
.show-meta { font-family: var(--serif); font-style: italic; color: var(--ink-2); }
.show-nav { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .9rem; }
.show-nav button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.show-nav button:hover { background: var(--navy); color: #fff; }
.show-nav svg { width: 18px; height: 18px; }
.show-count b { color: var(--navy); }
.show-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); overflow: hidden; }
.show-bar i { display: block; height: 100%; width: 0; background: var(--copper); }
.show-bar.run i { animation: fill var(--t) linear forwards; }
@keyframes fill { to { width: 100%; } }
.hero-proof .chk { width: 16px; height: 16px; color: var(--copper); flex: none; }

/* thin progress line replaces the stud meter */
.build-progress { margin-left: auto; width: min(160px, 30%); height: 3px; border-radius: 2px; background: rgba(255,255,255,.2); overflow: hidden; }
.build-progress i { display: block; height: 100%; width: 0; background: var(--copper); }

/* ===================== measuring tape ===================== */
.tape { position: relative; height: 30px; }
.tape-bar { position: absolute; left: 0; top: 6px; height: 18px; width: calc(var(--w) * .8); border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(15,36,71,.55) 0 1.5px, transparent 1.5px calc(100% / var(--n))) left top / 100% 7px no-repeat, var(--copper);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); transform-origin: left center; }
.tape-end { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: .85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ruler-row.is-soon .tape-bar { background: repeating-linear-gradient(90deg, rgba(15,36,71,.35) 0 1.5px, transparent 1.5px calc(100% / var(--n))) left top / 100% 7px no-repeat, transparent;
  border: 1.5px dashed rgba(15,36,71,.45); box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .tape-bar { transform: scaleX(0); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .ruler-row:nth-child(2) .tape-bar { transition-delay: .1s; } .ruler-row:nth-child(3) .tape-bar { transition-delay: .2s; } .ruler-row:nth-child(4) .tape-bar { transition-delay: .3s; }
  .ruler.in .tape-bar { transform: none; }
}
.hello::before { display: none; }

/* ===================== booklet lightbox ===================== */
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(15, 36, 71, .82); }
.lightbox img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: 6px; background: #fff; }
.lb-bar { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 12px; color: #fff; }
.lb-bar button { font: 600 1rem var(--sans); color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; min-width: 44px; height: 44px; padding: 0 16px; cursor: pointer; }
.lb-bar .lb-prev, .lb-bar .lb-next { font-size: 1.5rem; padding: 0; }
.lb-bar .lb-close { margin-left: 18px; }
.show-item img { scale: 1.22; }
.show-cap { margin-top: 4px; }

/* ===================== private delivery v2 ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pin-card { max-width: 460px; margin: 0 auto; background: var(--paper-3); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -40px rgba(15,36,71,.5); border-top: 3px solid var(--copper); }
.pin-card h1 { font-size: 2rem; }
.pin-form { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.pin-form input { flex: 1; min-width: 160px; font: 600 1.6rem var(--sans); letter-spacing: .3em; text-align: center; font-variant-numeric: tabular-nums; }
.pin-show { font-size: 1.1rem; letter-spacing: .15em; color: var(--navy); }
.films { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.films.has-vertical { grid-template-columns: minmax(0, 2.2fr) minmax(0, .8fr); }
.film { margin: 0; }
.film-h video { width: 100%; aspect-ratio: 16 / 9; background: #000; display: block; }
.film-h .booklet-band { justify-content: space-between; }
.band-dl { color: #fff; font-weight: 600; }
.phone { max-width: 300px; margin: 0 auto; padding: 10px; background: var(--navy-deep); border-radius: 36px; box-shadow: 0 30px 60px -36px rgba(15,36,71,.7); }
.phone video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 26px; background: #000; }
.film-v figcaption { display: flex; justify-content: space-between; align-items: center; gap: 10px; max-width: 300px; margin: 14px auto 0; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) { .films.has-vertical { grid-template-columns: 1fr; } }
.share-box { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 24px; align-items: center; background: #f3dccb; border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.share-media video { width: 100%; border-radius: 14px; background: #000; display: block; max-height: 460px; }
.share-copy h2 { font-size: 1.6rem; }
.share-btns { margin: 16px 0; }
.coupon { margin-top: 8px; background: var(--paper-3); border-radius: 12px; padding: 16px 18px; border: 1.5px dashed var(--copper); }
.coupon-code { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.coupon-code b { font: 700 1.6rem var(--serif); color: var(--navy); letter-spacing: .06em; }
@media (max-width: 760px) { .share-box { grid-template-columns: 1fr; } }
.share-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); }
.share-film video { width: 100%; max-height: 78vh; border-radius: 18px; background: #000; display: block; box-shadow: 0 40px 70px -46px rgba(15,36,71,.65); }
@media (max-width: 860px) { .share-page { grid-template-columns: 1fr; } }
