/* Home page (/). Loaded after phantom.css + glass.css, scoped to body.home.
   Structure borrowed from details.so (centred pitch, pills, sticky split sections),
   mood from doublespeed.ai (dark, thin editorial serif, bordered split panels). */

/* The headline serif is PP Editorial Old (Pangram Pangram, paid licence). Once licensed,
   put the file at /assets/fonts/PPEditorialOld-Ultralight.woff2 and uncomment:
@font-face { font-family: "PP Editorial Old"; src: url("/assets/fonts/PPEditorialOld-Ultralight.woff2") format("woff2"); font-weight: 100 400; font-display: swap; }
   Fraunces (free) stands in until then. */
.home {
  --serif: "PP Editorial Old", "Fraunces", "Times New Roman", serif;
  --panel: #101013;
}
.home h1, .home h2, .home .say, .home .panel h3, .home .system h3, .home .ghost-word {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0; letter-spacing: -0.035em;
}
.home h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.02; }
.home h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; }
.home h3 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
/* numbers stay in the brand sans: the thin serif was hard to read on figures */
.home .big small { font-size: 0.36em; letter-spacing: -0.02em; color: var(--grey); }
.home section { padding: 120px 0; }
.home .lede { color: var(--soft); }

/* nav: logo, pill of links, one button */
.home .nav .links.pill { gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass); font-size: 14px; }
.home .nav .links.pill a { padding: 7px 14px; border-radius: 999px; transition: background 0.3s, color 0.3s; }
.home .nav .links.pill a:hover { background: var(--glass-2); }
@media (max-width: 860px) { .home .nav .links.pill { display: none; } }

/* ---------- hero ---------- */
.h-hero { text-align: center; padding: 60px 0 70px !important; overflow: hidden; }
.h-hero h1 { max-width: 1040px; margin: 0 auto; }
.h-hero .lede { margin: 28px auto 0; max-width: 620px; }
.h-hero .actions { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 30px; border-radius: 999px; border: 1px solid rgba(177, 163, 230, 0.35); color: var(--violet); font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.rise { animation: rise 1.1s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } }

/* fan of real ads: five cards on an arc, videos playing muted */
.fan { --w: clamp(150px, 17vw, 236px); position: relative; height: calc(var(--w) * 1.92); margin-top: 60px; }
.fan-card {
  position: absolute; left: 50%; top: 0; width: var(--w); aspect-ratio: 9 / 16; margin-left: calc(var(--w) / -2);
  border-radius: 20px; overflow: hidden; background: var(--carbon); border: 1px solid var(--glass-line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  --a: max(var(--n), calc(var(--n) * -1));
  transform: translateX(calc(var(--n) * var(--w) * 1.08)) translateY(calc(var(--a) * var(--a) * var(--w) * 0.055 + var(--lift, 0px))) rotate(calc(var(--n) * 5deg * var(--spread, 1)));
  transform-origin: 50% 120%;
  transition: transform 0.9s var(--ease), border-color 0.4s;
  animation: deal 1.3s var(--ease) backwards; animation-delay: calc(var(--a) * 110ms + 420ms);
}
@keyframes deal { from { opacity: 0; transform: translateY(160px) rotate(0deg) scale(0.9); } }
.fan-card:hover { --lift: -14px; border-color: rgba(177, 163, 230, 0.5); z-index: 2; }
.fan-card img, .fan-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fan-card video { opacity: 0; transition: opacity 0.6s; }
.fan-card.live video { opacity: 1; }
.fan-card span { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: rgba(10, 10, 12, 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--glass-hi); }
.fan-cap { text-align: center; margin-top: 8px; }
@media (max-width: 700px) {
  .fan { --w: 38vw; }
  .fan-card[style*="--n:-2"], .fan-card[style*="--n:2"] { display: none; }
  .fan-card { transform: translateX(calc(var(--n) * var(--w) * 0.86)) translateY(calc(var(--a) * var(--w) * 0.08)) rotate(calc(var(--n) * 6deg)); }
}
.home .logowall { padding-top: 26px; }

/* ---------- why AI ads ---------- */
.say { font-size: clamp(30px, 4.3vw, 62px); line-height: 1.12; max-width: 1040px; margin: 0 auto 110px; text-align: center; text-wrap: balance; }
.say .w { opacity: 0.16; transition: opacity 0.35s linear; }
.say .w.on { opacity: 1; }
.say em { font-style: normal; }
.say em .w.on { color: var(--violet); }

.panels { display: grid; gap: 20px; }
.panel { display: grid; grid-template-columns: 1.1fr 1fr; border: 1px solid var(--glass-line); border-radius: 26px; overflow: hidden; min-height: 400px; background: var(--panel); }
.panel.flip .p-text { order: 2; }
.p-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 56px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)); }
.home .panel h3 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; margin-top: 20px; letter-spacing: -0.035em; }
.p-text p { color: var(--soft); margin-top: 16px; max-width: 420px; }
.more { display: inline-flex; gap: 8px; margin-top: 26px; font-size: 15px; color: var(--white); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color 0.3s; }
.more span { transition: transform 0.3s var(--ease); }
.more:hover { border-color: var(--violet); }
.more:hover span { transform: translateX(4px); }
.p-vis { position: relative; display: grid; place-items: center; padding: 40px; background: #08080a; overflow: hidden; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } .panel.flip .p-text { order: 0; } .p-text { padding: 36px 28px; } .p-vis { padding: 30px 20px; min-height: 320px; } }

/* visual 1: one product photo becomes six ads */
.v-gen { grid-template-columns: auto 1fr auto; gap: 0; place-items: center; }
.v-gen .src { display: grid; justify-items: center; gap: 10px; padding: 18px 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--soft); }
.v-gen .src .mono { font-size: 9px; }
.v-gen .wire { width: 100%; min-width: 26px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.v-gen .wire i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--violet), transparent); transform: translateX(-100%); }
.v-gen.run .wire i { animation: wire 1.6s linear infinite; }
@keyframes wire { to { transform: translateX(100%); } }
.v-gen .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 300px); }
.tile { position: relative; aspect-ratio: 9 / 14; border-radius: 10px; overflow: hidden; border: 1px solid var(--glass-line); background: #101014; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 400; font-size: 8px; color: var(--soft); background: repeating-linear-gradient(135deg, #121216 0 8px, #17171c 8px 16px); }
.tile b::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 12%; height: 2px; border-radius: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.v-gen.run .tile b { animation: gen 9s var(--ease) infinite; animation-delay: calc(var(--k) * 0.55s); }
.v-gen.run .tile b::after { animation: genbar 9s linear infinite; animation-delay: calc(var(--k) * 0.55s); }
@keyframes gen { 0%, 16% { opacity: 1; } 22%, 86% { opacity: 0; } 94%, 100% { opacity: 1; } }
@keyframes genbar { 0% { transform: scaleX(0); } 16%, 100% { transform: scaleX(1); } }

/* visual 2: the usual bill, line by line */
.bill { width: min(100%, 340px); border-radius: 18px; border: 1px solid var(--glass-line); background: var(--glass); padding: 8px 22px 12px; }
.bill-head { display: flex; justify-content: space-between; padding: 14px 0; font-size: 10px; color: var(--grey); border-bottom: 1px solid var(--glass-line); }
.bill .line { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--glass-line); font-size: 15px; }
.bill .line:last-child { border-bottom: 0; }
.bill .line i { width: 54px; height: 8px; border-radius: 8px; background: #3a3a44; }
.bill .line span { position: relative; }
.bill .line span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 1px; background: var(--soft); transform: scaleX(0); transform-origin: left; }
.v-bill.run .line:not(.keep) { animation: fade 8s var(--ease) infinite; animation-delay: calc(var(--k) * 0.5s + 0.6s); }
.v-bill.run .line:not(.keep) span::after { animation: strike 8s var(--ease) infinite; animation-delay: calc(var(--k) * 0.5s + 0.6s); }
.v-bill.run .line:not(.keep) i { animation: shrink 8s var(--ease) infinite; animation-delay: calc(var(--k) * 0.5s + 0.6s); transform-origin: right; }
@keyframes strike { 0% { transform: scaleX(0); } 7%, 78% { transform: scaleX(1); } 86%, 100% { transform: scaleX(0); } }
@keyframes fade { 0% { opacity: 1; } 7%, 78% { opacity: 0.32; } 86%, 100% { opacity: 1; } }
@keyframes shrink { 0% { transform: scaleX(1); } 7%, 78% { transform: scaleX(0); } 86%, 100% { transform: scaleX(1); } }
.bill .line.keep { color: var(--violet); }
.bill .line.keep i { background: var(--violet); box-shadow: 0 0 18px rgba(177, 163, 230, 0.5); width: 22px; }

/* visual 3: cut the losers, multiply the winners */
.v-test { align-content: center; gap: 22px; }
.v-test .grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; width: min(100%, 360px); }
.cell { position: relative; aspect-ratio: 9 / 13; border-radius: 7px; overflow: hidden; background: #101014; outline: 1px solid var(--glass-line); outline-offset: -1px; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s, outline-color 0.5s; }
.cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.8s var(--ease); }
.cell img + img { opacity: 0; }
.cell em { position: absolute; left: 4px; top: 4px; font: 400 8px var(--mono); font-style: normal; padding: 2px 4px; border-radius: 4px; background: rgba(10, 10, 12, 0.7); color: var(--violet); opacity: 0; transition: opacity 0.5s; }
.v-test[data-phase="1"] .cell.lose, .v-test[data-phase="2"] .cell.lose { opacity: 0.16; filter: grayscale(1); transform: scale(0.92); }
.v-test[data-phase="2"] .cell.win, .v-test[data-phase="3"] .cell.win { outline: 2px solid var(--violet); box-shadow: 0 0 22px rgba(177, 163, 230, 0.45); z-index: 1; }
.v-test[data-phase="3"] .cell.lose { outline-color: rgba(177, 163, 230, 0.45); }
.v-test[data-phase="3"] .cell.lose img + img, .v-test[data-phase="3"] .cell.lose em { opacity: 1; }
.legend { display: flex; gap: 18px; font-size: 9px; color: var(--grey); }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; }
.l-cut { background: #2a2a31; } .l-win { background: var(--violet); } .l-new { border: 1px solid var(--violet); }

/* visual: one ad peaks and fades, new ones keep the line up */
.v-fade svg { width: min(100%, 400px); overflow: visible; }
.v-fade .axis { stroke: var(--line); stroke-width: 1; }
.v-fade path.first, .v-fade path.next { stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.v-fade .first { stroke: var(--white); }
.v-fade .next { stroke: var(--violet); }
.v-fade .dot { fill: var(--white); opacity: 0; }
.v-fade.run .first { animation: draw 9s var(--ease) infinite; }
.v-fade.run .n1 { animation: draw2 9s var(--ease) infinite; animation-delay: 0s; --s: 38%; }
.v-fade.run .n2 { animation: draw3 9s var(--ease) infinite; }
.v-fade.run .n3 { animation: draw4 9s var(--ease) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; opacity: 1; } 30%, 90% { stroke-dashoffset: 0; opacity: 1; } 40%, 90% { opacity: 0.4; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes draw2 { 0%, 42% { stroke-dashoffset: 1; opacity: 1; } 62%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes draw3 { 0%, 50% { stroke-dashoffset: 1; opacity: 1; } 70%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes draw4 { 0%, 58% { stroke-dashoffset: 1; opacity: 1; } 78%, 90% { stroke-dashoffset: 0; opacity: 1; } 97%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.v-fade .tag { position: absolute; font-size: 9px; color: var(--grey); opacity: 0; }
.v-fade .t-x, .v-fade .t-y { opacity: 1; }
.v-fade .t-x { right: 12%; bottom: 9%; } .v-fade .t-y { left: 10%; top: 9%; }
.v-fade .t-win { left: 30%; top: 12%; color: var(--white); }
.v-fade .t-tired { left: 44%; top: 62%; }
.v-fade .t-new { right: 8%; top: 12%; color: var(--violet); }
.v-fade.run .t-win { animation: tag 9s linear infinite; --a: 14%; --b: 36%; }
.v-fade.run .t-tired { animation: tag 9s linear infinite; --a: 30%; --b: 50%; }
.v-fade.run .t-new { animation: tag 9s linear infinite; --a: 62%; --b: 92%; }
@keyframes tag { 0% { opacity: 0; } 14% { opacity: 0; } 20%, 34% { opacity: 1; } 40%, 100% { opacity: 0; } }
.v-fade.run .t-tired { animation-name: tag2; } .v-fade.run .t-new { animation-name: tag3; }
@keyframes tag2 { 0%, 30% { opacity: 0; } 36%, 54% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes tag3 { 0%, 62% { opacity: 0; } 68%, 90% { opacity: 1; } 96%, 100% { opacity: 0; } }

/* visual: the old way, one slow step after another */
.v-old .bill .line i { width: 64px; height: 6px; background: #24242b; position: relative; overflow: hidden; }
.v-old .bill .line i::after { content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--grey); transform: scaleX(0); transform-origin: left; }
.v-old .bill .line { color: var(--grey); }
.v-old.run .line { animation: step 10s linear infinite; animation-delay: calc(var(--k) * 1.4s); }
.v-old.run .line i::after { animation: fill 10s linear infinite; animation-delay: calc(var(--k) * 1.4s); }
@keyframes step { 0% { color: var(--white); } 14%, 100% { color: var(--grey); } }
@keyframes fill { 0% { transform: scaleX(0); } 14%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.v-old .bill .line.keep { color: var(--grey); }
.v-old .bill .line.keep i { width: 22px; background: #24242b; box-shadow: none; }
.v-old .bill .line.keep i::after { background: var(--white); }
.v-old.run .line.keep { animation-name: stepkeep; }
@keyframes stepkeep { 0% { color: var(--grey); } 10%, 28% { color: var(--white); } 34%, 100% { color: var(--grey); } }

/* 03: the system */
.system { margin: 20px 0; border: 1px solid rgba(177, 163, 230, 0.28); border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(177, 163, 230, 0.07), rgba(177, 163, 230, 0.015) 40%), var(--panel); }
.sys-head { text-align: center; padding: 64px 28px 48px; }
.home .system h3 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; margin-top: 20px; }
.sys-head p { color: var(--soft); max-width: 560px; margin: 18px auto 0; }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--glass-line); border-top: 1px solid var(--glass-line); }
.sys-card { display: flex; flex-direction: column; background: var(--panel); }
.sys-card .p-vis { height: 300px; padding: 26px 22px; }
.sys-card .v-gen .tiles { width: min(100%, 210px); gap: 6px; }
.sys-card .v-gen .src { padding: 14px 10px; }
.sys-card .v-test .grid { width: min(100%, 300px); }
.sys-card .bill { width: min(100%, 290px); padding: 4px 20px; }
.sys-card .bill .line { padding: 12px 0; }
.sys-text { padding: 28px 30px 34px; }
.sys-text h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.sys-text p { color: var(--soft); font-size: 16px; margin-top: 8px; }
@media (max-width: 900px) { .sys-grid { grid-template-columns: 1fr; } .sys-head { padding: 44px 24px 34px; } }

/* 04: the objection */
.panel.ask { min-height: 460px; }
.three { list-style: none; margin-top: 26px; display: grid; gap: 0; width: 100%; max-width: 460px; }
.three li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--glass-line); font-size: 15px; }
.three b { font-weight: 500; color: var(--violet); }
.three span { color: var(--soft); }
.v-sift { align-content: center; justify-items: center; gap: 12px; }
.v-sift .row { display: flex; gap: 6px; justify-content: center; }
.v-sift .row img { width: 34px; aspect-ratio: 9 / 14; object-fit: cover; border-radius: 6px; outline: 1px solid var(--glass-line); outline-offset: -1px; opacity: 0.55; filter: grayscale(0.6); }
.v-sift .r3 img { width: 62px; border-radius: 10px; opacity: 1; filter: none; outline: 2px solid var(--violet); box-shadow: 0 0 26px rgba(177, 163, 230, 0.45); }
.v-sift .gate { position: relative; width: min(100%, 300px); text-align: center; font-size: 9px; color: var(--violet); }
.v-sift .gate::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(177, 163, 230, 0.5), transparent); }
.v-sift .gate span { position: relative; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(177, 163, 230, 0.4); background: #08080a; }
.sift-cap { font-size: 9px; color: var(--grey); }
.v-sift .row, .v-sift .gate, .sift-cap { opacity: 0; transform: translateY(-8px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.v-sift.run .row, .v-sift.run .gate, .v-sift.run .sift-cap { opacity: 1; transform: none; }
.v-sift.run > :nth-child(2) { transition-delay: 0.35s; } .v-sift.run > :nth-child(3) { transition-delay: 0.6s; }
.v-sift.run > :nth-child(4) { transition-delay: 0.95s; } .v-sift.run > :nth-child(5) { transition-delay: 1.2s; }
.v-sift.run > :nth-child(6) { transition-delay: 1.55s; } .v-sift.run > :nth-child(7) { transition-delay: 1.8s; } .v-sift.run > :nth-child(8) { transition-delay: 2s; }
@media (max-width: 520px) { .three li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- results ---------- */
.h-head { text-align: center; margin-bottom: 70px; }
.h-head .mono { display: block; margin-bottom: 18px; }
.h-head .lede { margin: 20px auto 0; }
.r-case { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: 26px; border: 1px solid var(--glass-line); background: var(--panel); margin-bottom: 90px; }
.r-case .kicker, .r-card .kicker { display: flex; gap: 18px; color: var(--grey); }
.kicker .n { color: var(--violet); }
.r-case .big { margin-top: 28px; }
.r-case h3 { margin-top: 30px; font-size: 24px; }
.r-case .note { margin-top: 12px; color: var(--soft); font-size: 16px; max-width: 480px; }
.r-case.in .vs-bar i { height: var(--h); }
@media (max-width: 860px) { .r-case { grid-template-columns: 1fr; padding: 30px 24px; gap: 34px; } }
.home .shot .big { font-size: clamp(46px, 6vw, 84px); }

/* ---------- work ---------- */
.home .produce { padding-top: 60px; }

/* ---------- how it works: sticky heading, steps that light up ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; }
.stick { position: sticky; top: 130px; }
.stick .mono { display: block; margin-bottom: 18px; }
.stick .lede { margin-top: 22px; max-width: 380px; }
.stick .btn { margin-top: 32px; }
.flow { list-style: none; position: relative; display: grid; gap: 14px; }
.flow li { display: flex; gap: 22px; padding: 30px; border-radius: 22px; border: 1px solid var(--glass-line); background: var(--panel); opacity: 0.38; transform: translateY(14px) scale(0.985); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), border-color 0.7s, background 0.7s; }
.flow li.on { opacity: 1; transform: none; }
.flow li.now { border-color: rgba(177, 163, 230, 0.45); background: linear-gradient(180deg, rgba(177, 163, 230, 0.09), rgba(177, 163, 230, 0.02)); }
.flow .num { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--grey); border: 1px solid var(--line); transition: color 0.5s, border-color 0.5s, background 0.5s; }
.flow li.now .num { color: var(--ink); background: var(--violet); border-color: var(--violet); }
.flow h3 { margin-top: 6px; }
.flow p { color: var(--soft); margin-top: 8px; font-size: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 44px; } .stick { position: static; } }

/* ---------- more results ---------- */
.tiles-r { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tiles-r .r-card { grid-column: span 2; }
.tiles-r .r-card:nth-child(n+4) { grid-column: span 3; }
.r-card { display: flex; flex-direction: column; padding: 30px; border-radius: 22px; border: 1px solid var(--glass-line); background: var(--panel); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), border-color 0.4s; }
.r-card.in:hover { border-color: rgba(177, 163, 230, 0.4); transform: translateY(-4px); transition-delay: 0s; }
.r-card .big { font-size: clamp(54px, 5.4vw, 76px); margin-top: 26px; }
.r-card p { color: var(--soft); font-size: 15px; margin: 18px 0 24px; flex: 1; }
.r-card .frame { padding: 8px; }
.r-card .frame img { width: 100%; }
@media (max-width: 980px) { .tiles-r { grid-template-columns: 1fr 1fr; } .tiles-r .r-card, .tiles-r .r-card:nth-child(n+4) { grid-column: auto; } .tiles-r .r-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 620px) { .tiles-r { grid-template-columns: 1fr; } }

/* ---------- FAQ: heading left, questions right ---------- */
.home #faq .wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.home #faq .center { text-align: left; margin: 0 !important; position: sticky; top: 130px; }
.home #faq .faq2 { max-width: none; margin: 0; }
.home #faq .faq2 summary { font-size: 18px; padding: 22px 24px; }
.home #faq .faq2 .ans p { padding: 0 24px 22px; font-size: 16px; }
@media (max-width: 860px) { .home #faq .wrap { grid-template-columns: 1fr; gap: 34px; } .home #faq .center { position: static; } }

/* ---------- close ---------- */
.home .cta { padding: 150px 0 0; overflow: hidden; }
.home .cta .lede { margin: 24px auto 0; }
.ghost-word { margin-top: 90px; font-size: clamp(120px, 27vw, 420px); line-height: 0.72; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); user-select: none; transform: translateY(calc(var(--p, 0) * 60px)); }
.home footer { border-top: 0; position: relative; background: var(--black); }

@media (prefers-reduced-motion: reduce) {
  .rise, .fan-card, .badge i { animation: none; }
  .say .w { opacity: 1; }
  .flow li { opacity: 1; transform: none; }
  .p-vis.run * { animation: none !important; }
  .tile b { display: none; }
  .v-fade path { stroke-dashoffset: 0 !important; } .v-fade .tag { opacity: 1; }
  .v-old .line i::after { transform: none; }
  .v-sift .row, .v-sift .gate, .sift-cap { opacity: 1; transform: none; }
}

/* small screens: the hairline weight gets too faint below ~45px, so step it up */
@media (max-width: 700px) {
  .h-hero h1 br { display: none; }
  .h-hero h1 { text-wrap: balance; }
}
