/* Good Small Apps: black night, warm paper text, one lilac accent; thin serif capitals for headlines, Inter for reading. */
:root {
  --ink: #0b0a0c; --ink-2: #16141a; --ink-3: #221f27;
  --paper: #f5efe6; --muted: #a8a1aa; --line: #2c2830;
  --lilac: #ecc8f4; --lilac-2: #dcaee8; --lilac-ink: #26132d; --lilac-muted: #6d4f75;
  --mustard: #e3ad2a; --brick: #cf3f2a; --sea: #2c6cae; --cocoa: #6a4c3b; --leaf: #3d8b57; --cream: #f3e6cf;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wordmark: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 48px);
  --r: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--lilac); color: var(--lilac-ink); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }

/* ---- type ---- */
.display { font: 400 clamp(52px, 10.5vw, 184px)/.86 var(--serif); letter-spacing: -.015em; text-transform: uppercase; margin: 0; }
.h2 { font: 400 clamp(44px, 7.6vw, 124px)/.88 var(--serif); letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
.h3 { font: 400 clamp(32px, 4.2vw, 60px)/.95 var(--serif); text-transform: uppercase; margin: 0; }
.lede { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 34em; color: var(--muted); }
.on-lilac .lede, .on-lilac .muted { color: var(--lilac-muted); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 99px; border: 0; background: var(--lilac); color: var(--lilac-ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.btn:hover { background: #f6dcfb; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px #4a4450; }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--paper); background: transparent; }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn.dark:hover { background: var(--ink-3); }
.on-lilac .btn.ghost { color: var(--lilac-ink); box-shadow: inset 0 0 0 1px var(--lilac-muted); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--lilac); }
.on-lilac .link:hover { color: var(--ink); }

/* ---- header ---- */
.top { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .3s, backdrop-filter .3s; }
.top.solid { background: rgba(11,10,12,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { max-width: none; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; height: 76px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lilac); font: 800 19px/1 var(--wordmark); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.mark svg { width: 30px; height: 30px; flex: none; }
.top .tag { justify-self: center; text-align: center; font-size: 14px; color: #d8d1d9; max-width: 30em; line-height: 1.4; margin: 0; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.top nav a { text-decoration: none; color: #d8d1d9; }
.top nav a:hover, .top nav a[aria-current] { color: var(--paper); }
.top nav .btn { color: var(--lilac-ink); }
@media (max-width: 1080px) { .top .tag { display: none; } .top .wrap { grid-template-columns: auto 1fr; } .top nav { justify-self: end; } }
@media (max-width: 700px) {
  .top .wrap { height: auto; padding-top: 12px; padding-bottom: 10px; grid-template-columns: 1fr; gap: 8px; }
  .top nav { justify-self: start; gap: 16px; font-size: 14px; flex-wrap: wrap; }
  .top nav .btn { display: none; }
  .mark { font-size: 17px; } .mark svg { width: 26px; height: 26px; }
}

/* ---- floating dock ---- */
.dock { position: fixed; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 45; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 8px; border-radius: 99px; background: rgba(22,20,26,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px #2e2a33, 0 14px 40px rgba(0,0,0,.45); transform: translate(-50%, 140%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.dock.show { transform: translate(-50%, 0); }
.dock svg { width: 34px; height: 34px; }
.dock .btn { min-height: 40px; }
.dock .btn.ghost { box-shadow: none; color: #d8d1d9; }

/* ---- hero ---- */
.hero { position: relative; min-height: max(860px, 116svh); overflow: hidden; padding-top: 110px; }
.hero .copy { position: relative; z-index: 3; text-align: center; padding: 0 var(--gut); pointer-events: none; }
.hero .copy .ctas, .hero .copy a { pointer-events: auto; }
.hero .display { text-shadow: 0 6px 40px rgba(0,0,0,.6); }
.hero .lede { margin: 22px auto 0; text-align: center; color: #cfc8d0; }
.hero .ctas { justify-content: center; }
.swarm { position: absolute; inset: 0; z-index: 2; perspective: 1300px; perspective-origin: 50% 40%; pointer-events: none; }
.swarm .it { position: absolute; left: var(--x); top: var(--y); width: var(--w, 150px); transform-style: preserve-3d; will-change: transform; }
.swarm .fl { animation: bob var(--d, 7s) ease-in-out infinite alternate; animation-delay: var(--dl, 0s); }
@keyframes bob { from { transform: translateY(-8px) rotate(calc(var(--rz, 0deg) - 1deg)); } to { transform: translateY(10px) rotate(calc(var(--rz, 0deg) + 1.5deg)); } }
.tile { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.45); }
.tile svg { width: 100%; height: 100%; }
.qcard { background: #fbf8f4; color: #141216; border-radius: 14px; padding: 14px 14px 12px; box-shadow: 0 24px 50px rgba(0,0,0,.5); font-size: 11px; line-height: 1.35; }
.qcard .ic { width: 26px; height: 26px; border-radius: 7px; overflow: hidden; }
.qcard .who { color: #77707a; font-size: 10px; margin: 8px 0 3px; }
.qcard b { display: block; font: 800 17px/1.08 var(--sans); letter-spacing: -.02em; }
.qcard p { margin: 8px 0 0; color: #3c3740; }
.qcard .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 9px; border-top: 1px solid #ebe5ee; color: #77707a; font-size: 10px; }
.qcard .chip { background: var(--lilac); color: var(--lilac-ink); font-weight: 700; border-radius: 99px; padding: 2px 8px; }
.hero .scrollcue { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8d858f; }
@media (max-width: 700px) { .swarm { top: 46%; } .swarm .hide-s { display: none; } .hero { padding-top: 130px; min-height: 900px; } .swarm .it { width: calc(var(--w) * .7); } .qcard { padding: 10px; font-size: 9px; } .qcard b { font-size: 13px; } .qcard p { display: none; } }

/* ---- chapters ---- */
.ch { position: relative; padding: clamp(84px, 11vw, 160px) 0; }
.ch.on-lilac { background: var(--lilac); color: var(--lilac-ink); }
.ch.on-ink2 { background: var(--ink-2); }
.ch-top { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: clamp(40px, 6vw, 80px); }
.on-lilac .ch-top { color: var(--lilac-muted); }
.ch-top b { font-weight: 500; color: inherit; }
.split { display: grid; grid-template-columns: 1fr minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.split .lede { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.newtag { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--lilac); color: var(--lilac-ink); padding: 7px 10px; border-radius: 99px; margin-bottom: 22px; }
.on-lilac .newtag { background: var(--ink); color: var(--lilac); }

/* ---- product cards (home) ---- */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.app { background: var(--ink-2); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.app:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #4a4450; }
.app .media { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.app .media video, .app .media img { width: 100%; height: 100%; object-fit: cover; }
.app .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.app h3 { font: 400 34px/1 var(--serif); text-transform: uppercase; margin: 0; }
.app .price { font-weight: 600; color: var(--lilac); white-space: nowrap; }
.app p { margin: 8px 0 0; color: var(--muted); }
.app .os { font-size: 13px; color: #8d858f; margin-top: auto; padding-top: 14px; }
@media (max-width: 760px) { .apps { grid-template-columns: 1fr; } }

/* ---- Murmur dictation scene ---- */
.dict { position: relative; height: 100%; display: grid; place-items: center; padding: 18px; background: radial-gradient(120% 90% at 20% 0%, #3a2346, #120e16 60%); }
.dict .note { width: min(100%, 420px); background: #fbf8f4; color: #141216; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); font-size: 13px; }
.dict .bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eee8ef; color: #77707a; font-size: 11px; }
.dict .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3cbd5; }
.dict .bar span { margin-left: 6px; }
.dict .note-to { margin: 0; padding: 9px 14px; border-bottom: 1px solid #ebe5ee; color: #77707a; }
.dict .note-body { margin: 0; padding: 12px 14px 16px; min-height: 92px; position: relative; line-height: 1.5; }
.dict .ghost { visibility: hidden; }
.dict .typed { position: absolute; inset: 12px 14px 16px; }
.dict .pill { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; background: #141216; color: var(--paper); border-radius: 99px; padding: 7px 14px 7px 10px; font-size: 12px; box-shadow: 0 0 0 1px #3a3440; }
.dict .wave { display: flex; gap: 2px; align-items: center; height: 16px; }
.dict .wave i { width: 3px; height: calc(var(--h) * 16px); border-radius: 2px; background: var(--lilac); }
.dict.is-live .wave i { animation: talk .7s ease-in-out infinite alternate; animation-delay: var(--d); }
@keyframes talk { from { transform: scaleY(.35); } to { transform: scaleY(1); } }

/* ---- numbered list (services, work) ---- */
.list { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; border-top: 1px solid currentColor; }
.on-lilac .list { border-color: rgba(38,19,45,.25); }
.list > li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 70px; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.on-lilac .list > li { border-color: rgba(38,19,45,.25); }
.list .k { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.on-lilac .list .k { color: var(--lilac-muted); }
.list p { margin: 0; color: var(--muted); max-width: 30em; }
.on-lilac .list p { color: var(--lilac-muted); }
.list .n { font: 400 40px/1 var(--serif); text-align: right; }
.list a.h3 { text-decoration: none; }
.list a.h3:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 760px) { .list > li { grid-template-columns: 1fr auto; } .list > li > p, .list > li > .body { grid-column: 1 / -1; grid-row: 2; } .list .n { grid-column: 2; grid-row: 1; } }

/* ---- 3D floor plan ---- */
.plan-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 80px); align-items: center; margin-top: clamp(40px, 6vw, 80px); }
@media (max-width: 900px) { .plan-wrap { grid-template-columns: 1fr; } }
.stage { position: relative; height: 520px; display: grid; place-items: center; perspective: 1600px; }
.plan { --p: 0; position: relative; width: 560px; height: 380px; flex: none; transform-style: preserve-3d; transform: scale(var(--fit, 1)) rotateX(calc(var(--p) * 56deg)) rotateZ(calc(var(--p) * -34deg)); transition: transform .08s linear; }
.plan .floor { position: absolute; inset: 0; border-radius: 6px; background: #f2ead9 linear-gradient(transparent 31px, rgba(106,76,59,.08) 32px) 0 0 / 100% 32px; box-shadow: 0 0 0 10px #e7dcc4, 0 40px 80px rgba(0,0,0,.5); }
.plan .room { position: absolute; display: grid; place-items: center; font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(106,76,59,.65); }
.plan .wood { background: #e4cfa7 repeating-linear-gradient(90deg, transparent 0 22px, rgba(106,76,59,.12) 22px 23px); }
.plan .tiles { background: #dfe7ea repeating-linear-gradient(0deg, transparent 0 15px, rgba(0,0,0,.08) 15px 16px), repeating-linear-gradient(90deg, transparent 0 15px, rgba(0,0,0,.08) 15px 16px); }
.plan .w { position: absolute; background: #2a2530; }
.plan .w.h { height: 6px; transform-origin: 50% 0; }
.plan .w.v { width: 6px; transform-origin: 0 50%; }
.plan .wall { position: absolute; background: linear-gradient(#ffffff, #e9e3ec); box-shadow: inset 0 3px 0 #cfc7d3; }
.plan .wall.h { height: calc(var(--p) * 74px); transform-origin: 50% 0; transform: rotateX(90deg); }
.plan .wall.v { width: calc(var(--p) * 74px); transform-origin: 0 50%; transform: rotateY(-90deg); background: linear-gradient(90deg, #f2edf4, #ddd5e0); }
.plan .fur { position: absolute; border-radius: 5px; transform: translateZ(calc(var(--p) * var(--z, 10px))); transform-style: preserve-3d; }
.plan .fur.sofa { background: var(--sea); box-shadow: inset 0 0 0 4px #24598f; }
.plan .fur.bed { background: #fbf8f4; box-shadow: inset 0 0 0 3px #d9cfdc; }
.plan .fur.bed::after { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 22px; border-radius: 4px; background: var(--lilac); }
.plan .fur.table { background: var(--cocoa); border-radius: 50%; }
.plan .fur.counter { background: #8f8a93; }
.plan .fur.tub { background: #fff; border-radius: 12px; box-shadow: inset 0 0 0 4px #c9d6dc; }
.plan .fur.rug { background: var(--brick); opacity: .85; border-radius: 4px; transform: none; }
.plan .fur.plant { background: var(--leaf); border-radius: 50%; }
.stage .hint { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .stage { height: 380px; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326132d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.on-lilac .ticks li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecc8f4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }

/* ---- video chapter ---- */
.reel { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.reel figure { margin: 0; border-radius: 18px; overflow: hidden; background: #000; position: relative; box-shadow: 0 30px 60px rgba(38,19,45,.25); }
.reel figure.big { grid-row: span 2; }
.reel video, .reel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.reel figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11,10,12,.75); color: var(--paper); font-size: 12px; padding: 5px 10px; border-radius: 99px; backdrop-filter: blur(8px); }
@media (max-width: 760px) { .reel { grid-template-columns: 1fr; } .reel figure.big { grid-row: auto; } }

/* ---- ChefThisWay phones ---- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(48px, 6vw, 80px); background: var(--ink-2); border-radius: 28px; padding: clamp(24px, 4vw, 56px); box-shadow: inset 0 0 0 1px var(--line); }
.feature img.logo { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px; }
.feature p { color: var(--muted); }
.phones { position: relative; height: 440px; }
.phone { position: absolute; margin: 0; width: 190px; border-radius: 30px; padding: 7px; background: #1d1b20; box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 1px #3a3640; }
.phone img { border-radius: 24px; }
.phone.p1 { left: 50%; top: 10px; transform: translateX(-50%); z-index: 2; }
.phone.p2 { left: calc(50% - 230px); top: 50px; transform: rotate(-6deg); }
.phone.p3 { left: calc(50% + 40px); top: 50px; transform: rotate(6deg); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .phones { height: 360px; } .phone { width: 150px; } .phone.p2 { left: calc(50% - 165px); } .phone.p3 { left: calc(50% + 15px); } }

/* ---- steps + promises ---- */
.steps { list-style: none; padding: 0; margin: clamp(48px, 6vw, 80px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { background: rgba(255,255,255,.35); border-radius: 20px; padding: 24px; }
.steps .n { font: 400 54px/1 var(--serif); }
.steps h3 { margin: 18px 0 6px; font-size: 18px; }
.steps p { margin: 0; color: var(--lilac-muted); }
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.promises div { border-top: 1px solid rgba(38,19,45,.3); padding-top: 16px; }
.promises h3 { margin: 0 0 4px; font-size: 16px; }
.promises p { margin: 0; color: var(--lilac-muted); font-size: 15px; }
@media (max-width: 900px) { .steps, .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps, .promises { grid-template-columns: 1fr; } }

/* ---- final call ---- */
.final { text-align: center; padding: clamp(110px, 14vw, 200px) 0; background: radial-gradient(60% 50% at 50% 30%, rgba(236,200,244,.16), transparent 70%), var(--ink); }
.final .appicon { width: 92px; height: 92px; margin: 0 auto 28px; border-radius: 24px; box-shadow: 0 0 80px rgba(236,200,244,.35); }
.final .lede { margin: 22px auto 0; text-align: center; }
.final .ctas { justify-content: center; }
.mailline { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; }
.mailline code { font: 500 15px var(--sans); color: var(--paper); background: var(--ink-3); padding: 8px 14px; border-radius: 99px; }

/* ---- inner pages ---- */
.phero { padding: 170px 0 clamp(56px, 7vw, 100px); }
.phero .lede { margin-top: 26px; }
.prod { padding: clamp(72px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.prod.on-lilac { border: 0; background: var(--lilac); color: var(--lilac-ink); }
.prod .grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.prod .media { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.prod .media video, .prod .media img { width: 100%; height: 100%; object-fit: cover; }
.prod .appicon { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; }
.prod .price { margin: 22px 0 0; font-size: 15px; }
.prod .price strong { font-size: 22px; margin-right: 6px; }
.prod .fine { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.on-lilac .fine { color: var(--lilac-muted); }
@media (max-width: 900px) { .prod .grid2 { grid-template-columns: 1fr; } }
.specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.specs li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.on-lilac .specs, .on-lilac .specs li { border-color: rgba(38,19,45,.25); }

/* work grid */
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 99px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 99px; cursor: pointer; color: var(--muted); font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--lilac); color: var(--lilac-ink); font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.card { background: var(--ink-2); border-radius: 20px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.card .k { font-size: 13px; color: var(--muted); }
.card h3 { font: 400 30px/1 var(--serif); text-transform: uppercase; margin: 0 0 8px; }
.card p { margin: 12px 0 0; color: #cfc8d0; }
.card .st { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--lilac); }
.card.next { background: var(--lilac); color: var(--lilac-ink); box-shadow: none; }
.card.next p, .card.next .k { color: var(--lilac-muted); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px; align-items: start; padding-bottom: 120px; }
.mailbox, .sheet { background: var(--ink-2); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: inset 0 0 0 1px var(--line); }
.mailbox code { display: inline-block; margin-top: 18px; font: 600 18px var(--sans); color: var(--lilac); word-break: break-all; }
.mailbox h2, .sheet h2 { font: 400 40px/1 var(--serif); text-transform: uppercase; margin: 0 0 12px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; color: var(--paper); background: var(--ink); border: 1px solid #3a3440; border-radius: 12px; padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 3px rgba(236,200,244,.2); }
#briefErr { color: #ff9b8a; margin: 14px 0 0; }
.briefDone { margin-top: 20px; }
.briefDone pre { white-space: pre-wrap; background: var(--ink); border: 1px solid #3a3440; border-radius: 12px; padding: 14px; font: 14px/1.5 var(--sans); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 120px; font-size: 14px; color: var(--muted); }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot h3 { color: var(--paper); font-size: 14px; margin: 0 0 12px; }
.foot .cols a, .foot .cols span { display: block; text-decoration: none; margin: 7px 0; }
.foot .cols a:hover { color: var(--paper); }
.foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }
.foot .big { font: 400 clamp(40px, 6vw, 84px)/.9 var(--serif); text-transform: uppercase; color: var(--paper); margin: 0 0 14px; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > div:first-child { grid-column: 1 / -1; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.dl-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .swarm .fl, .dict.is-live .wave i { animation: none; }
  .plan { transition: none; }
}
