:root {
  --bg: #f1ece4;
  --paper: #f8f5ef;
  --fg: #231d18;
  --muted: #74695e;
  --line: rgba(35,29,24,.13);
  --clay: #c8673c;
  --clay-dark: #a9532e;
  --ok: #4d7a52;
  --ease: cubic-bezier(.2,.75,.15,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: "Bricolage Grotesque", system-ui, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }
.it { font-family: Newsreader, Georgia, serif; font-style: italic; font-weight: 300; color: var(--clay); letter-spacing: -.02em; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

.announce { background: var(--fg); color: var(--bg); font-size: 13px; text-align: center; padding: 9px 16px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--bg) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 68px; gap: 12px; }
.nav .links { display: flex; gap: 24px; font-size: 15px; }
.nav .links a { text-decoration: none; }
.nav .links a[aria-current="page"], .nav .links a:hover { color: var(--clay); }
.logo { font-weight: 600; font-size: 23px; letter-spacing: -.03em; text-decoration: none; }
.logo span { color: var(--clay); }
.nav .right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.cta-link { font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; }
.bag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; transition: border-color .3s; white-space: nowrap; }
.bag:hover { border-color: var(--fg); }
.bag b { min-width: 22px; height: 22px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 12px; display: grid; place-items: center; padding: 0 6px; transition: transform .4s var(--ease); }
.bag b.bump { transform: scale(1.35); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--fg); color: var(--bg); border: 1px solid var(--fg); font-size: 15px; text-decoration: none; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); background: var(--clay); border-color: var(--clay); }
.btn.line { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.line:hover { border-color: var(--fg); background: transparent; }
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

section { padding: clamp(70px, 9vw, 130px) 0; }
h1 { font-weight: 300; font-size: clamp(44px, 6.6vw, 104px); line-height: .95; letter-spacing: -.05em; }
h2 { font-weight: 300; font-size: clamp(34px, 4.4vw, 64px); letter-spacing: -.045em; line-height: 1.02; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 560px; }

.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in, .no-js .rv { opacity: 1; transform: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: calc(100svh - 104px); padding: 0; }
.hero .text { padding: clamp(40px, 6vw, 100px) clamp(20px, 4vw, 70px) 50px max(20px, (100vw - 1320px) / 2); display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 92px); }
.hero h1 .it { display: inline; }
.stage { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 75%, rgba(0,0,0,.06), transparent 45%), linear-gradient(180deg, #e6ddd0, #d8ccbc); display: grid; place-items: center; min-height: 420px; }
.stage::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(#cbbca8, #bfae97); }
.stage .tag { position: absolute; top: 22px; right: 22px; padding: 8px 14px; border-radius: 999px; background: var(--paper); font-size: 13px; z-index: 3; }
.radar { position: relative; width: min(70%, 420px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(200,103,60,.12), rgba(200,103,60,.03) 70%); border: 1px solid rgba(35,29,24,.12); z-index: 1; }
.radar b { position: absolute; border-radius: 50%; border: 1px dashed rgba(35,29,24,.15); }
.radar b:nth-of-type(1) { inset: 16%; } .radar b:nth-of-type(2) { inset: 32%; } .radar b:nth-of-type(3) { inset: 46%; background: var(--clay); border: 0; box-shadow: 0 0 30px rgba(200,103,60,.6); }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(200,103,60,.35), transparent 22%); animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
/* Plain scan labels leave the sweep and rings visible. */
.stage .radar { width:min(84%,500px); border-color:rgba(121,90,69,.32); }
.stage .radar b { border-color:rgba(121,90,69,.3); }
.radar-keywords { position:absolute; top:50%; left:5%; right:5%; height:min(70%,400px); transform:translateY(-50%); z-index:2; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-template-rows:repeat(5,minmax(0,1fr)); align-items:center; gap:8px 14px; pointer-events:none; }
.radar-keyword { min-width:0; justify-self:center; max-width:100%; padding:0; border:0; background:none; box-shadow:none; color:#553d2d; font-size:clamp(11px,1vw,14px); line-height:1.3; text-align:center; transition:opacity .45s; }
.radar-keyword:nth-child(3n + 2) { transform:translateY(-14px); }
.radar-keyword span { display:block; overflow-wrap:anywhere; animation:scan-word 12s ease-in-out infinite; animation-delay:var(--phase); }
.radar-keyword.changing { opacity:0; }
@keyframes scan-word { 0%,100% { opacity:0; } 18%,65% { opacity:.95; } 85% { opacity:0; } }
@media(max-width:460px) { .radar-keywords { left:4%; right:4%; height:65%; gap:8px; } .radar-keyword { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .radar-keyword span { animation:none; opacity:1; } }

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 16px 0; background: var(--paper); }
.marquee .track { display: flex; gap: 44px; width: max-content; animation: slide 36s linear infinite; font-size: 17px; white-space: nowrap; }
.marquee .track span::before { content: "◐"; color: var(--clay); margin-right: 44px; }
@keyframes slide { to { transform: translateX(-50%); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.stats div { background: var(--paper); border-radius: 14px; padding: 18px; }
.stats b { display: block; font-weight: 300; font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.04em; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--muted); }

/* Shelves and cards */
.shelf-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.more { font-size: 15px; text-decoration: none; border-bottom: 1px solid currentColor; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; }
.card .pic { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--paper); }
.card .pic img, .card .pic svg { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .pic img, .card:hover .pic svg { transform: scale(1.04); }
.card.shop .pic { aspect-ratio: 4 / 3; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--clay); color: #fff; font-size: 12px; letter-spacing: .04em; }
.save.heart { position: absolute; top: 10px; right: 10px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(248,245,239,.94); display: grid; place-items: center; font-size: 19px; box-shadow: 0 6px 16px rgba(35,29,24,.12); transition: transform .3s var(--ease), background .3s, color .3s; }
.save.heart .tx { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.save.heart:hover { transform: scale(1.08); }
.save[aria-pressed="true"] .ic { color: var(--clay); }
.save.heart[aria-pressed="true"] { background: var(--fg); }
.card .body { display: grid; gap: 4px; }
.cat { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-weight: 400; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--clay); }
.by { color: var(--muted); font-size: 14px; }
.by a { color: var(--fg); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chips span { font-size: 12px; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--muted); }
.chips b { color: var(--fg); font-weight: 600; }
.date { font-size: 13px; color: var(--muted); }
.empty { background: var(--paper); border-radius: 18px; padding: clamp(30px, 5vw, 60px); text-align: center; }
.empty h3 { font-weight: 400; font-size: 24px; letter-spacing: -.02em; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* How it works (dark band, like Kiln's process section) */
.how { background: var(--fg); color: var(--bg); }
.how h2 { max-width: 760px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid rgba(241,236,228,.15); }
.steps li { padding: 30px 26px 10px 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid rgba(241,236,228,.15); }
.steps span { color: var(--clay); font-size: 14px; }
.steps h3 { font-weight: 300; font-size: 26px; letter-spacing: -.03em; margin: 34px 0 10px; }
.steps p { color: #cfc4b6; font-size: 15px; }

/* Offer */
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { background: var(--paper); border-radius: 14px; padding: 18px 20px 18px 52px; position: relative; color: var(--muted); font-size: 15px; }
.checks li::before { content: "✓"; position: absolute; left: 20px; top: 17px; color: var(--clay); font-weight: 600; }
.checks b { display: block; color: var(--fg); font-weight: 400; font-size: 17px; margin-bottom: 2px; }

/* FAQ */
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--clay); font-size: 24px; line-height: 1; transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 30px 20px 0; }

/* Listing pages */
.page-head { padding-bottom: 20px; }
.page-head h1 { margin: 12px 0 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters input, .filters select { font: inherit; font-size: 15px; color: var(--fg); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; outline: none; }
.filters input:focus, .filters select:focus { border-color: var(--fg); }
.filters .search { flex: 1 1 260px; }
.filters .search input { width: 100%; }
.filters .count { font-size: 14px; color: var(--muted); margin-left: auto; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; font-size: 15px; color: var(--muted); }
.pager a { color: var(--fg); }

/* Detail */
.detail { padding-top: 30px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.detail-pic { position: sticky; top: 90px; border-radius: 18px; overflow: hidden; background: var(--paper); aspect-ratio: 1; }
.detail-pic .big { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: clamp(34px, 4vw, 60px); margin: 10px 0 10px; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }
.save-big .ic { font-size: 17px; }
.save-big[aria-pressed="true"] { background: var(--paper); color: var(--fg); border-color: var(--fg); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.facts div { background: var(--paper); border-radius: 12px; padding: 14px 16px; }
.facts dt { font-size: 12px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.facts dd { font-size: 17px; }
.team-note { border-left: 3px solid var(--clay); padding: 6px 0 6px 16px; margin-bottom: 22px; }
.team-note p { color: var(--muted); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
.metrics caption { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.metrics th, .metrics td, .history th, .history td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.metrics td { text-align: right; font-weight: 600; }
.history { margin-top: 18px; border: 0; }
.history summary { font-size: 15px; padding: 10px 0; }
.history .scroll { overflow-x: auto; }
.history th, .history td { padding: 8px 14px 8px 0; white-space: nowrap; }
.keywords { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 22px; font-size: 14px; }
.keywords .muted { margin-right: 6px; }
.keywords a { text-decoration: none; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); }
.keywords a:hover { border-color: var(--fg); }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 24px; }
.workflow-link { display: inline-block; margin-top: 16px; color: var(--clay-dark); font-size: 16px; }

/* Request */
.request-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.small-h { font-size: 22px; font-weight: 400; letter-spacing: -.02em; margin-bottom: 14px; }
.request-list { display: grid; gap: 10px; margin-bottom: 14px; }
.request-form { background: var(--paper); border-radius: 20px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.request-form label, .request-form legend { display: grid; gap: 6px; font-size: 15px; }
.request-form input[type=text], .request-form input:not([type]), .request-form textarea, .request-form input[name=contact], .request-form input[name=name] { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; width: 100%; }
.request-form input:focus, .request-form textarea:focus { border-color: var(--fg); }
.request-form fieldset { border: 0; }
.radios { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; }
.radios label:has(input:checked) { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.radios input { accent-color: var(--clay); }
.consent { grid-template-columns: auto 1fr !important; align-items: start; font-size: 14px !important; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--clay); }
.hp { position: absolute !important; left: -9999px; }
.form-error { color: #a33a22; font-size: 14px; min-height: 0; }
.form-error:empty { display: none; }

/* Thanks */
.thanks { min-height: 60vh; }
.thanks h1 { margin: 14px 0 26px; font-size: clamp(38px, 5vw, 72px); }
.ref { display: inline-flex; flex-direction: column; background: var(--paper); border-radius: 14px; padding: 16px 22px; margin-bottom: 26px; }
.ref span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ref b { font-size: 28px; font-weight: 600; letter-spacing: .04em; }
.next { padding-left: 20px; display: grid; gap: 10px; margin-bottom: 26px; color: var(--muted); }
.prose p { margin-bottom: 16px; max-width: 680px; color: var(--muted); }
.prose p b { color: var(--fg); font-weight: 600; }
.prose h1 { margin-bottom: 26px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 50px 0 40px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.foot p { margin-top: 8px; max-width: 360px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; justify-self: end; align-self: start; }
.foot nav a { text-decoration: none; color: var(--fg); }
.foot .legal { grid-column: 1 / -1; max-width: none; border-top: 1px solid var(--line); padding-top: 20px; font-size: 13px; }

/* Shortlist drawer (Kiln's cart) */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(35,29,24,.35); opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(440px, 100%); background: var(--bg); transform: translateX(100%); transition: transform .55s var(--ease); display: flex; flex-direction: column; box-shadow: -30px 0 60px rgba(35,29,24,.15); visibility: hidden; }
.open .scrim { opacity: 1; pointer-events: auto; }
.open .drawer { transform: none; visibility: visible; }
.drawer > header { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); font-size: 18px; }
.drawer > header button { background: none; border: 0; font-size: 26px; line-height: 1; }
.items { flex: 1; overflow-y: auto; padding: 6px 24px; }
.item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item .thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.item .thumb img, .item .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.item b { font-weight: 400; display: block; line-height: 1.3; }
.item a { text-decoration: none; }
.item small { color: var(--muted); font-size: 13px; }
.item .rm { background: none; border: 1px solid var(--line); border-radius: 999px; width: 30px; height: 30px; font-size: 16px; line-height: 1; }
.item .rm:hover { border-color: var(--fg); }
.drawer .empty-list { text-align: center; color: var(--muted); padding: 50px 10px; }
.drawer > footer { border-top: 1px solid var(--line); padding: 20px 24px; display: grid; gap: 10px; }
.drawer .note { font-size: 13px; color: var(--muted); }
.request-list .item { background: var(--paper); border: 0; border-radius: 12px; padding: 10px 12px; grid-template-columns: 52px 1fr auto; }
.request-list .item .thumb { width: 52px; height: 52px; }

@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 860px) {
  .nav .links, .cta-link { display: none; }
  .nav .wrap { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: 1fr; }
  .hero .stage { min-height: 380px; order: -1; }
  .split, .detail-grid, .request-grid { grid-template-columns: 1fr; }
  .detail-pic { position: relative; top: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { border-left: 0; padding: 26px 0 0; }
  .steps h3 { margin-top: 10px; }
  .foot .wrap { grid-template-columns: 1fr; }
  .foot nav { justify-self: start; }
  .filters .count { margin-left: 0; width: 100%; }
}
@media (max-width: 460px) { .grid { grid-template-columns: 1fr; } .stats { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

.video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:32px}.workflow-video iframe,.workflow-video video,.video-placeholder{width:100%;aspect-ratio:16/9;border:0;border-radius:16px;background:#e9dfd2}.video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#795a45}.video-placeholder span{font-size:56px}.workflow-video h3{margin-top:16px}@media(max-width:650px){.video-grid{grid-template-columns:1fr}}

/* ===== Homepage redesign: centred radar, strip under the black bar, 9:16 videos, on-theme motion ===== */

/* Scrolling attributes strip now sits directly under the black announcement bar */
.announce + .marquee { border-top: 0; padding: 12px 0; }
.announce + .marquee .track { font-size: 15px; }

/* Centred hero: radar first, tagline underneath */
.hero.hero-center { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: clamp(28px, 4vw, 56px) 20px clamp(56px, 7vw, 96px); text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% 32%, rgba(200,103,60,.10), transparent 70%); }
.hero-center .stage { width: 100%; min-height: 0; background: none; overflow: visible; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-center .stage::before { display: none; }
.hero-center .stage .tag { position: static; order: 2; box-shadow: 0 6px 18px rgba(60,40,20,.08); }
.radar-wrap { position: relative; width: min(860px, calc(100vw - 40px), 80svh); min-width: min(340px, calc(100vw - 40px)); aspect-ratio: 1; }
.hero-center .stage .radar { position: absolute; inset: 0; width: 100%; }
.hero-center .radar-keywords { inset: 12%; top: 12%; left: 12%; right: 12%; height: auto; transform: none; gap: 10px 22px; }
.hero-center .radar-keyword { font-size: clamp(12px, 1.25vw, 17px); }
.hero-center .text { padding: 26px 0 0; max-width: 860px; align-items: center; gap: 22px; }
.hero-center h1 { font-size: clamp(38px, 5.4vw, 80px); }
.hero-center .lead { margin-inline: auto; }
.hero-center .ctas { justify-content: center; }

/* Hero entrance is pure CSS, so the first screen never depends on JavaScript */
.hero-in { animation: hero-rise .9s var(--ease) var(--d, 0s) both; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* The italic line gets a terracotta underline that draws itself */
.hero-center h1 .it { background: linear-gradient(var(--clay), var(--clay)) no-repeat 0 92% / 0 2px; animation: ink 1.4s var(--ease) 1s forwards; }
@keyframes ink { to { background-size: 100% 2px; } }

/* Radar "pings": trends being detected as the beam sweeps round */
.blip { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--clay); z-index: 2; opacity: 0;
  animation: blip 5s ease-out var(--bd) infinite; }
.blip::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--clay); animation: ping 5s ease-out var(--bd) infinite; }
@keyframes blip { 0%, 4% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.15); } 30% { opacity: .85; transform: scale(1); } 60%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes ping { 0%, 6% { opacity: 0; transform: scale(.6); } 10% { opacity: .9; } 40%, 100% { opacity: 0; transform: scale(3.4); } }
.radar b:nth-of-type(3) { animation: core 2.5s ease-in-out infinite; }
@keyframes core { 50% { box-shadow: 0 0 48px rgba(200,103,60,.85); } }

/* "How it works": a progress path draws through the four steps when they scroll into view */
.steps.rv-path { position: relative; border-top-color: transparent; }
.steps.rv-path::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, var(--clay), #e9a66b); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.steps.rv-path.in::before { transform: scaleX(1); }
.steps.rv-path li span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(200,103,60,.5); transition: background .4s, color .4s; }
.steps.rv-path.in li span { background: var(--clay); color: #fff; }
.steps.rv-path.in li:nth-child(1) span { transition-delay: .3s; } .steps.rv-path.in li:nth-child(2) span { transition-delay: .7s; }
.steps.rv-path.in li:nth-child(3) span { transition-delay: 1.1s; } .steps.rv-path.in li:nth-child(4) span { transition-delay: 1.5s; }

/* Cards: lift, plus a scan-light sweep across the picture on hover */
.card { transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; }
.card:hover .pic::after { transition: transform .9s var(--ease); transform: translateX(120%); }

/* Workflow videos in 9:16 (Shorts / Reels shape), kept to a sensible size */
.video-grid { grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: clamp(20px, 4vw, 48px); }
.workflow-video iframe, .workflow-video video, .video-placeholder { aspect-ratio: 9 / 16; border-radius: 22px; }
.workflow-video { text-align: center; }
.workflow-videos .wrap { text-align: center; }
.video-placeholder { position: relative; overflow: hidden; box-shadow: 0 24px 50px rgba(60,40,20,.12); }
.video-placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(200,103,60,.12)); }
.video-placeholder span { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font-size: 30px; padding-left: 4px; animation: play-pulse 2.4s ease-in-out infinite; }
@keyframes play-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,103,60,.35); } 50% { box-shadow: 0 0 0 16px rgba(200,103,60,0); } }
@media (max-width: 650px) { .video-grid { grid-template-columns: minmax(0, 300px); } }

@media (max-width: 860px) { .hero.hero-center .stage { order: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-in { opacity: 1; transform: none; }
  .hero-center h1 .it { background-size: 100% 2px; }
  .blip { opacity: .8; } .steps.rv-path::before { transform: none; }
}
