/* Shared by /support and /docs. Same tokens and type as the home page. */
:root {
  --bg: #060507; --panel: #0f0e11; --panel-2: #17151a; --panel-3: #1f1c22;
  --line: #262329; --line-2: #34303a; --ink: #f6f3ef; --muted: #bab3ac; --dim: #8c857f;
  --gold: #e6ad55; --gold-soft: #ffe2b0; --green: #5fcf98; --rose: #ef7a9a;
  --sans: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --r: 18px; --r-lg: 24px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { font-weight: 500; letter-spacing: -0.035em; text-wrap: balance; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.eyebrow { font-size: .88rem; font-weight: 500; color: var(--gold); letter-spacing: .01em; }
.grey { color: var(--dim); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font: 500 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .18s cubic-bezier(.2, 1.6, .4, 1), background .15s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: var(--panel-3); }
.btn-main { background: linear-gradient(180deg, #f3c47a, var(--gold)); border-color: #f0bd6c; color: #1a1208; box-shadow: 0 0 0 6px rgb(230 173 85 / .1), 0 18px 44px -12px rgb(230 173 85 / .5); }
.btn-main:hover { background: linear-gradient(180deg, #f7cf8d, #ebb663); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgb(6 5 7 / .78); backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line-2); }
.brand small { font-weight: 500; color: var(--gold); margin-left: 2px; }
.nav-links { display: flex; gap: 22px; font-size: .92rem; color: var(--muted); }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: .9rem; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-in { gap: 12px; } }

/* Hero with search */
.help-hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); text-align: center; }
.help-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("stills/hero.jpg") center 30% / cover; opacity: .28; }
.help-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 0%, rgb(230 173 85 / .18), transparent 70%), linear-gradient(180deg, rgb(6 5 7 / .55), var(--bg) 92%); }
.help-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; }
.help-hero h1 .serif { color: var(--gold-soft); }
.help-hero .lede { margin: 18px auto 0; max-width: 46ch; color: var(--muted); font-size: 1.1rem; }
.search { position: relative; max-width: 640px; margin: 32px auto 0; }
.search input { width: 100%; padding: 18px 20px 18px 54px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(15 14 17 / .85); backdrop-filter: blur(12px); font-size: 1.05rem; box-shadow: 0 24px 60px -24px #000; }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(230 173 85 / .15), 0 24px 60px -24px #000; }
.search svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; stroke: var(--dim); fill: none; stroke-width: 2; }
.results { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 8px); text-align: left; border-radius: 18px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px #000; overflow: hidden; }
.results a { display: block; padding: 12px 18px; text-decoration: none; border-top: 1px solid var(--line); }
.results a:first-child { border-top: 0; }
.results a:hover, .results a.on { background: var(--panel-3); }
.results b { display: block; font-weight: 500; }
.results span { font-size: .86rem; color: var(--muted); }
.results .none { padding: 16px 18px; color: var(--muted); font-size: .95rem; }
.popular { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: .88rem; color: var(--dim); }
.popular a { color: var(--muted); text-decoration: none; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgb(15 14 17 / .6); }
.popular a:hover { color: var(--ink); border-color: var(--gold); }

/* Sections */
.band { padding-block: clamp(48px, 7vw, 96px); }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.08; }
.head a { color: var(--gold-soft); text-decoration: none; font-size: .95rem; white-space: nowrap; }

/* Topic cards */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .25s cubic-bezier(.2, 1.4, .4, 1), background .2s ease; }
.topic:hover { border-color: rgb(230 173 85 / .5); transform: translateY(-2px); background: var(--panel-2); }
.topic .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgb(230 173 85 / .1); border: 1px solid rgb(230 173 85 / .28); margin-bottom: 6px; }
.topic .ico svg { width: 21px; height: 21px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topic h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.topic p { color: var(--muted); font-size: .95rem; }
.topic small { margin-top: auto; padding-top: 8px; color: var(--dim); font-size: .82rem; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: minmax(0, 1fr); } }

/* Video guides */
.videos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.videos::-webkit-scrollbar { display: none; }
.vcard { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.vthumb { position: relative; aspect-ratio: 9 / 13; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.vcard:hover .vthumb img { transform: scale(1.04); }
.vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(0 0 0 / .7)); }
.play { position: absolute; z-index: 1; left: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .92); box-shadow: 0 10px 24px -8px #000; }
.play::after { content: ""; margin-left: 4px; border: 8px solid transparent; border-left: 13px solid #111; border-right: 0; }
.dur { position: absolute; z-index: 1; right: 12px; bottom: 16px; font: 500 .78rem/1 var(--mono); color: #fff; }
.vcard b { font-weight: 500; }
.vcard span { color: var(--muted); font-size: .88rem; margin-top: -6px; }
@media (max-width: 560px) { .videos { grid-auto-columns: 62%; margin-inline: -20px; padding-inline: 20px; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.04; }
.contact-copy .lede { margin-top: 14px; color: var(--muted); max-width: 40ch; }
.ways { margin-top: 26px; display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.ways a, .ways div { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; }
.ways a:hover { border-color: var(--line-2); background: var(--panel-2); }
.ways svg { width: 20px; height: 20px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ways b { display: block; font-weight: 500; font-size: .98rem; }
.ways span { display: block; color: var(--muted); font-size: .88rem; }
.urgent { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: rgb(239 122 154 / .08); border: 1px solid rgb(239 122 154 / .3); font-size: .92rem; color: #f3c3d0; }
.urgent b { color: #ffd9e3; font-weight: 500; }
.ticket { position: relative; padding: clamp(22px, 3.4vw, 36px); border-radius: var(--r-lg); background: radial-gradient(110% 80% at 100% 0%, rgb(230 173 85 / .12), transparent 60%), var(--panel); border: 1px solid var(--line-2); box-shadow: 0 40px 90px -40px #000; }
.ticket h3 { font-size: 1.4rem; }
.ticket > p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; color: var(--muted); min-width: 0; }
.f i { font-style: normal; opacity: .7; }
.f input, .f select, .f textarea { width: 100%; min-width: 0; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font-size: 1rem; line-height: 1.4; }
.f textarea { resize: vertical; min-height: 140px; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(230 173 85 / .14); }
.f.bad input, .f.bad textarea, .f.bad select { border-color: #e0685a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.suggest { display: none; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); border: 1px dashed var(--line-2); font-size: .9rem; }
.suggest.on { display: block; }
.suggest p { color: var(--muted); margin-bottom: 6px; }
.suggest a { display: block; color: var(--gold-soft); text-decoration: none; padding: 3px 0; }
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-foot small { color: var(--dim); font-size: .82rem; flex: 1 1 200px; }
.status { min-height: 1.3em; font-size: .92rem; color: var(--gold-soft); }
.status.err { color: #f08a7c; }
.sent { display: none; text-align: center; padding: 24px 6px 6px; }
.sent.on { display: block; }
.sent .check { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: rgb(95 207 152 / .12); border: 1px solid rgb(95 207 152 / .45); animation: pop .6s cubic-bezier(.2, 1.6, .4, 1); }
.sent .check svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sent h3 { font-size: 1.6rem; }
.sent p { color: var(--muted); margin-top: 8px; }
.sent code { font: 500 1rem var(--mono); color: var(--gold-soft); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* FAQ-style list of articles */
.list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.list a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.list a:hover b { color: var(--gold-soft); }
.list b { font-weight: 500; }
.list span { color: var(--dim); font-size: .85rem; white-space: nowrap; }
@media (max-width: 760px) { .list { grid-template-columns: minmax(0, 1fr); } }

/* Docs layout */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: 36px 96px; }
.side { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.side .search { margin: 0 0 18px; }
.side .search input { padding: 11px 14px 11px 40px; font-size: .92rem; border-radius: 12px; box-shadow: none; }
.side .search svg { left: 14px; width: 16px; height: 16px; }
.side h4 { margin: 18px 0 6px; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.side a { display: block; padding: 6px 10px; margin-inline: -10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .93rem; }
.side a:hover { color: var(--ink); background: var(--panel); }
.side a.on { color: var(--ink); background: var(--panel-2); box-shadow: inset 2px 0 0 var(--gold); }
.side a .v { color: var(--gold); font-size: .72rem; margin-left: 4px; }
.side-toggle { display: none; }
.article { max-width: 760px; }
.crumbs { font-size: .86rem; color: var(--dim); }
.crumbs a { text-decoration: none; color: var(--muted); }
.article h1 { margin-top: 10px; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.04; }
.article .summary { margin-top: 14px; font-size: 1.15rem; color: var(--muted); }
.player { margin-top: 28px; display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); gap: 22px; align-items: center; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.player video { width: min(260px, 60vw); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: #000; border: 1px solid var(--line-2); }
.player.wide { grid-template-columns: minmax(0, 1fr); }
.player.wide video { width: 100%; aspect-ratio: auto; }
.player .cap b { display: block; font-weight: 500; }
.player .cap span { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.player .cap .tag { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgb(230 173 85 / .1); border: 1px solid rgb(230 173 85 / .3); color: var(--gold-soft); font-size: .76rem; }
@media (max-width: 640px) { .player { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }
.prose { margin-top: 30px; font-size: 1.05rem; color: #ddd7d0; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 38px; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.025em; }
.prose h3 { margin-top: 26px; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.015em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose b, .prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--gold-soft); text-underline-offset: 3px; }
.prose code { font: .9em var(--mono); padding: 2px 6px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); }
.prose figure { margin-block: 26px; }
.prose figure img { border-radius: 16px; border: 1px solid var(--line-2); max-height: 520px; width: auto; margin-inline: auto; }
.prose figcaption { margin-top: 8px; text-align: center; font-size: .86rem; color: var(--dim); }
.tip { padding: 14px 16px; border-radius: 14px; background: rgb(230 173 85 / .07); border: 1px solid rgb(230 173 85 / .28); font-size: .98rem; }
.tip b { color: var(--gold-soft); }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); color: var(--gold); font: 500 .85rem/1 var(--mono); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--dim); font-weight: 500; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.pager { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; }
.pager a:hover { border-color: var(--line-2); background: var(--panel); }
.pager a small { color: var(--dim); font-size: .8rem; }
.pager a b { font-weight: 500; }
.pager .next { text-align: right; grid-column: 2; }
.helpful { margin-top: 40px; padding: 20px; border-radius: 16px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.helpful p { color: var(--muted); }
.helpful a { color: var(--gold-soft); }
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .side { position: static; max-height: none; overflow: visible; padding: 0; }
  .side-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); cursor: pointer; }
  .side-toggle::after { content: "▾"; color: var(--dim); }
  .side-body { display: none; margin-top: 12px; padding: 4px 16px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
  .side.open .side-body { display: block; }
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Fixes: search icon above the field; compact nav and stacked section heads on phones */
.search svg { z-index: 1; pointer-events: none; }
@media (max-width: 560px) {
  .brand { font-size: .95rem; gap: 8px; }
  .brand small { display: none; }
  .nav .btn { padding: 9px 14px; font-size: .85rem; }
  .head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 20px; }
  .help-hero h1 { font-size: 2.7rem; }
  .search input { font-size: 1rem; padding-block: 16px; }
}
@media (max-width: 380px) { .brand { font-size: .88rem; } .brand img { width: 26px; height: 26px; } }

/* ---- Blog ---- */
.blog-hub { padding-block: clamp(48px, 7vw, 88px) 96px; }
.blog-hub h1 { margin-top: 10px; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; }
.blog-hub h1 .serif { color: var(--gold-soft); }
.blog-hub .summary { margin-top: 16px; max-width: 56ch; color: var(--muted); font-size: 1.12rem; }
.post-feature { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease; }
.post-feature:hover { border-color: rgb(230 173 85 / .45); }
.pf-img { aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; }
.pf-img img, .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.post-feature:hover img, .post-card:hover img { transform: scale(1.04); }
.pf-copy { display: flex; flex-direction: column; gap: 10px; padding-right: 12px; }
.pf-copy b { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.03em; }
.pc-tags { font-size: .8rem; font-weight: 500; color: var(--gold); }
.pc-desc { color: var(--muted); font-size: .95rem; }
.post-feature small, .post-card small { color: var(--dim); font-size: .82rem; }
.post-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.pc-img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 6px; }
.post-card b { font-size: 1.15rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.post-card:hover b { color: var(--gold-soft); }
@media (max-width: 900px) { .post-feature { grid-template-columns: minmax(0, 1fr); } .pf-copy { padding: 4px 6px 8px; } .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

.post-hero { position: relative; isolation: isolate; min-height: clamp(320px, 52vh, 520px); display: flex; align-items: flex-end; overflow: hidden; }
.post-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.post-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 5 7 / .25) 0%, rgb(6 5 7 / .55) 45%, var(--bg) 100%); }
.post-hero-in { width: 100%; max-width: 820px; padding-bottom: 28px; }
.post-hero h1 { margin-top: 10px; font-size: clamp(2.1rem, 4.8vw, 3.6rem); line-height: 1.04; text-shadow: 0 2px 30px rgb(0 0 0 / .4); }
.post-meta { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.post-body { max-width: 820px; padding-block: 12px 96px; }
.post-body .summary { font-size: 1.2rem; color: var(--ink); }
.post-body .prose { font-size: 1.08rem; }
.post-cta { margin-top: 48px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r-lg); background: radial-gradient(120% 120% at 100% 0%, rgb(230 173 85 / .14), transparent 60%), var(--panel); border: 1px solid rgb(230 173 85 / .3); }
.post-cta img { border-radius: 14px; }
.post-cta b { display: block; font-weight: 500; font-size: 1.1rem; }
.post-cta span { display: block; color: var(--muted); font-size: .94rem; margin-top: 2px; }
.post-cta-btns { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 760px) { .post-cta { grid-template-columns: auto minmax(0, 1fr); } .post-cta-btns { grid-column: 1 / -1; } }
.post-more { margin-top: 64px; }
.post-more h2 { font-size: 1.6rem; }

/* ---- Made by Motion Core Labs (footer) ---- */
.foot-brands { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.made-by { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-size: .8rem; text-decoration: none; padding-left: 22px; border-left: 1px solid var(--line-2); }
.made-by img { height: 22px; width: auto; opacity: .9; transition: opacity .2s ease; }
.made-by:hover img { opacity: 1; }
@media (max-width: 560px) { .made-by { padding-left: 0; border-left: 0; } }

/* ---- About ---- */
.ab-hero { position: relative; isolation: isolate; min-height: clamp(420px, 68vh, 640px); display: flex; align-items: flex-end; overflow: hidden; }
.ab-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ab-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 5 7 / .35) 0%, rgb(6 5 7 / .55) 50%, var(--bg) 100%); }
.ab-hero-in { padding-bottom: clamp(36px, 6vw, 72px); }
.ab-hero h1 { margin-top: 12px; max-width: 16ch; font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.ab-hero h1 .serif { color: var(--gold-soft); }
.ab-lede { margin-top: 18px; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(246 243 239 / .82); }

.ab-story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.ab-copy h2 { margin-top: 10px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; }
.ab-copy p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.06rem; }
.ab-photos { position: relative; aspect-ratio: 1 / 1.05; }
.ab-photos img { position: absolute; width: 64%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; box-shadow: 0 0 0 7px #f3ece2, 0 30px 60px -20px #000; }
.ab-photos .p1 { left: 0; top: 0; rotate: -4deg; }
.ab-photos .p2 { right: 0; bottom: 0; rotate: 5deg; }

.ab-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-bottom: clamp(56px, 8vw, 104px); }
.ab-values article { padding: 26px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.ab-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgb(230 173 85 / .1); border: 1px solid rgb(230 173 85 / .3); margin-bottom: 16px; }
.ab-ico svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ab-values h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.ab-values p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

.ab-team { padding-bottom: clamp(56px, 8vw, 104px); }
.ab-team-head h2 { margin-top: 10px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; }
.ab-founders { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-founder { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.ab-mono { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; font: 400 1.6rem/1 var(--serif); font-style: italic; color: #1a1208; background: linear-gradient(160deg, #f6d9a6, var(--gold) 60%, #c98a3d); box-shadow: 0 0 0 5px rgb(230 173 85 / .12), 0 14px 30px -12px rgb(230 173 85 / .6); }
.ab-founder h3 { font-size: 1.4rem; }
.ab-founder .role { margin-top: 4px; color: var(--gold); font-size: .9rem; }
.ab-founder p:last-child { margin-top: 14px; color: var(--muted); }
.ab-stats { margin-top: 36px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-stats div { padding-top: 18px; border-top: 1px solid var(--line-2); }
.ab-stats b { display: block; font: 400 clamp(2.6rem, 5vw, 3.8rem)/1 var(--serif); color: var(--gold-soft); }
.ab-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: .94rem; }

.ab-studio { padding-bottom: clamp(56px, 8vw, 96px); }
.ab-studio-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 3.4vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color .2s ease; }
.ab-studio-in:hover { border-color: var(--line-2); }
.ab-studio-in img { width: clamp(150px, 18vw, 210px); height: auto; }
.ab-studio-in p { color: var(--muted); font-size: .98rem; }
.ab-studio-in b { color: var(--ink); font-weight: 500; }
.ab-link { color: var(--gold-soft); font-size: .92rem; white-space: nowrap; }

.ab-cta { text-align: center; padding-bottom: clamp(72px, 10vw, 120px); }
.ab-cta h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; }
.ab-cta p { margin-top: 14px; color: var(--muted); }
.ab-cta a:not(.btn) { color: var(--gold-soft); }
.ab-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px !important; }

@media (max-width: 900px) {
  .ab-story { grid-template-columns: minmax(0, 1fr); }
  .ab-photos { max-width: 420px; width: 100%; margin-inline: auto; }
  .ab-values, .ab-founders { grid-template-columns: minmax(0, 1fr); }
  .ab-studio-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .ab-stats { grid-template-columns: minmax(0, 1fr); } }

/* ---- Thank-you page ---- */
.ty-hero { position: relative; isolation: isolate; min-height: clamp(460px, 72vh, 680px); display: flex; align-items: center; overflow: hidden; text-align: center; }
.ty-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ty-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 40%, rgb(6 5 7 / .5), rgb(6 5 7 / .85)), linear-gradient(180deg, transparent 60%, var(--bg)); }
.ty-in { display: flex; flex-direction: column; align-items: center; padding-block: 64px; }
.ty-check { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #f6d9a6, var(--gold) 60%, #c98a3d); box-shadow: 0 0 0 8px rgb(230 173 85 / .14), 0 20px 50px -14px rgb(230 173 85 / .7); animation: typop .8s cubic-bezier(.2, 1.6, .4, 1) .1s backwards; }
.ty-check svg { width: 34px; height: 34px; fill: none; stroke: #1a1208; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: tydraw .5s ease-out .6s forwards; }
@keyframes typop { from { transform: scale(.3); opacity: 0; } }
@keyframes tydraw { to { stroke-dashoffset: 0; } }
.ty-hero h1 { margin-top: 26px; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.02; text-shadow: 0 2px 30px rgb(0 0 0 / .4); }
.ty-hero h1 .serif { display: block; color: var(--gold-soft); }
.ty-lede { margin-top: 18px; max-width: 52ch; font-size: 1.1rem; color: rgb(246 243 239 / .85); }
.ty-lede b { color: var(--ink); font-weight: 500; }
.ty-hint { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.ty-next { padding-block: 40px 96px; }
.ty-next h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-align: center; }
.ty-cards { margin-top: 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ty-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s ease, transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.ty-card:hover { border-color: rgb(230 173 85 / .45); transform: translateY(-2px); }
.ty-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 6px; background: rgb(230 173 85 / .1); border: 1px solid rgb(230 173 85 / .3); color: var(--gold); }
.ty-card b { font-weight: 500; font-size: 1.12rem; }
.ty-card span:last-child { color: var(--muted); font-size: .95rem; }
.ty-share { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ty-share p { color: var(--muted); }
.ty-share .btn + .btn { margin-top: 0; }
@media (max-width: 860px) { .ty-cards { grid-template-columns: minmax(0, 1fr); } }
