/* Simply Us — luxury bridal system.
   Layout: editorial pages on warm linen; full-bleed photographs; one rosewood-clay accent; espresso bands for contrast.
   Type: Bodoni Moda (display, fashion-house contrast) · Jost (body + spaced labels) · Pinyon Script (names only). */
:root {
  color-scheme: light;
  --paper: #F7F3EC;
  --paper-2: #EFE6DA;
  --blush: #EADBD0;
  --surface: #FFFDF9;
  --ink: #231F1A;
  --ink-2: #4A433B;
  --muted: #6B6156;
  --line: #E3D8CA;
  --line-2: #CFC1AF;
  --accent: #87533F;       /* rosewood clay */
  --accent-2: #B98A72;
  --accent-soft: #F1E3DA;
  --gold: #A08A5C;
  --deep: #2A221D;         /* espresso band */
  --deep-2: #3A2F28;
  --on-deep: #F4ECE2;
  --ok: #5F7058; --ok-soft: #E6EBE0;
  --warn: #9B4A3C; --warn-soft: #F4E2DC;
  --font-ui: "DM Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;
  --r-sm: 6px; --r: 12px; --r-lg: 18px;
  --shadow: 0 1px 2px rgba(70, 32, 14, .04), 0 10px 30px rgba(70, 32, 14, .06);
  --shadow-up: 0 2px 6px rgba(70, 32, 14, .05), 0 22px 50px rgba(70, 32, 14, .12);
  --ease: cubic-bezier(.22, .7, .18, 1);
  --gutter: clamp(16px, 4.5vw, 72px);
  --max: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
::selection { background: var(--blush); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- type ---------- */
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; line-height: 1; }
.serif { font-family: var(--font-serif); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; font-variation-settings: "SOFT" 50, "WONK" 0; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(42px, 5.6vw, 88px); }
h2 { font-size: clamp(34px, 4vw, 62px); }
h3 { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.18; }
h1 em, h2 em, h3 em { font-style: italic; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 40ch; line-height: 1.7; font-weight: 400; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.eyebrow.accent { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; }
.tiny { font-size: 12.5px; }
.num-tab { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--surface);
  font-weight: 500; font-size: 15px; letter-spacing: .01em; text-transform: none; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: var(--deep-2); box-shadow: 0 14px 30px rgba(70,32,14,.18); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; box-shadow: none; }
.btn.light { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.btn.light:hover { background: var(--paper); }
.btn.outline-light { background: transparent; color: var(--on-deep); border-color: rgba(244,236,226,.5); }
.btn.outline-light:hover { border-color: var(--on-deep); background: transparent; }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: #8a5a47; }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; }
.btn .arr { transition: transform .35s var(--ease); display: inline-grid; }
.btn:hover .arr { transform: translateX(4px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .25s; }
.link:hover { text-decoration-color: var(--accent); }
.textlink { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0; text-decoration: none; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size .45s var(--ease); }
.textlink:hover { background-size: 30% 1px; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .25s, transform .25s var(--ease); flex: none; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn:active { transform: scale(.95); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stack > * + * { margin-top: var(--s, 16px); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- site nav ---------- */
.notice { background: var(--deep); color: var(--on-deep); text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 10px var(--gutter); }
.notice a { color: inherit; text-underline-offset: 4px; }
.site-nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .35s, background .35s; }
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 78px; gap: 16px; }
.site-nav .left, .site-nav .right { display: flex; gap: 30px; align-items: center; }
.site-nav .right { justify-content: flex-end; gap: 14px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.brand .script { font-size: 38px; }
.brand .tag { font-size: 9.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nl { text-decoration: none; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink-2); position: relative; padding: 6px 0; }
.nl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nl:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }
.mobile-menu { position: fixed; inset: 0; background: var(--paper); z-index: 60; padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter) 32px; display: flex; flex-direction: column; gap: 6px; animation: fade .25s ease both; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-menu a.big { font-family: var(--font-serif); font-size: 38px; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - 78px - 38px), 820px); display: grid; align-items: end; color: var(--on-deep); overflow: hidden; background: var(--deep); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; animation: settle 2.4s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,22,12,.05) 0%, rgba(48,22,12,.08) 45%, rgba(48,22,12,.66) 100%), linear-gradient(90deg, rgba(48,22,12,.35), transparent 60%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(44px, 5.4vw, 86px); line-height: 1.02; max-width: 12ch; }
.hero .eyebrow { color: rgba(244,236,226,.82); }
.hero .hero-side { display: flex; flex-direction: column; gap: 26px; justify-self: end; max-width: 380px; }
.hero .hero-side p { color: rgba(244,236,226,.9); font-weight: 400; font-size: 18px; }
.hero .facts { display: flex; gap: 28px; border-top: 1px solid rgba(244,236,226,.3); padding-top: 18px; }
.hero .facts div { font-size: 13px; color: rgba(244,236,226,.8); }
.hero .facts b { display: block; font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--on-deep); line-height: 1.1; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
[data-enter] > * { animation: rise 1.1s var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: .12s; }
[data-enter] > *:nth-child(3) { animation-delay: .24s; }
[data-enter] > *:nth-child(4) { animation-delay: .36s; }
[data-enter] > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section.tint { background: var(--paper-2); }
.section.deep { background: var(--deep); color: var(--on-deep); }
.section.deep .eyebrow { color: rgba(244,236,226,.6); }
.section.deep .lede, .section.deep p { color: rgba(244,236,226,.82); }
.section .head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(28px, 3.6vw, 48px); }
.section .head p { color: var(--ink-2); max-width: 44ch; justify-self: end; font-weight: 400; }
.section.deep .head p { color: rgba(244,236,226,.8); }

.statement { text-align: center; }
.statement p.big { font-family: var(--font-serif); font-size: clamp(28px, 3.3vw, 50px); line-height: 1.28; max-width: 26ch; margin: 22px auto 0; letter-spacing: -.01em; }
.statement p.big em { color: var(--accent); }
.statement .sig { font-size: 46px; margin-top: 30px; display: block; color: var(--ink-2); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); }
.ornament::before, .ornament::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .6; }

/* the book */
.book-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.book-stage { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--blush); }
.book-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.book-stage:hover > img { transform: scale(1.03); }
.book { position: absolute; left: 50%; bottom: 9%; width: 46%; aspect-ratio: 210/297; transform: translateX(-50%) rotate(-3deg); background: var(--surface); border-radius: 2px 8px 8px 2px; box-shadow: -7px 0 0 var(--line) inset, 0 34px 60px rgba(70,32,14,.28), 0 8px 16px rgba(70,32,14,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7%; padding: 10%; text-align: center; transition: transform .8s var(--ease); }
.book-stage:hover .book { transform: translateX(-50%) rotate(-1deg) translateY(-6px); }
.book .script { font-size: clamp(24px, 2.6vw, 42px); white-space: nowrap; }
.book .rule { width: 26%; height: 1px; background: var(--gold); }
.book .t { font-size: clamp(7.5px, .62vw, 10px); letter-spacing: .34em; text-transform: uppercase; color: var(--ink-2); }
.chapters { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: ch; columns: 2; column-gap: 32px; }
.chapters li { counter-increment: ch; break-inside: avoid; display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--line); }
.chapters li::before { content: counter(ch, upper-roman); font-family: var(--font-serif); font-style: italic; color: var(--accent); min-width: 28px; font-size: 15px; }

/* app showcase */
.showcase { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.feat-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.feat-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(244,236,226,.16); }
.feat-list b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 22px; color: var(--on-deep); margin-bottom: 2px; }
.feat-list span { color: rgba(244,236,226,.72); font-size: 15.5px; font-weight: 400; }
.feat-list svg { color: var(--accent-2); margin-top: 6px; }
.devices { position: relative; aspect-ratio: 1/1; }
.screen { position: absolute; background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.4); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.screen.lap { inset: 4% 0 14% 6%; padding: 22px; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 10px; font-size: 12px; }
.screen.phone { width: 34%; aspect-ratio: 9/18.5; right: 0; bottom: 0; border-radius: 28px; border: 6px solid #15110e; padding: 16px 12px; display: flex; flex-direction: column; gap: 9px; font-size: 11px; }
.screen .top { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
.screen .top .script { font-size: 30px; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 6px; min-height: 0; }
.mini b { font-family: var(--font-serif); font-size: 22px; font-weight: 500; line-height: 1; }
.mini .eyebrow { font-size: 8.5px; letter-spacing: .2em; }
.bar { height: 5px; background: var(--paper-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: 99px; width: var(--w, 50%); transition: width .9s var(--ease); }
.bar i.accent { background: var(--accent); }
.bar i.over { background: var(--warn); }
.swatches { display: flex; gap: 4px; }
.swatches i { flex: 1; height: 22px; border-radius: 4px; }

/* ceremonies */
.ceremonies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cer { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3/4.2; color: var(--on-deep); display: flex; align-items: flex-end; text-decoration: none; }
.cer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cer:hover img { transform: scale(1.03); }
.cer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(48,22,12,.75)); }
.cer .in { position: relative; z-index: 1; padding: 26px; display: grid; gap: 8px; }
.cer h3 { font-size: clamp(26px, 2.3vw, 34px); }
.cer p { color: rgba(244,236,226,.86); font-size: 15px; font-weight: 400; }

/* mosaic + palettes */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 11vw, 170px); gap: 14px; }
.mosaic figure { margin: 0; border-radius: 3px; overflow: hidden; position: relative; background: var(--blush); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.mosaic figure:hover img { transform: scale(1.03); }
.m1 { grid-column: 1 / 6; grid-row: span 4; }
.m2 { grid-column: 6 / 9; grid-row: span 2; }
.m3 { grid-column: 9 / 13; grid-row: span 2; }
.m4 { grid-column: 6 / 10; grid-row: span 2; }
.m5 { grid-column: 10 / 13; grid-row: span 2; }
.palette-chip { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 4px; padding: 6px; background: rgba(255,253,249,.92); border-radius: 999px; }
.palette-chip i { width: 18px; height: 18px; border-radius: 50%; }

/* band */
.band { position: relative; min-height: min(86svh, 760px); display: grid; align-items: end; color: var(--on-deep); overflow: hidden; background: var(--deep); }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,22,12,.1) 30%, rgba(48,22,12,.6) 100%); }
.band .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(48px, 8vw, 110px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: end; }
.band h2 { font-size: clamp(48px, 7.4vw, 120px); line-height: .98; }
.band h2 .script { font-size: 1.05em; display: block; }
.band p { color: rgba(244,236,226,.88); max-width: 40ch; font-weight: 400; }

/* supplier cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); cursor: pointer; text-align: left; padding: 0; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-up); }
.card .ph { aspect-ratio: 4/3.1; overflow: hidden; background: var(--blush); position: relative; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .ph img { transform: scale(1.03); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card h3 { font-size: 25px; }
.card .meta { font-size: 14px; color: var(--muted); }
.card .foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 500; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.pill.gold { background: var(--accent-soft); color: #7c4f3e; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.dark { background: var(--ink); color: var(--surface); }
.save { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 999px; background: rgba(255,253,249,.94); border: 0; display: grid; place-items: center; cursor: pointer; transition: transform .25s var(--ease); }
.save:hover { transform: scale(1.08); }
.save.on svg { fill: var(--accent); stroke: var(--accent); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split figure { margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; background: var(--blush); }
.split figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.split figure:hover img { transform: scale(1.03); }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, upper-roman) "."; font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.1; color: var(--accent); }
.steps b { display: block; font-weight: 500; margin-bottom: 2px; }
.steps span { color: var(--ink-2); font-size: 15.5px; font-weight: 400; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); font-weight: 400; }
.ticks svg { margin-top: 5px; color: var(--accent); }

.close { position: relative; text-align: center; padding: clamp(72px, 9vw, 128px) 0; overflow: hidden; color: var(--on-deep); background: var(--deep); }
.close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.close .wrap { position: relative; z-index: 1; }
.close .script { font-size: clamp(70px, 10vw, 150px); display: block; }
.close h2 { margin: 6px auto 22px; max-width: 18ch; }
.close p { color: rgba(244,236,226,.85); }
.close .row { justify-content: center; margin-top: 36px; }

.site-foot { background: var(--deep); color: rgba(244,236,226,.78); border-top: 1px solid rgba(244,236,226,.1); padding: 64px 0 36px; font-size: 14.5px; }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-foot .brand { align-items: flex-start; color: var(--on-deep); }
.site-foot h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: rgba(244,236,226,.5); font-weight: 500; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot a, .site-foot .link { text-decoration: none; color: inherit; }
.site-foot a:hover { color: var(--on-deep); }
.credits { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(244,236,226,.12); font-size: 12px; color: rgba(244,236,226,.5); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .lbl { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.input, select.input, textarea.input { min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); transition: border-color .25s, box-shadow .25s; width: 100%; font-size: 16px; }
textarea.input { min-height: 104px; resize: vertical; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(158,106,85,.14); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px; background: var(--surface); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 0 16px; min-height: 38px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--ink-2); transition: background .25s, color .25s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--ink); color: var(--surface); }
.err { color: var(--warn); font-size: 13.5px; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }

/* ---------- onboarding ---------- */
.onb { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; }
.onb aside { position: relative; overflow: hidden; background: var(--deep); }
.onb aside img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.onb aside .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px; color: var(--on-deep); background: linear-gradient(180deg, transparent, rgba(48,22,12,.66)); font-weight: 400; font-size: 18px; }
.onb aside .script { font-size: 72px; display: block; }
.onb main { display: flex; align-items: center; justify-content: center; padding: 48px var(--gutter); }
.onb form { width: 100%; max-width: 540px; display: grid; gap: 24px; }
.names { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; }
.names .amp { font-family: var(--font-script); font-size: 48px; line-height: 1; padding-bottom: 2px; color: var(--accent); }
.evpick { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- app shell ---------- */
.app { display: grid; grid-template-columns: 272px 1fr; min-height: 100svh; }
.side { position: sticky; top: 0; height: 100svh; overflow-y: auto; border-right: 1px solid var(--line); background: var(--surface); padding: 26px 16px; display: flex; flex-direction: column; gap: 20px; }
.side .couple { padding: 0 12px; }
.side .couple .script { font-size: 32px; display: block; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-bottom: 4px; }
.side .couple .muted { font-size: 13px; }
.side nav { display: grid; gap: 1px; }
.side nav .grp { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
.side nav a { display: flex; align-items: center; gap: 12px; padding: 0 12px; min-height: 42px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-size: 15px; transition: background .25s, color .25s; }
.side nav a:hover { background: var(--paper); color: var(--ink); }
.side nav a.on { background: var(--paper-2); color: var(--ink); }
.side nav a.on svg { color: var(--accent); }
.side nav a .lk { margin-left: auto; opacity: .5; }
.side nav a .new { margin-left: auto; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.side .unlock { margin-top: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; font-size: 14px; }
.main { min-width: 0; padding: 36px clamp(16px, 3.6vw, 56px) 110px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.page-head h1 { font-size: clamp(38px, 4vw, 58px); }
.page-head p { font-weight: 400; }
.bookcue { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; border: 1px dashed var(--line-2); background: var(--surface); }
.bookcue svg { color: var(--accent); }
.tabbar { display: none; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
.panel h3 { font-size: 24px; }
.panel.soft { background: var(--paper-2); border-color: transparent; }
.dash { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.dash > * { grid-column: span 4; }
.dash .wide { grid-column: span 8; }
.dash .half { grid-column: span 6; }
.dash .full { grid-column: span 12; }
.count-hero { grid-column: span 12; border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 320px; color: var(--on-deep); display: grid; align-items: end; background: var(--deep); }
.count-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.count-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(48,22,12,.6), transparent 62%), linear-gradient(90deg, rgba(48,22,12,.55), rgba(48,22,12,.04) 72%); }
.count-hero .in { position: relative; z-index: 1; padding: 34px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; width: 100%; }
.count-hero .script { font-size: clamp(52px, 6vw, 84px); display: block; }
.count-hero p { font-weight: 400; }
.count { display: flex; gap: 26px; }
.count div { text-align: center; }
.count b { display: block; font-family: var(--font-serif); font-size: clamp(42px, 4.6vw, 68px); font-weight: 400; line-height: 1; }
.count span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.stat b { font-family: var(--font-serif); font-size: clamp(26px, 7vw, 40px); white-space: nowrap; font-weight: 500; line-height: 1; display: block; margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); min-height: 52px; }
.list li:first-child { border-top: 0; }

/* events timeline */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.event { padding: 16px 16px 4px 0; position: relative; }
.event::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent); }
.event.past::before { background: var(--accent); }
.event b { font-family: var(--font-serif); font-weight: 400; font-size: 20px; display: block; margin-top: 6px; }

/* meter */
.meter { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--paper-2); margin: 14px 0 10px; }
.meter i { display: block; height: 100%; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: 6px; }

/* checklist */
.phase { margin-bottom: 30px; }
.phase-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 4px 12px; border-bottom: 1px solid var(--line-2); }
.phase-head h3 { font-size: 26px; }
.task { display: grid; grid-template-columns: 44px 1fr auto; gap: 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid var(--line); min-height: 60px; transition: background .25s; }
.task:hover { background: var(--surface); }
.tick { width: 44px; height: 44px; border-radius: 999px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.tick i { width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.tick:hover i { border-color: var(--accent); }
.tick:active i { transform: scale(.86); }
.task.done .tick i { background: var(--accent); border-color: var(--accent); }
.task.done .t { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-2); }
.task .right { display: flex; gap: 6px; align-items: center; }
.owner { min-height: 36px; padding: 4px 28px 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23857A6E' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; font-size: 13px; cursor: pointer; }
.task .del { opacity: 0; transition: opacity .25s; }
.task:hover .del, .task:focus-within .del { opacity: 1; }
.progress-ring { --p: 0; width: 96px; height: 96px; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--paper-2) 0); display: grid; place-items: center; flex: none; }
.progress-ring span { width: 80px; height: 80px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-family: var(--font-serif); font-size: 26px; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: var(--paper); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-wrap { overflow-x: auto; }

.cat-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.cat-row .bar { grid-column: span 2; }
.catgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.catgrid .cat-row:nth-child(-n+2) { border-top: 0; }
.hint { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); padding: 12px 14px; background: var(--accent-soft); border-radius: 10px; }
.hint svg { color: var(--accent); flex: none; margin-top: 3px; }

/* seating */
.seat-grid { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.tablecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; cursor: pointer; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; text-align: left; }
.tablecard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tablecard.target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(158,106,85,.12); }
.round { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--line-2); margin: 8px auto 16px; display: grid; place-items: center; font-family: var(--font-serif); font-size: 30px; position: relative; }
.round i { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line-2); }
.round i.f { background: var(--accent); border-color: var(--accent); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 0 13px; min-height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; cursor: pointer; transition: border-color .25s, background .25s, color .25s; }
.chip:hover { border-color: var(--ink); }
.chip.sel { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* vision */
.vibes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.vibe { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 0; overflow: hidden; cursor: pointer; text-align: left; transition: transform .3s var(--ease), box-shadow .3s, border-color .25s; }
.vibe:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.vibe.on { border-color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink); }
.vibe .sw { display: flex; height: 58px; }
.vibe .sw i { flex: 1; }
.vibe div { padding: 12px 14px; font-weight: 400; }
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.swatch { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.swatch label { aspect-ratio: 3/4; border-radius: var(--r); border: 1px solid rgba(0,0,0,.06); cursor: pointer; position: relative; overflow: hidden; transition: transform .3s var(--ease); }
.swatch label:hover { transform: translateY(-2px); }
.swatch input[type=color] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatch code { font-size: 13px; color: var(--ink-2); }
.drop { border: 1.5px dashed var(--line-2); border-radius: var(--r); padding: 28px; text-align: center; display: grid; gap: 10px; place-items: center; cursor: pointer; transition: border-color .25s, background .25s; background: var(--surface); }
.drop:hover, .drop.over { border-color: var(--accent); background: var(--paper); }
.drop img { max-height: 260px; border-radius: 10px; }
.drop svg { color: var(--accent); }

/* locked */
.locked { position: relative; }
.locked .preview { filter: blur(6px) saturate(.6); opacity: .5; pointer-events: none; user-select: none; }
.locked .gate { position: absolute; inset: 0; display: grid; place-items: start center; padding-top: 60px; }
.gatecard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-up); padding: 36px; max-width: 480px; display: grid; gap: 16px; text-align: center; justify-items: center; margin: 0 16px; }
.gatecard .script { font-size: 56px; }

/* offers */
.offer { display: grid; grid-template-columns: 150px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.offer:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.offer .ph { overflow: hidden; background: var(--blush); }
.offer .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.offer:hover .ph img { transform: scale(1.03); }
.offer .body { padding: 20px 22px; display: grid; gap: 8px; }
.offer .deal { font-family: var(--font-serif); font-size: 26px; line-height: 1.12; }
.code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .12em; font-size: 17px; padding: 10px 14px; border: 1px dashed var(--accent); border-radius: 10px; background: var(--paper); display: inline-block; }

/* run sheet */
.runrow { display: grid; grid-template-columns: 86px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.runrow .time { font-family: var(--font-serif); font-size: 24px; font-variant-numeric: tabular-nums; }
.runrow .who { font-size: 13.5px; color: var(--muted); }

/* weather */
.wx { display: grid; gap: 10px; }
.wx .now { font-family: var(--font-serif); font-size: 24px; line-height: 1.2; }

/* modal + toast */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(70,32,14,.46); animation: fade .25s ease both; }
.modal .box { background: var(--surface); border-radius: var(--r-lg); max-width: 740px; width: 100%; max-height: calc(100svh - 32px); overflow: auto; box-shadow: var(--shadow-up); animation: rise .4s var(--ease) both; }
.modal .box .ph { aspect-ratio: 16/8; overflow: hidden; background: var(--blush); }
.modal .box .ph img { width: 100%; height: 100%; object-fit: cover; }
.modal .box .in { padding: 28px 30px 32px; display: grid; gap: 16px; }
.modal .x { position: sticky; top: 12px; float: right; margin: 12px 12px -56px 0; z-index: 2; }
@keyframes fade { from { opacity: 0; } }
.toast { position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--surface); padding: 13px 22px; border-radius: 999px; font-size: 14px; z-index: 90; animation: rise .4s var(--ease) both; box-shadow: var(--shadow-up); max-width: calc(100vw - 32px); text-align: center; }

.admin-tabs { margin-bottom: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) { .tbl .hl { display: none; } }
@media (max-width: 1100px) {
  .cards, .ceremonies { grid-template-columns: repeat(2, 1fr); }
  .dash > *, .dash .half { grid-column: span 6; }
  .dash .wide { grid-column: span 12; }
  .vibes { grid-template-columns: repeat(2, 1fr); }
  .seat-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .site-nav .left .nl:nth-child(n+3) { display: none; }
}
@media (max-width: 900px) {
  .site-nav .wrap { grid-template-columns: auto 1fr auto; height: 68px; }
  .site-nav .left { display: none; }
  .site-nav .brand { align-items: flex-start; }
  .site-nav .brand .script { font-size: 32px; }
  .site-nav .brand .tag { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(48,22,12,.18) 0%, rgba(48,22,12,.42) 40%, rgba(48,22,12,.78) 100%); }
  .site-nav .right .nl, .site-nav .right .desk { display: none; }
  .menu-btn { display: inline-grid; }
  .hero { min-height: calc(100svh - 68px - 38px); }
  .hero .wrap, .band .wrap, .section .head, .split, .book-split, .showcase { grid-template-columns: 1fr; }
  .hero .hero-side, .section .head p, .band p { justify-self: start; }
  .chapters { columns: 1; }
  .devices { aspect-ratio: 1/1.05; }
  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .m1 { grid-column: 1 / 7; grid-row: span 3; } .m2 { grid-column: 1 / 4; } .m3 { grid-column: 4 / 7; } .m4 { grid-column: 1 / 4; } .m5 { grid-column: 4 / 7; }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
  .onb { grid-template-columns: 1fr; }
  .onb aside { min-height: 36svh; }
  .onb aside .over { padding: 24px; }
  .onb aside .script { font-size: 52px; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 6px max(6px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(6px, env(safe-area-inset-left, 0px)); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px; font-size: 11px; letter-spacing: .06em; text-decoration: none; color: var(--muted); border-radius: 12px; }
  .tabbar a.on { color: var(--accent); }
  .mobile-top { display: flex !important; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards, .ceremonies, .grid2, .grid3 { grid-template-columns: 1fr; }
  .cer { aspect-ratio: 4/4.4; }
  .dash > *, .dash .wide, .dash .half { grid-column: span 12; }
  .palette { gap: 6px; }
  .swatch code { font-size: 10.5px; }
  .offer { grid-template-columns: 1fr; }
  .offer .ph { aspect-ratio: 16/9; }
  .count { gap: 16px; }
  .count-hero .in { padding: 22px; }
  .hero .facts { gap: 18px; flex-wrap: wrap; }
  .btn.block-m { width: 100%; }
  .names { grid-template-columns: 1fr; }
  .names .amp { text-align: center; padding: 0; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .tbl .hm { display: none; }
  .gatecard { padding: 26px; }
  .catgrid { grid-template-columns: 1fr; }
  .catgrid .cat-row:nth-child(2) { border-top: 1px solid var(--line); }
  .runrow { grid-template-columns: 64px 1fr; }
  .runrow .right { grid-column: 2; }
  .notice { font-size: 10.5px; letter-spacing: .12em; }
  .task { grid-template-columns: 44px 1fr; }
  .task .right { grid-column: 2; padding-bottom: 6px; }
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .seg button { flex: none; }
}
.mobile-top { display: none; justify-content: space-between; align-items: center; margin: -14px 0 22px; }
.mobile-top .script { font-size: 32px; }

.still [data-enter] > *, .still .hero > img { animation: none !important; }
@media (max-width: 900px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== v3: seating floor plan ===== */
.seat-grid { grid-template-columns: 280px 1fr; }
.waiting { position: sticky; top: 20px; max-height: calc(100svh - 40px); overflow: auto; }
.chip.guest { gap: 8px; padding-left: 5px; cursor: grab; }
.chip.guest:active { cursor: grabbing; }
.av { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: .02em; flex: none; }
.chip.sel .av { background: rgba(255,255,255,.18); color: #fff; }
.floor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background-image: radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0); background-size: 22px 22px; }
.floor-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-bottom: 22px; }
.headtable { background: var(--deep); color: var(--on-deep); border-radius: 999px; padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.headtable .eyebrow { color: rgba(244,236,226,.65); }
.headtable b { font-family: var(--font-serif); font-weight: 400; font-size: 20px; }
.dancefloor { border: 1.5px dashed var(--line-2); border-radius: 14px; display: grid; place-items: center; color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(135,83,63,.04) 10px 20px); }
.floor-tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.rt { position: relative; aspect-ratio: 1; border: 0; background: none; cursor: pointer; padding: 0; border-radius: 50%; transition: transform .3s var(--ease); }
.rt-in { position: absolute; inset: 22%; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); display: grid; place-content: center; text-align: center; gap: 2px; box-shadow: 0 10px 24px rgba(70,32,14,.08); transition: border-color .25s, box-shadow .25s, background .25s; }
.rt-in b { font-family: var(--font-serif); font-weight: 500; font-size: 19px; line-height: 1.1; padding: 0 8px; }
.rt-in span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.seatx { position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 1.5px dashed var(--line-2); background: var(--surface); display: grid; place-items: center; font-size: 11.5px; font-weight: 600; color: var(--accent); padding: 0; }
.seatx.on { border: 0; background: var(--accent-soft); cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.seatx.on:hover { transform: scale(1.12); background: var(--warn-soft); color: var(--warn); }
.rt-tools { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: center; gap: 12px; opacity: 0; transition: opacity .25s; }
.rt:hover .rt-tools, .rt:focus-within .rt-tools { opacity: 1; }
.picking .rt .rt-in { border-color: var(--accent); background: var(--accent-soft); }
.rt.over .rt-in { box-shadow: 0 0 0 4px rgba(135,83,63,.25), 0 10px 24px rgba(70,32,14,.1); transform: scale(1.03); }
.rt:hover .rt-in { border-color: var(--accent); }
.rt.add { border: 1.5px dashed var(--line-2); color: var(--muted); display: grid; place-items: center; text-align: center; transform: scale(.72); }
.rt.add:hover { border-color: var(--accent); color: var(--accent); }

/* ===== v3: share cards ===== */
.sharewrap { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.shareprev { aspect-ratio: 4/5; background: var(--paper-2); border-radius: 10px; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); }
.shareprev img { width: 100%; height: 100%; object-fit: cover; }
.sharethumb { display: grid; gap: 6px; text-align: center; padding: 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.sharethumb:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sharethumb .script { font-size: 32px; }
.sharethumb .tl { font-size: 13.5px; color: var(--ink-2); }
.sharethumb .tl b { color: var(--accent); font-weight: 600; margin-right: 4px; }

/* ===== v3: partner invite ===== */
.couple .names { font-family: var(--font-serif); font-size: 24px; line-height: 1.2; display: block; }
.couple .names em { color: var(--accent); }
.invitecard { display: flex; align-items: center; gap: 12px; text-align: left; margin: 0 4px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--accent-2); background: var(--accent-soft); cursor: pointer; transition: transform .25s var(--ease); }
button.invitecard:hover { transform: translateY(-1px); }
.invitecard.on { border-style: solid; border-color: var(--line); background: var(--paper); cursor: default; }
.invitecard b { display: block; font-weight: 600; font-size: 14.5px; }
.invitecard .tiny { display: block; }
.avs { display: flex; flex: none; }
.avs i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: 13px; border: 2px solid var(--surface); }
.avs i + i { margin-left: -10px; background: var(--ink); }
.avs i.plus { background: var(--surface); color: var(--accent); border: 1.5px dashed var(--accent); }
.perm { display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.permrow { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); cursor: pointer; min-height: 52px; }
.permrow:first-child { border-top: 0; }
.permrow svg { color: var(--accent); }
.switch { appearance: none; width: 44px; height: 26px; border-radius: 99px; background: var(--line-2); position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); }
.viewbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; margin-bottom: 18px; border-radius: 12px; background: var(--deep); color: var(--on-deep); font-size: 14.5px; }
.viewbar .link { color: inherit; margin-left: auto; }
@media (max-width: 900px) {
  .seat-grid { grid-template-columns: 1fr; }
  .waiting { position: static; max-height: none; }
  .floor { padding: 14px; }
  .floor-top { grid-template-columns: 1fr; }
  .dancefloor { min-height: 48px; }
  .floor-tables { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .sharewrap { grid-template-columns: 1fr; }
  .shareprev { max-width: 320px; }
}

/* ===== v3: motion helpers ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .wi { display: inline-block; will-change: transform; }
.reveal { will-change: clip-path; }
.hero h1 { max-width: 13ch; }

/* ===== v3: marquee ===== */
.marquee { overflow: hidden; background: var(--deep); color: var(--on-deep); padding: 16px 0; border-top: 1px solid rgba(244,236,226,.08); }
.mq { display: flex; gap: 34px; width: max-content; animation: mq 48s linear infinite; align-items: center; }
.mq span { font-family: var(--font-serif); font-size: clamp(20px, 2vw, 28px); font-style: italic; white-space: nowrap; }
.mq i { color: var(--accent-2); font-style: normal; font-size: 14px; }
.marquee:hover .mq { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ===== v3: the book ===== */
.book-hero { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); overflow: hidden; }
.book-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.book3d-stage { perspective: 2200px; display: grid; place-items: center; min-height: 520px; }
.book3d { position: relative; width: min(84%, 520px); aspect-ratio: 2 / 1.414; transform: rotateX(18deg) rotateZ(-4deg); transform-style: preserve-3d; }
.b-page, .b-cover { position: absolute; top: 0; width: 50%; height: 100%; }
.b-page { background: #FFFDF9; box-shadow: 0 30px 60px rgba(70,32,14,.18); padding: 7% 6%; display: flex; flex-direction: column; gap: 10px; }
.b-left { left: 0; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, #FFFDF9 85%, #EFE7DB); }
.b-right { left: 50%; border-radius: 0 6px 6px 0; background: linear-gradient(270deg, #FFFDF9 85%, #EFE7DB); }
.b-page .eyebrow { font-size: 9.5px; }
.b-page i { display: block; height: 1px; background: var(--line); margin: 6px 0; }
.hand { font-family: var(--font-script); font-size: clamp(18px, 1.8vw, 26px); color: var(--ink-2); line-height: 1.1; }
.b-sw { display: flex; gap: 5px; margin-top: 6px; }
.b-sw b { flex: 1; aspect-ratio: 1; border-radius: 4px; }
.qr { width: 44px; height: 44px; margin-top: auto; background: conic-gradient(from 90deg, var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0 / 11px 11px; border: 3px solid var(--ink); border-radius: 3px; opacity: .85; }
.qr.small { width: 30px; height: 30px; background-size: 7.5px 7.5px; border-width: 2px; }
.b-cover { left: 50%; transform-origin: left center; transform-style: preserve-3d; border-radius: 0 8px 8px 0; box-shadow: inset 6px 0 0 rgba(0,0,0,.06), 0 30px 60px rgba(70,32,14,.22); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; backface-visibility: hidden; z-index: 3; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px), linear-gradient(135deg, #EFE6DA, #E3D5C3); }
.b-cover .script { font-size: clamp(30px, 3.4vw, 50px); white-space: nowrap; color: #6E5338; }
.b-cover .rule { width: 26%; height: 1px; background: var(--gold); }
.b-cover .t { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: #6E5338; }
.b-cover .foil { color: var(--gold); }
.b-ribbon { position: absolute; left: 70%; top: -2%; width: 14px; height: 108%; background: linear-gradient(180deg, #87533F, #6E3F30); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 94%, 0 100%); z-index: 2; }
.specs { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.specs li { background: var(--surface); padding: 14px 16px; display: grid; gap: 2px; }
.specs b { font-family: var(--font-serif); font-weight: 500; font-size: 22px; }
.specs span { font-size: 14px; color: var(--muted); }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.price { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 40px; line-height: 1.1; }
.gift { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-2); }
.gift svg { color: var(--accent); }
.spreads { margin-top: clamp(36px, 5vw, 64px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding: 6px max(16px, calc((100vw - var(--max)) / 2 + var(--gutter))) 22px; }
.spreads-track { display: flex; gap: 18px; width: max-content; }
.bspread { scroll-snap-align: start; width: min(78vw, 440px); aspect-ratio: 2 / 1.3; display: grid; grid-template-columns: 1fr 1fr; background: #FFFDF9; border-radius: 6px; box-shadow: 0 18px 40px rgba(70,32,14,.1); overflow: hidden; transition: transform .4s var(--ease); }
.bspread:hover { transform: translateY(-4px) rotate(-.4deg); }
.sp-l { padding: 22px; border-right: 1px solid var(--line); background: linear-gradient(90deg, #FFFDF9 80%, #F1EADF); display: flex; flex-direction: column; gap: 8px; }
.sp-l h3 { font-size: 26px; }
.sp-r { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.sp-r i { display: block; height: 1px; background: var(--line); margin-bottom: 8px; }

/* phone mock card */
.wa-card { margin: auto 0; background: var(--paper); border-radius: 12px; padding: 16px 12px; display: grid; gap: 7px; text-align: center; box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.wa-card .script { font-size: 22px; }
.wa-card span { font-size: 11px; }
.wa-card b { color: var(--accent); }

/* ===== v3: dune footer (layered depth) ===== */
.dune-foot { position: relative; overflow: hidden; background: #2E63B8; height: 940px; isolation: isolate; }
.df-sky { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, #1F4E9E 0%, #3B73C4 45%, #8FB4DE 78%, #E9C9A6 100%); }
.df-word { position: absolute; left: 0; right: 0; top: 20px; text-align: center; font-family: var(--font-script); font-size: clamp(90px, 17vw, 260px); line-height: 1; color: rgba(255,253,249,.78); z-index: 1; pointer-events: none; white-space: nowrap; }
.df-card { position: absolute; left: 50%; transform: translateX(-50%); top: 235px; z-index: 2; width: min(92%, 1120px); margin: 0; background: rgba(255,253,249,.97); border-radius: 18px; padding: clamp(24px, 3vw, 40px) clamp(22px, 3vw, 44px) 64px; box-shadow: 0 30px 60px rgba(60,30,10,.18); }
.df-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.df-card h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.df-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.df-card a, .df-card .link { text-decoration: none; color: inherit; }
.df-card a:hover, .df-card .link:hover { color: var(--accent); }
.df-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.df-ridge { position: absolute; left: 0; bottom: 0; width: 100%; height: 650px; object-fit: cover; object-position: 60% 6%; z-index: 3; pointer-events: none; }
.df-couple { position: absolute; z-index: 4; left: 66%; bottom: 46px; height: 180px; width: auto; pointer-events: none; filter: drop-shadow(0 18px 14px rgba(60,30,10,.25)); }
.df-credits { position: absolute; z-index: 5; left: 0; right: 0; bottom: 8px; margin: 0; padding: 0 16px; text-align: center; font-size: 11px; color: rgba(255,253,249,.8); }
@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; }
  .book3d-stage { min-height: 300px; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .df-top { grid-template-columns: 1fr 1fr; }
  .dune-foot { height: 1040px; }
  .df-card { top: 120px; padding-bottom: 70px; }
  .df-ridge { height: 360px; object-position: 62% 4%; }
  .df-couple { left: 50%; margin-left: -80px; height: 160px; bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { .mq { animation: none; } }

.df-cred { margin: 12px 0 0; font-size: 11px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .waiting .chips { max-height: 240px; overflow-y: auto; } .df-card { padding-bottom: 40px; } }

/* ===================== v4 — Namibia luxury front site ===================== */
:root {
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-ui: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --accent: #9A4E2C;            /* Namib dune terracotta */
  --accent-2: #C98B62;
  --accent-soft: #F2E2D6;
  --deep: #2A140C;
  --deep-2: #2B221C;
  --sand: #E9D8C4;
  --fog: #CDD8DC;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.015em; font-variation-settings: normal; }
.eyebrow { font-family: var(--font-ui); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; }
.btn { font-family: var(--font-ui); }
.btn.glass { background: rgba(255,253,249,.12); color: #fff; border-color: rgba(255,253,249,.45); backdrop-filter: blur(14px) saturate(160%); }
.btn.glass:hover { background: rgba(255,253,249,.22); box-shadow: none; }
.btn:active { transform: scale(.97); transition-duration: .1s; }

/* ---------- top bar (ERA-style badge + stacked right links) ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; color: var(--ink); transition: background .4s, color .4s, box-shadow .4s; background: rgba(246,241,233,.72); backdrop-filter: blur(20px) saturate(170%); }
.topbar.over { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; color: #fff; }
.topbar.over.scrolled, .topbar.scrolled { background: rgba(246,241,233,.78); backdrop-filter: blur(20px) saturate(170%); color: var(--ink); box-shadow: 0 1px 0 rgba(70,32,14,.06); }
.tb-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 14px max(16px, var(--gutter)); max-width: 1600px; margin: 0 auto; }
.tb-badge { position: relative; width: 74px; height: 74px; display: grid; place-items: center; text-decoration: none; color: inherit; transition: width .4s, height .4s; }
.scrolled .tb-badge { width: 58px; height: 58px; }
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-ring text { font: 600 10.5px var(--font-ui); letter-spacing: .24em; fill: currentColor; }
.tb-mono { font-family: var(--font-serif); font-size: 22px; letter-spacing: .02em; }
.tb-mono em { font-style: italic; color: var(--accent-2); }
.tb-links { display: flex; gap: 30px; justify-content: center; }
.tb-links a { text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: inherit; opacity: .9; position: relative; padding: 6px 0; }
.tb-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.tb-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.tb-right { display: grid; justify-items: end; gap: 4px; }
.tb-big { font-family: var(--font-serif); font-size: 26px; line-height: 1; text-transform: uppercase; letter-spacing: .01em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; color: inherit; }
.tb-small { font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: inherit; opacity: .9; }
.topbar .menu-btn { display: none; background: transparent; color: inherit; border-color: currentColor; }

/* ---------- hero ---------- */
.is-home { margin-top: 0; }
.h-hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; background: var(--deep); display: grid; place-items: center; }
.h-hero-media { position: absolute; inset: 0; }
.h-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(48,20,8,.08), rgba(48,20,8,.45) 75%), linear-gradient(180deg, rgba(48,20,8,.35), transparent 30%, transparent 60%, rgba(48,20,8,.55)); pointer-events: none; }
.h-hero-in { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 10px; padding: 0 16px; margin-top: 4vh; }
.h-kicker { display: flex; gap: clamp(40px, 26vw, 520px); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .92; }
.h-word { margin: 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(84px, 17.5vw, 300px); line-height: .82; letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 8px 60px rgba(0,0,0,.25); }
.h-word span[aria-hidden] { display: block; }
.h-script { font-family: var(--font-script); font-size: clamp(44px, 6.4vw, 110px); line-height: 1; color: #FFE3C4; margin-top: calc(clamp(44px, 6.4vw, 110px) * -.55); transform: translateX(18%) rotate(-6deg); text-shadow: 0 2px 2px rgba(0,0,0,.35), 0 8px 40px rgba(0,0,0,.6); }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.h-scroll { position: absolute; z-index: 2; left: max(16px, var(--gutter)); bottom: 28px; display: grid; justify-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.h-scroll span { writing-mode: vertical-rl; transform: rotate(180deg); }
.h-scroll i { width: 1px; height: 46px; background: linear-gradient(#fff, transparent); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- the idea (ERA statement + arches bleeding at the edges) ---------- */
.h-idea { position: relative; padding: clamp(90px, 12vw, 170px) 16px; text-align: center; overflow: hidden; background: var(--paper); }
.h-idea-in { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto; display: grid; justify-items: center; gap: 22px; }
.h-statement { font-size: clamp(34px, 4.6vw, 70px); line-height: 1.02; text-transform: uppercase; letter-spacing: -.01em; }
.h-small { max-width: 34ch; color: var(--ink-2); font-size: 17px; }
.h-orn { color: var(--accent); font-size: 18px; }
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 6px 6px; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.h-idea .arch { position: absolute; width: clamp(140px, 19vw, 300px); aspect-ratio: 3/4.4; z-index: 1; }
.a-left { left: -2vw; top: 8%; }
.a-right { right: -2vw; bottom: 4%; }

/* ---------- book + app showcase (Apple-style pinned story) ---------- */
.sc { background: radial-gradient(ellipse at 70% 40%, #3A2A20 0%, var(--deep) 60%); color: var(--on-deep); }
.sc-pin { min-height: 100svh; display: grid; grid-template-columns: .9fr 1.25fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(70px, 8vw, 110px) max(16px, var(--gutter)); max-width: 1500px; margin: 0 auto; }
.sc-copy { display: grid; gap: 26px; align-content: center; }
.sc-copy .eyebrow { color: var(--accent-2); }
.sc-steps { display: grid; gap: 26px; }
.sc-step h3 { font-size: clamp(54px, 6.4vw, 104px); line-height: .95; color: #fff; }
.sc-step p { color: rgba(244,236,226,.78); font-size: 18px; max-width: 30ch; margin-top: 10px; }
.sc.is-anim .sc-steps { display: grid; grid-template-areas: "s"; min-height: 260px; }
.sc.is-anim .sc-step { grid-area: s; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.sc.is-anim .sc-step.on { opacity: 1; transform: none; }
.sc-buy { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(244,236,226,.16); }
.sc-buy b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 44px; line-height: 1; color: #fff; }
.sc-buy .eyebrow { color: rgba(244,236,226,.6); }
.sc-dots { display: none; gap: 8px; }
.sc.is-anim .sc-dots { display: flex; }
.sc-dots i { width: 28px; height: 3px; border-radius: 3px; background: rgba(244,236,226,.2); transition: background .4s; }
.sc-dots i.on { background: var(--accent-2); }
.sc-stage { position: relative; height: min(76svh, 720px); display: grid; place-items: center; perspective: 2400px; }
.sc-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201,139,98,.35), transparent 65%); filter: blur(30px); opacity: .6; }
.bk { position: relative; width: min(88%, 620px); aspect-ratio: 2 / 1.41; transform-style: preserve-3d; transform: rotateX(14deg) rotateZ(-3deg); }
.bk-page, .bk-cover { position: absolute; top: 0; width: 50%; height: 100%; }
.bk-page { background: #FFFCF6; padding: 7% 6%; display: flex; flex-direction: column; gap: 10px; color: var(--ink); box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.bk-l { left: 0; border-radius: 6px 0 0 6px; background: linear-gradient(90deg, #FFFCF6 82%, #E9DFD0); }
.bk-r { left: 50%; border-radius: 0 6px 6px 0; background: linear-gradient(270deg, #FFFCF6 82%, #E9DFD0); }
.bk-page .eyebrow { font-size: 9px; color: var(--muted); }
.bk-page i { display: block; height: 1px; background: var(--line); margin: 6px 0; }
.bk-sw { display: flex; gap: 6px; margin-top: 4px; }
.bk-sw b { flex: 1; aspect-ratio: 1; border-radius: 4px; }
.bk-cover { left: 50%; transform-origin: left center; transform: rotateY(0deg); backface-visibility: hidden; z-index: 3; border-radius: 0 8px 8px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: #F1DEC6; box-shadow: inset 8px 0 14px rgba(0,0,0,.25), 0 40px 80px rgba(0,0,0,.5); background: repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 1px, transparent 1px 4px), linear-gradient(140deg, #7C4A31, #5E3624 60%, #4E2C1E); }
.bk-cover .script { font-size: clamp(34px, 3.8vw, 60px); white-space: nowrap; color: #E9C9A0; text-shadow: 0 1px 0 rgba(255,255,255,.15), 0 -1px 0 rgba(0,0,0,.3); }
.bk-rule { width: 24%; height: 1px; background: #D9B98F; }
.bk-t { font-size: 9px; letter-spacing: .34em; text-transform: uppercase; color: #E2C6A2; }
.bk-ribbon { position: absolute; left: 72%; top: -3%; width: 14px; height: 110%; background: linear-gradient(180deg, #D9B98F, #B8936A); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 94%, 0 100%); z-index: 2; }
.sc:not(.is-anim) .bk-cover { transform: rotateY(-172deg); }
.sc-phone { position: absolute; right: 2%; bottom: 2%; width: clamp(200px, 17vw, 270px); aspect-ratio: 9 / 19.3; border-radius: 42px; padding: 9px; background: linear-gradient(145deg, #3B3029, #22100A); box-shadow: 0 0 0 1.5px #5A4A3E, 0 50px 90px rgba(0,0,0,.55); transform: rotate(-3deg); z-index: 5; }
.ph-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; border-radius: 20px; background: #0E0A08; z-index: 2; }
.ph-screen { height: 100%; border-radius: 34px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; gap: 8px; padding-bottom: 10px; color: var(--ink); }
.ph-hero { position: relative; height: 40%; color: #fff; }
.ph-hero img { width: 100%; height: 100%; object-fit: cover; }
.ph-hero > div { position: absolute; inset: auto 0 0; padding: 14px; background: linear-gradient(transparent, rgba(0,0,0,.6)); display: grid; }
.ph-hero .script { font-size: 22px; }
.ph-hero span:last-child { font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.ph-card { margin: 0 10px; background: var(--surface); border-radius: 14px; padding: 10px 12px; display: grid; gap: 5px; font-size: 11px; box-shadow: 0 1px 0 var(--line); }
.ph-card .eyebrow { font-size: 8px; }
.ph-card b { font-family: var(--font-serif); font-weight: 400; font-size: 22px; line-height: 1; }
.ph-card span i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); margin-right: 7px; }
.ph-card span i.on { background: var(--accent); }
.ph-card.row2 { grid-template-columns: 1fr 1fr; }
.sc:not(.is-anim) .bk { transform: rotateX(14deg) rotateZ(-3deg) translateX(-14%) scale(.9); }

/* ---------- bento ---------- */
.bento-sec { background: var(--deep); color: var(--on-deep); padding: clamp(40px, 5vw, 70px) 0 clamp(80px, 9vw, 130px); }
.bento-head { text-align: center; margin-bottom: clamp(30px, 4vw, 54px); display: grid; gap: 12px; justify-items: center; }
.bento-head .eyebrow { color: var(--accent-2); }
.bento-head h2 { font-size: clamp(44px, 5.6vw, 88px); color: #fff; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 14px; }
.bt { position: relative; overflow: hidden; border-radius: 26px; background: #2A211B; border: 1px solid rgba(244,236,226,.07); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .5s var(--ease), border-color .4s; }
.bt:hover { transform: translateY(-3px); border-color: rgba(244,236,226,.18); }
.bt .eyebrow { color: rgba(244,236,226,.55); }
.bt p { color: rgba(244,236,226,.72); font-size: 15px; margin-top: auto; }
.bt h3 { font-size: 34px; color: #fff; }
.bt-wa { grid-column: span 2; grid-row: span 2; padding: 0; justify-content: flex-end; min-height: 500px; }
.wa-photo { position: absolute; inset: 0; }
.wa-photo img { width: 100%; height: 100%; object-fit: cover; }
.wa-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,22,12,.1), rgba(48,22,12,.85)); }
.wa-card2 { position: absolute; top: 34px; right: 34px; width: min(58%, 270px); background: #FFFCF6; color: var(--ink); border-radius: 16px; padding: 22px 20px; display: grid; gap: 9px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.4); transform: rotate(3deg); transition: transform .6s var(--ease); }
.bt-wa:hover .wa-card2 { transform: rotate(0) translateY(-6px); }
.wa-card2 .script { font-size: 30px; }
.wa-card2 .eyebrow { color: var(--accent); font-size: 9.5px; }
.wa-card2 > span:not(.script):not(.eyebrow):not(.wa-brand) { font-size: 13px; display: flex; gap: 10px; justify-content: center; }
.wa-card2 b { color: var(--accent); font-weight: 600; }
.wa-brand { font-family: var(--font-script); font-size: 18px; color: var(--muted); }
.bt-cap { position: relative; padding: 28px; display: grid; gap: 8px; }
.bt-cap p { margin: 0; }
.bt-num { font-family: var(--font-serif); font-weight: 400; font-size: clamp(40px, 3.6vw, 56px); line-height: 1; color: #fff; }
.bt .bar { background: rgba(244,236,226,.12); }
.bt-tl { list-style: none; margin: 8px 0 0; padding: 0 0 0 4px; display: grid; gap: 14px; border-left: 1px solid rgba(244,236,226,.18); }
.bt-tl li { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-left: 16px; position: relative; font-size: 15px; }
.bt-tl li i { position: absolute; left: -6px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: #2A211B; border: 1.5px solid var(--accent-2); }
.bt-tl li i.on { background: var(--accent-2); }
.bt-tl b { font-weight: 500; color: #fff; }
.bt-tl span { color: rgba(244,236,226,.6); font-size: 13.5px; }
.bt-tables { width: 100%; height: auto; }
.bt-tables g circle { fill: #3A2E26; stroke: rgba(244,236,226,.25); }
.bt-tables .s { fill: transparent; stroke: rgba(244,236,226,.3); stroke-dasharray: 2 2; }
.bt-tables .s.f { fill: var(--accent-2); stroke: none; }
.bt-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; }
.bt-list li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid rgba(244,236,226,.1); font-size: 14.5px; }
.bt-list li:first-child { border-top: 0; }
.bt-list b { font-weight: 500; color: #fff; }
.bt-list b.ok { color: #A9C49B; }
.bt-pal { padding: 0; }
.pal-photo { height: 62%; }
.pal-photo img { width: 100%; height: 100%; object-fit: cover; }
.pal-sw { display: flex; gap: 6px; padding: 14px 22px 0; }
.pal-sw i { flex: 1; height: 30px; border-radius: 8px; }
.bt-pal p { padding: 0 22px 20px; }
.bt-invite { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.bt-invite p { margin: 6px 0 0; }
.avs.big i { width: 58px; height: 58px; font-size: 20px; border-color: #2A211B; }
.avs.big i + i { margin-left: -16px; background: #4A3B31; }
.bt-sw { margin-left: auto; display: grid; gap: 10px; }
.bt-sw label { display: flex; align-items: center; justify-content: space-between; gap: 18px; font-size: 14.5px; min-width: 170px; }
.sw { width: 42px; height: 24px; border-radius: 99px; background: rgba(244,236,226,.18); position: relative; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); }
.sw.on { background: var(--accent-2); }
.sw.on::after { transform: translateX(18px); }

/* ---------- three events arc (ERA circle) ---------- */
.arc-sec { background: var(--paper); overflow: hidden; padding-top: clamp(60px, 7vw, 100px); }
.arc { position: relative; width: min(1500px, 150vw); margin: 0 auto; left: 50%; transform: translateX(-50%); }
.arc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1; border-radius: 50%; background: var(--sand); z-index: 0; }
.arc-text { position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; }
.arc-text text { font-family: var(--font-serif); font-size: 58px; text-transform: uppercase; letter-spacing: .06em; fill: var(--ink); }
.arc-in { position: relative; z-index: 2; padding: clamp(150px, 15vw, 230px) 16px clamp(70px, 8vw, 110px); display: grid; justify-items: center; gap: 18px; text-align: center; max-width: 1100px; margin: 0 auto; }
.arc-in h2 { font-size: clamp(40px, 5vw, 78px); }
.arc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: 22px; width: 100%; }
.arc-card { display: grid; gap: 8px; justify-items: center; text-decoration: none; }
.arc-card .arch { width: 100%; aspect-ratio: 3/4; }
.arc-card .arch img { transition: transform 1.2s var(--ease); }
.arc-card:hover .arch img { transform: scale(1.04); }
.arc-card h3 { font-size: 36px; }
.arc-card p { color: var(--ink-2); font-size: 15.5px; max-width: 26ch; }
.arc-card .eyebrow { color: var(--accent); margin-top: 10px; }

/* ---------- places (pinned sideways journey) ---------- */
.places { background: var(--paper); }
.pl-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 30px; overflow: hidden; padding: 60px 0; }
.pl-head h2 { font-size: clamp(44px, 6vw, 96px); }
.pl-track { display: flex; gap: 18px; padding: 0 max(16px, var(--gutter)); width: max-content; }
.pl-card { position: relative; width: clamp(260px, 30vw, 460px); aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; flex: none; background: var(--sand); }
.pl-card:nth-child(even) { margin-top: 60px; }
.pl-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pl-card:hover img { transform: scale(1.05); }
.pl-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(48,20,8,.7)); }
.pl-cap { position: absolute; left: 24px; bottom: 22px; z-index: 1; display: grid; gap: 4px; }
.pl-cap .eyebrow { color: rgba(255,255,255,.8); }
.pl-cap h3 { font-size: clamp(38px, 3.4vw, 58px); line-height: .95; }
.pl-more { background: var(--deep); color: var(--on-deep); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 30px; }
.pl-more::after { display: none; }
.pl-more h3 { font-size: clamp(40px, 3.6vw, 60px); line-height: .95; }
.pl-more .eyebrow { color: var(--accent-2); }
.arrowc { width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(244,236,226,.4); display: grid; place-items: center; transition: transform .5s var(--ease), background .4s; }
.pl-more:hover .arrowc { transform: translateX(8px); background: var(--accent); border-color: var(--accent); }

/* ---------- suppliers strip ---------- */
.h-sup { padding: clamp(40px, 5vw, 80px) 0 clamp(80px, 9vw, 120px); background: var(--paper); }
.h-sup-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.h-sup-head h2 { font-size: clamp(42px, 5vw, 76px); }
.h-sup-head .row { gap: 28px; }

/* ---------- footer: the dune card, on a real photograph ---------- */
.dune2 { position: relative; overflow: hidden; height: clamp(760px, 62vw, 980px); background: #CDBFAE; }
.d2-photo { position: absolute; inset: -10% 0 0; width: 100%; height: 110%; object-fit: cover; object-position: 50% 78%; }
.dune2::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,241,233,.25), transparent 40%); pointer-events: none; }
.d2-card { position: relative; z-index: 2; width: min(92%, 1180px); margin: clamp(70px, 8vw, 120px) auto 0; background: rgba(255,252,246,.94); backdrop-filter: blur(16px) saturate(160%); border-radius: 22px; padding: clamp(26px, 3vw, 42px) clamp(22px, 3vw, 46px) 22px; box-shadow: 0 40px 80px rgba(40,25,15,.18); color: var(--ink); }
.d2-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.d2-brand { display: grid; gap: 12px; justify-items: start; }
.d2-brand .script { font-size: 52px; line-height: 1; }
.d2-brand p { color: var(--ink-2); font-size: 15px; max-width: 26ch; }
.d2-card h4 { margin: 4px 0 14px; font-size: 11.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.d2-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; }
.d2-card a, .d2-card .link { text-decoration: none; color: inherit; }
.d2-card ul a:hover, .d2-card .link:hover { color: var(--accent); }
.d2-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.d2-cred { font-size: 11px; max-width: 70ch; text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .tb-links { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .sc-pin { grid-template-columns: 1fr; }
  .sc-stage { height: 520px; }
}
@media (max-width: 900px) {
  .tb-right { display: none; }
  .topbar .menu-btn { display: inline-grid; justify-self: end; }
  .tb-in { grid-template-columns: auto 1fr auto; }
  .tb-badge { width: 60px; height: 60px; }
  .h-kicker { gap: 18px; font-size: 10px; flex-direction: column; }
  .h-script { transform: translateX(8%) rotate(-6deg); }
  .h-idea .arch { width: 120px; opacity: .9; }
  .a-left { top: 2%; left: -30px; } .a-right { bottom: 2%; right: -30px; }
  .arc { width: 180vw; }
  .arc-text text { font-size: 44px; }
  .arc-in { padding-top: 120px; }
  .arc-cards { grid-template-columns: 1fr; max-width: 420px; }
  .pl-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .pl-card { scroll-snap-align: start; width: 78vw; }
  .pl-card:nth-child(even) { margin-top: 0; }
  .pl-pin { min-height: 0; }
  .sc-phone { width: 190px; right: 0; }
  .d2-top { grid-template-columns: 1fr 1fr; }
  .dune2 { height: 1100px; }
  .d2-cred { text-align: left; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bt-wa, .bt-invite { grid-column: span 1; }
  .bt-wa { min-height: 460px; }
  .bt-sw { margin-left: 0; width: 100%; }
  .sc-stage { height: 420px; }
  .bk { width: 96%; }
  .sc-phone { width: 150px; border-radius: 30px; padding: 6px; }
  .ph-screen { border-radius: 25px; }
  .h-word { font-size: 24vw; }
}
@media (prefers-reduced-motion: reduce) { .h-scroll i { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .topbar, .d2-card, .btn.glass { backdrop-filter: none; background: var(--paper); color: var(--ink); } }

/* footer v4.1: photo sits below the card, sky blends into the page */
.dune2 { height: auto; background: linear-gradient(180deg, var(--paper) 0%, #DDD9E2 42%, #D8D3DA 100%); padding-top: clamp(50px, 6vw, 90px); }
.d2-photo { position: relative; inset: auto; display: block; width: 100%; height: auto; margin-top: clamp(-260px, -18vw, -120px); object-fit: cover; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%); mask-image: linear-gradient(180deg, transparent 0%, #000 28%); }
.dune2::after { display: none; }
.d2-card { margin: 0 auto; }
.d2-card .btn { color: var(--surface); }
.d2-card .btn:hover { color: var(--surface); }
@media (max-width: 900px) { .dune2 { height: auto; } .d2-photo { margin-top: -40px; } }

@media (max-width: 900px) {
  .arc-cards { max-width: 340px; gap: 34px; }
  .arc-card .arch { aspect-ratio: 4/4.6; }
  .d2-card .link { text-align: left; }
  .d2-brand .script { font-size: 44px; }
  .sc-pin { padding-top: 90px; }
}

/* ===== v4.1 — Fable review fixes ===== */
.h-hero { place-items: end center; }
.h-hero-media img { object-position: 50% 30%; }
.h-hero-in { margin: 0 0 clamp(36px, 6vh, 80px); }
.h-hero::after { background: linear-gradient(180deg, rgba(48,20,8,.4), transparent 26%, transparent 42%, rgba(48,20,8,.72) 100%); }
.h-script { color: #fff; margin-top: calc(clamp(44px, 6.4vw, 110px) * -.34); text-shadow: 0 2px 30px rgba(40,20,10,.55), 0 1px 2px rgba(0,0,0,.35); }
.sc-phone .ph-screen { padding-top: 0; }
.ph-hero > div { padding-top: 40px; }
.wa-card2 { top: 26px; right: 6%; width: 44%; }
.wa-photo img { object-position: 30% 50%; }
.bt-day .bt-list span { color: var(--accent-2); font-family: var(--font-serif); font-size: 22px; }
.h-sup { padding-bottom: clamp(40px, 5vw, 70px); }
.dune2 { padding-top: 40px; background: linear-gradient(180deg, var(--paper) 0%, #E4DCD8 42%, #DAD3D6 100%); }
.d2-cred { font-size: 11.5px; }
.d2-admin { color: inherit; font-size: inherit; opacity: .7; }
.tb-in { padding-top: 10px; padding-bottom: 10px; }
.tb-badge { width: 62px; height: 62px; }
.scrolled .tb-badge { width: 52px; height: 52px; }
@media (max-width: 700px) {
  .h-idea { padding-inline: 28px; }
  .h-idea .arch { width: 84px; opacity: .92; z-index: 0; }
  .a-left { top: -20px; left: -24px; }
  .a-right { bottom: -30px; right: -24px; }
  .h-idea-in { z-index: 3; }
  .arc::before { aspect-ratio: auto; height: 100%; border-radius: 50% 50% 0 0 / 180px 180px 0 0; }
  .arc { width: 100vw; }
  .arc-text { display: none; }
  .arc-in { padding-top: 70px; }
  .h-hero-in { margin-bottom: 90px; }
}

/* ===================== v5 ===================== */
/* top bar: two clear buttons */
.tb-btns { display: flex; gap: 10px; align-items: center; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .01em; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; white-space: nowrap; }
.tb-btn:active { transform: scale(.97); }
.tb-btn.order { background: var(--accent); color: #fff; border: 1px solid var(--accent); }
.tb-btn.order:hover { background: #82401f; transform: translateY(-1px); }
.tb-btn.plan { background: transparent; color: inherit; border: 1px solid currentColor; }
.tb-btn.plan:hover { background: rgba(255,255,255,.14); transform: translateY(-1px); }
.topbar:not(.over) .tb-btn.plan:hover, .topbar.scrolled .tb-btn.plan:hover { background: var(--paper-2); }
.over:not(.scrolled) .tb-btn.plan { backdrop-filter: blur(12px); background: rgba(255,255,255,.1); }

/* the three-events ring: a whole circle that fits the screen */
.ring-sec { background: var(--paper); padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.ring { position: relative; width: min(84vh, 760px, 92vw); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F1E3D2, var(--sand) 70%); box-shadow: inset 0 0 0 1px rgba(154,78,44,.12); }
.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; }
.ring-text text { font-family: var(--font-serif); font-size: 36px; letter-spacing: .05em; text-transform: uppercase; fill: var(--accent); }
.ring-in { position: relative; z-index: 1; text-align: center; display: grid; gap: 14px; justify-items: center; max-width: 64%; }
.ring-in h2 { font-size: clamp(40px, 5.2vw, 80px); line-height: .98; }
.ring-in p { color: var(--ink-2); font-size: 17px; max-width: 30ch; }
.ring-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 34px); margin-top: calc(min(84vh, 760px, 92vw) * -.16); position: relative; z-index: 2; max-width: 1180px; }
.ring-cards .arc-card .arch { aspect-ratio: 3/3.7; box-shadow: 0 30px 60px rgba(60,35,20,.18); }

/* closing call to action over the valley (Scrolltide "Hill Country") */
.h-close { position: relative; min-height: min(100svh, 900px); display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: var(--deep); }
.h-close > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.h-close::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(48,20,8,.45), rgba(48,20,8,.1) 40%, rgba(48,20,8,.55)); }
.h-close-in { position: relative; z-index: 2; display: grid; gap: 18px; justify-items: center; padding: 0 16px; margin-top: -10vh; }
.h-close-in .eyebrow { color: rgba(255,255,255,.85); }
.h-close-in h2 { font-size: clamp(48px, 7vw, 112px); line-height: .95; text-shadow: 0 6px 40px rgba(0,0,0,.3); }
.h-close-in .row { justify-content: center; gap: 12px; }
.h-close-word { position: absolute; z-index: 1; left: 0; right: 0; bottom: -0.18em; text-align: center; font-family: var(--font-serif); text-transform: uppercase; font-size: clamp(110px, 21vw, 360px); line-height: .8; letter-spacing: -.02em; color: rgba(255,252,246,.9); pointer-events: none; white-space: nowrap; }

/* footer: the illustrated Namib dune card */
.dune3 { position: relative; overflow: hidden; height: clamp(720px, 62vw, 1000px); background: #F6C190; isolation: isolate; }
.dn-back, .dn-front { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; }
.dn-back { z-index: 0; }
.dn-front { z-index: 3; }
.d3-card { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); top: clamp(90px, 10vw, 150px); width: min(80%, 1160px); background: #FFFDF9; border-radius: 16px; padding: clamp(26px, 2.8vw, 40px) clamp(24px, 3vw, 46px) 22px; color: var(--ink); box-shadow: 0 20px 50px rgba(120,55,20,.12); }
.d3-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.d3-logo { text-decoration: none; color: inherit; }
.d3-logo .script { font-size: 46px; line-height: 1; }
.d3-brand p { color: var(--ink-2); font-size: 15px; margin-top: 10px; max-width: 26ch; }
.d3-card h4 { margin: 4px 0 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.d3-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; color: #6B6156; }
.d3-card a, .d3-card .link { color: inherit; text-decoration: none; text-align: left; }
.d3-card ul a:hover, .d3-card .link:hover { color: var(--accent); }
.d3-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: #6B6156; }
.d3-icons { display: flex; gap: 10px; }
.d3-icons a { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.d3-icons a:hover { background: var(--accent); transform: translateY(-2px); }
.d3-icons a { position: relative; }
.d3-icons a::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.d3-cred { position: absolute; z-index: 4; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-size: 11px; color: rgba(255,248,238,.85); padding: 0 16px; }
.dn-couple .veil { transform-origin: 17px -4px; animation: veil 3.4s ease-in-out infinite alternate; }
.dn-couple { animation: walkbob 1.6s ease-in-out infinite; }
@keyframes veil { from { transform: rotate(-4deg) scaleX(.94); } to { transform: rotate(5deg) scaleX(1.08); } }
@keyframes walkbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.2px; } }
@media (max-width: 900px) {
  .tb-btn span { display: none; }
  .tb-btn { width: 44px; padding: 0; justify-content: center; }
  .tb-right.tb-btns { display: flex; }
  .tb-in { grid-template-columns: auto 1fr auto auto; }
  .ring { width: 96vw; }
  .ring-text text { font-size: 27px; }
  .ring-in { max-width: 70%; }
  .ring-in p { font-size: 15px; }
  .ring-cards { grid-template-columns: 1fr; max-width: 360px; margin-top: 10px; }
  .dune3 { height: 1080px; }
  .d3-card { width: calc(100% - 32px); top: 60px; }
  .d3-top { grid-template-columns: 1fr 1fr; }
  .h-close-word { font-size: 26vw; }
}
@media (prefers-reduced-motion: reduce) { .dn-couple, .dn-couple .veil { animation: none; } }

/* ===================== v6 — the planner, made luxurious ===================== */
.app { background: var(--paper); }
.side { background: linear-gradient(180deg, #3A1C10 0%, #22100A 100%); color: #EFE3D5; border-right: 0; padding: 28px 16px 22px; gap: 18px; }
.side .couple { padding: 0 12px 6px; }
.side .couple .names { font-family: var(--font-serif); font-size: 30px; line-height: 1.05; color: #fff; }
.side .couple .names em { color: var(--accent-2); }
.side .couple .muted { color: rgba(239,227,213,.6); font-size: 13px; letter-spacing: .02em; }
.side nav .grp { color: rgba(239,227,213,.42); font-size: 10.5px; letter-spacing: .22em; padding: 16px 12px 6px; }
.side nav a { color: rgba(239,227,213,.78); font-size: 15px; min-height: 42px; border-radius: 12px; transition: background .3s, color .3s; }
.side nav a svg { opacity: .8; }
.side nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.on { background: linear-gradient(90deg, rgba(201,139,98,.22), rgba(201,139,98,.06)); color: #fff; box-shadow: inset 2px 0 0 var(--accent-2); }
.side nav a.on svg { color: var(--accent-2); opacity: 1; }
.side nav a .new { color: var(--accent-2); }
.side nav a .lk { color: rgba(239,227,213,.5); }
.side .unlock { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(239,227,213,.8); border-radius: 16px; }
.side .unlock .muted { color: rgba(239,227,213,.6); }
.side .unlock .link { color: #fff; }
.side .unlock .btn { background: var(--accent); border-color: var(--accent); color: #fff; }
.side .pill.ok { background: rgba(169,196,155,.15); color: #BFD6B3; }
.invitecard { background: rgba(201,139,98,.12); border: 1px dashed rgba(201,139,98,.55); color: #F2E4D5; }
.invitecard .muted, .invitecard .tiny { color: rgba(239,227,213,.65); }
.invitecard.on { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.invitecard .link { color: #fff; }
.avs i { border-color: #3A1C10; }

.main { padding: 34px clamp(18px, 3.4vw, 56px) 110px; }
.page-head h1, .greet h1 { font-family: var(--font-serif); font-size: clamp(44px, 4.6vw, 72px); line-height: .98; letter-spacing: -.02em; }
.page-head h1 em, .greet h1 em { color: var(--accent); }
.greet { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.greet .eyebrow { color: var(--accent); }
.greet-r { display: flex; align-items: center; gap: 12px; }
.greet-r .avs i { border-color: var(--paper); }
.panel { background: #FFFDF9; border: 1px solid rgba(70,32,14,.06); border-radius: 22px; box-shadow: 0 1px 2px rgba(70,32,14,.03), 0 12px 32px rgba(60,40,25,.05); }
.panel h3 { font-family: var(--font-serif); font-size: 30px; }
.panel.soft { background: linear-gradient(160deg, #F3E7DA, #EADBCB); border: 0; }
.stat b { font-family: var(--font-serif); font-weight: 400; font-size: clamp(34px, 7vw, 52px); letter-spacing: -.01em; }
.eyebrow { font-size: 11px; }
.count-hero { min-height: 360px; border-radius: 26px; }
.count-hero .script { font-family: var(--font-serif); font-size: clamp(54px, 6.4vw, 96px); line-height: .95; text-transform: none; }
.count b { font-family: var(--font-serif); font-size: clamp(48px, 5vw, 80px); }
.events { border-top-color: var(--line-2); }
.event b { font-family: var(--font-serif); font-size: 26px; }
.task .t { font-size: 16px; }
.tick i { border-color: #CDBBA8; }
.task.done .tick i { background: var(--accent); border-color: var(--accent); }
.progress-ring { background: conic-gradient(var(--accent) calc(var(--p) * 1%), #EADBCB 0); }
.tbl th { color: #8A7C6E; }
.bar { background: #EFE3D6; }
.bar i { background: var(--ink); }
.bar i.accent { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.btn { border-radius: 999px; }
.seg { background: #FFFDF9; border-color: rgba(70,32,14,.1); }
.seg button.on { background: var(--deep); }
.chip.sel { background: var(--deep); border-color: var(--deep); }
.bookcue { background: transparent; border-color: rgba(154,78,44,.35); color: var(--accent); }
.bookcue svg { color: var(--accent); }
.floor { background-color: #FFFDF9; }
.headtable { background: var(--deep); }
.rt-in { background: #FFFCF6; }
.seatx.on { background: #F2E2D6; color: var(--accent); }
.vibe.on { box-shadow: 0 0 0 2px var(--accent); border-color: var(--accent); }
.mobile-top .brand .script { font-size: 30px; }
.tabbar { background: rgba(48,22,12,.92); border-top: 0; }
.tabbar a { color: rgba(239,227,213,.6); }
.tabbar a.on { color: #fff; }
.tabbar a.on svg { color: var(--accent-2); }
.viewbar { background: linear-gradient(90deg, var(--deep), #3A2A20); }
@media (max-width: 640px) { .greet h1 { font-size: 40px; } .count-hero .script { font-size: 52px; } }

/* ===== v6.1 — Fable review fixes ===== */
.dune3 { height: auto; aspect-ratio: 16 / 10; min-height: 720px; }
.d3-card { top: auto; bottom: 53%; }
.d3-cred { margin: 18px 0 0; font-size: 11.5px; line-height: 1.5; color: #8A7C6E; }
.d3-bottom { padding-bottom: 6px; }
.topbar.scrolled, .topbar.over.scrolled { background: rgba(255,253,249,.92); backdrop-filter: blur(18px) saturate(160%); color: var(--ink); box-shadow: 0 1px 0 rgba(70,32,14,.08); }
.topbar.scrolled .tb-btn.plan { border-color: rgba(70,32,14,.25); }
.ring-cards { margin-top: 36px; }
.h-close::after { background: linear-gradient(180deg, rgba(48,20,8,.42), rgba(48,20,8,.08) 40%, rgba(48,20,8,.35) 75%, rgba(239,163,109,.9) 100%); }
.h-close > img { object-position: 50% 65%; }
.side, .waiting, .tbl-wrap, .spreads { scrollbar-width: thin; scrollbar-color: rgba(201,139,98,.45) transparent; }
.dash > .panel { align-self: start; }
.check input[type=checkbox] { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CDBBA8; background: #FFFDF9; display: inline-grid; place-items: center; transition: background .2s, border-color .2s; }
.check input[type=checkbox]:checked { background: var(--accent); border-color: var(--accent); }
.check input[type=checkbox]:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.rt-tools { bottom: 2px; }
.rt-tools .link { background: #FFFDF9; padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08); text-decoration: none; font-size: 12px; }
@media (max-width: 900px) {
  .dune3 { aspect-ratio: auto; height: 1080px; }
  .d3-card { bottom: 389px; }
  .tb-btn.plan { display: none; }
  .tb-btn.order { width: auto; padding: 0 16px; }
  .tb-btn.order span { display: inline; }
  .h-scroll { display: none; }
  .d3-logo .script { white-space: nowrap; font-size: 40px; }
  .ring-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; max-width: none; gap: 14px; padding: 0 16px 10px; }
  .ring-cards .arc-card { flex: 0 0 72vw; scroll-snap-align: center; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpis .stat b { font-size: 30px; }
  .kpis .panel { padding: 16px; }
  .floor-tables { grid-template-columns: 1fr 1fr; gap: 6px; }
  .rt { zoom: .62; }
  .runrow { grid-template-columns: 64px 1fr auto; }
  .runrow .right { grid-column: auto; }
}
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; } }

@media (max-width: 900px) { .dn-front .pk { display: none; } }
@media (max-width: 900px) { .d3-card { padding-bottom: 72px; } .d3-cred { font-size: 10.5px; } }
.d3-card .d3-cred { position: static; text-align: left; padding: 0; color: #8A7C6E; }

/* ===================== v7 — footer options ===================== */
.fp-head { padding-top: clamp(40px, 5vw, 70px); padding-bottom: 30px; display: grid; gap: 14px; }
.fp-head h1 { font-size: clamp(48px, 6vw, 92px); }
.fp-head h1 em { color: var(--accent); }
.fp-opt { border-top: 1px solid var(--line); }
.fp-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 26px; }
.fp-label > div { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.fp-letter { grid-row: span 2; font-family: var(--font-serif); font-size: 64px; line-height: 1; color: var(--accent); }
.fp-label h2 { font-size: 38px; }
.fp-label p { max-width: 60ch; }

/* B — ghost wordmark over Sossusvlei */
.fB { background: var(--paper); }
.fB-bar { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: clamp(40px, 5vw, 64px) max(16px, var(--gutter)) 40px; max-width: 1500px; margin: 0 auto; }
.fB-brand p { color: var(--ink-2); margin: 8px 0 18px; font-size: 15.5px; }
.fB-bar h4 { margin: 6px 0 14px; font-size: 14px; font-weight: 600; }
.fB-bar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15.5px; color: #6B6156; }
.fB-bar a, .fB-bar .link { color: inherit; text-decoration: none; text-align: left; }
.fB-bar ul a:hover, .fB-bar .link:hover { color: var(--accent); }
.fB-news { display: flex; gap: 8px; max-width: 420px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; background: #FFFDF9; }
.fB-news input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 14.5px; outline: none; }
.fB-scene { position: relative; height: clamp(420px, 42vw, 640px); overflow: hidden; }
.fB-scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.fB-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, rgba(246,241,233,0) 22%, rgba(30,15,8,0) 60%, rgba(30,15,8,.35) 100%); }
.fB-word { position: absolute; z-index: 1; left: 0; right: 0; top: 16%; text-align: center; font-family: var(--font-serif); text-transform: uppercase; font-size: clamp(100px, 19vw, 330px); line-height: .8; letter-spacing: -.02em; color: rgba(255,250,242,.78); mix-blend-mode: soft-light; white-space: nowrap; pointer-events: none; }
.fB-word + .fB-pill { }
.fB-scene .fB-word { mix-blend-mode: normal; color: rgba(255,250,242,.55); text-shadow: 0 10px 60px rgba(120,40,10,.25); }
.fB-pill { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-radius: 999px; background: rgba(255,253,249,.82); backdrop-filter: blur(14px); font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.fB-pill i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.fB-pill a { color: inherit; }
.fB-cred { margin: 0; padding: 14px 16px 18px; text-align: center; font-size: 11.5px; color: #8A7C6E; background: var(--paper); }

/* C — Deadvlei by night */
.fC { position: relative; overflow: hidden; background: #090C1E; color: #F2E8DA; min-height: clamp(760px, 58vw, 940px); display: flex; align-items: flex-end; }
.fC-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fC-svg .tw { animation: twinkle 3.2s ease-in-out infinite alternate; }
.fC-svg .glow { animation: lamp 2.6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .2; } to { opacity: 1; } }
@keyframes lamp { from { opacity: .7; } to { opacity: 1; } }
.fC-in { position: relative; z-index: 1; width: 100%; max-width: 1500px; margin: 0 auto; padding: 0 max(16px, var(--gutter)) 26px; display: grid; grid-template-columns: 1.3fr 2fr; gap: 20px 40px; }
.fC-head { align-self: end; display: grid; gap: 10px; }
.fC-head .script { font-size: clamp(56px, 6vw, 88px); line-height: 1; color: #FFF1DE; }
.fC-head p { color: rgba(242,232,218,.75); }
.fC-head .row { gap: 10px; margin-top: 6px; }
.fC-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-self: end; }
.fC-cols h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(242,232,218,.55); }
.fC-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.fC-cols a, .fC-cols .link { color: #F2E8DA; text-decoration: none; text-align: left; }
.fC-cols a:hover, .fC-cols .link:hover { color: #FFC98F; }
.fC-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid rgba(242,232,218,.15); font-size: 13.5px; color: rgba(242,232,218,.6); }
.fC-bottom a { color: inherit; }
.fC-cred { grid-column: 1 / -1; margin: 0; font-size: 11px; color: rgba(242,232,218,.45); }

@media (max-width: 900px) {
  .fB-bar { grid-template-columns: 1fr 1fr; }
  .fB-brand { grid-column: 1 / -1; }
  .fB-word { top: 22%; font-size: 26vw; }
  .fB-pill { font-size: 12px; gap: 10px; padding: 8px 14px; }
  .fC { min-height: 1000px; }
  .fC-in { grid-template-columns: 1fr; }
  .fC-cols { grid-template-columns: 1fr 1fr; }
  .fC-svg { height: 70%; top: 0; bottom: auto; }
}
@media (prefers-reduced-motion: reduce) { .fC-svg .tw, .fC-svg .glow { animation: none; } }
.fC { background: #1C1418; }
.fC-svg { height: 80%; top: 0; bottom: auto; }
@media (max-width: 900px) { .fC-svg { height: 58%; } }

/* ===================== v8 — the Namib dune card footer (reference layout) ===================== */
.fD { position: relative; overflow: hidden; aspect-ratio: 1344 / 752; min-height: 700px; background: var(--paper); isolation: isolate; }
.fD-bg, .fD-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.fD-bg { z-index: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 9%, #000 24%); mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 9%, #000 24%); }
.fD-fg { z-index: 3; pointer-events: none; }
.fD-card { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); bottom: 51%; width: min(80%, 1180px); background: #FFFDF9; border-radius: 18px; padding: clamp(24px, 2.6vw, 38px) clamp(24px, 3vw, 46px) clamp(30px, 3.2vw, 46px); color: var(--ink); box-shadow: 0 24px 60px rgba(140,70,30,.14); }
.fD-card .d3-bottom { margin-top: 22px; }
.fD-cred { position: absolute; z-index: 4; left: 0; right: 0; bottom: 8px; margin: 0; padding: 0 16px; text-align: center; font-size: 11px; color: rgba(255,248,238,.82); text-shadow: 0 1px 2px rgba(80,30,10,.4); }
.h-sup { padding-bottom: clamp(30px, 4vw, 60px); }
@media (max-width: 900px) {
  .fD { aspect-ratio: auto; min-height: 0; height: 1320px; }
  .fD-bg, .fD-fg { object-position: 74% 100%; }
  .fD-card { width: calc(100% - 32px); bottom: 50.5%; }
  .fD-card .d3-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .fD-card .d3-brand { grid-column: 1 / -1; }
}

.fD-card h4 { margin: 4px 0 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.fD-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; color: #6B6156; }
.fD-card a, .fD-card .link { color: inherit; text-decoration: none; text-align: left; }
.fD-card ul a:hover, .fD-card .link:hover { color: var(--accent); }
.fD-card .d3-icons a { color: #fff; }
.fD-card { bottom: 46.5%; }
@media (max-width: 900px) { .fD-card { bottom: 47.5%; } }

@media (max-width: 900px) {
  .fD { height: auto; aspect-ratio: auto; min-height: 0; padding-top: 20px; }
  .fD-card { position: relative; left: auto; bottom: auto; transform: none; width: calc(100% - 32px); margin: 0 auto -40px; }
  .fD-bg { position: relative; display: block; width: 100%; height: 560px; object-position: 76% 100%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .fD-fg { display: none; }
  .fD-cred { position: relative; bottom: auto; padding: 10px 16px 14px; background: #C9672F; color: rgba(255,248,238,.88); }
}
@media (max-width: 900px) { .fD { display: flex; flex-direction: column; } .fD-card { order: 0; } .fD-bg { order: 1; } .fD-cred { order: 2; } }
.fD-card { bottom: 49.5%; padding-bottom: clamp(56px, 5.6vw, 84px); }
@media (max-width: 900px) { .fD-card { bottom: auto; padding-bottom: 28px; } }

/* ===== v8.1 — AI-slop check fixes (tracking ≤ .05em, no tiny text, contrast) ===== */
.eyebrow, .h-kicker, .tb-links a, .tb-small, .h-scroll, .fC-cols h4, .d2-card h4, .side nav .grp, .tbl th, .bk-t, .b-cover .t, .badge-ring text, .count span { letter-spacing: .05em !important; }
.eyebrow { font-size: 12.5px; }
.h-kicker { font-size: 13px; }
.tb-links a { font-size: 13px; text-shadow: 0 1px 10px rgba(0,0,0,.25); }
.over:not(.scrolled) .tb-btn.plan, .over:not(.scrolled) .tb-links a { text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.topbar.over::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(48,20,8,.35), transparent); pointer-events: none; z-index: -1; }
.topbar.over.scrolled::before { display: none; }
.ring-text text { letter-spacing: .05em; font-size: 36px; }
h3 { line-height: 1.02; }
.pl-cap h3, .arc-card h3 { line-height: 1.02; }
.pl-card::after { background: linear-gradient(180deg, transparent 35%, rgba(48,20,8,.82)); }
.pl-cap .eyebrow, .pl-cap h3 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.fD-cred { max-width: 110ch; margin-inline: auto; }
@media (max-width: 900px) { body, p { font-size: 16px; } .fD-cred, .d3-cred { font-size: 12px; } .tiny { font-size: 13px; } }
.ph-card .eyebrow, .bk-page .eyebrow { font-size: 10px; }
.bk-t, .b-cover .t { font-size: 10px; }
.sc-step h3, .pl-more h3, .pl-cap h3 { line-height: 1.02; }
.bt .eyebrow, .pl-cap .eyebrow, .arc-card .eyebrow, .ph-card .eyebrow, .bk-page .eyebrow, .wa-card2 .eyebrow { text-transform: none; letter-spacing: 0 !important; font-size: 13px; font-weight: 500; }
.fD-cred { max-width: 95ch; }
@media (max-width: 900px) { .lede, .h-small, .ring-in p, .arc-card p, .sc-step p { font-size: 16px; } }
.fD-cred { margin: 0 auto; }
@media (max-width: 900px) {
  .fD-bg { height: 470px; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%); mask-image: linear-gradient(180deg, transparent 0%, #000 18%); }
  .fD-card { margin-bottom: -90px; }
  .fD-cred { font-size: 12.5px; padding: 14px 18px 18px; }
}

/* ===== v9 — Fable review round ===== */
.d3-admin { color: inherit; opacity: .7; text-decoration: none; }
.d3-admin:hover { opacity: 1; color: var(--accent); }
.fD-card { bottom: 48%; padding-bottom: clamp(44px, 4.4vw, 64px); }
details.fD-cred { font-size: 12px; }
details.fD-cred summary { cursor: pointer; list-style: none; display: inline-block; padding: 6px 10px; border-radius: 999px; }
details.fD-cred summary::-webkit-details-marker { display: none; }
details.fD-cred summary:hover { text-decoration: underline; }
details.fD-cred p { margin: 4px auto 0; max-width: 90ch; font-size: 12px; line-height: 1.5; }
.h-kicker, .h-small { text-shadow: 0 1px 10px rgba(48,20,8,.45); }
.h-sup { padding-top: clamp(30px, 3.5vw, 56px); }
@media (min-width: 901px) and (max-height: 820px) {
  .h-hero-media img { object-position: 50% 12%; }
  .h-hero h1 { font-size: min(15vw, 24vh); }
}
@media (max-width: 900px) {
  .h-kicker { gap: 4px; }
  .h-idea .arch { display: none; }
  .fD-card { margin-bottom: -56px; }
  details.fD-cred { padding: 12px 16px 16px; }
  details.fD-cred p { font-size: 12.5px; }
}

/* ===================== v10 — team, stages, notifications, Ask Simply Us, dream builder, app feel ===================== */
.side-bell { position: absolute; top: 26px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #EFE3D5; border: 0; cursor: pointer; transition: background .2s; }
.side-bell:hover { background: rgba(255,255,255,.14); }
.badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 11px/18px var(--font-ui); font-style: normal; text-align: center; }
.side .couple { padding-right: 44px; }
.teamcard { margin: 0 4px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 10px; }
.tc-top { display: flex; justify-content: space-between; align-items: baseline; }
.tc-top b { font-weight: 600; font-size: 14.5px; }
.teamcard .link { color: #F2D3B8; }
.tc-avs { display: flex; align-items: center; }
.tc-avs i, .tc-add { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--font-ui); font-style: normal; color: #fff; background: #6E5646; border: 2px solid #2A140C; margin-left: -8px; }
.tc-avs i:first-child { margin-left: 0; }
.tc-avs i.me { background: var(--accent); }
.tc-avs i.wait { opacity: .55; }
.tc-add { background: transparent; border: 1.5px dashed rgba(242,211,184,.6); color: #F2D3B8; cursor: pointer; margin-left: 6px; }
.tc-add:hover { background: rgba(242,211,184,.12); }

.team { display: grid; gap: 12px; max-width: 880px; }
.member { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: left; font: inherit; color: inherit; }
.member .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #6E5646; color: #fff; font: 400 24px var(--font-serif); }
.member .av.me { background: var(--accent); }
.member .av.wait { background: var(--paper-2); color: var(--muted); border: 1.5px dashed var(--line-2); }
.mi { display: grid; gap: 4px; min-width: 0; }
.mi b { font-weight: 600; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; background: var(--paper-2); color: var(--muted); }
.chip.on { background: var(--accent-soft); color: var(--accent); }
.mact { display: flex; gap: 8px; }
.member.add { cursor: pointer; border-style: dashed; background: transparent; grid-template-columns: 52px 1fr; }
.member.add .av { background: var(--accent-soft); color: var(--accent); }
.member.add:hover { border-color: var(--accent); }
.btn.danger { color: #A03A2A; border-color: rgba(160,58,42,.3); }

.ptrack { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 16px; }
.pstep { display: grid; gap: 7px; padding: 12px 12px 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, transform .2s, background .2s; }
.pstep:hover { border-color: var(--accent-2); }
.pstep.on { background: var(--deep); color: var(--on-deep); border-color: var(--deep); }
.pl { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.pl em { font-style: normal; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); margin-left: 4px; }
.pstep.on .pl em { color: #F2B88E; }
.pbar { display: block; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.pstep.on .pbar { background: rgba(255,255,255,.15); }
.pstep.full .pbar i { background: var(--ok); }
.pn { font-size: 12px; color: var(--muted); }
.pstep.on .pn { color: rgba(244,234,223,.7); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; }
.pcard-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); margin-bottom: 4px; }
.pcard-head h2 { font-size: clamp(28px, 3vw, 38px); }
.pempty { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 22px 4px; color: var(--ok); font-weight: 500; }
.addrow { display: flex; gap: 8px; padding: 14px 4px 4px; }
.addrow .input { flex: 1; min-width: 0; min-height: 44px; }
.donetoggle { margin-top: 12px; padding: 10px 4px; background: none; border: 0; color: var(--muted); font: 500 14px var(--font-ui); cursor: pointer; }
.donetoggle:hover { color: var(--accent); }

.dash .quick { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 12px; }
.qa { display: flex; align-items: center; gap: 12px; padding: 16px 18px; min-height: 64px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 15px var(--font-ui); cursor: pointer; text-align: left; transition: transform .2s var(--ease), box-shadow .2s; }
.qa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(60,30,10,.08); }
.qa svg { color: var(--accent); flex: none; }
.qa.dream { background: linear-gradient(135deg, #3A1C10, #6A3A26); color: #FBEFE2; border: 0; }
.qa.dream svg { color: #F2B88E; }
.qa:active, .tabbar a:active, .pstep:active, .sug:active, .member.add:active { transform: scale(.97); }

.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.notes a { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); }
.notes a:hover { background: var(--accent-soft); }
.notes a svg { color: var(--accent); flex: none; }
.notes b { display: block; font-weight: 600; font-size: 15px; }
.notes .tiny { display: block; }
.notify-on { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); }
.notify-on b { display: block; font-weight: 600; }
.notify-on .tiny { display: block; }

.ask { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; padding-bottom: 40px; }
.ask-head { display: flex; gap: 16px; align-items: center; }
.ask-head h1 { font-size: clamp(36px, 4vw, 54px); }
.ask-orb { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #FFF3E6; background: radial-gradient(circle at 30% 25%, #E9A27A, #9A4E2C 60%, #4E2616); box-shadow: 0 10px 30px rgba(154,78,44,.35); }
.ask-orb.spin svg { animation: orbspin 2.4s linear infinite; }
@keyframes orbspin { to { transform: rotate(360deg); } }
.dreamcta { display: grid; gap: 4px; text-align: left; padding: 20px 22px; border-radius: 18px; border: 0; cursor: pointer; color: #FBEFE2; background: linear-gradient(120deg, #3A1C10 0%, #6A3A26 70%, #9A4E2C 100%); font: inherit; }
.dreamcta b { display: flex; align-items: center; gap: 8px; font: 400 26px/1.1 var(--font-serif); }
.dreamcta .small { color: rgba(251,239,226,.78); }
.dreamcta .eyebrow { color: #F2B88E; }
.msgs { display: grid; gap: 10px; }
.msgs:empty { display: none; }
.msg { max-width: 86%; padding: 13px 16px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.msg.user { justify-self: end; background: var(--deep); color: var(--on-deep); border-bottom-right-radius: 6px; }
.msg.assistant { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .3; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: 1; } }
.sugs { display: flex; flex-wrap: wrap; gap: 8px; }
.sug { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 500 14px var(--font-ui); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s, color .2s; }
.sug:hover { border-color: var(--accent); color: var(--accent); }
.askbar { position: sticky; bottom: 16px; z-index: 5; display: flex; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 12px 30px rgba(60,30,10,.1); }
.askbar .input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 46px; font-size: 16px; box-shadow: none; }
.btn.icon { width: 46px; height: 46px; min-height: 0; padding: 0; border-radius: 50%; flex: none; display: grid; place-items: center; }
.askclear { justify-self: center; }

.dream h2 { font-size: clamp(32px, 4vw, 44px); }
.dream textarea { min-height: 130px; font-size: 16px; resize: vertical; line-height: 1.5; }
.dsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dsteps li { display: flex; gap: 10px; align-items: center; opacity: 0; animation: dstep .5s var(--ease) forwards; animation-delay: var(--d); }
.dsteps svg { color: var(--accent); }
@keyframes dstep { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dpal { display: flex; height: 56px; border-radius: 14px; overflow: hidden; }
.dpal i { flex: 1; }
.dfacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dfacts div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--paper); }
.dfacts b { font: 400 20px/1.15 var(--font-serif); }
.dsec { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.dsec > b { font-weight: 600; }
.dsplit { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.dday { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.dday span { display: inline-block; width: 56px; color: var(--accent); font-weight: 600; }

.palette { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.swatch { position: relative; }
.hexin { width: 100%; min-width: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; padding: 6px 4px; font: 500 13px ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); text-transform: uppercase; }
.hexin:hover, .hexin:focus { border-color: var(--line-2); background: var(--surface); outline: none; }
.swx { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255,255,255,.88); color: var(--ink); cursor: pointer; opacity: 0; transition: opacity .2s; }
.swatch:hover .swx, .swx:focus-visible { opacity: 1; }
.swatch.add { cursor: pointer; }
.addc { position: relative; aspect-ratio: 3/4; border-radius: var(--r); border: 1.5px dashed var(--line-2); display: grid; place-items: center; color: var(--muted); transition: border-color .2s, color .2s; }
.swatch.add:hover .addc { border-color: var(--accent); color: var(--accent); }
.addc input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

.tabbar a.ai .orb { width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; color: #FFF3E6; background: radial-gradient(circle at 30% 25%, #E9A27A, #9A4E2C 60%, #4E2616); box-shadow: 0 8px 22px rgba(154,78,44,.45); border: 3px solid #2A140C; }
.tabbar a.ai { color: #F2B88E; }
.mt-r { display: flex; align-items: center; gap: 8px; }
.icon-btn.bell { position: relative; }
.mt-av { display: flex; text-decoration: none; }
.mt-av i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 13px var(--font-ui); font-style: normal; border: 2px solid var(--paper); }
.mt-av i + i { margin-left: -10px; background: #6E5646; }

@media (max-width: 1200px) { .ptrack { grid-template-columns: repeat(4, 1fr); } .dash .quick { grid-template-columns: 1fr 1fr; } }

@media (max-width: 900px) {
  .main { padding: 14px 16px calc(110px + env(safe-area-inset-bottom)); }
  .mobile-top { position: sticky; top: 0; z-index: 40; margin: -14px -16px 14px; padding: 10px 16px; background: rgba(246,241,233,.9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
  .page-head { margin-bottom: 14px; }
  .page-head h1 { font-size: 40px; }
  .page-head p.muted, .bookcue { display: none; }
  .dash .m-hide { display: none; }
  .dash .quick { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qa { min-height: 76px; padding: 14px; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 14.5px; }
  .qa.dream { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 62px; font-size: 16px; }
  .tabbar { padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { font-size: 11.5px; letter-spacing: 0; }
  .ptrack { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 0 -16px 12px; padding: 2px 16px 6px; scrollbar-width: none; }
  .ptrack::-webkit-scrollbar { display: none; }
  .pstep { flex: 0 0 auto; min-width: 108px; scroll-snap-align: start; }
  .pcard { padding: 16px 14px 12px; border-radius: 18px; }
  .pcard-head .seg { width: 100%; }
  .member { grid-template-columns: 44px 1fr; padding: 14px; gap: 12px; }
  .member .av { width: 44px; height: 44px; font-size: 20px; }
  .mact { grid-column: 1 / -1; }
  .mact .btn { flex: 1; }
  .ask { gap: 14px; padding-bottom: 10px; }
  .ask-head h1 { font-size: 36px; }
  .ask-head p { display: none; }
  .askbar { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .msg { max-width: 92%; }
  .dfacts { grid-template-columns: 1fr 1fr; }
  .dsplit { grid-template-columns: 96px 1fr auto; font-size: 13px; }
  .swx { opacity: 1; }
  .modal { place-items: end center; padding: 0; }
  .modal .box { border-radius: 24px 24px 0 0; max-height: 92svh; animation: sheetup .42s var(--ease) both; padding-bottom: env(safe-area-inset-bottom); }
  .modal .box::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--line-2); margin: 10px auto 0; }
  .modal .box .in { padding: 16px 18px 26px; }
}
@keyframes sheetup { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ask-orb.spin svg, .typing i { animation: none; opacity: 1; } .dsteps li { animation: none; opacity: 1; } .modal .box { animation: none; } }
@media (max-width: 900px) {
  .pcard .task { grid-template-columns: 40px 1fr auto; gap: 6px; min-height: 56px; }
  .pcard .task .right { grid-column: auto; }
  .pcard .owner { max-width: 98px; font-size: 13px; }
  .greet-r { display: none; }
  .count-hero { min-height: 0; height: 260px; }
}
@media (max-width: 900px) { .dash .quick { grid-template-columns: repeat(3, 1fr); } .qa.dream { grid-column: 1 / -1; } .qa { font-size: 13.5px; min-height: 80px; } }

/* ===================== v11 — loading intro, Namibia script lower, footer centred ===================== */
.h-script { margin-top: calc(clamp(44px, 6.4vw, 110px) * .02); }
.fD-card { left: 0; right: 0; margin-left: auto; margin-right: auto; transform: none; }
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 16px; background: radial-gradient(120% 90% at 50% 42%, #5A2A16 0%, #22100A 72%); color: #F2DCC4; clip-path: inset(0 0 0 0); transition: clip-path 1.15s cubic-bezier(.76,0,.24,1); cursor: pointer; }
.intro.out { clip-path: inset(0 0 100% 0); }
.intro > * { transition: opacity .45s ease, transform .9s cubic-bezier(.76,0,.24,1); }
.intro.out > * { opacity: 0; transform: translateY(-30px); }
.intro-lock, .intro-lock body { overflow: hidden; }
.intro-in { position: relative; width: 100px; height: 100px; display: grid; place-items: center; margin-bottom: 4px; }
.intro-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.intro-ring circle { fill: none; stroke: #C9A27E; stroke-width: 1.1; stroke-dasharray: 352; stroke-dashoffset: 352; animation: ringdraw 1.5s cubic-bezier(.65,0,.35,1) .15s forwards; }
.intro-mono { font: 400 36px/1 var(--font-serif); color: #FBEFE2; opacity: 0; animation: ifade .9s ease .55s forwards; }
.intro-mono em { font-family: var(--font-script); font-style: normal; color: #D9925F; font-size: 30px; margin: 0 1px; }
.intro-word { font-family: var(--font-script); font-size: clamp(66px, 9vw, 124px); line-height: 1.15; color: #FBEFE2; padding: 0 .25em; clip-path: inset(0 100% 0 0); animation: iwrite 1.35s cubic-bezier(.65,0,.35,1) .8s forwards; }
.intro-line { width: 150px; height: 1px; background: linear-gradient(90deg, transparent, #C9A27E, transparent); transform: scaleX(0); animation: iline 1s cubic-bezier(.65,0,.35,1) 1.55s forwards; }
.intro-sub { font: 500 13px/1 var(--font-ui); letter-spacing: .42em; text-transform: uppercase; color: #C9A27E; padding-left: .42em; opacity: 0; animation: ifade 1s ease 1.8s forwards; }
@keyframes ringdraw { to { stroke-dashoffset: 0; } }
@keyframes ifade { to { opacity: 1; } }
@keyframes iwrite { to { clip-path: inset(0 0 0 0); } }
@keyframes iline { to { transform: scaleX(1); } }
@media (max-width: 900px) { .fD-card { margin-left: auto; margin-right: auto; } }

/* ===================== v12 — the Namib at golden hour: colours taken from the dune scene ===================== */
:root {
  --paper: #FCF2EA;        /* the pale peach sky */
  --paper-2: #F8E4D4;      /* horizon haze */
  --blush: #F7DCC9;
  --sand: #F4D3BC;
  --surface: #FFFAF5;
  --ink: #2E1810;          /* deep rust brown, not black */
  --ink-2: #5C3624;
  --muted: #80594A;
  --line: #F0DCCB;
  --line-2: #E3C2A8;
  --accent: #A84A24;       /* dune shadow rust */
  --accent-2: #E98C60;     /* sunlit dune */
  --accent-soft: #FBE2D2;
  --gold: #D9925F;
  --deep: #36190E;         /* Namib dusk */
  --deep-2: #52261A;
  --on-deep: #FDEEE4;
  --dune: linear-gradient(135deg, #C9602F 0%, #A84A24 55%, #8E3B1C 100%);
  --dusk: radial-gradient(130% 90% at 50% 0%, #7A3518 0%, #4A2112 42%, #2A130A 100%);
  --sky: linear-gradient(180deg, #FDEFE6 0%, #FDE3D2 55%, #FBD5BC 100%);
  --shadow: 0 1px 2px rgba(120,50,20,.05), 0 12px 32px rgba(120,50,20,.08);
  --shadow-up: 0 2px 6px rgba(120,50,20,.06), 0 24px 54px rgba(120,50,20,.16);
}
/* fine sand grain over the whole page */
body { background-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .3 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* buttons: the dune itself */
.btn { background: var(--dune); border-color: transparent; color: #FFF6EE; box-shadow: 0 8px 22px rgba(168,74,36,.22); }
.btn:hover { background: var(--dune); filter: brightness(1.07); box-shadow: 0 16px 34px rgba(168,74,36,.32); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--accent-soft); filter: none; box-shadow: none; }
.btn.light { background: #FFF8F1; color: var(--ink); border-color: #FFF8F1; box-shadow: 0 10px 26px rgba(60,20,5,.25); }
.btn.light:hover { background: #fff; filter: none; }
.btn.glass { background: rgba(255,240,228,.14); color: #fff; border: 1px solid rgba(255,236,222,.55); box-shadow: none; backdrop-filter: blur(10px); }
.tb-btn.order { background: var(--dune); border-color: transparent; }
.tb-btn.order:hover { background: var(--dune); filter: brightness(1.08); }

/* dark bands become Namib dusk */
.bento-sec, .section.deep, .marquee, .pl-more, .site-foot, .onb aside { background: var(--dusk); }
.side { background: linear-gradient(180deg, #43200F 0%, #2C140A 100%); }
.tabbar { background: rgba(54,25,14,.94); }
.intro { background: radial-gradient(120% 90% at 50% 38%, #7A3518 0%, #3F1C0F 48%, #22100A 100%); }
.intro-ring circle { stroke: #F0A877; }
.intro-sub, .intro-mono em { color: #F0A877; }
.intro-line { background: linear-gradient(90deg, transparent, #F0A877, transparent); }

/* hero: graded warm, like the dune scene at golden hour */
.h-hero-media img { filter: saturate(1.06) sepia(.1) contrast(1.02); }
.h-hero::after { background: linear-gradient(180deg, rgba(70,26,8,.38), rgba(233,140,96,.06) 28%, transparent 44%, rgba(80,30,10,.7) 100%); }
.h-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(70% 50% at 70% 18%, rgba(253,201,160,.28), transparent 70%); mix-blend-mode: soft-light; }
.h-kicker { color: #FFE6D3; }

/* sections breathe like the sky above the dunes */
.h-idea { background: var(--sky); }
.h-sup { background: transparent; }
.eyebrow.accent, .h-word em, h1 em, h2 em, h3 em { color: var(--accent); }
.bento-sec h2 em, .section.deep h2 em, .pl-more em { color: #F6B489; }
.pl-card { box-shadow: 0 18px 40px rgba(120,50,20,.16); }
.panel, .pcard, .member, .qa, .pstep, .notes a { border-color: var(--line); }
.qa.dream, .dreamcta { background: linear-gradient(120deg, #4A2112 0%, #8E3B1C 70%, #C9602F 100%); }
.ask-orb, .tabbar a.ai .orb { background: radial-gradient(circle at 30% 25%, #F6B489, #C9602F 55%, #6E2C12); }
.tabbar a.ai .orb { border-color: #36190E; }
.count-hero { background: var(--deep); }
.count-hero img { filter: saturate(1.05) sepia(.08); }
.progress-ring { --c: var(--accent); }
::selection { background: #F6B489; color: var(--ink); }
@media (max-width: 900px) { .mobile-top { background: rgba(252,242,234,.9); } }

/* ===================== v13 — the intro dissolves instead of swiping up ===================== */
.intro, .intro.out { clip-path: none; }
.intro { transition: opacity 1.5s cubic-bezier(.4,0,.2,1), visibility 0s linear 1.5s; }
.intro.out { opacity: 0; visibility: hidden; }
.intro.out > * { opacity: 0; transform: scale(.97); filter: blur(6px); transition: opacity .8s ease, transform 1.4s ease, filter 1s ease; }
.soft-enter .h-hero [data-enter] > * { animation: softin 2s cubic-bezier(.25,.6,.2,1) both; animation-delay: .8s; }
.soft-enter .h-hero [data-enter] > *:nth-child(2) { animation-delay: 1s; }
.soft-enter .h-hero .h-cta > * { animation-delay: 1.35s; }
.soft-enter .h-hero .h-cta > *:nth-child(2) { animation-delay: 1.5s; }
.soft-enter .h-hero .h-word > * { animation: none; }
@keyframes softin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===================== v14 — Adell's round ===================== */
/* the real book: white, ring-bound, black script */
.bk-cover { background: linear-gradient(135deg, #FFFFFF 0%, #F6F3EE 100%) !important; color: #1E1A17; box-shadow: 0 40px 80px rgba(60,25,10,.35), inset 0 0 0 1px rgba(0,0,0,.04); }
.bk-cover::before { content: ""; position: absolute; left: -7px; top: 4%; bottom: 4%; width: 16px; background: radial-gradient(circle at 50% 50%, transparent 3.2px, #9C9893 3.6px, #D8D5D0 5px, transparent 5.6px) 0 0 / 16px 15px repeat-y; }
.bk-cover::after { content: ""; position: absolute; right: 8%; top: 6%; width: 38%; height: 70%; border: 1px solid rgba(0,0,0,.06); border-radius: 50% 50% 40% 60%; transform: rotate(-12deg); }
.bk-cover .script { color: #1E1A17; text-shadow: none; }
.bk-rule { background: #1E1A17; opacity: .25; }
.bk-t { color: #2B2622; letter-spacing: .18em !important; font-family: var(--font-serif); }
.bk-ribbon { display: none; }

/* Vision Studio */
.vtabs { margin-bottom: 18px; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vcard { position: relative; display: grid; text-align: left; padding: 0 0 14px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); cursor: pointer; font: inherit; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-up); }
.vcard img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.vname { font: 400 30px/1.1 var(--font-script); padding: 12px 16px 0; }
.vline { font-size: 13.5px; color: var(--muted); padding: 2px 16px 0; }
.vcard.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), var(--shadow-up); }
.vtick { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }
.vnote { margin-top: 14px; }
.pals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.palx { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; font: 500 14px var(--font-ui); color: var(--ink); cursor: pointer; }
.palx .sw { display: flex; height: 36px; border-radius: 8px; overflow: hidden; }
.palx .sw i { flex: 1; }
.palx.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.moodbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.moodbar h3 { font-size: 28px; }
.mood { columns: 4 220px; column-gap: 12px; }
.mtile { position: relative; margin: 0 0 12px; break-inside: avoid; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.mview { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.mtile img { width: 100%; display: block; }
.mtile figcaption { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255,250,245,.9); font-size: 12px; }
.mtile:hover .swx { opacity: 1; }
.moodempty { min-height: 260px; }
.bigview { padding: 10px !important; }
.bigview img { width: 100%; max-height: 80svh; object-fit: contain; border-radius: 12px; display: block; }

/* décor wishlist */
.dk { margin-bottom: 16px; }
.dtrack { grid-template-columns: repeat(7, 1fr); }
.drow { display: grid; grid-template-columns: 1fr auto 132px; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.drow .dn { font-size: 15.5px; }
.drow.no .dn { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.2); }
.dch { display: flex; gap: 6px; flex-wrap: wrap; }
.dchip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: 500 13px var(--font-ui); color: var(--ink-2); cursor: pointer; }
.dchip.must.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.dchip.like.on { background: var(--sand); border-color: #DDB89A; color: var(--ink); }
.dchip.no.on { background: #EEE8E2; border-color: #D9D0C7; color: var(--muted); }
.dcost { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; background: var(--surface); color: var(--muted); font-size: 13px; }
.dcost input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px 2px; font: inherit; font-size: 15px; color: var(--ink); outline: none; }

/* seating: layouts, long tables, a head table you fill yourself */
.seat-opts { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 16px; padding: 14px 18px; }
.so-grp { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.so-grp .lbl { font-weight: 600; font-size: 14px; }
.so-at { display: inline-flex; align-items: center; gap: 8px; }
.headtable { flex-wrap: wrap; border-radius: 22px; cursor: pointer; }
.ht-g { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ht-g .seatx { position: static; }
.ht-g .tiny { color: rgba(253,238,228,.7); }
.headtable.over, .lt.over { outline: 2px dashed var(--accent-2); outline-offset: 4px; }
.lt { grid-column: 1 / -1; position: relative; display: grid; justify-items: center; gap: 8px; padding: 10px 0 34px; cursor: pointer; }
.lt-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lt .seatx { position: static; }
.lt-board { width: 100%; max-width: 760px; min-height: 64px; border-radius: 12px; background: #FFFCF6; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; box-shadow: 0 10px 24px rgba(120,50,20,.08); }
.lt-board b { font-family: var(--font-serif); font-weight: 500; font-size: 19px; }
.lt-board > span { font-size: 13px; color: var(--muted); }
.lt .rt-tools { position: absolute; bottom: 4px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.rt-tools { flex-wrap: wrap; justify-content: center; }
.couplex { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; }
.rt-in .couplex { margin-top: 4px; font-size: 10.5px; padding: 2px 7px; }

/* photo album */
.album-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; }
.alb-cover { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: 22px; overflow: hidden; min-height: 340px; }
.alb-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.alb-cover img:first-child { grid-row: span 2; }
.alb-cover img:only-child { grid-column: 1 / -1; }
.alb-qr { display: grid; gap: 12px; justify-items: start; }
.alb-qr h2 { font-size: clamp(28px, 3vw, 40px); }
.qrbox { width: 190px; padding: 12px; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(120,50,20,.12); }
.qrbox svg { width: 100%; height: auto; display: block; }
.albg { max-width: 860px; margin: 0 auto; padding: 40px 16px 60px; }
.albg-h { text-align: center; margin-bottom: 22px; }
.albg-h .script { font-size: clamp(54px, 9vw, 92px); color: var(--accent); }
.albg-h p { font: 400 22px var(--font-serif); margin-top: 6px; }
.albg-up { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.albg-up .input { max-width: 260px; }
.albg-f { text-align: center; margin-top: 30px; }
.albg-f .script { font-size: 22px; }
.cardphoto { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1100px) { .dtrack { grid-template-columns: repeat(4, 1fr); } .pals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .vgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .vname { font-size: 24px; padding: 10px 12px 0; }
  .vline { display: none; }
  .vtabs { width: 100%; }
  .mood { columns: 2 140px; column-gap: 8px; }
  .mtile { margin-bottom: 8px; }
  .mtile .swx { opacity: 1; }
  .dtrack { display: flex; }
  .drow { grid-template-columns: 1fr 104px; gap: 8px; padding: 12px 2px; }
  .drow .dn { grid-column: 1 / -1; }
  .dchip { padding: 7px 10px; font-size: 12.5px; }
  .seat-opts { padding: 12px; }
  .seat-opts .seg { width: 100%; }
  .album-top { grid-template-columns: 1fr; }
  .alb-cover { min-height: 220px; }
  .lt-row { gap: 5px; }
}
.qrbox { overflow: hidden; line-height: 0; }
.qrbox svg { width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; }
.lt-board { max-width: min(100%, 980px); }

/* v16: checklist groups match the printed book */
.tgroup { font: 500 12px/1 var(--font-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 22px 0 6px; padding-top: 4px; }
.tgroup:first-of-type { margin-top: 8px; }
.vcard.vown { display: grid; place-items: center; min-height: 100%; aspect-ratio: auto; border-style: dashed; background: var(--paper-2, #F7EEE6); padding: 24px; }
.vown-in { display: grid; justify-items: center; gap: 8px; text-align: center; color: var(--ink-2, #4A3A31); }
.vown-in b { font: 400 28px/1.1 var(--font-script); color: var(--ink); }
.drop.ownimg { min-height: 180px; }
.drop.ownimg img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; }

/* ===================== v16: the product page ===================== */
.glass-pill, .glass-bar { background: rgba(255, 251, 246, .58); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 12px 30px rgba(90, 45, 20, .14), inset 0 1px 0 rgba(255, 255, 255, .8); }
.shop { padding: clamp(18px, 3vw, 36px) 0 120px; }
.crumbs { display: flex; gap: 8px; margin-bottom: 18px; } .crumbs a { color: inherit; text-decoration: none; }
.pdp { container-type: inline-size; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gal { position: sticky; top: 96px; display: grid; gap: 12px; }
.gal-main { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #F6ECE2, #EADBCB); aspect-ratio: 5 / 4; display: grid; place-items: center; }
.gal-main > img:not(.pageshot) { width: 100%; height: 100%; object-fit: cover; }
.gal-main.pg { padding: 6% 0; }
.pageshot { height: 100%; width: auto; max-width: 100%; aspect-ratio: 210 / 297; object-fit: contain; border-radius: 3px; box-shadow: 0 1px 2px rgba(60, 30, 15, .12), 0 18px 40px rgba(90, 45, 20, .18); background: #fff; }
.gal-3d { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 14px; transition: transform .25s var(--ease); }
.gal-3d:hover { transform: translateY(-2px); } .gal-3d:active { transform: scale(.97); }
.thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #F3E8DD; padding: 0; cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s var(--ease); }
.thumb.pg { padding: 6px 0; } .thumb img { width: 100%; height: 100%; object-fit: cover; } .thumb.pg img { width: auto; height: 100%; box-shadow: 0 4px 10px rgba(90, 45, 20, .15); }
.thumb.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } .thumb:active { transform: scale(.96); }
.buy { display: grid; gap: 18px; }
.buy-t { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; }
.buy-sub { font: italic 400 20px/1.4 var(--font-serif); color: var(--ink-2, #4A3A31); margin: -6px 0 0; }
.buy-price { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buy-price b { font-size: 40px; font-weight: 400; }
.buy-pts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.buy-pts li { display: flex; gap: 10px; align-items: center; } .buy-pts svg { color: var(--accent); flex: none; }
.opt { display: grid; gap: 8px; } .seg.full { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2, #DCC8B6); border-radius: 999px; height: 54px; }
.qty button { width: 46px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ink); border-radius: 999px; }
.qty span { min-width: 24px; text-align: center; font-weight: 500; }
.buy-go { min-height: 54px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 6px; } .trust svg { color: var(--accent); }
.checkout { display: grid; gap: 14px; padding: 24px; border-radius: 22px; background: var(--surface, #fff); border: 1px solid var(--line); max-height: 0; overflow: hidden; opacity: 0; padding-top: 0; padding-bottom: 0; transition: max-height .7s var(--ease), opacity .5s var(--ease), padding .5s var(--ease); scroll-margin-top: 90px; }
.checkout.open { max-height: 1200px; opacity: 1; padding-top: 24px; padding-bottom: 24px; }
.checkout h2 { font-size: 30px; }
.checkout .sum { display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; } .checkout .sum .tot b.serif { font-size: 30px; font-weight: 400; }
.inside { margin-top: clamp(70px, 9vw, 130px); }
.inside-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.inside-h h2 { font-size: clamp(34px, 4vw, 56px); margin-top: 8px; }
.inside-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.inside-g article { background: var(--paper); padding: 24px 22px 26px; display: grid; gap: 6px; align-content: start; }
.inside-g .n { font: 300 34px/1 var(--font-serif); color: var(--accent); } .inside-g h3 { font-size: 22px; }
.spreadrow { display: flex; gap: 18px; overflow-x: auto; padding: 46px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.spreadrow::-webkit-scrollbar { display: none; }
.spreadrow .pageshot { height: clamp(260px, 34vw, 420px); flex: none; scroll-snap-align: center; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; margin-top: 40px; } .faq h2 { font-size: clamp(34px, 4vw, 56px); }
.qa { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; background: none; border: 0; text-align: left; font: 400 21px/1.3 var(--font-serif); color: var(--ink); cursor: pointer; }
.qa i { transition: transform .35s var(--ease); display: grid; } .qa.on i { transform: rotate(45deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); } .qa-a p { overflow: hidden; margin: 0; color: var(--muted); max-width: 60ch; }
.qa.on .qa-a { grid-template-rows: 1fr; } .qa.on .qa-a p { padding-bottom: 20px; }
.stickybuy { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; } .gal { position: static; } .thumbs { grid-template-columns: repeat(7, 64px); overflow-x: auto; scrollbar-width: none; }
  .inside-g { grid-template-columns: 1fr 1fr; } .faq { grid-template-columns: 1fr; gap: 10px; }
  .stickybuy { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; justify-content: space-between; align-items: center; padding: 10px 10px 10px 18px; border-radius: 999px; }
  .stickybuy b { font-size: 22px; font-weight: 400; display: block; line-height: 1; }
  .buy-row { grid-template-columns: 1fr; } .qty { justify-self: start; }
}

.shop { min-width: 0; } .buy { min-width: 0; }
@media (max-width: 1180px) { .gal { position: static; } }

/* ===================== v16: unlock with your book code ===================== */
.unlock-scene { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; overflow: hidden; }
.unlock-bg { position: absolute; inset: -40px; filter: blur(16px) saturate(115%); transform: scale(1.04); pointer-events: none; transition: filter 1.4s cubic-bezier(.22, 1, .36, 1), transform 1.4s cubic-bezier(.22, 1, .36, 1); }
.unlock-veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(252, 242, 234, .25), rgba(60, 28, 14, .28)); transition: opacity 1.2s; }
.unlock-card { position: relative; width: min(460px, 100%); border-radius: 30px; padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 38px) 26px; text-align: center;
  background: linear-gradient(160deg, rgba(255, 252, 248, .72), rgba(255, 246, 238, .5)); -webkit-backdrop-filter: blur(28px) saturate(180%); backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .75); box-shadow: 0 30px 80px rgba(60, 25, 10, .28), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25);
  animation: ucard .9s cubic-bezier(.22, 1, .36, 1) both; transition: transform .6s cubic-bezier(.22, 1, .36, 1), opacity .6s, filter .6s; }
@keyframes ucard { from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.unlock-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: rgba(255, 255, 255, .5); }
.unlock-form { display: grid; gap: 14px; justify-items: center; transition: opacity .35s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.unlock-logo { font-size: 56px; line-height: 1; color: var(--accent); }
.unlock-form h1 { font-size: clamp(32px, 4.4vw, 44px); }
.unlock-form p.muted { max-width: 34ch; }
.unlock-in { width: 100%; height: 64px; border-radius: 18px; border: 1px solid rgba(160, 110, 80, .28); background: rgba(255, 255, 255, .62); text-align: center; font: 500 22px/1 var(--font-ui); letter-spacing: .22em; color: var(--ink); text-transform: uppercase; box-shadow: inset 0 2px 6px rgba(90, 45, 20, .06); transition: border-color .2s, box-shadow .2s; }
.unlock-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(168, 74, 36, .14), inset 0 2px 6px rgba(90, 45, 20, .06); }
.unlock-in::placeholder { color: rgba(90, 60, 45, .35); }
.unlock-go { position: relative; min-height: 54px; }
.ug-spin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; opacity: 0; animation: uspin .8s linear infinite; }
@keyframes uspin { to { transform: rotate(360deg); } }
.checking .ug-t { opacity: 0; } .checking .ug-spin { opacity: 1; }
.shake .unlock-card { animation: ushake .5s cubic-bezier(.36, .07, .19, .97); }
@keyframes ushake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(5px); } 30%, 50%, 70% { transform: translateX(-9px); } 40%, 60% { transform: translateX(9px); } }
.unlock-ok { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; opacity: 0; pointer-events: none; }
.unlock-ok svg { width: 76px; height: 76px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.unlock-ok circle { stroke-dasharray: 151; stroke-dashoffset: 151; } .unlock-ok path { stroke-dasharray: 36; stroke-dashoffset: 36; }
.unlock-ok p { font: italic 400 20px var(--font-serif); margin: 0; }
.ok .unlock-form { opacity: 0; transform: scale(.96); pointer-events: none; }
.ok .unlock-ok { opacity: 1; transition: opacity .3s .15s; }
.ok .unlock-ok circle { transition: stroke-dashoffset .7s .2s cubic-bezier(.65, 0, .35, 1); stroke-dashoffset: 0; }
.ok .unlock-ok path { transition: stroke-dashoffset .45s .75s cubic-bezier(.65, 0, .35, 1); stroke-dashoffset: 0; }
.welcome { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; pointer-events: none; text-align: center; }
.welcome span { opacity: 0; transform: translateY(16px); filter: blur(10px); }
.welcome .w1 { font: 500 12px/1 var(--font-ui); letter-spacing: .5em; text-transform: uppercase; color: var(--ink); margin-right: -.5em; }
.welcome .w2 { font-size: clamp(80px, 14vw, 150px); line-height: 1.05; color: var(--ink); }
.welcome .w3 { font: italic 400 22px/1.2 var(--font-serif); color: var(--ink-2, #4A3A31); }
.welcome-on .unlock-card { opacity: 0; transform: scale(1.04); filter: blur(10px); pointer-events: none; }
.welcome-on .unlock-bg { filter: blur(0) saturate(100%); transform: none; }
.welcome-on .unlock-veil { opacity: .0; background: rgba(252, 242, 234, .82); }
.welcome-on .welcome::before { content: ""; position: absolute; inset: 0; background: rgba(252, 244, 236, .78); animation: wveil 1s ease both; }
@keyframes wveil { from { opacity: 0; } to { opacity: 1; } }
.welcome-on .welcome span { position: relative; transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1.2s cubic-bezier(.22, 1, .36, 1), filter 1s; opacity: 1; transform: none; filter: none; }
.welcome-on .welcome .w1 { transition-delay: .25s; } .welcome-on .welcome .w2 { transition-delay: .45s; } .welcome-on .welcome .w3 { transition-delay: .8s; }
@media (prefers-reduced-motion: reduce) { .unlock-card, .shake .unlock-card { animation: none; } .welcome span, .unlock-bg { transition: none !important; } }

/* ===================== v16: a lighter, Apple-style planner ===================== */
/* sidebar: a light frosted material instead of the heavy brown */
.app-shell, .shell { background: radial-gradient(120% 80% at 0% 0%, #F7E9DC 0%, transparent 55%), var(--paper); }
.side { background: linear-gradient(180deg, rgba(255, 251, 247, .82), rgba(248, 238, 228, .74)); -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  color: var(--ink); border-right: 1px solid rgba(150, 100, 70, .14); box-shadow: inset -1px 0 0 rgba(255, 255, 255, .7), 8px 0 30px rgba(90, 45, 20, .04); }
.side .couple .names { color: var(--ink); } .side .couple .names em { color: var(--accent); }
.side .couple .muted { color: var(--muted); }
.side nav .grp { color: rgba(74, 58, 49, .48); }
.side nav a { color: rgba(46, 24, 16, .78); }
.side nav a svg { opacity: .75; }
.side nav a:hover { background: rgba(255, 255, 255, .62); color: var(--ink); }
.side nav a.on { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 1px 2px rgba(90, 45, 20, .07), 0 8px 18px rgba(90, 45, 20, .07); }
.side nav a.on svg { color: var(--accent); opacity: 1; }
.side nav a .new { color: var(--accent); } .side nav a .lk { color: var(--muted); }
.side .unlock { background: rgba(255, 255, 255, .6); border: 1px solid rgba(150, 100, 70, .14); color: var(--ink-2, #4A3A31); }
.side .unlock .muted { color: var(--muted); } .side .unlock .link { color: var(--ink); }
.side .pill.ok { background: rgba(110, 150, 95, .14); color: #4F7A43; }
.side-bell { background: rgba(255, 255, 255, .7); color: var(--ink); border: 1px solid rgba(150, 100, 70, .14); }
.side-bell:hover { background: #fff; }
.teamcard { background: rgba(255, 255, 255, .6); border: 1px solid rgba(150, 100, 70, .14); }
.teamcard .link { color: var(--accent); }
.tc-avs i, .tc-add { border-color: #FBF3EC; background: #B9917A; }
.tc-avs i.me { background: var(--accent); }
.tc-add { background: transparent; border: 1.5px dashed rgba(160, 69, 31, .45); color: var(--accent); }
.tc-add:hover { background: rgba(160, 69, 31, .08); }
.side { scrollbar-color: rgba(160, 69, 31, .3) transparent; }

/* phone tab bar: the same light glass, floating */
@media (max-width: 900px) {
  .tabbar { background: rgba(255, 250, 245, .78); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-top: 1px solid rgba(150, 100, 70, .12); box-shadow: 0 -8px 30px rgba(90, 45, 20, .06); }
  .tabbar a { color: rgba(46, 24, 16, .55); } .tabbar a.on { color: var(--ink); } .tabbar a.on svg { color: var(--accent); }
}

/* sheets and dialogs: dim and blur what is behind, glass on top (Apple: dim to focus) */
.modal { background: rgba(60, 28, 14, .28); -webkit-backdrop-filter: blur(10px) saturate(120%); backdrop-filter: blur(10px) saturate(120%); }
.modal .box { background: linear-gradient(170deg, rgba(255, 252, 248, .94), rgba(252, 244, 236, .9)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 30px 80px rgba(60, 25, 10, .25), inset 0 1px 0 #fff; }
.toast { background: rgba(42, 28, 21, .82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); box-shadow: 0 14px 34px rgba(42, 28, 21, .25); }

/* instant feedback on press, never on release */
.chip, .pstep, .dchip, .seg button, .thumb, .qty button, .icon-btn, .tick, .side nav a, .tabbar a { -webkit-tap-highlight-color: transparent; }
.chip:active, .pstep:active, .dchip:active, .seg button:active, .icon-btn:active, .side nav a:active, .tabbar a:active { transform: scale(.97); transition: transform .08s; }
.vcard:active, .panel a:active { transform: scale(.985); transition: transform .08s; }

/* type: large display text tightens as it grows */
h1, .page-head h1, .buy-t { letter-spacing: -.015em; }

@media (prefers-reduced-transparency: reduce) {
  .side, .tabbar, .modal .box, .toast, .glass-pill, .glass-bar, .unlock-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: #FFFBF6; }
  .toast { background: #2A1C15; }
}

/* unlock: the card drops away completely before the welcome rises */
.welcome-on .unlock-card { opacity: 0; transform: translateY(70px) scale(.94); filter: blur(6px); visibility: hidden; pointer-events: none;
  transition: opacity .42s cubic-bezier(.4, 0, 1, 1), transform .55s cubic-bezier(.4, 0, 1, 1), filter .45s, visibility 0s .55s; }
.welcome-on .welcome .w1 { transition-delay: .7s; } .welcome-on .welcome .w2 { transition-delay: .9s; } .welcome-on .welcome .w3 { transition-delay: 1.25s; }
.welcome-on .welcome::before { animation-delay: .35s; }

/* ===================== v18: the product page, maison style ===================== */
.lx { --lx-ink: #1F1611; --lx-mute: #7A6A60; --lx-hair: #E3D8CC; --lx-tile: #F1EAE2; max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px) 0; color: var(--lx-ink); }
.lx-crumb { display: flex; gap: 8px; font: 500 10.5px/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--lx-mute); padding: 26px 0 22px; }
.lx-crumb a { color: inherit; text-decoration: none; } .lx-crumb a:hover { color: var(--lx-ink); }
.lx-kick { font: 500 10.5px/1 var(--font-ui); letter-spacing: .32em; text-transform: uppercase; color: var(--lx-mute); margin: 0; }
.lx-kick.light { color: rgba(255, 250, 244, .82); }
.lx-pdp { display: grid; grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 400px); gap: clamp(32px, 5vw, 88px); align-items: start; }
.lx-gal { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lx-tile { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--lx-tile); }
.lx-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
.lx-tile:hover img { transform: scale(1.025); }
.lx-tile.hero { grid-column: 1 / -1; aspect-ratio: 1; }
.lx-tile.wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.lx-tile.pg { display: grid; place-items: center; background: linear-gradient(160deg, #F4EDE5, #EBE1D5); }
.lx-tile.pg .lx-sheet { width: auto; height: 80%; aspect-ratio: 210 / 297; object-fit: contain; box-shadow: 0 1px 2px rgba(50, 30, 15, .1), 0 22px 44px rgba(70, 40, 20, .16); }
.lx-tile.pg:hover .lx-sheet { transform: translateY(-4px); }
.lx-info { position: sticky; top: 92px; display: grid; gap: 18px; padding-bottom: 40px; }
.lx-name { font: 400 clamp(34px, 3vw, 46px)/1.05 var(--font-serif); letter-spacing: -.01em; margin: -4px 0 0; }
.lx-desc { font: 400 15px/1.65 var(--font-ui); color: #4C3D34; margin: 0; }
.lx-read { background: none; border: 0; padding: 0; font: inherit; color: var(--lx-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lx-serv { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.lx-serv li { display: flex; align-items: center; gap: 12px; font: 500 11px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; }
.lx-serv svg { color: var(--lx-ink); opacity: .8; flex: none; }
.lx-sel { position: relative; display: flex; align-items: center; height: 50px; border: 1px solid var(--lx-ink); padding: 0 40px 0 16px; gap: 10px; cursor: pointer; }
.lx-sel span { font: 500 10.5px/1 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--lx-mute); white-space: nowrap; }
.lx-sel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 500 12px/1 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--lx-ink); width: 100%; height: 100%; cursor: pointer; outline: none; text-align: right; text-align-last: right; }
.lx-sel svg { position: absolute; right: 14px; pointer-events: none; }
.lx-sel:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.lx-price { font: 500 18px/1 var(--font-ui); letter-spacing: .04em; margin: 8px 0 0; }
.lx-buy { display: grid; grid-template-columns: 1fr 54px; gap: 8px; }
.lx-btn { height: 54px; border: 0; background: var(--lx-ink); color: #FBF6F0; font: 500 12px/1 var(--font-ui); letter-spacing: .24em; text-transform: uppercase; cursor: pointer; transition: background .25s, transform .1s; width: 100%; }
.lx-btn:hover { background: #3A2A21; } .lx-btn:active { transform: scale(.985); }
.lx-sq { display: grid; place-items: center; border: 1px solid var(--lx-ink); color: var(--lx-ink); transition: background .2s, color .2s; }
.lx-sq:hover { background: var(--lx-ink); color: #FBF6F0; }
.lx-note { font: italic 400 13px/1.5 var(--font-serif); color: var(--lx-mute); margin: -6px 0 0; }
.lx-links { list-style: none; padding: 20px 0 0; margin: 8px 0 0; border-top: 1px solid var(--lx-hair); display: grid; gap: 14px; }
.lx-links a, .lx-links button { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; cursor: pointer; font: 500 11px/1.2 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--lx-ink); text-decoration: none; }
.lx-links a:hover, .lx-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
.lx-ref { font: 400 12px var(--font-serif); color: var(--lx-mute); margin: 0; }
.lx-acc { max-width: 880px; margin: clamp(56px, 7vw, 110px) auto 0; border-top: 1px solid var(--lx-hair); }
.lx-q { border-bottom: 1px solid var(--lx-hair); }
.lx-q > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 2px; background: none; border: 0; cursor: pointer; font: 500 12px/1 var(--font-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--lx-ink); }
.lx-q i { display: grid; transition: transform .4s cubic-bezier(.22, 1, .36, 1); } .lx-q.on i { transform: rotate(45deg); }
.lx-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.22, 1, .36, 1); }
.lx-a > div { overflow: hidden; } .lx-q.on .lx-a { grid-template-rows: 1fr; }
.lx-a p { font: 400 16px/1.7 var(--font-serif); color: #4C3D34; max-width: 62ch; margin: 0 0 24px; }
.lx-ch { list-style: none; padding: 0; margin: 0 0 18px; columns: 2; column-gap: 40px; }
.lx-ch li { padding: 8px 0; border-bottom: 1px solid var(--lx-hair); font: 400 16px var(--font-serif); break-inside: avoid; }
.lx-ch li span, .lx-chap li span { font: 500 10.5px var(--font-ui); letter-spacing: .2em; color: var(--lx-mute); margin-right: 14px; }
.lx-dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin: 0 0 24px; }
.lx-dl dt { font: 500 10.5px/1.8 var(--font-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--lx-mute); }
.lx-dl dd { margin: 0; font: 400 16px/1.5 var(--font-serif); }
.lx-edit { position: relative; margin: clamp(64px, 8vw, 120px) calc(-1 * clamp(16px, 4vw, 56px)) 0; height: clamp(420px, 62vw, 760px); overflow: hidden; }
.lx-edit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-edit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 18, 10, 0) 40%, rgba(30, 18, 10, .45)); }
.lx-edit-in { position: absolute; left: 0; right: 0; bottom: clamp(36px, 6vw, 80px); z-index: 1; display: grid; justify-items: center; gap: 16px; text-align: center; color: #FFF8F0; }
.lx-quote { font: 400 clamp(40px, 6vw, 84px)/1 var(--font-script); margin: 0; }
.lx-line { font: 500 11px/1 var(--font-ui); letter-spacing: .26em; text-transform: uppercase; color: var(--lx-ink); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.lx-line.light { color: #FFF8F0; }
.lx-chap { max-width: 1100px; margin: clamp(56px, 7vw, 110px) auto clamp(80px, 9vw, 140px); display: grid; gap: 26px; justify-items: center; text-align: center; }
.lx-chap ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; border-top: 1px solid var(--lx-hair); }
.lx-chap li { padding: 28px 12px; border-bottom: 1px solid var(--lx-hair); font: 400 clamp(18px, 1.6vw, 22px)/1.25 var(--font-serif); display: grid; gap: 10px; justify-items: center; }
.lx-chap li span { margin: 0; }
.lx-mbar { display: none; }
.lx-drawer { position: fixed; inset: 0; z-index: 120; pointer-events: none; }
.lx-scrim { position: absolute; inset: 0; background: rgba(30, 18, 10, .32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.lx-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #FCF8F3; box-shadow: -30px 0 80px rgba(30, 18, 10, .18); transform: translateX(100%); transition: transform .6s cubic-bezier(.22, 1, .36, 1); display: flex; flex-direction: column; overflow-y: auto; padding: 0 clamp(20px, 3vw, 36px) 32px; }
.lx-drawer.on { pointer-events: auto; } .lx-drawer.on .lx-scrim { opacity: 1; } .lx-drawer.on .lx-panel { transform: none; }
.lx-ph { position: sticky; top: 0; z-index: 1; background: #FCF8F3; display: flex; justify-content: space-between; align-items: center; padding: 22px 0 18px; border-bottom: 1px solid var(--lx-hair); }
.lx-ph h2 { font: 500 12px/1 var(--font-ui); letter-spacing: .26em; text-transform: uppercase; margin: 0; }
.lx-x { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--lx-ink); }
.lx-line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--lx-hair); }
.lx-line-item img { width: 84px; height: 84px; object-fit: cover; background: var(--lx-tile); }
.lx-line-item b { display: block; font: 400 19px/1.2 var(--font-serif); }
.lx-line-item > div > span { font: 500 10.5px/1.6 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--lx-mute); }
.lx-amt { font: 500 14px var(--font-ui); align-self: start; padding-top: 4px; }
.lx-qty { display: inline-flex; align-items: center; border: 1px solid var(--lx-hair); margin-top: 10px; }
.lx-qty button { width: 34px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 16px; color: var(--lx-ink); }
.lx-qty span { min-width: 22px; text-align: center; font: 500 13px var(--font-ui); }
.lx-form { display: grid; gap: 14px; padding-top: 22px; }
.lx-form .input { border-radius: 0; }
.lx-sum { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid var(--lx-hair); margin-top: 4px; }
.lx-sum div { display: flex; justify-content: space-between; font: 400 14px var(--font-ui); }
.lx-sum .tot { font-weight: 600; font-size: 15px; padding-top: 10px; border-top: 1px solid var(--lx-hair); }
@media (max-width: 1000px) {
  .lx-pdp { grid-template-columns: 1fr; gap: 26px; }
  .lx-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; margin: 0 calc(-1 * clamp(16px, 4vw, 56px)); padding: 0 clamp(16px, 4vw, 56px); scrollbar-width: none; }
  .lx-gal::-webkit-scrollbar { display: none; }
  .lx-tile, .lx-tile.hero, .lx-tile.wide { flex: 0 0 86%; aspect-ratio: 1; scroll-snap-align: center; }
  .lx-info { position: static; padding-bottom: 10px; }
  .lx-chap ol { grid-template-columns: 1fr 1fr; } .lx-ch { columns: 1; }
  .lx-mbar { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 248, 243, .9); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-top: 1px solid var(--lx-hair); }
  .lx-mbar span { font: 500 15px var(--font-ui); } .lx-mbar .lx-btn { height: 48px; }
  .lx-dl { grid-template-columns: 1fr; gap: 2px; } .lx-dl dd { margin-bottom: 10px; }
}
@media (max-width: 1000px) { .lx-gal { align-items: flex-start; } .lx-tile, .lx-tile.hero, .lx-tile.wide { height: auto; align-self: flex-start; } .lx-tile.pg .lx-sheet { height: 80%; max-height: 80%; } }
.lx-tile { min-height: 0; } .lx-tile:not(.pg) > img { position: absolute; inset: 0; } .lx-tile.pg .lx-sheet { position: absolute; top: 10%; left: 50%; height: 80%; transform: translateX(-50%); } .lx-tile.pg:hover .lx-sheet { transform: translateX(-50%) translateY(-4px); }

/* v19: snap a book page for Sol */
.snapcard { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; cursor: pointer; background: linear-gradient(160deg, rgba(255,252,248,.9), rgba(250,240,230,.8)); border: 1px solid rgba(160,110,80,.18); box-shadow: 0 10px 26px rgba(90,45,20,.07); margin-bottom: 14px; transition: transform .15s; }
.snapcard:active { transform: scale(.985); }
.snapcard b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 2px; }
.snap-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #E9A27A, #A0451F); box-shadow: 0 8px 18px rgba(160,69,31,.28); }
.msg-img { display: block; width: min(260px, 100%); border-radius: 14px; margin-bottom: 8px; box-shadow: 0 8px 20px rgba(60,30,15,.12); }
.msg-act { margin-top: 10px; }
.askbar .snapbtn { flex: none; display: grid; place-items: center; cursor: pointer; }

/* v20: square tables */
.rt.sq { border-radius: 18px; }
.rt.sq .rt-in { border-radius: 14px; inset: 24%; }

/* v21: the home page book now wears the real cover */
.bk-cover { display: block !important; container-type: inline-size; overflow: hidden; }
.bk-cover::after { display: none !important; }
.bk-rose { position: absolute; right: -4%; top: 0; width: 66%; height: 94%; object-fit: contain; object-position: top right; pointer-events: none; }
.bk-s1, .bk-s2 { position: absolute; font-family: "Hurricane", cursive; color: #121212; line-height: 1; transform: rotate(-4deg); transform-origin: left bottom; white-space: nowrap; }
.bk-s1 { left: 17%; top: 31%; font-size: 30cqw; }
.bk-s2 { left: 44%; top: 44%; font-size: 52cqw; }
.bk-wp { position: absolute; left: 20%; top: 76.5%; font: 600 4cqw/1 "Cormorant Garamond", Georgia, serif; letter-spacing: .05em; color: #121212; white-space: nowrap; }

.bk-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bk-cover { overflow: visible !important; } .bk-cover::before { z-index: 2; }
.lx-tile.hero { aspect-ratio: 3 / 2; }
@media (max-width: 1000px) { .lx-tile.hero { aspect-ratio: 1; } }

/* v22: the welcome is about the couple */
.welcome .w1 { font: 500 12px/1 var(--font-ui); letter-spacing: .42em; }
.welcome .w3 { font: 400 clamp(64px, 11vw, 150px)/1.05 'Hurricane', var(--font-script), cursive; font-style: normal; color: var(--ink); margin: 6px 0 4px; padding: 0 4vw; }
.welcome .w4 { font: italic 400 clamp(18px, 2vw, 24px)/1.3 var(--font-serif); color: var(--ink-2, #4A3A31); }
.welcome-on .welcome .w4 { transition-delay: 1.5s; }
.welcome-on .welcome::before { background: rgba(252, 246, 239, .96); }
.welcome .w3 { color: #1E140F; }

/* v27: delete all data once the wedding is finished */
.datazone { margin-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 40px; align-items: center; padding: 28px 30px; border: 1px solid rgba(160, 52, 40, .28); border-radius: 18px; background: linear-gradient(180deg, rgba(160, 52, 40, .045), rgba(160, 52, 40, .02)); }
.datazone h2 { font-size: 28px; font-weight: 400; margin: 6px 0 8px; }
.datazone p { margin: 0; max-width: 52ch; }
.datazone .dz-act { display: grid; gap: 10px; justify-items: stretch; }
.btn.danger { background: #8E2F25; color: #fff; border-color: #8E2F25; }
.btn.danger:hover { background: #7A271F; }
.btn.danger[data-armed="1"] { background: #5E1D17; }
@media (max-width: 720px) { .datazone { grid-template-columns: 1fr; padding: 22px 20px; } }

/* v28: Lisa reads book pages only */
.ask.lisa .snapcard.big { padding: 22px 24px; margin: 18px 0 6px; }
.lisa-steps { list-style: none; counter-reset: l; padding: 0; margin: 18px 0 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lisa-steps li { counter-increment: l; display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(42, 28, 21, .08); font-size: 14px; }
.lisa-steps li::before { content: counter(l); font: 400 22px/1 var(--font-serif); color: var(--accent, #A0451F); }
.lisa-steps li span { color: var(--ink-2, #5A4639); font-size: 13px; }
.lisa-cap { margin: 4px 0 18px; }
@media (max-width: 640px) { .lisa-steps { grid-template-columns: 1fr; } }

/* v32: Snap for Lisa at the top of every page she can fill in */
.psnap { margin: 0 0 24px; max-width: 780px; }
.psnap-btn { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px 12px 12px; border-radius: 18px; cursor: pointer; background: linear-gradient(160deg, rgba(255,252,248,.94), rgba(250,238,226,.86)); border: 1px solid rgba(160,110,80,.2); box-shadow: 0 8px 22px rgba(90,45,20,.06); transition: transform .15s var(--ease), box-shadow .2s var(--ease); }
.psnap-btn:hover { box-shadow: 0 12px 28px rgba(90,45,20,.1); }
.psnap-btn:active { transform: scale(.985); }
.psnap-btn:focus-within, .psnap-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.psnap-orb { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: radial-gradient(circle at 30% 25%, #E9A27A, #A0451F); box-shadow: 0 6px 14px rgba(160,69,31,.26); }
.psnap-t b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 2px; }
.psnap-t span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--ink-2, #5A4639); }
.psnap-go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; background: var(--ink, #2A1C15); color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.psnap-res { margin-top: 12px; display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: start; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.72); border: 1px solid rgba(42,28,21,.08); }
.psnap-res img { width: 92px; height: 120px; object-fit: cover; border-radius: 10px; box-shadow: 0 6px 16px rgba(60,30,15,.14); }
.psnap-msg p { margin: 2px 0 12px; font-size: 15px; line-height: 1.5; }
.psnap-wait { display: flex; align-items: center; gap: 10px; color: var(--ink-2, #5A4639); }
.psnap-res .row { gap: 14px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .psnap { margin: 0 0 16px; }
  .psnap-btn { grid-template-columns: 40px 1fr; padding: 11px 12px; }
  .psnap-orb { width: 40px; height: 40px; border-radius: 12px; }
  .psnap-go { display: none; }
  .psnap-t span { font-size: 13px; }
  .psnap-res { grid-template-columns: 70px 1fr; gap: 12px; padding: 12px; }
  .psnap-res img { width: 70px; height: 92px; }
}

/* v32: edit, resize, reshape or remove any table */
.rt-edit { justify-self: center; display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 4px 10px; min-height: 26px; border-radius: 999px; border: 1px solid rgba(160,69,31,.28); background: #FFFDF9; color: var(--accent, #A0451F); font: 500 11.5px/1 var(--font-ui, inherit); cursor: pointer; transition: background .2s, color .2s; position: relative; z-index: 2; }
.rt-edit:hover { background: var(--accent, #A0451F); color: #fff; }
.rt-edit:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lt-board .rt-edit { margin-top: 0; }
@media (hover: none) { .rt-tools { display: none; } }
.tseg { border: 0; padding: 0; margin: 0; min-width: 0; }
.tseg legend { padding: 0; margin-bottom: 8px; }
.tseg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tseg-o { position: relative; display: grid; justify-items: center; gap: 6px; padding: 14px 8px 12px; border-radius: 16px; border: 1px solid var(--line-2); background: #FFFCF6; cursor: pointer; text-align: center; transition: border-color .2s, box-shadow .2s, background .2s; }
.tseg-o input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tseg-o b { font-weight: 500; font-size: 15px; }
.tseg-o:has(input:checked) { border-color: var(--accent, #A0451F); background: var(--accent-soft, #F6E6DA); box-shadow: 0 0 0 1px var(--accent, #A0451F) inset; }
.tseg-o:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tseg-ic { width: 34px; height: 34px; border: 1.5px solid var(--accent, #A0451F); background: rgba(255,255,255,.6); }
.tseg-ic.round { border-radius: 50%; }
.tseg-ic.square { border-radius: 7px; }
.tseg-ic.long { width: 54px; height: 20px; margin: 7px 0; border-radius: 5px; }
.tstep { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; max-width: 240px; }
.tstep .input { text-align: center; font-size: 18px; font-variant-numeric: tabular-nums; }
.tstep .icon-btn { font-size: 20px; line-height: 1; }
.tedit-act { justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.btn.tdel { color: #8E2F25; border-color: rgba(142,47,37,.35); }
.btn.tdel:hover { background: rgba(142,47,37,.08); }

/* v33: Settings page */
.set-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.set-side { display: grid; gap: 20px; }
.set-col { display: grid; gap: 12px; align-content: start; }
.set-col h3 { margin: 0; }
.set-col p { margin: 0; }
.thm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.thm { position: relative; display: grid; gap: 10px; padding: 10px 10px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, transform .15s var(--ease); }
.thm:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.thm:active { transform: scale(.98); }
.thm.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow); }
.thm-sw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px; border-radius: 11px; border: 1px solid rgba(0,0,0,.06); }
.thm-sw i { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.thm-n { font-size: 14.5px; font-weight: 500; padding: 0 2px; }
.thm-tick { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.thm-own { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; margin-top: 6px; padding: 14px; border-radius: 16px; border: 1px dashed var(--line-2); }
.thm-own.on { border-style: solid; border-color: var(--accent); }
.thm-own b { display: block; font-weight: 500; }
.thm-own .muted { display: block; }
.thm-pick { position: relative; width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(from 0deg, #E06C75, #E5A85C, #E8D36A, #8FC48B, #6FB3C6, #7C8CD6, #B08AD3, #E06C75); padding: 6px; cursor: pointer; }
.thm-pick::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--c); border: 3px solid #fff; pointer-events: none; }
.thm-pick input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.thm-pick:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.set-dl { margin: 0; display: grid; gap: 0; }
.set-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.set-dl div:last-child { border-bottom: 0; }
.set-dl dt { color: var(--muted); font-size: 14px; }
.set-dl dd { margin: 0; font-weight: 500; text-align: right; }
.set-col .btn { justify-self: start; }
.mt-r { gap: 10px; }
@media (max-width: 900px) {
  .set-grid { grid-template-columns: 1fr; gap: 16px; }
  .set-side { gap: 16px; }
  .thm-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .thm-own { grid-template-columns: 52px 1fr; }
  .thm-own .pill { grid-column: 2; justify-self: start; }
  .thm-pick { width: 52px; height: 52px; }
}

/* v33: the bride's own colours (set on <html> only inside the planner) */
html[data-theme] .app { background: var(--paper); }
html[data-theme] .side { background: linear-gradient(180deg, color-mix(in srgb, var(--surface) 88%, transparent), color-mix(in srgb, var(--paper-2) 82%, transparent)); color: var(--ink); scrollbar-color: color-mix(in srgb, var(--accent) 30%, transparent) transparent; }
html[data-theme] .side nav a { color: color-mix(in srgb, var(--ink) 78%, transparent); }
html[data-theme] .side nav a.on { color: var(--ink); }
html[data-theme] .mobile-top { background: color-mix(in srgb, var(--paper) 90%, transparent); }
html[data-theme] .tabbar { background: color-mix(in srgb, var(--surface) 82%, transparent); }
html[data-theme] .tabbar a { color: color-mix(in srgb, var(--ink) 55%, transparent); }
html[data-theme] .tabbar a.on { color: var(--ink); }
html[data-theme] .tabbar a.ai { color: var(--accent); }
html[data-theme] .ask-orb, html[data-theme] .tabbar a.ai .orb, html[data-theme] .snap-ic, html[data-theme] .psnap-orb { background: var(--orb); }
html[data-theme] .tabbar a.ai .orb { border-color: var(--surface); }
html[data-theme] .btn:not(.ghost):not(.light):not(.glass) { box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 22%, transparent); }
html[data-theme] .qa.dream, html[data-theme] .dreamcta { background: linear-gradient(120deg, var(--deep) 0%, var(--accent) 70%, var(--accent-2) 100%); }
html[data-theme] .rt-edit, html[data-theme] .bookcue { border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
html[data-theme] .tc-add { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
html[data-theme] .rt.over .rt-in { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent), var(--shadow); }
html[data-theme] .psnap-btn { background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 94%, transparent), color-mix(in srgb, var(--accent-soft) 86%, transparent)); border-color: color-mix(in srgb, var(--accent) 20%, transparent); }
html[data-theme] .snapcard { background: linear-gradient(160deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--accent-soft) 80%, transparent)); }

/* v33: Snap for Lisa is a small pill on the right of each page heading */
.psnap-pill { display: inline-flex; align-items: center; gap: 9px; padding: 5px 15px 5px 5px; min-height: 44px; border-radius: 999px; cursor: pointer; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent); box-shadow: 0 6px 16px rgba(90,45,20,.07); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: transform .15s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.psnap-pill:hover { border-color: var(--accent); box-shadow: 0 10px 22px rgba(90,45,20,.1); }
.psnap-pill:active { transform: scale(.97); }
.psnap-pill:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.psnap-pill .psnap-orb { width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 4px 10px rgba(160,69,31,.25); }
.greet-r .psnap-pill { margin-right: 4px; }
.psnap-res { margin: -8px 0 24px; max-width: 780px; }
@media (max-width: 900px) {
  .page-head:has(.psnap-pill) { flex-wrap: nowrap; align-items: center; }
  .page-head:has(.psnap-pill) > .stack { min-width: 0; }
  .page-head .row:has(.psnap-pill) { flex: none; }
  .psnap-pill { flex-direction: column; gap: 3px; padding: 0; min-height: 0; border: 0; background: none; box-shadow: none; font-size: 10.5px; letter-spacing: .02em; color: var(--accent); }
  .psnap-pill .psnap-orb { width: 44px; height: 44px; border-radius: 50%; }
  .psnap-pill:focus-within { outline-offset: 2px; border-radius: 12px; }
  .psnap-res { margin: 0 0 16px; }
}
html[data-theme] .panel.soft { background: linear-gradient(160deg, var(--paper-2), var(--blush)); }
html[data-theme] .progress-ring { background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--blush) 0); }
html[data-theme] .gal-main { background: linear-gradient(160deg, var(--paper-2), var(--blush)); }

/* v34: share cards, three designs per card */
.modal .share2 { max-width: 940px; }
.share-kinds { margin: 14px 0 20px; flex-wrap: wrap; }
.share-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
.share2 .shareprev { aspect-ratio: 4 / 5; width: 100%; max-width: 360px; border-radius: 12px; background: var(--paper-2); box-shadow: 0 18px 40px rgba(60, 30, 10, .18); display: grid; place-items: center; overflow: hidden; }
.share2 .shareprev img { width: 100%; height: 100%; object-fit: contain; background: var(--paper-2); }
.share2 .shareprev img.sp-fade { opacity: 0; transform: scale(.985); transition: opacity .28s var(--ease), transform .4s var(--ease); }
.share2 .shareprev img.sp-fade.sp-on { opacity: 1; transform: none; }
.share-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.share-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.sdes { display: grid; gap: 6px; padding: 6px 6px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: center; transition: border-color .2s, box-shadow .2s, transform .12s var(--ease); }
.sdes:active { transform: scale(.96); }
.sdes.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.sdes-im { display: block; aspect-ratio: 4 / 5; border-radius: 7px; overflow: hidden; background: linear-gradient(110deg, var(--paper-2) 30%, var(--surface) 50%, var(--paper-2) 70%); background-size: 200% 100%; animation: sdload 1.2s linear infinite; }
.sdes-im canvas, .sdes-im img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sdes-im:has(canvas), .sdes-im:has(img) { animation: none; }
@keyframes sdload { to { background-position: -200% 0; } }
.sdes-n { font-size: 13px; font-weight: 500; line-height: 1.2; }
.share-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-acts .btn { justify-content: center; }
.share-more { display: grid; gap: 10px; justify-items: start; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
@media (max-width: 760px) {
  .share-body { grid-template-columns: 1fr; gap: 18px; }
  .share2 .shareprev { max-width: 100%; }
  .share-designs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .sdes { padding: 4px 4px 6px; }
  .sdes-n { font-size: 11.5px; }
  .share-acts { grid-template-columns: 1fr; }
  .share-kinds { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) { .share2 .shareprev img.sp-fade { transition: opacity .2s; transform: none; } .sdes-im { animation: none; } }
.modal .box:has(.share2) { max-width: 980px; }
.share2 .shareprev { display: block; }
.share2 .shareprev > span { display: grid; place-items: center; height: 100%; }
.share2 .shareprev img { display: block; object-fit: cover; }
@media (max-width: 760px) {
  .share2 .share-kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: 22px; overflow: visible; }
  .share2 .share-kinds button { justify-content: center; text-align: center; }
  .share2 .shareprev { max-width: 300px; margin: 0 auto; }
}

/* v35: Namibia or South Africa */
.cpick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cpill { display: grid; gap: 2px; text-align: left; padding: 14px 16px; min-height: 64px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s, transform .12s var(--ease); }
.cpill b { font-weight: 500; font-size: 16px; color: var(--ink); }
.cpill span { font-size: 13px; color: var(--muted); }
.cpill:hover { border-color: var(--accent); }
.cpill:active { transform: scale(.98); }
.cpill.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.cpill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.thm-n small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.thm { align-content: start; }
.thm-sw { align-items: center; }
.thm-sw i { height: auto; width: 100%; align-self: center; }
@media (max-width: 420px) { .intro-sub { letter-spacing: .28em; font-size: 12px; padding-left: .28em; } }
/* v37: the script's long tails (the y in Simply) stay visible while the name writes itself */
.intro-word { clip-path: inset(-.3em 100% -.6em -.3em); animation-name: iwrite2; }
@keyframes iwrite2 { to { clip-path: inset(-.3em -.3em -.6em -.3em); } }
@media (prefers-reduced-motion: reduce) { .intro-word { clip-path: none; animation: none; } }

/* ===== Planner sales demo (Antoinette). Only used by demo-antoinette.html; plx- classes appear nowhere else. ===== */
.plx-side { display: grid; justify-items: center; gap: 9px; margin: 0 4px; padding: 15px 18px 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(11, 61, 122, .10); box-shadow: 0 1px 2px rgba(11, 61, 122, .06), 0 10px 26px rgba(11, 61, 122, .07); text-decoration: none; transition: box-shadow .3s, transform .3s; }
.plx-side:hover { transform: translateY(-1px); box-shadow: 0 2px 4px rgba(11, 61, 122, .08), 0 14px 30px rgba(11, 61, 122, .10); }
.plx-eyebrow { font: 500 10.5px/1 var(--font-ui); letter-spacing: .28em; text-transform: uppercase; color: #6B7A8F; margin-right: -.28em; }
.plx-side img { width: 100%; max-width: 160px; height: auto; display: block; }
.plx-top { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.plx-top .plx-x { width: 1px; height: 26px; background: rgba(46, 24, 16, .2); }
.plx-top img { width: 44px; height: auto; padding: 6px 7px; background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(11, 61, 122, .12); box-sizing: content-box; display: block; }
.plx-card { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; }
.plx-logo { background: #fff; border-radius: 16px; padding: 18px 24px; border: 1px solid rgba(11, 61, 122, .08); display: grid; place-items: center; }
.plx-logo img { width: clamp(150px, 15vw, 200px); height: auto; display: block; }
.plx-copy { display: grid; gap: 8px; justify-items: start; }
.plx-copy h3 em { color: #0B3D7A; }
.plx-copy p { max-width: 52ch; }
.plx-back { color: var(--muted) !important; margin-top: 2px; }
.plx-headlogo { width: 110px; height: auto; background: #fff; padding: 10px 14px; border-radius: 14px; box-sizing: content-box; border: 1px solid rgba(11, 61, 122, .08); display: block; }
.plx-unlock { display: grid; place-items: center; margin: 0; }
.plx-by { display: flex; align-items: center; gap: 14px; width: min(240px, 100%); margin: 4px auto 6px; color: var(--accent); }
.plx-by i { flex: 1; height: 1px; background: currentColor; opacity: .28; }
.plx-by .script { font-size: 30px; line-height: 1; white-space: nowrap; }
.plx-unlock img { width: 168px; height: auto; background: #fff; padding: 16px 22px; border-radius: 18px; box-sizing: content-box; box-shadow: 0 1px 2px rgba(11, 61, 122, .08), 0 10px 26px rgba(11, 61, 122, .08); display: block; }
.welcome .w5 { display: grid; justify-items: center; gap: 10px; margin-top: 22px; }
.welcome .w5 > span { font: 500 11px/1 var(--font-ui); letter-spacing: .3em; text-transform: uppercase; color: #6B7A8F; margin-right: -.3em; opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.welcome .w5 img { width: clamp(150px, 22vw, 200px); height: auto; background: #fff; padding: 14px 18px; border-radius: 16px; box-sizing: content-box; box-shadow: 0 12px 30px rgba(11, 61, 122, .10); }
.welcome-on .welcome .w5 { transition-delay: 1.9s; }
.mobile-top .plx-top { flex-direction: row; align-items: center; gap: 12px; }
@media (max-width: 640px) {
  .plx-card { grid-template-columns: 1fr; gap: 18px; }
  .plx-logo { justify-self: start; padding: 12px 16px; border-radius: 14px; }
  .plx-logo img { width: 132px; }
  .plx-copy h3 { font-size: 30px; }
  .plx-headlogo { width: 84px; padding: 8px 10px; }
}
.mobile-top .plx-top .script { white-space: nowrap; font-size: 28px; }
.mobile-top .plx-top img { width: 36px; padding: 6px 7px; }
.mobile-top:has(.plx-top) a.icon-btn[href="#app-settings"] { display: none; }

/* v38: layout tidy-up */
.dash > *, .panel, .tbl-wrap { min-width: 0; }
.tbl-wrap { max-width: 100%; }
.decorp { display: grid; gap: 6px; justify-items: start; align-content: start; }
.decorp .eyebrow { margin-bottom: 2px; }
.decorp b { line-height: 1.05; }
/* head table: the label sits above the names */
.ht-l { display: grid; gap: 4px; }
@media (max-width: 640px) {
  /* guests: each guest is a small card, name on top, reply and buttons below */
  .gtbl thead { display: none; }
  .gtbl, .gtbl tbody { display: block; }
  .gtbl tr { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .gtbl td { display: block; border: 0; padding: 0; }
  .gtbl td:first-child { grid-column: 1 / -1; }
  .gtbl td.hm { display: none; }
  .gtbl td .owner { width: 100%; max-width: 180px; }
  #gs { width: 100% !important; flex: 1 1 100%; }
  /* checklist: the task gets the full width, "Who?" sits under it */
  .task { grid-template-columns: 36px minmax(0, 1fr); row-gap: 6px; padding: 10px 0; }
  .task .right { grid-column: 2; justify-self: start; }
  .task .owner { min-height: 32px; font-size: 13px; }
  /* dashboard events: a clean vertical timeline */
  .events { grid-template-columns: 1fr; gap: 18px; border-top: 0; border-left: 1px solid var(--line-2); padding-left: 20px; margin-left: 5px; }
  .event { padding: 0; }
  .event::before { top: 4px; left: -26px; }
}
.dash { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tbl-wrap { position: relative; }
@media (max-width: 640px) {
  .pcard .task { grid-template-columns: 36px minmax(0, 1fr); row-gap: 6px; padding: 10px 0; min-height: 0; }
  .pcard .task .right { grid-column: 2; justify-self: start; }
  .pcard .owner { max-width: 150px; }
}
@media (max-width: 640px) {
  .pcard .task { grid-template-columns: 30px minmax(0, 1fr) 76px; column-gap: 8px; padding: 8px 0; }
  .pcard .task .right { grid-column: 3; justify-self: end; }
  .pcard .owner { width: 76px; max-width: 76px; min-height: 30px; font-size: 12px; padding: 2px 20px 2px 9px; background-position: right 7px center; }
  .pcard .task .t { font-size: 15px; line-height: 1.35; }
}

/* v43: shorter Overview and Checklist on phones */
.tg { border: 0; }
.tg > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; padding: 14px 0 8px; margin: 10px 0 0; border-bottom: 1px solid var(--line); }
.tg > summary::-webkit-details-marker { display: none; }
.tg:first-of-type > summary { margin-top: 0; }
.tg-n { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-ui); letter-spacing: .02em; text-transform: none; color: var(--muted); }
.tg-n svg { transition: transform .25s var(--ease); transform: none; }
.tg[open] .tg-n svg { transform: rotate(180deg); }
.tg > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.dash-morebtn { display: none; }
@media (max-width: 640px) {
  .dash:not(.more-open) > .m-more { display: none; }
  .dash > .m-pair { grid-column: span 6; }
  .dash > .m-pair b { font-size: 30px; }
  .dash > .m-pair .small, .dash > .m-pair .muted { font-size: 12.5px; }
  .dash-morebtn { display: flex; justify-content: center; gap: 8px; grid-column: 1 / -1; width: 100%; }
  .dash-morebtn svg { transform: none; transition: transform .25s var(--ease); }
  .dash.more-open .dash-morebtn svg { transform: rotate(180deg); }
  .dash.more-open > .dash-morebtn { order: 99; }
}
@media (max-width: 640px) {
  /* checklist sections read as clear drop-downs */
  .tg { margin: 10px 0 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
  .tg > summary { margin: 0; padding: 0 14px; min-height: 54px; border-bottom: 0; font-size: 12px; }
  .tg[open] > summary { border-bottom: 1px solid var(--line); background: var(--accent-soft); }
  .tg .tg-n { gap: 8px; }
  .tg .tg-n svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--paper-2); color: var(--accent); }
  .tg > .task { padding-left: 10px; padding-right: 10px; }
  .tg > .task:last-child { border-bottom: 0; }
}
.tg-n { white-space: nowrap; flex: none; } .tg > summary > span:first-child { min-width: 0; }

/* ===================== v45 phone redesign (planner on phones, 640 px and below) =====================
   Every rule below points to Simply Us/research/mobile-design-rules.md (R numbers).
   Desktop is untouched: everything sits inside the phone media queries. */
@property --seg-fade { syntax: "<length>"; inherits: false; initial-value: 0px; }
@keyframes v45-segfade { from { --seg-fade: 36px; } to { --seg-fade: 0px; } }
@keyframes v45-sheet { from { transform: translateY(100%); } to { transform: none; } }
@media (max-width: 640px) {
  /* R2.1 one spacing scale */
  :root { --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; }

  /* ---------- top bar: R6.5, R3.1, R5.3 ---------- */
  .mobile-top { min-height: 60px; padding: max(8px, env(safe-area-inset-top)) var(--s4) 8px; margin-bottom: var(--s4); }
  .mobile-top .brand { min-height: 44px; display: inline-flex; align-items: center; }
  .mt-r { gap: var(--s1); align-items: center; }
  .mt-av { width: 44px; height: 44px; align-items: center; justify-content: center; }

  /* ---------- page titles and type scale: R4.1, R4.3 ---------- */
  .main h1, .greet h1 { font-size: 34px; line-height: 1.12; }
  .page-head { margin-bottom: var(--s4); gap: var(--s3); align-items: center; }
  .panel h3 { font-size: 24px; line-height: 1.15; }
  .eyebrow { font-size: 12px; line-height: 16px; }
  .psnap-pill { font-size: 12px; gap: var(--s1); }                         /* R4.2: no 10.5 px label */
  .rt-edit, .tabbar a, .chip.guest .av, .sdes-n, .rt-in .couplex, .count span, .pl em { font-size: 12px; } /* R4.2 */

  /* ---------- cards: R7.1, R2.3 ---------- */
  .main .panel { padding: var(--s4); border-radius: 16px; }
  .kpis { gap: var(--s3); }
  .dash { gap: var(--s3); }

  /* ---------- touch targets: R3.1, R3.2, R3.4 ---------- */
  .btn.sm { min-height: 44px; }
  .main .btn:not(.sm), .modal .btn:not(.sm) { min-height: 48px; }
  .link.small, button.link, .spread > a.link, .share-more .link { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .chip, .evpick .chip { min-height: 44px; min-width: 44px; justify-content: center; }
  .seg button { min-height: 44px; min-width: 44px; padding: 0 var(--s3); }
  .tick { min-width: 44px; min-height: 44px; }
  .donetoggle { min-height: 44px; }
  .tbl .link.small { min-width: 44px; justify-content: flex-end; }
  .icon-btn, .save { min-width: 44px; min-height: 44px; }
  .check { min-height: 44px; }
  /* small-looking controls keep their look but get a 44 px hit area (R3.1) */
  button.pill, .rt-edit { position: relative; }                  /* .seatx and .unlock-x are already positioned */
  button.pill::after, .unlock-x::after { content: ""; position: absolute; inset: -8px -4px; }
  .rt-edit::after { content: ""; position: absolute; inset: -16px -8px; }      /* 20 px tall on screen inside a zoomed table, so a bigger reach */
  .seatx.on::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; }

  /* ---------- segmented controls: R5.2 (show there is more), R3.1 ---------- */
  .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(max-content, 1fr); flex-wrap: nowrap; max-width: 100%; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { scroll-snap-align: start; white-space: nowrap; }
  @supports (animation-timeline: scroll()) {
    .seg { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--seg-fade)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--seg-fade)), transparent); animation: v45-segfade linear both; animation-timeline: scroll(self inline); }
  }
  .so-grp .seg, .seg.share-kinds { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; border-radius: 22px; -webkit-mask-image: none; mask-image: none; animation: none; }

  /* ---------- tab bar: R6.1, R6.2, R6.3, R5.3, R3.2 ---------- */
  .tabbar { padding: 4px var(--s2) env(safe-area-inset-bottom); }
  .tabbar a { min-height: 56px; gap: 2px; line-height: 16px; letter-spacing: 0; }
  .tabbar a:not(.ai) svg { box-sizing: content-box; width: 22px; height: 22px; padding: 5px 20px; border-radius: 999px; transition: background-color .2s var(--ease); }
  .tabbar a.on:not(.ai) svg { background: color-mix(in srgb, var(--accent) 14%, transparent); }
  .tabbar a.on { font-weight: 600; }
  .tabbar a.ai { color: var(--accent); }                            /* R4.5: the old light peach label sat on a light bar at about 1.6:1 */

  /* ---------- lists: checklist rows R7.2, R4.4, R3.1 ---------- */
  .task, .tg > .task, .pcard .task { grid-template-columns: 44px minmax(0, 1fr); column-gap: var(--s2); row-gap: var(--s1); padding: var(--s3) var(--s3) var(--s3) var(--s1); align-items: start; min-height: 0; }
  .task .tick, .pcard .task .tick { width: 44px; height: 44px; margin-top: -10px; }
  .task .t, .pcard .task .t { font-size: 16px; line-height: 1.4; padding-top: 1px; }
  .task .right, .pcard .task .right { grid-column: 2; justify-self: start; padding: 0; }
  .task .owner, .pcard .task .owner { min-height: 44px; font-size: 16px; padding: 0 32px 0 var(--s3); border-radius: 999px; background-color: transparent; width: auto; min-width: 112px; max-width: 100%; }

  /* guests: R4.4 (no zoom on tap), R3.1, R7.2 */
  .gtbl tr { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s3); padding: var(--s3) 0; }
  .gtbl td .owner { max-width: none; width: 100%; min-height: 44px; font-size: 16px; padding: 0 32px 0 var(--s3); }
  .gtbl b { font-size: 17px; }

  /* ---------- tables become stacked rows: R7.3, R5.2 ---------- */
  .panel:has([data-act=additem]) .tbl-wrap, .panel:has([data-act=addcontrib]) .tbl-wrap { overflow: visible; margin: 0; }
  .panel:has([data-act=additem]) .tbl, .panel:has([data-act=addcontrib]) .tbl,
  .panel:has([data-act=additem]) .tbl tbody, .panel:has([data-act=addcontrib]) .tbl tbody,
  .panel:has([data-act=additem]) .tbl thead { display: block; width: 100%; }
  .panel:has([data-act=additem]) .tbl tr, .panel:has([data-act=addcontrib]) .tbl tbody tr { display: grid; border-bottom: 1px solid var(--line); }
  .panel:has([data-act=additem]) .tbl td, .panel:has([data-act=additem]) .tbl th,
  .panel:has([data-act=addcontrib]) .tbl td { display: block; border: 0; padding: 0; }
  .panel:has([data-act=additem]) .tbl .hm, .panel:has([data-act=addcontrib]) .tbl .hm { display: none; }
  /* budget: name and note on the left, amount and Edit on the right (two-line row, R7.2) */
  .panel:has([data-act=additem]) .tbl tr { grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s3); align-items: center; padding: var(--s3) 0; }
  .panel:has([data-act=additem]) .tbl thead tr { padding: var(--s2) 0; }
  .panel:has([data-act=additem]) .tbl th:last-child { display: none; }
  .panel:has([data-act=additem]) .tbl th.num { text-align: right; }
  .panel:has([data-act=additem]) .tbl tbody td:first-child { grid-row: 1 / 3; line-height: 1.35; }
  .panel:has([data-act=additem]) .tbl tbody td:first-child b { font-size: 16px; }
  .panel:has([data-act=additem]) .tbl tbody td.num { grid-column: 2; grid-row: 1; text-align: right; font-size: 16px; font-variant-numeric: tabular-nums; }
  .panel:has([data-act=additem]) .tbl tbody td:last-child { grid-column: 2; grid-row: 2; justify-self: end; }
  /* family: who on top, then Promised, Received, Thanked side by side with their labels */
  .panel:has([data-act=addcontrib]) .tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .panel:has([data-act=addcontrib]) .tbl tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "who who act" "pro rec tha"; gap: var(--s2) var(--s3); padding: var(--s4) 0; align-items: start; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(1) { grid-area: who; line-height: 1.35; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(1) b { font-size: 17px; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(3) { grid-area: pro; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(4) { grid-area: rec; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(5) { grid-area: tha; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(6) { grid-area: act; justify-self: end; margin: -12px -2px 0 0; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(n+3):nth-child(-n+5) { text-align: left; font-size: 16px; font-variant-numeric: tabular-nums; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(n+3):nth-child(-n+5)::before { display: block; margin-bottom: var(--s1); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(3)::before { content: "Promised"; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(4)::before { content: "Received"; }
  .panel:has([data-act=addcontrib]) .tbl td:nth-child(5)::before { content: "Thanked"; }

  /* ---------- sheets: R9.1, R9.2, R8.4, R11.1 ---------- */
  .modal .box { border-radius: 28px 28px 0 0; max-height: 92svh; animation: v45-sheet .3s var(--ease) both; }
  .modal .box::before { width: 32px; height: 4px; border-radius: 4px; margin-top: var(--s2); }
  .modal .box .in { padding: var(--s2) var(--s4) var(--s5); gap: var(--s4); }
  .modal .x { margin: var(--s2) var(--s3) -52px 0; }
  .modal form > .row:last-child:has(> [type=submit]) {
    position: sticky; bottom: calc(-1 * var(--s5)); z-index: 2; margin: var(--s2) calc(-1 * var(--s4)) calc(-1 * var(--s5)); padding: var(--s3) var(--s4) calc(var(--s5) + env(safe-area-inset-bottom));
    background: linear-gradient(to top, var(--surface) 80%, transparent); }
  /* one-button forms: the button itself sticks, ringed in the sheet colour so fields scroll cleanly under it */
  .modal form > .btn[type=submit]:last-child { position: sticky; bottom: calc(var(--s3) + env(safe-area-inset-bottom)); z-index: 2; width: 100%; margin-top: var(--s2);
    box-shadow: 0 0 0 var(--s4) var(--surface), 0 -20px 18px 6px var(--surface); }
  .modal form > .row:last-child:has(> [type=submit]) { display: flex; gap: var(--s2); }
  .modal form > .row:last-child:has(> [type=submit]) .btn { flex: 1 1 0; min-height: 48px; }
  .modal .input, .modal select, .modal textarea { min-height: 48px; font-size: 16px; }

  /* ---------- seating floor on small screens: R3.1 (28 pt floor), R4.2 ---------- */
  .floor { padding: var(--s3); }
  .floor-tables { gap: var(--s2); }
  .rt { zoom: .78; }
  .rt-in span { font-size: 15px; }                                 /* 15 x .78 = about 12 px on screen */
  .rt-in b { font-size: 20px; }
  .seatx { font-size: 15.5px; }                                    /* initials, about 12 px on screen inside a 28 px seat */
  .rt-edit, .rt.add { font-size: 15.5px; }                         /* about 12 px on screen */
  .waiting .chips { gap: var(--s2); }
  .chip.guest { padding-right: var(--s3); font-size: 14px; }

  /* ---------- the code page stays above the keyboard: R8.5 ---------- */
  .unlock-scene { place-items: start center; overflow-y: auto; padding: max(var(--s4), env(safe-area-inset-top)) var(--s4) var(--s4); }
  .unlock-card { margin-top: var(--s4); padding: var(--s5) var(--s4) var(--s4); border-radius: 28px; }
}
@media (max-width: 374px) {
  .rt { zoom: .72; }                                               /* 360 px phones: two tables still fit side by side; seats 26 px, above the 24 px floor (R3.5) */
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .modal .box { animation: none; }                                  /* R11.2 */
  .tabbar a:not(.ai) svg { transition: none; }
}

/* ===== v50 phone: Lisa lives only in the middle of the tab bar; the "Snap for Lisa" button beside page titles is hidden on phones (Francois, 25 Nov 2026) ===== */
@media (max-width: 640px) {
  .psnap-pill { display: none !important; }
}

/* Founding price and delivery choice (Dec 2026) */
.pr-was { color: var(--lx-mute, #8a7d70); font-weight: 400; margin-left: .35em; text-decoration-thickness: 1px; }
.lx-found { font: italic 400 13px/1.5 var(--font-serif); color: var(--lx-mute, #8a7d70); margin: 6px 0 0; }
.sc-buy .pr-was { font-size: .62em; }
.lx-dopts { border: 0; padding: 0; margin: 0 0 6px; display: grid; gap: 8px; }
.lx-dopts legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; padding: 0; }
.lx-dopt { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2, #CFC1AF); background: var(--surface, #FFFDF9); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.lx-dopt b { font-weight: 500; font-size: 15px; }
.lx-dopt span { grid-column: 1; font-size: 12.5px; color: var(--muted, #6B6156); line-height: 1.4; }
.lx-dopt em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 500; font-size: 14px; white-space: nowrap; }
.lx-dopt[aria-pressed="true"] { border-color: var(--ink, #231F1A); box-shadow: inset 0 0 0 1px var(--ink, #231F1A); }
.lx-dopt:focus-visible { outline: 2px solid var(--accent, #87533F); outline-offset: 2px; }
.lx-dnote { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--paper-2, #EFE6DA); font-size: 13px; line-height: 1.45; color: var(--ink-2, #4A433B); margin-bottom: 6px; }
.lx-dnote b { display: block; font-weight: 500; color: var(--ink, #231F1A); }

/* ---------- sample-book demo (Dec 2026): countdown pill, "already had your demo", opt-in, end card ---------- */
.demo-pill { position: fixed; z-index: 80; top: calc(14px + env(safe-area-inset-top, 0px)); right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 12px; border-radius: 999px; font: 500 12.5px/1 var(--font-ui); letter-spacing: .03em; color: var(--ink-2); white-space: nowrap; pointer-events: none; animation: dpin .6s var(--ease) both; }
.demo-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(135, 83, 63, .16); animation: dpulse 2.4s ease-in-out infinite; }
@keyframes dpin { from { opacity: 0; } to { opacity: 1; } }
@keyframes dpulse { 50% { box-shadow: 0 0 0 6px rgba(135, 83, 63, 0); } }
@media (max-width: 900px) { .demo-pill { right: auto; top: auto; left: 50%; transform: translateX(-50%); bottom: calc(80px + env(safe-area-inset-bottom, 0px)); } .demo-on .toast { bottom: calc(126px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .demo-pill, .demo-pill i { animation: none; } }
.demo-used { display: grid; gap: 6px; justify-items: center; text-align: center; width: 100%; padding: 18px 18px 16px; border-radius: 20px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(160, 110, 80, .22); }
.demo-used b { font-size: 22px; font-weight: 400; line-height: 1.2; }
.demo-used .btn { margin-top: 8px; }
.onb .demo-used { justify-items: start; text-align: left; background: var(--surface); border-color: var(--line); }
.onb .demo-used .btn { width: auto; }
.demo-lede { max-width: 44ch; font-size: 16px; line-height: 1.6; }
.check.demo-opt { align-items: flex-start; gap: 12px; min-height: 0; padding: 4px 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.check.demo-opt input { flex: none; margin: 1px 0 0; appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CDBBA8; background: #FFFDF9; display: inline-grid; place-items: center; transition: background .2s, border-color .2s; }
.check.demo-opt input:checked { background: var(--accent); border-color: var(--accent); }
.check.demo-opt input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.demo-over .unlock-form h1 { font-size: clamp(30px, 4vw, 40px); }
.demo-over .unlock-form .eyebrow { margin-top: -4px; }
.do-or { display: flex; align-items: center; gap: 12px; width: 100%; font-size: 13px; color: var(--muted); margin: 2px 0 -4px; }
.do-or::before, .do-or::after { content: ""; flex: 1; height: 1px; background: rgba(160, 110, 80, .22); }
.demo-over .btn.ghost { background: rgba(255, 255, 255, .5); }

/* ---------- supplier guide, inside the planner (Dec 2026) ---------- */
.vph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.75), transparent 60%), linear-gradient(140deg, var(--accent-soft) 0%, var(--sand, #E9D8C4) 55%, var(--blush) 100%); color: var(--accent); }
.vph::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(154,78,44,.16); border-radius: calc(var(--r-lg) - 6px); pointer-events: none; }
.vph-mono { font-family: var(--font-serif); font-style: italic; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: .02em; }
.vph-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); opacity: .75; }
.vcard .foot { justify-content: flex-start; flex-wrap: wrap; }
.vcard .vview { margin-left: auto; }
.vcard h3 { overflow-wrap: anywhere; }
.vtag { font-size: 12px; }
.vfilters { display: grid; gap: 14px; margin-bottom: 22px; background: rgba(255,253,249,.72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: var(--shadow); }
.vf-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vf-f { display: block; min-width: 0; }
.vf-f .input { min-height: 46px; width: auto; max-width: 100%; }
.vf-q { flex: 1 1 200px; }
.vf-q .input { width: 100%; }
.vf-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.vf-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 34px; }
.vempty { grid-column: 1 / -1; display: grid; gap: 10px; justify-items: start; }
.vnote { margin-top: 22px; }
.vskel { min-height: 330px; background: linear-gradient(100deg, var(--paper-2) 30%, var(--surface) 50%, var(--paper-2) 70%); background-size: 300% 100%; animation: vsk 1.4s linear infinite; border: 0; }
@keyframes vsk { to { background-position: -150% 0; } }
.vmodal-ph { position: relative; }
.vmodal { gap: 18px !important; }
.vdesc { font-weight: 300; font-size: 16.5px; line-height: 1.6; }
.vthumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.vthumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }
.venq { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: rgba(255,255,255,.55); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vmsg summary { cursor: pointer; list-style: none; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.vmsg summary::-webkit-details-marker { display: none; }
.vmsg summary .link { white-space: nowrap; }
.vmsg[open] summary .link { display: none; }
.vmsg p { margin-top: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.vbtns { gap: 10px; flex-wrap: wrap; }
.vlinks { gap: 22px; flex-wrap: wrap; }
.vfoot { gap: 14px; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.vgate-wrap { padding: clamp(70px, 12vw, 160px) 0 clamp(90px, 12vw, 160px); }
.vgate { max-width: 680px; margin: 0 auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.vgate.panel { padding: clamp(28px, 5vw, 56px); background: rgba(255,253,249,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.vgate-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.vgate-h { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; text-wrap: balance; }
.vgate.panel .vgate-h { font-size: clamp(28px, 3.4vw, 40px); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) {
  .vf-row .seg { width: 100%; justify-content: stretch; }
  .vf-row .seg button { flex: 1; }
  .vf-f { flex: 1 1 calc(50% - 5px); }
  .vf-f .input { width: 100%; }
  .vf-q { flex-basis: 100%; }
  .vthumbs { grid-template-columns: repeat(3, 1fr); }
  .vbtns .btn { flex: 1 1 100%; justify-content: center; }
}

/* ===================== v72 phone polish (2 Dec 2026) =====================
   Phone only (640 px and below), except the one GLOBAL bug fix right below. Every rule cites research/mobile-design-rules.md
   (R..) or the house phone rules (website-build mobile-rules §..). Plan and before/after shots: marketing/phone-polish/. */

/* GLOBAL bug fix: Namibia hides the card form with `hidden`, but .lx-form { display: grid } showed it anyway, under the WhatsApp button */
.lx-form[hidden] { display: none; }

@media (max-width: 640px) {
  /* P1 sign in, confirm email, page not found: the page's own padding:…0… wiped the side margin, text touched the screen edge (R2.2) */
  .wrap.pad-x { padding-left: var(--gutter) !important; padding-right: var(--gutter) !important; }

  /* P3 first visit on a phone: the intro and the hero entrance are shorter, so the buttons are there in about 3 s, not 6 s (§4: readable and tappable early) */
  .intro-ring circle { animation-duration: 1s; animation-delay: .1s; }
  .intro-mono { animation-duration: .7s; animation-delay: .3s; }
  .intro-word { animation-duration: 1s; animation-delay: .45s; }
  .intro-line { animation-duration: .7s; animation-delay: 1s; }
  .intro-sub { animation-duration: .7s; animation-delay: 1.1s; }
  .intro { transition: opacity .8s cubic-bezier(.4,0,.2,1), visibility 0s linear .8s; }
  .soft-enter .h-hero [data-enter] > * { animation-duration: 1.1s; animation-delay: .15s; }
  .soft-enter .h-hero [data-enter] > *:nth-child(2) { animation-delay: .25s; }
  .soft-enter .h-hero .h-cta > * { animation-delay: .4s; }
  .soft-enter .h-hero .h-cta > *:nth-child(2) { animation-delay: .5s; }

  /* header: fully opaque once scrolled, so page text never shows through it (§6 see-through sticky header) */
  .topbar.scrolled, .topbar.over.scrolled { background: #FFFDF9; }
  /* order page: the sticky buy bar already carries "Order the book", so the header pill would be a second copy on screen */
  body:has(.lx-mbar) .tb-btn.order { display: none; }

  /* footer: every link gets a 44 px tap area without moving the layout (padding in, margin out) (R3.1) */
  .d3-card ul a, .fD-card ul a, .d3-logo { display: inline-block; padding: 12px 0; margin: -12px 0; }
  .d3-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .d3-bottom > span:first-child { line-height: 1.9; }
  .d3-admin { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
  .d3-icons { gap: 12px; }
  .d3-icons a { width: 40px; height: 40px; }
  .d3-icons a::after { inset: -2px; }

  /* order page: small caps up to 12 px (R4.2), the country select to 16 px so iPhone does not zoom (R4.4), links get 44 px tap areas (R3.1) */
  .lx-crumb, .lx-kick, .lx-sel span, .lx-line-item > div > span, .lx-chap li span, .lx-ch li span, .lx-dl dt { font-size: 12px; }
  .lx-serv li, .lx-links a, .lx-links button { font-size: 12px; }
  .lx-crumb { padding: 12px 0 10px; }
  .lx-crumb a { display: inline-block; padding: 16px 0; margin: -16px 0; }
  .lx-sel select { font-size: 16px; letter-spacing: .02em; text-transform: none; }
  .lx-read { padding: 12px 0; margin: -12px 0; }
  .lx-links a, .lx-links button { padding: 15px 0; margin: -15px 0; }
  .lx-line { font-size: 12px; position: relative; }
  .lx-line::after { content: ""; position: absolute; inset: -14px -6px; }
  .lx-note, .lx-dopt span, .lx-dopts legend { font-size: 14px; }
  /* checkout: the quantity sits on its own line with 44 px buttons; 44 px close (R3.1) */
  .lx-qty { display: flex; width: max-content; margin-top: 10px; }
  .lx-qty button { width: 44px; height: 44px; }
  .lx-x { width: 44px; height: 44px; margin-right: -8px; }
  .lx-form .field .tiny { font-size: 14px; }

  /* book code card: 44 px close (R3.1) */
  .unlock-x { width: 44px; height: 44px; }

  /* Overview: "Your team" and "Share" fill the row instead of leaving an empty third (no dead space) */
  .dash .quick { grid-template-columns: repeat(2, 1fr); }

  /* Family: the thank-you toggles were 32 px tall (R3.1) */
  [data-act="thank"] { min-height: 44px !important; padding-left: 14px; padding-right: 14px; }
  /* Seating: the small "Edit" on each table gets a 44 px tap area around it (R3.1) */
  .rt-edit { position: relative; }
  .rt-edit::after { content: ""; position: absolute; inset: -12px -6px; }

  /* supplier guide: the category chips are one swipe row with a fading edge (R5.2), not three rows */
  .vf-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 40px), transparent); }
  .vf-cats::-webkit-scrollbar { display: none; }
  .vf-cats > * { flex: none; }
  /* a supplier without photos is a compact row with its monogram tile, so eight suppliers are about two screens, not five of placeholders */
  .vcard:has(.vph) { grid-template-columns: 96px minmax(0, 1fr); align-items: stretch; padding-bottom: 0; }
  .vcard:has(.vph) .ph { position: static; aspect-ratio: auto; }
  .vcard:has(.vph) .vph { position: relative; height: 100%; min-height: 128px; }
  .vcard:has(.vph) .vph-mono { font-size: 30px; }
  .vcard:has(.vph) .vph-cat { display: none; }
  .vcard:has(.vph) .vph::after { inset: 8px; border-radius: 10px; }
  .vcard:has(.vph) .save { top: 8px; right: 8px; }
  .vcard:has(.vph) .body { padding: 16px 16px 14px; }
  .vcard:has(.vph) .body .eyebrow, .vcard:has(.vph) .body h3 { padding-right: 40px; }
  /* supplier sheet: the website link is 44 px tall (R3.1) */
  .vlinks a { display: inline-flex; align-items: center; min-height: 44px; }
}
/* v72: the smallest phones (320 to 360 px): the header's logo, order pill and menu button fit without poking past the edge (R5.2) */
@media (max-width: 360px) {
  .tb-in { gap: 10px; }
  .tb-btn.order { padding: 0 14px; }
}
