/* Holly — shared system: tokens, chrome, chapters, product components.
   Palette is lifted from the cutaway model: sage backdrop, pine siding,
   lamplight in the windows, cedar garage door, hydrangea by the steps. */

@property --sx { syntax: '<percentage>'; inherits: true; initial-value: 82%; }
@property --sy { syntax: '<percentage>'; inherits: true; initial-value: 64%; }

:root {
  --sage: #e3e4d2;
  --bone: #f5f3e7;
  --paper: #fffdf6;
  --pine: #14372b;
  --deep: #0b211a;
  --ink: #12281f;
  --moss: #54685a;
  --lamp: #f2bd57;
  --cedar: #9c5527;
  --clay: #d17c5b;
  --hyd: #8d9fd6;
  --slate: #171c1f;
  --line: rgba(20, 55, 43, .16);
  --focus: #9c5527;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(20px, 4.4vw, 68px);
  --mast: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: 400 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.dark, .ch-photo, .mast-dark { --focus: var(--lamp); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--pine); color: var(--bone); padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.h-xl { font: 400 clamp(3.5rem, 11.6vw, 10.4rem)/.88 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.h-lg { font: 400 clamp(2.6rem, 6.4vw, 5.6rem)/.94 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.h-md { font: 400 clamp(1.9rem, 3.4vw, 2.9rem)/1.02 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.lede { font-size: clamp(1.08rem, 1.55vw, 1.42rem); line-height: 1.42; max-width: 33em; text-wrap: pretty; }
.voice { font-family: var(--serif); font-style: italic; letter-spacing: -.01em; }
.fine { font-size: 13.5px; line-height: 1.4; opacity: .82; }
.eg { display: inline-flex; justify-self: start; align-self: center; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); padding: 5px 9px 5px 8px; border: 1px dashed currentColor; border-radius: 99px; opacity: .78; white-space: nowrap; letter-spacing: .01em; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--pine); color: var(--bone); font: 600 16px/1 var(--sans); transition: transform .25s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); background: #0d2a20; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-lamp { background: var(--lamp); color: var(--deep); }
.btn-lamp:hover { background: #ffd27a; }
.btn-ghost { background: none; box-shadow: inset 0 0 0 1.5px currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(127, 127, 127, .14); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; border-radius: 13px; }
.more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; padding: 6px 0; border-bottom: 1.5px solid currentColor; transition: gap .25s var(--ease); }
.more:hover { gap: 16px; }
.more svg { width: 16px; height: 16px; }

/* ---------- mast ---------- */
.mast { position: fixed; z-index: 100; top: 12px; left: var(--gut); right: var(--gut); }
.mast-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 58px; padding: 0 8px 0 20px; border-radius: 20px; background: rgba(250, 248, 238, .86); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 0 1px rgba(20, 55, 43, .08), 0 14px 34px -18px rgba(11, 33, 26, .45); color: var(--pine); }
.mast-logo img { width: 78px; height: auto; }
.mast-nav { display: flex; align-items: center; gap: 4px; }
.mast-link, .menu-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; background: none; border-radius: 13px; font: 500 15px/1 var(--sans); color: var(--pine); transition: background .2s; }
.mast-link:hover, .menu-btn:hover, .menu-btn[aria-expanded=true] { background: rgba(20, 55, 43, .09); }
.menu-btn svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded=true] svg { transform: rotate(180deg); }
.mast-link[aria-current=page] { box-shadow: inset 0 -2px 0 var(--cedar); border-radius: 0; }
.hide-s { display: inline; }
.mast .btn { min-height: 42px; padding: 0 18px; font-size: 14.5px; border-radius: 13px; margin-left: 6px; }

.menu { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr) minmax(0, .9fr); gap: 12px; padding: 12px; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 55, 43, .1), 0 40px 80px -30px rgba(11, 33, 26, .6); transform-origin: 50% 0; animation: menu-in .22s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } }
.menu-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(11, 33, 26, .38); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.menu-preview { position: relative; min-height: 330px; border-radius: 16px; overflow: hidden; background: var(--pine); color: var(--bone); isolation: isolate; }
.menu-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .35s; }
.menu-preview img.is-on { opacity: 1; }
.menu-preview::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(8, 24, 18, .82)); }
.menu-preview p { position: absolute; left: 18px; right: 18px; bottom: 16px; font: italic 400 24px/1.1 var(--serif); }
.menu-list { display: grid; align-content: start; }
.menu-h { font: 500 13px/1 var(--sans); color: var(--moss); padding: 10px 14px 8px; }
.menu-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px; padding: 11px 14px; border-radius: 14px; transition: background .18s; }
.menu-list a + a { box-shadow: 0 -1px 0 var(--line); }
.menu-list a:hover, .menu-list a:focus-visible { background: #eef0e1; box-shadow: none; }
.menu-list a:hover + a, .menu-list a:focus-visible + a { box-shadow: none; }
.menu-list .t { font: 400 27px/1.05 var(--serif); letter-spacing: -.015em; }
.menu-list .d { grid-column: 1; font-size: 14px; color: var(--moss); }
.menu-list .go { grid-row: 1 / span 2; grid-column: 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(20, 55, 43, .07); transition: transform .25s var(--ease), background .2s; }
.menu-list .go svg { width: 13px; height: 13px; }
.menu-list a:hover .go { transform: translateX(4px); background: var(--pine); color: var(--bone); }
.menu-list a[aria-current=page] .t::after { content: 'You are here'; font: 500 12px/1 var(--sans); letter-spacing: 0; color: var(--cedar); margin-left: 10px; vertical-align: middle; }
.menu-side { display: grid; gap: 12px; grid-template-rows: 1fr auto; }
.menu-pro { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 18px; border-radius: 16px; background: var(--slate); color: var(--bone); --focus: var(--lamp); }
.menu-pro .t { font: 400 30px/1 var(--serif); letter-spacing: -.015em; }
.menu-pro .d { font-size: 14px; opacity: .78; margin-top: 8px; }
.menu-pro .more { font-size: 14.5px; align-self: flex-start; color: var(--lamp); }
.menu-start { padding: 16px 18px 18px; border-radius: 16px; background: var(--sage); }
.menu-start p { font-size: 14px; margin-bottom: 12px; color: var(--pine); }
.menu-start .btn { width: 100%; margin: 0; }

/* ---------- chapter frame ---------- */
.ch { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; padding: calc(var(--mast) + clamp(26px, 4.5vh, 76px)) var(--gut) clamp(52px, 7vh, 104px); display: flex; flex-direction: column; overflow: clip; }
.ch-head { display: grid; gap: clamp(16px, 2.2vw, 28px); max-width: 1180px; }
.dark { background: var(--deep); color: var(--bone); }
.ch-photo { background: var(--deep); color: var(--bone); }
.ch-photo > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ch-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--scrim, linear-gradient(180deg, rgba(8, 24, 18, .86) 0%, rgba(8, 24, 18, .5) 34%, rgba(8, 24, 18, .28) 55%, rgba(8, 24, 18, .9) 100%)); }
.ch-foot { margin-top: auto; padding-top: clamp(28px, 4vh, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* chapter rail (home) */
.rail { position: fixed; z-index: 80; right: 10px; top: 50%; transform: translateY(-50%); display: grid; gap: 2px; mix-blend-mode: difference; color: #fff; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 22px; padding: 0 6px; font: 500 12px/1 var(--sans); }
.rail a span { opacity: 0; transform: translateX(6px); transition: .25s var(--ease); white-space: nowrap; }
.rail a::after { content: ''; width: 14px; height: 2px; background: currentColor; opacity: .45; transition: .25s var(--ease); }
.rail a:hover span, .rail a:focus-visible span { opacity: 1; transform: none; }
.rail a[aria-current]::after { width: 30px; opacity: 1; }
@media (max-width: 1099px) { .rail { display: none; } }

/* ---------- 1 · opening ---------- */
.opening { background: var(--sage); color: var(--pine); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: clamp(18px, 3vw, 44px); padding-top: calc(var(--mast) + clamp(8px, 1.6vh, 30px)); padding-bottom: clamp(20px, 2.6vh, 40px); }
.opening::before { content: ''; position: absolute; z-index: -1; left: -10%; right: -10%; bottom: -8%; height: 62%; background: radial-gradient(52% 58% at 50% 62%, #f3f2e2 0, rgba(243, 242, 226, 0) 72%); }
.mega { grid-column: 1 / -1; grid-row: 1 / 3; font: 400 clamp(5.4rem, 25.5vw, 25rem)/.78 var(--serif); letter-spacing: -.05em; position: relative; z-index: 1; margin-left: -.035em; padding-top: .04em; animation: rise .9s var(--ease) both; }
.mega span { display: block; }
.mega span + span { font-style: italic; margin-left: .02em; }
.open-side { grid-column: 2; grid-row: 1; align-self: start; position: relative; z-index: 4; padding-top: clamp(22px, 5vw, 70px); display: grid; gap: 22px; justify-items: start; animation: rise .9s .15s var(--ease) both; }
.open-side .lede { font-size: clamp(1.05rem, 1.62vw, 1.4rem); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.cta-row .fine { max-width: 15em; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.model { grid-column: 1 / -1; grid-row: 3; position: relative; z-index: 2; width: min(108%, calc((100svh - 22vw - 250px) * 1.3333)); min-width: min(100%, 560px); aspect-ratio: 4 / 3; justify-self: center; align-self: start; margin-top: -10.4vw; perspective: 1700px; animation: settle 1.2s .2s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: translateY(46px) scale(.975); } }
.model-tilt { position: absolute; inset: 0; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .7s var(--ease); will-change: transform; }
.model-art { width: 100%; height: 100%; filter: drop-shadow(0 34px 26px rgba(48, 58, 30, .3)); user-select: none; -webkit-user-drag: none; }
.model-dim { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(assets/holly-house-cutout.webp) center / 100% 100% no-repeat; mask: url(assets/holly-house-cutout.webp) center / 100% 100% no-repeat; background: radial-gradient(circle at var(--sx) var(--sy), rgba(11, 33, 26, 0) 0, rgba(11, 33, 26, 0) 14%, rgba(11, 33, 26, .2) 44%); mix-blend-mode: multiply; opacity: 0; transition: --sx .7s var(--ease), --sy .7s var(--ease), opacity .6s; }
.model.is-lit .model-dim { opacity: 1; }
.leader { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; transform: translateZ(30px); }
.leader { filter: drop-shadow(0 0 2px rgba(11, 33, 26, .75)); }
.leader path { fill: none; stroke: var(--paper); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linecap: round; opacity: 0; }
.model.is-lit .leader path.is-drawn { opacity: 1; transition: opacity .5s .2s; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; padding: 0; border-radius: 50%; background: none; transform: translateZ(46px); display: grid; place-items: center; }
.pin::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: rgba(255, 253, 246, .5); box-shadow: 0 0 0 1px rgba(255, 253, 246, .9); transition: .3s var(--ease); }
.pin::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 8px rgba(11, 33, 26, .5); position: relative; transition: .3s var(--ease); }
.pin:hover::before { inset: 2px; }
.pin.is-on::before { inset: 0; background: rgba(242, 189, 87, .34); box-shadow: 0 0 0 1.5px var(--lamp); animation: ping 2.2s ease-out infinite; }
.pin.is-on::after { background: var(--lamp); width: 14px; height: 14px; }
@keyframes ping { 0% { box-shadow: 0 0 0 1.5px var(--lamp), 0 0 0 0 rgba(242, 189, 87, .55); } 70%, 100% { box-shadow: 0 0 0 1.5px var(--lamp), 0 0 0 18px rgba(242, 189, 87, 0); } }

.roomcard { --cw: min(310px, 78vw); position: absolute; z-index: 3; left: clamp(0%, var(--cx, 68%), calc(100% - var(--cw))); top: var(--ct, auto); bottom: var(--cb, 0%); width: var(--cw); padding: 14px 16px 15px; border-radius: 18px; background: rgba(255, 253, 246, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(20, 55, 43, .1), 0 24px 44px -22px rgba(11, 33, 26, .55); color: var(--ink); display: grid; gap: 9px; }
.roomcard.is-swap > * { animation: swap .45s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } }
.roomcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 13px/1 var(--sans); color: var(--cedar); }
.roomcard h3 { font: 400 25px/1.06 var(--serif); letter-spacing: -.012em; }
.roomcard .more { font-size: 14.5px; justify-self: start; }
.rc-art { display: grid; gap: 5px; font-size: 14px; }
.rc-art .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.rc-art .row b { font-weight: 600; }
.rc-art .sw { display: flex; align-items: center; gap: 9px; padding: 3px 0; }
.rc-art .sw i { width: 30px; height: 30px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }

.roomrail { grid-column: 1 / -1; grid-row: 4; position: relative; z-index: 4; display: flex; align-items: stretch; gap: 8px; margin-top: clamp(14px, 2.2vh, 30px); align-self: end; }
.roomrail-list { flex: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-radius: 18px; background: rgba(255, 253, 246, .62); box-shadow: 0 0 0 1px rgba(20, 55, 43, .1); overflow: hidden; }
.roomtab { position: relative; border: 0; background: none; text-align: left; padding: 13px 16px 14px; display: grid; gap: 4px; align-content: start; transition: background .25s; }
.roomtab + .roomtab { box-shadow: -1px 0 0 var(--line); }
.roomtab b { font: 400 22px/1 var(--serif); letter-spacing: -.01em; }
.roomtab span { font-size: 13.5px; line-height: 1.3; color: var(--moss); }
.roomtab:hover { background: rgba(255, 253, 246, .7); }
.roomtab[aria-pressed=true] { background: var(--pine); color: var(--bone); box-shadow: none; }
.roomtab[aria-pressed=true] span { color: rgba(245, 243, 231, .8); }
.roomtab[aria-pressed=true]::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--lamp); transform-origin: 0 50%; transform: scaleX(0); }
.model-wrap.is-touring .roomtab[aria-pressed=true]::after, .is-touring .roomtab[aria-pressed=true]::after { animation: tour var(--tour, 3600ms) linear both; }
@keyframes tour { to { transform: scaleX(1); } }
.tour-btn { flex: none; width: 52px; border: 0; border-radius: 18px; background: rgba(255, 253, 246, .62); box-shadow: 0 0 0 1px rgba(20, 55, 43, .1); display: grid; place-items: center; }
.tour-btn svg { width: 16px; height: 16px; }
.tour-btn:hover { background: var(--paper); }

/* landscape desktop: copy left, model right */
@media (min-width: 1000px) and (min-aspect-ratio: 5/4) {
  .opening { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto 1fr auto; align-items: start; }
  .mega { grid-column: 1 / -1; grid-row: 1 / 3; font-size: min(13.4vw, 31vh); }
  .open-side { grid-column: 1; grid-row: 2; align-self: end; padding: 0 0 clamp(8px, 3vh, 40px); max-width: 30em; }
  .model { grid-column: 2; grid-row: 1 / 3; width: min(112%, calc((100svh - 220px) * 1.3333)); margin: clamp(10px, 5vh, 60px) -4% 0 0; justify-self: end; align-self: end; }
  .roomrail { grid-row: 3; }
}
@media (min-width: 1000px) and (min-aspect-ratio: 5/4) and (max-height: 1000px) {
  .roomcard { --cw: 280px; }
  .roomcard .rc-art { display: none; }
}

/* ---------- product: demo (steps · chat · stage) ---------- */
.story { background: var(--bone); gap: clamp(26px, 4vh, 56px); justify-content: center; }
.story .ch-foot { margin-top: 0; padding-top: 0; }
.demo { display: grid; gap: clamp(16px, 2.4vw, 34px); grid-template-columns: minmax(0, 1fr); align-items: start; }
.steps { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: rgba(255, 253, 246, .5); scroll-snap-type: x proximity; }
.steps::-webkit-scrollbar { display: none; }
.steps > li { flex: 1 0 auto; min-width: 128px; display: grid; scroll-snap-align: start; }
.steps > li + li { box-shadow: -1px 0 0 var(--line); }
.step { position: relative; border: 0; background: none; text-align: left; padding: 12px 16px 13px; display: grid; gap: 3px; align-content: start; color: var(--moss); transition: color .2s, background .2s; }
.step time { font: 500 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; }
.step b { font: 400 20px/1.05 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.step.is-done { color: var(--pine); }
.step.is-done b::after { content: ''; display: inline-block; width: 11px; height: 6px; margin-left: 8px; border-left: 2px solid var(--cedar); border-bottom: 2px solid var(--cedar); transform: translateY(-4px) rotate(-45deg); }
.step[aria-current=step] { background: var(--pine); color: rgba(245, 243, 231, .75); box-shadow: none; }
.step[aria-current=step] b { color: var(--bone); }
.step:hover:not([aria-current=step]) { background: rgba(20, 55, 43, .06); }

.chat { width: min(100%, 376px); justify-self: center; display: flex; flex-direction: column; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 55, 43, .12), 0 0 0 7px rgba(255, 253, 246, .55), 0 44px 70px -40px rgba(11, 33, 26, .6); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--line); font: 600 15px/1 var(--sans); }
.chat-head img { width: 26px; height: 26px; border-radius: 8px; background: var(--sage); padding: 4px; }
.chat-head .eg { margin-left: auto; }
.chat-log { height: clamp(360px, 44svh, 580px); overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 8px; scrollbar-width: thin; }
.msg { max-width: 88%; align-self: flex-start; display: grid; gap: 7px; animation: msg-in .28s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.msg .who { font: 500 11.5px/1 var(--sans); color: var(--moss); padding-left: 4px; }
.msg .bub { font-size: 14.5px; line-height: 1.38; padding: 9px 13px; border-radius: 17px 17px 17px 6px; background: #eceedd; }
.msg.you { align-self: flex-end; justify-items: end; }
.msg.you .bub { background: var(--pine); color: var(--bone); border-radius: 17px 17px 6px 17px; }
.msg.shop .bub { background: none; box-shadow: inset 0 0 0 1px var(--line); font-style: italic; }
.msg.shop .who { display: flex; align-items: center; gap: 6px; color: var(--cedar); }
.msg.shop .who svg { width: 12px; height: 12px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 14px; border-radius: 17px 17px 17px 6px; background: #eceedd; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--moss); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.att { width: 100%; font-size: 13.5px; }
.att-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.att-photos img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.att-photos figcaption { font-size: 11.5px; color: var(--moss); padding: 4px 2px 0; text-align: right; }
.att-doc { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 10px 12px; display: grid; gap: 4px; }
.att-doc b { font: 400 18px/1.1 var(--serif); }
.att-doc span { color: var(--moss); line-height: 1.35; }
.att-bids { display: grid; gap: 6px; }
.att-bids button { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; text-align: left; padding: 9px 12px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.att-bids button small { grid-column: 1; color: var(--moss); font-size: 12.5px; }
.att-bids button b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 400 23px/1 var(--serif); }
.att-bids button span { font-weight: 600; font-size: 14px; }
.att-bids button:hover { box-shadow: inset 0 0 0 1.5px var(--pine); }
.att-bids button[aria-pressed=true] { background: var(--sage); box-shadow: inset 0 0 0 2px var(--pine); }
.att-bids .hint { font-size: 12px; color: var(--moss); padding: 2px 4px 0; }
.att-rcpt { border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); padding: 11px 13px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: baseline; }
.att-rcpt b { font: 400 26px/1 var(--serif); grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.att-rcpt small { color: var(--cedar); font-weight: 600; font-size: 12.5px; }
.att-rcpt span { color: var(--moss); font-size: 12.5px; }
.att-call { display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border: 0; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; }
.att-call i { width: 28px; height: 28px; border-radius: 50%; background: var(--pine); color: var(--bone); display: grid; place-items: center; }
.att-call svg { width: 11px; height: 11px; }

.chat-ctl { display: flex; align-items: center; gap: 6px; padding: 9px 10px; border-top: 1px solid var(--line); background: #faf8ec; }
.ctl { height: 40px; min-width: 40px; padding: 0 10px; border: 0; border-radius: 12px; background: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: 600 13.5px/1 var(--sans); color: var(--pine); transition: background .2s; }
.ctl:hover:not(:disabled) { background: rgba(20, 55, 43, .09); }
.ctl:disabled { opacity: .35; cursor: default; }
.ctl svg { width: 14px; height: 14px; }
.ctl-play { background: var(--pine); color: var(--bone); padding: 0 14px 0 12px; min-width: 92px; }
.ctl-play:hover:not(:disabled) { background: #0d2a20; }
.chat-pos { margin-left: auto; font: 500 12.5px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--moss); padding-right: 6px; }

.stage { display: none; position: relative; min-height: 520px; }
.stage-item { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(14px) scale(.985); transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s .45s; }
.stage-item.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.stage-cap { position: absolute; left: 0; bottom: 0; font-size: 14px; color: var(--moss); max-width: 26em; }
@media (min-width: 900px) {
  .demo { grid-template-columns: 376px minmax(0, 1fr); }
  .steps { grid-column: 1 / -1; }
  .stage { display: block; align-self: stretch; }
  .chat { justify-self: start; }
}

@media (min-width: 900px) and (min-height: 1250px) {
  .chat-log { height: min(40svh, 600px); }
  .stage { min-height: 660px; }
  .stage-item > * { zoom: 1.22; }
  .trail { zoom: 1.16; }
}

/* paper artifacts */
.sheet { position: relative; width: min(100%, 470px); background: var(--paper); color: var(--ink); border-radius: 4px; padding: 26px 28px 28px; box-shadow: 0 1px 0 #fff inset, 0 0 0 1px rgba(20, 55, 43, .08), 0 34px 54px -34px rgba(11, 33, 26, .55); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 13px/1 var(--sans); color: var(--moss); padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); margin-bottom: 4px; }
.sheet h3, .sheet h4 { font: 400 clamp(26px, 2.6vw, 34px)/1.02 var(--serif); letter-spacing: -.015em; padding: 14px 0 12px; }
.sheet dl > div { display: grid; grid-template-columns: 7.2em 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.sheet dt { color: var(--moss); font-size: 13.5px; }
.sheet .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 12px; }
.sheet .pair img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 3px; }
.sheet .pair figcaption { font-size: 12px; color: var(--moss); padding-top: 5px; }
.tilt-l { transform: rotate(-1.6deg); } .tilt-r { transform: rotate(1.4deg); }

.prints { position: relative; width: min(100%, 520px); aspect-ratio: 1 / .86; }
.print { position: absolute; width: 62%; background: #fff; padding: 10px 10px 12px; box-shadow: 0 0 0 1px rgba(20, 55, 43, .08), 0 30px 44px -26px rgba(11, 33, 26, .6); }
.print img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.print figcaption { font: italic 400 19px/1.1 var(--serif); padding-top: 9px; }
.print:nth-child(1) { left: 0; top: 0; transform: rotate(-4deg); }
.print:nth-child(2) { right: 0; bottom: 0; transform: rotate(3deg); }

.callrows { display: grid; }
.callrow { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); }
.callrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pine); }
.callrow.is-wait .dot { background: none; box-shadow: inset 0 0 0 1.5px var(--cedar); animation: blink 1.4s infinite; }
.callrow b { font: 400 22px/1 var(--serif); }
.callrow .st { font-size: 13px; color: var(--moss); }
.callrow .qa { grid-column: 2 / -1; font-size: 13.5px; line-height: 1.38; color: var(--moss); }
.callrow .qa em { color: var(--ink); }

.bidtable { display: grid; gap: 8px; }
.bidrow { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: center; text-align: left; width: 100%; padding: 13px 16px; border: 0; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: .25s var(--ease); }
.bidrow b { font: 400 24px/1 var(--serif); }
.bidrow .meta { grid-column: 1; font-size: 13px; color: var(--moss); }
.bidrow .amt { grid-row: 1 / span 2; grid-column: 2; font: 400 36px/1 var(--serif); letter-spacing: -.02em; }
.bidrow .flag { display: inline-block; font: 600 11.5px/1 var(--sans); color: var(--cedar); margin-left: 8px; vertical-align: 3px; }
.bidrow:hover { box-shadow: inset 0 0 0 1.5px var(--pine); }
.bidrow[aria-pressed=true] { background: var(--pine); color: var(--bone); box-shadow: none; transform: translateX(8px); }
.bidrow[aria-pressed=true] .meta { color: rgba(245, 243, 231, .78); }
.bidrow[aria-pressed=true] .flag { color: var(--lamp); }

.cal { width: min(100%, 420px); display: grid; grid-template-columns: 112px 1fr; background: var(--paper); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(20, 55, 43, .1), 0 34px 54px -34px rgba(11, 33, 26, .55); }
.cal-day { background: var(--pine); color: var(--bone); padding: 18px 14px; display: grid; align-content: center; justify-items: center; gap: 4px; }
.cal-day small { font: 500 13px/1 var(--sans); color: var(--lamp); }
.cal-day b { font: 400 54px/.9 var(--serif); }
.cal-body { padding: 18px 20px; display: grid; gap: 6px; }
.cal-body h4 { font: 400 27px/1.05 var(--serif); letter-spacing: -.012em; }
.cal-body p { font-size: 14.5px; color: var(--moss); }
.checks { display: grid; gap: 7px; margin-top: 8px; font-size: 14px; }
.checks li { display: flex; gap: 9px; align-items: baseline; }
.checks li::before { content: ''; flex: none; width: 11px; height: 6px; border-left: 2px solid var(--cedar); border-bottom: 2px solid var(--cedar); transform: translateY(-3px) rotate(-45deg); }

.rcpt { position: relative; width: min(100%, 330px); background: #fffefa; color: var(--ink); padding: 26px 24px 40px; box-shadow: 0 34px 50px -30px rgba(11, 33, 26, .6); --tooth: 9px; -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--tooth)) 51% repeat-x, linear-gradient(#000 0 0) top / 100% 50.5% no-repeat; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--tooth)) 51% repeat-x, linear-gradient(#000 0 0) top / 100% 50.5% no-repeat; }
.rcpt-wrap { filter: drop-shadow(0 26px 26px rgba(11, 33, 26, .32)); }
.rcpt header { text-align: center; display: grid; gap: 6px; justify-items: center; padding-bottom: 16px; border-bottom: 1.5px dashed rgba(18, 40, 31, .4); }
.rcpt header img { width: 30px; }
.rcpt header b { font: 400 26px/1 var(--serif); }
.rcpt header small { font-size: 12.5px; color: var(--moss); }
.rcpt .li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rcpt .li span:first-child { color: var(--moss); }
.rcpt .tot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 0 10px; }
.rcpt .tot b { margin-left: auto; }
.rcpt .tot b { font: 400 50px/.9 var(--serif); letter-spacing: -.02em; }
.rcpt .paid { display: inline-block; font: 600 13px/1 var(--sans); color: var(--cedar); border: 1.5px solid currentColor; border-radius: 6px; padding: 6px 9px; transform: rotate(-4deg); }
.rcpt footer { margin-top: 12px; font-size: 13px; color: var(--moss); line-height: 1.4; }

/* wave player */
.wave { display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 99px; background: rgba(255, 253, 246, .12); box-shadow: inset 0 0 0 1px rgba(255, 253, 246, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); width: min(100%, 460px); }
.wave-btn { flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--lamp); color: var(--deep); display: grid; place-items: center; transition: transform .2s var(--ease); }
.wave-btn:hover { transform: scale(1.06); }
.wave-btn svg { width: 16px; height: 16px; }
.wave-bars { flex: 1; height: 38px; display: flex; align-items: center; gap: 2px; cursor: pointer; }
.wave-bars i { flex: 1; min-width: 1px; border-radius: 2px; background: currentColor; opacity: .34; height: calc(var(--h) * 100%); transition: opacity .12s; }
.wave-bars i.is-played { opacity: 1; }
.wave-time { font: 500 13px/1 var(--sans); font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }
.wave.on-light { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--pine); }
.wave.on-light .wave-btn { background: var(--pine); color: var(--bone); }

/* ---------- 3 · calls ---------- */
.calls { --scrim: linear-gradient(180deg, rgba(8, 24, 18, .9) 0%, rgba(8, 24, 18, .62) 30%, rgba(8, 24, 18, .12) 52%, rgba(8, 24, 18, .55) 68%, rgba(8, 24, 18, .94) 100%); }
.calls > .bg { object-position: 22% 0; height: 120%; }
.callsheet { margin-top: auto; display: grid; gap: 18px; }
.callsheet-list { display: grid; border-radius: 22px; background: rgba(9, 26, 20, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 253, 246, .16); overflow: hidden; }
.cs-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr) auto; gap: 6px 26px; align-items: center; padding: 18px 22px; }
.cs-row + .cs-row { border-top: 1px solid rgba(255, 253, 246, .14); }
.cs-who b { display: block; font: 400 clamp(24px, 2.5vw, 31px)/1.02 var(--serif); letter-spacing: -.012em; }
.cs-who span { font-size: 13.5px; opacity: .72; font-variant-numeric: tabular-nums; }
.cs-qa { display: grid; gap: 3px; font-size: 14.5px; line-height: 1.38; }
.cs-qa .q { opacity: .74; }
.cs-qa .a { font: italic 400 19px/1.2 var(--serif); color: var(--lamp); }
.cs-amt { font: 400 clamp(34px, 3.6vw, 46px)/1 var(--serif); letter-spacing: -.02em; }
.cs-top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cs-top p { font-size: 14.5px; max-width: 25em; line-height: 1.4; opacity: .9; }

/* ---------- 4 · compare ---------- */
.compare { --scrim: linear-gradient(180deg, rgba(7, 22, 17, .9) 0%, rgba(7, 22, 17, .72) 40%, rgba(7, 22, 17, .82) 100%); gap: clamp(24px, 4vh, 54px); justify-content: center; }
.prio { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 18px; background: rgba(255, 253, 246, .1); box-shadow: inset 0 0 0 1px rgba(255, 253, 246, .2); }
.prio button { border: 0; background: none; height: 44px; padding: 0 18px; border-radius: 13px; font: 500 15px/1 var(--sans); color: inherit; transition: .2s; }
.prio button[aria-pressed=true] { background: var(--lamp); color: var(--deep); font-weight: 600; }
.prio button:hover:not([aria-pressed=true]) { background: rgba(255, 253, 246, .12); }
.prio-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.prio-row > span { font-size: 15px; opacity: .85; }
.slips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 20px); align-items: start; padding: 26px 0 8px; }
.slip { position: relative; text-align: left; border: 0; background: #fbf8ea; color: var(--ink); padding: 20px 20px 22px; border-radius: 3px; box-shadow: 0 30px 40px -26px rgba(0, 0, 0, .8); transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); transition: transform .5s var(--ease), box-shadow .4s, background .3s; display: grid; gap: 0; font-size: 14.5px; width: 100%; }
.slip:nth-child(1) { --r: -2.2deg; } .slip:nth-child(2) { --r: 1.1deg; --y: 14px; } .slip:nth-child(3) { --r: 2.6deg; --y: 4px; }
.slip:hover { --y: -6px; }
.slip.is-on { --r: 0deg; --y: -22px; background: #fffefa; box-shadow: 0 0 0 3px var(--lamp), 0 44px 54px -24px rgba(0, 0, 0, .85); z-index: 2; }
.slip-name { font: 400 clamp(24px, 2.7vw, 34px)/1 var(--serif); letter-spacing: -.015em; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.slip-li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.slip-li span:first-child { color: var(--moss); }
.slip-tot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.slip-tot span { font-size: 13.5px; color: var(--moss); }
.slip-tot b { font: 400 clamp(44px, 5.2vw, 68px)/.9 var(--serif); letter-spacing: -.03em; }
.slip-stamp { position: absolute; right: 14px; top: -15px; font: 600 12.5px/1 var(--sans); background: var(--lamp); color: var(--deep); padding: 8px 11px; border-radius: 8px; transform: rotate(3deg) scale(0); transition: transform .35s var(--ease); }
.slip.is-on .slip-stamp { transform: rotate(3deg) scale(1); }
.advice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-top: 6px; }
.advice p { font: italic 400 clamp(1.5rem, 2.9vw, 2.3rem)/1.12 var(--serif); max-width: 22em; letter-spacing: -.012em; }
.advice-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }

/* ---------- 5 · approval trail ---------- */
.approve { background: var(--sage); gap: clamp(28px, 4.5vh, 64px); justify-content: center; }
.trail { position: relative; display: grid; gap: clamp(22px, 3.4vh, 46px); }
.trail::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: repeating-linear-gradient(180deg, var(--pine) 0 6px, transparent 6px 12px); opacity: .45; }
.trail-item { position: relative; display: grid; gap: 14px; padding-left: 44px; }
.trail-item::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--sage); box-shadow: inset 0 0 0 2px var(--pine); }
.trail-item.by-you::before { background: var(--pine); box-shadow: inset 0 0 0 2px var(--pine), inset 0 0 0 6px var(--sage); }
.trail-say { display: grid; gap: 6px; max-width: 25em; }
.trail-say .when { font: 500 14px/1 var(--sans); color: var(--cedar); font-variant-numeric: tabular-nums; }
.trail-say h3 { font: 400 clamp(1.8rem, 3.3vw, 2.7rem)/1 var(--serif); letter-spacing: -.02em; }
.trail-say p { font-size: 15.5px; color: var(--moss); line-height: 1.42; }
.yes { width: min(100%, 400px); background: var(--paper); border-radius: 22px; padding: 18px; box-shadow: 0 0 0 1px rgba(20, 55, 43, .1), 0 34px 54px -34px rgba(11, 33, 26, .5); display: grid; gap: 12px; }
.yes p { font: 400 25px/1.08 var(--serif); letter-spacing: -.012em; }
.yes-row { display: flex; gap: 8px; }
.yes-row span { flex: 1; height: 46px; display: grid; place-items: center; border-radius: 13px; font: 600 14.5px/1 var(--sans); box-shadow: inset 0 0 0 1.5px var(--line); color: var(--moss); }
.yes-row span.is-yes { background: var(--pine); color: var(--bone); box-shadow: none; }
@media (min-width: 900px) {
  .trail::before { left: 50%; margin-left: -1px; }
  .trail-item { grid-template-columns: 1fr 1fr; gap: 0 clamp(60px, 9vw, 130px); padding-left: 0; align-items: center; }
  .trail-item::before { left: 50%; margin-left: -12px; top: 50%; margin-top: -12px; }
  .trail-item > :first-child { justify-self: end; }
  .trail-item:nth-child(even) > :first-child { order: 2; justify-self: start; }
  .trail-item:nth-child(even) > :last-child { justify-self: end; text-align: right; }
  .trail-item:nth-child(even) .trail-say { justify-items: end; }
}

/* ---------- 6 · care ---------- */
.care { background: var(--clay); color: var(--deep); --focus: var(--deep); padding-bottom: 0; }
.care .ch-head { position: relative; z-index: 2; }
.care-fig { position: relative; margin: clamp(-60px, -5vw, -20px) calc(var(--gut) * -1) 0; flex: 1; min-height: min(96vw, 70svh); display: grid; }
.care-fig > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; -webkit-mask: linear-gradient(180deg, transparent 0, #000 22%); mask: linear-gradient(180deg, transparent 0, #000 22%); }
.nudge { position: relative; z-index: 2; align-self: start; justify-self: end; margin: clamp(60px, 11vw, 150px) var(--gut) 0; width: min(100% - 2 * var(--gut), 372px); background: rgba(255, 253, 246, .95); color: var(--ink); border-radius: 24px; padding: 16px; display: grid; gap: 12px; box-shadow: 0 0 0 1px rgba(20, 55, 43, .1), 0 40px 60px -30px rgba(70, 25, 8, .7); --focus: var(--cedar); }
.nudge-top { display: flex; align-items: center; gap: 9px; font: 600 14px/1 var(--sans); }
.nudge-top img { width: 24px; height: 24px; border-radius: 7px; background: var(--sage); padding: 4px; }
.nudge-top .eg { margin-left: auto; }
.nudge p { font: italic 400 23px/1.14 var(--serif); letter-spacing: -.01em; }
.nudge-act { display: flex; gap: 8px; }
.nudge-act .btn { flex: 1; }
.nudge-done { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; font-weight: 500; color: var(--pine); }
.year { position: relative; z-index: 2; align-self: end; margin: 0 var(--gut) clamp(26px, 4vh, 54px); border-radius: 22px; background: rgba(11, 33, 26, .86); color: var(--bone); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding: 16px 18px 18px; --focus: var(--lamp); }
.year-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; padding-bottom: 14px; }
.year-top b { font: 400 24px/1 var(--serif); }
.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); font: 500 12px/1 var(--sans); }
.months span { padding: 0 0 8px 6px; border-left: 1px solid rgba(255, 253, 246, .22); opacity: .7; }
.months span.is-now { opacity: 1; color: var(--lamp); border-color: var(--lamp); }
.year-track { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px 0; padding-top: 6px; border-top: 1px solid rgba(255, 253, 246, .22); }
.task { grid-column: var(--m) / span var(--s, 2); grid-row: var(--r, 1); display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: rgba(255, 253, 246, .12); color: inherit; font: 500 13.5px/1.15 var(--sans); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: .2s; }
a.task:hover, button.task:hover { background: rgba(255, 253, 246, .22); }
.task.is-next, .task[aria-pressed=true], button.task[aria-pressed=true]:hover { background: var(--lamp); color: var(--deep); font-weight: 600; }
.task.is-done { opacity: .6; text-decoration: line-through; text-decoration-color: rgba(255, 253, 246, .5); }

/* ---------- 7 · records ---------- */
.records { background: var(--bone); gap: clamp(22px, 3.4vh, 44px); padding-bottom: 0; }
.asks { display: flex; flex-wrap: wrap; gap: 8px; }
.ask { border: 0; padding: 11px 18px 12px; border-radius: 99px; background: none; box-shadow: inset 0 0 0 1.5px var(--pine); font: italic 400 21px/1.1 var(--serif); color: var(--pine); transition: .2s; text-align: left; }
.ask:hover { background: rgba(20, 55, 43, .08); }
.ask[aria-pressed=true] { background: var(--pine); color: var(--bone); }
.roomshot { position: relative; margin: 0 calc(var(--gut) * -1); flex: 1; min-height: min(92vw, 66svh); isolation: isolate; overflow: hidden; }
.roomshot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -1; }
.roomshot::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 33, 26, 0) 45%, rgba(11, 33, 26, .5)); }
.tag { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; border-radius: 99px; background: rgba(255, 253, 246, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 13.5px/1 var(--sans); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(11, 33, 26, .7); transition: .35s var(--ease); white-space: nowrap; }
.tag::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--pine); transition: .3s; }
.tag.is-on { background: var(--pine); color: var(--bone); transform: translate(-50%, -50%) scale(1.08); }
.tag.is-on::before { background: var(--lamp); box-shadow: 0 0 0 5px rgba(242, 189, 87, .35); }
.answer { position: absolute; left: var(--gut); bottom: clamp(20px, 4vh, 48px); width: min(100% - 2 * var(--gut), 500px); background: var(--paper); border-radius: 24px; padding: 20px 22px; display: grid; gap: 12px; box-shadow: 0 40px 60px -30px rgba(11, 33, 26, .8); }
.answer .q { font-size: 14px; color: var(--moss); }
.answer .a { font: italic 400 clamp(22px, 2.3vw, 28px)/1.14 var(--serif); letter-spacing: -.01em; }
.answer .src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 13.5px; color: var(--moss); padding-top: 12px; border-top: 1px solid var(--line); }
.answer .src b { color: var(--ink); font-weight: 600; }
.answer .more { justify-self: start; font-size: 15px; }
.records .ch-head { grid-template-columns: minmax(0, 1fr); }

/* ---------- 8 · marketplace ---------- */
.market { background: var(--paper); gap: clamp(24px, 4vh, 50px); justify-content: center; }
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 400 clamp(1.5rem, 3vw, 2.4rem)/1.1 var(--serif); letter-spacing: -.015em; }
.jobs { display: flex; flex-wrap: wrap; gap: 6px; }
.job { border: 0; background: none; height: 46px; padding: 0 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); font: 500 15px/1 var(--sans); letter-spacing: 0; transition: .2s; }
.job:hover { box-shadow: inset 0 0 0 1.5px var(--pine); }
.job[aria-pressed=true] { background: var(--cedar); color: #fff; box-shadow: none; font-weight: 600; }
.pro { display: grid; gap: clamp(20px, 3vw, 44px); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
.pro-photo { position: relative; border-radius: 200px 200px 18px 18px; overflow: hidden; min-height: 300px; background: var(--sage); }
.pro-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 24% 30%; }
.pro-photo figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; font-size: 12.5px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.pro-body { display: grid; gap: 18px; align-content: center; }
.pro-body.is-swap > * { animation: swap .4s var(--ease) both; }
.pro-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14.5px; color: var(--moss); }
.pro-meta b { color: var(--cedar); font-weight: 600; }
.pro-name { font: 400 clamp(2.6rem, 6vw, 5rem)/.92 var(--serif); letter-spacing: -.03em; }
.pro-quote { font: italic 400 clamp(1.5rem, 2.9vw, 2.3rem)/1.14 var(--serif); letter-spacing: -.012em; padding-left: 20px; border-left: 3px solid var(--cedar); max-width: 21em; }
.pro-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 26px; border-top: 1.5px solid var(--ink); }
.pro-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; font-size: 15px; }
.pro-facts dt { font-size: 13px; color: var(--moss); }
.also { display: grid; gap: 0 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.also-h { grid-column: 1 / -1; font-size: 13px; color: var(--moss); padding-bottom: 8px; }
.also figure { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); align-content: start; }
.also figcaption { font: 600 13.5px/1.2 var(--sans); color: var(--cedar); }
.also blockquote { font: italic 400 20px/1.2 var(--serif); }
@media (min-width: 820px) { .pro { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); } .pro-photo { min-height: min(62svh, 760px); } }

/* ---------- OS band ---------- */
.osband { background: var(--slate); color: var(--bone); --focus: var(--lamp); padding: clamp(48px, 8vh, 96px) var(--gut); display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.osband h2 { max-width: 15em; }
.osband p { max-width: 30em; opacity: .8; margin-top: 14px; }
.os-mini { border-radius: 20px; background: #20272b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); padding: 8px; display: grid; gap: 6px; font-size: 14px; }
.os-mini div { display: grid; grid-template-columns: 5.4em 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 13px; background: #272f34; }
.os-mini time { opacity: .7; font-variant-numeric: tabular-nums; }
.os-mini b { font-weight: 500; }
.os-mini i { font-style: normal; font-weight: 600; font-size: 12.5px; padding: 5px 9px; border-radius: 8px; background: rgba(242, 189, 87, .16); color: var(--lamp); }
.os-mini .is-own i { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .osband { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; } }

/* ---------- finale ---------- */
.finale { --scrim: linear-gradient(180deg, rgba(6, 18, 14, .78) 0%, rgba(6, 18, 14, .3) 36%, rgba(6, 18, 14, .5) 62%, rgba(6, 18, 14, .93) 100%); }
.finale > .bg { object-position: 62% 50%; }
.hand { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.hand a { padding: 12px 18px 13px; border-radius: 99px; background: rgba(255, 253, 246, .12); box-shadow: inset 0 0 0 1px rgba(255, 253, 246, .4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: italic 400 21px/1.1 var(--serif); transition: .2s; }
.hand a:hover { background: var(--bone); color: var(--deep); }
.setup { margin-top: auto; display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: end; }
.setup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid rgba(255, 253, 246, .6); counter-reset: s; }
.setup-steps li { counter-increment: s; padding: 12px 12px 0 0; font-size: 14.5px; line-height: 1.3; display: grid; gap: 6px; align-content: start; }
.setup-steps li::before { content: counter(s); font: 400 30px/1 var(--serif); color: var(--lamp); }
.setup-go { display: grid; gap: 14px; justify-items: start; }
.setup-go .h-md { max-width: 13em; }
.phone { width: min(100%, 300px); border-radius: 30px; padding: 9px; background: #0d1512; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 40px 60px -24px rgba(0, 0, 0, .85); justify-self: start; }
.phone img { border-radius: 22px; width: 100%; }
.phone figcaption { font-size: 12px; color: rgba(255, 253, 246, .7); padding: 9px 8px 4px; }
@media (min-width: 900px) { .setup { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } .phone { justify-self: end; } }

/* ---------- footer ---------- */
.foot { background: var(--deep); color: var(--bone); --focus: var(--lamp); padding: clamp(40px, 6vh, 72px) var(--gut) 28px; display: grid; gap: 34px; }
.foot-top { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.foot-logo img { width: 124px; filter: brightness(0) invert(.95); }
.foot-logo p { font: italic 400 24px/1.1 var(--serif); margin-top: 14px; opacity: .9; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.foot-cols h3 { font: 500 13px/1 var(--sans); opacity: .6; margin-bottom: 12px; }
.foot-cols a { display: block; padding: 6px 0; font-size: 15.5px; }
.foot-cols a:hover { color: var(--lamp); }
.foot-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 20px; border-top: 1px solid rgba(255, 253, 246, .16); font-size: 13px; opacity: .72; }
@media (min-width: 820px) { .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); } .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- small screens ---------- */
@media (max-width: 899px) {
  :root { --mast: 76px; }
  .mast { top: 8px; left: 10px; right: 10px; }
  .mast-bar { height: 54px; padding: 0 6px 0 14px; border-radius: 18px; }
  .mast-logo img { width: 68px; }
  .mast-link, .hide-s { display: none; }
  .menu-btn { padding: 0 10px; }
  .mast .btn { padding: 0 14px; margin-left: 2px; }
  .menu { position: fixed; top: 72px; left: 10px; right: 10px; max-height: calc(100svh - 84px); overflow-y: auto; grid-template-columns: minmax(0, 1fr); padding: 8px; gap: 8px; }
  .menu-preview { display: none; }
  .menu-list .t { font-size: 25px; }
  .menu-list a { padding: 10px 12px; }
  .menu-side { grid-template-rows: auto; grid-template-columns: minmax(0, 1fr); }
  .menu-pro { gap: 14px; }

  .opening { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-top: calc(var(--mast) + 14px); }
  .mega { grid-row: auto; font-size: clamp(5.4rem, 29vw, 12rem); }
  .open-side { grid-column: 1; grid-row: auto; padding-top: 16px; gap: 16px; }
  .model { grid-row: auto; width: 110%; margin: -2vw -5% 0; min-width: 0; }
  .model { aspect-ratio: auto; }
  .model-tilt { position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .roomcard { position: relative; left: auto; top: auto; bottom: auto; width: auto; margin: -14px 7% 0; z-index: 5; }
  .leader { display: none; }
  .roomrail { grid-row: auto; margin-top: 10px; }
  .roomrail-list { display: flex; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .roomrail-list::-webkit-scrollbar { display: none; }
  .roomtab { flex: 0 0 auto; padding: 11px 16px 12px; scroll-snap-align: start; }
  .roomtab span { display: none; }
  .roomtab b { font-size: 20px; white-space: nowrap; }

  .cs-row { grid-template-columns: 1fr auto; padding: 14px 16px; gap: 6px 14px; }
  .cs-qa { grid-column: 1 / -1; grid-row: 2; }
  .cs-qa .a { font-size: 17.5px; }

  .slips { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 14px; }
  .slip { --r: 0deg !important; --y: 0px !important; padding: 14px 16px; grid-template-columns: 1fr auto; align-items: baseline; }
  .slip-name { border: 0; padding: 0; font-size: 25px; }
  .slip-li { display: none; grid-column: 1 / -1; }
  .slip-li.is-key { display: flex; border: 0; padding: 2px 0 0; grid-column: 1; grid-row: 2; justify-content: flex-start; font-size: 13.5px; }
  .slip-li.is-key span:first-child { display: none; }
  .slip-tot { grid-column: 2; grid-row: 1 / span 2; padding: 0; align-self: center; }
  .slip-tot span { display: none; }
  .slip-tot b { font-size: 40px; }
  .slip.is-on .slip-li { display: flex; }
  .slip.is-on .slip-li.is-key { grid-row: auto; grid-column: 1 / -1; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  .slip.is-on .slip-li.is-key span:first-child { display: inline; }
  .slip.is-on .slip-name { grid-column: 1; padding-bottom: 8px; }
  .slip.is-on .slip-tot { grid-row: 1; }
  .slip-stamp { top: -13px; right: 10px; }
  .slip.is-on { padding-top: 24px; margin-top: 8px; }
  .prio { display: flex; flex-wrap: nowrap; width: 100%; }
  .prio button { flex: 1 1 auto; padding: 0 6px; font-size: 13.5px; white-space: nowrap; }
  .trail-item > .trail-say { order: -1; }
  .care-fig { margin-top: 18px; }
  .nudge { margin-top: 20px; }
  .year { margin-top: 44vw; }
  .tag { top: calc(var(--y) * .4); }
  .pro-photo { min-height: 240px; border-radius: 140px 140px 16px 16px; }
  .pro-photo img { object-position: 24% 12%; }

  .year { padding: 14px; }
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .months span:nth-child(-n+6) { display: none; }
  .year-track { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .task { --s: 3; grid-column: var(--mm, 1) / span var(--ms, 3); white-space: normal; padding: 7px 10px; }
  .task.is-early { display: none; }

  .tag { font-size: 12.5px; padding: 6px 10px 6px 8px; }
  .answer { position: relative; left: auto; bottom: auto; width: auto; margin: 46vw 14px 14px; }
  .roomshot { display: grid; align-items: end; }
  .phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
