/* A-Star Global Media: v2 design system
   One family (Figtree). True black, burgundy, champagne used sparingly, warm off-white.
   The bold move lives in the hero; everything else stays quiet. */
:root {
  --black: #000000;
  --ink: #141414;
  --burgundy: #6E1423;
  --burgundy-lift: #8E2A3B;
  --gold: #C6A46A;
  --paper: #F6F1EA;
  --paper-2: #EDE6DC;
  --muted: #5C5650;
  --muted-on-dark: #A8A29A;
  --line: #DDD4C7;
  --line-dark: #2A2A2A;
  --font: Figtree, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(80px, 11vw, 144px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section); padding-bottom: var(--section); }
.dark { background: var(--black); color: var(--paper); }
.wine { background: var(--burgundy); color: var(--paper); }
.measure { max-width: 62ch; }

/* Type scale */
.h-section { font-weight: 800; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; margin: 0; max-width: 18ch; }
.h-item { font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.muted { color: var(--muted); }
.dark .muted, .wine .muted { color: var(--muted-on-dark); }
.small { font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 6px; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .15s ease, color .15s ease; }
.btn-primary { background: var(--burgundy); color: var(--paper); }
.btn-primary:hover { background: var(--burgundy-lift); }
.btn-light { background: var(--paper); color: var(--black); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: #4A4A4A; color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); }
.text-link { font-weight: 700; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--burgundy); }

/* Header */
.site-header { background: var(--black); color: var(--paper); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand small { font-weight: 500; font-size: 14px; letter-spacing: 0; color: var(--muted-on-dark); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--paper); }
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* Hero: the one bold move. A wall of words, because words are the product. */
.hero { background: var(--black); color: var(--paper); overflow: hidden; }
.hero .wrap { padding-top: clamp(72px, 12vw, 168px); padding-bottom: clamp(72px, 10vw, 136px); position: relative; }
.hero-title { margin: 0; font-weight: 800; font-size: clamp(40px, 7.2vw, 100px); line-height: 0.98; letter-spacing: -0.05em; padding-right: clamp(0px, 10vw, 150px); }
.hero-title .line { display: block; }
.hero-star { position: absolute; right: var(--gutter); top: clamp(48px, 8vw, 112px); width: clamp(56px, 9vw, 132px); height: auto; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; margin-top: clamp(40px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-foot p { margin: 0; max-width: 46ch; color: #D6CFC5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; } .hero-star { position: static; margin-bottom: 28px; } }

/* One orchestrated entrance, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line { opacity: 0; transform: translateY(0.35em); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero-title .line:nth-child(2) { animation-delay: .08s; }
  .hero-title .line:nth-child(3) { animation-delay: .16s; }
  .hero-title .line:nth-child(4) { animation-delay: .24s; }
  .hero-star { opacity: 0; animation: fade .9s ease .35s forwards; }
  .hero-foot { opacity: 0; animation: fade .8s ease .45s forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }

/* Clients */
.clients .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; padding-top: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.clients p { margin: 0; color: var(--muted); font-size: 15px; }
.clients ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 52px; }
.clients img { width: auto; max-width: 100%; }
.clients .wrap { align-items: center; }

/* Services: alternatives, so no numbers */
.split-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.split-head p { margin: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.service { padding: 32px 0 36px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.service p { margin: 0; color: var(--muted); max-width: 46ch; }
.service .text-link { margin-top: 8px; align-self: flex-start; }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

/* Results */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(48px, 6vw, 72px); }
.stat-num { display: block; font-weight: 800; font-size: clamp(56px, 7vw, 96px); line-height: 0.9; letter-spacing: -0.05em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat-label { display: block; margin-top: 16px; font-weight: 700; font-size: 18px; }
.stat-context { display: block; margin-top: 4px; color: var(--muted-on-dark); font-size: 15px; }
.source-note { margin: 56px 0 0; color: var(--muted-on-dark); max-width: 80ch; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Process: a real sequence, so numbered */
.steps { list-style: none; margin: clamp(48px, 6vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.05em; color: var(--gold); margin-bottom: 20px; }
.steps p { margin: 10px 0 0; color: #E6D8D4; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Testimonial */
.quote { margin: 0; font-weight: 700; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.22; letter-spacing: -0.025em; max-width: 30ch; }
.quote-by { margin: 28px 0 0; color: var(--muted); }
.quote-by strong { color: var(--ink); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 40px 80px; align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding: 24px 0; font-weight: 700; font-size: 19px; line-height: 1.35; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 500; font-size: 26px; line-height: 1; color: var(--burgundy); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; color: #D6CFC5; }
.form input, .form textarea { background: #111; border: 1px solid #3A3A3A; border-radius: 6px; color: var(--paper); padding: 14px 16px; font: inherit; font-size: 16px; }
.form input:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form .btn { align-self: flex-start; }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-on-dark); border-top: 1px solid var(--line-dark); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-decoration: none; color: var(--muted-on-dark); }
.site-footer a:hover { color: var(--paper); }

/* Page heads (inner pages) */
.page-head { background: var(--black); color: var(--paper); }
.page-head .wrap { padding-top: clamp(64px, 9vw, 128px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-title { margin: 0; font-weight: 800; font-size: clamp(40px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.05em; max-width: 16ch; }
.page-head .lede { margin: 28px 0 0; color: #D6CFC5; max-width: 52ch; }

/* About */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.placeholder { aspect-ratio: 4 / 3; background: var(--paper-2); color: #8A837B; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; font-size: 14px; border-radius: 6px; }
.dark .placeholder { background: #141414; color: var(--muted-on-dark); }
.placeholder.portrait { aspect-ratio: 4 / 5; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: clamp(48px, 6vw, 72px); }
.values p { margin: 10px 0 0; color: #E6D8D4; }
.founder { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px 80px; align-items: center; }
.founder .role { margin: 8px 0 24px; color: var(--burgundy); font-weight: 700; }
.founder p { margin: 0 0 16px; color: var(--muted); max-width: 60ch; }
.founder .quote { font-size: clamp(22px, 2.4vw, 30px); margin-top: 28px; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
@media (max-width: 860px) { .story, .founder, .values { grid-template-columns: 1fr; } }

/* Blog: coming soon */
.soon { min-height: 72vh; display: flex; align-items: center; }
.soon .wrap { width: 100%; }

/* Quiz */
.quiz-shell { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.quiz-bar { height: 4px; background: #1E1E1E; }
.quiz-bar div { height: 4px; width: 0%; background: var(--gold); transition: width .3s ease; }
.quiz-main { flex: 1; display: flex; justify-content: center; padding: clamp(48px, 8vw, 96px) var(--gutter) 96px; }
.quiz-main > div { width: 100%; max-width: 720px; }
.quiz-step { display: flex; flex-direction: column; gap: 24px; }
.quiz-count { margin: 0; color: var(--muted); font-weight: 600; font-size: 15px; }
.quiz-title { margin: 0; font-weight: 800; font-size: clamp(32px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.045em; }
.quiz-q { margin: 0; font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.035em; }
.quiz-opts { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: #FFFFFF; border: 1px solid #D9D1C4; border-radius: 6px; padding: 18px 20px; font: inherit; font-size: 17px; color: var(--ink); cursor: pointer; min-height: 60px; transition: border-color .15s ease; }
.quiz-opt:hover { border-color: var(--burgundy); }
.quiz-opt .key { flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--paper-2); font-size: 14px; font-weight: 700; color: var(--burgundy); }
.quiz-back { align-self: flex-start; background: transparent; border: 0; padding: 12px 0; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; min-height: 44px; }
.quiz-back:hover { color: var(--ink); }
.quiz-form { display: flex; flex-direction: column; gap: 16px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 4vw, 32px); }
.quiz-form label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.quiz-form input { border: 1px solid #BFB6AA; border-radius: 6px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.quiz-form input:focus { border-color: var(--burgundy); outline: none; }
.quiz-result { background: var(--black); color: var(--paper); border-radius: 10px; padding: clamp(28px, 5vw, 48px); }
.quiz-result .fit { margin: 0; color: var(--gold); font-weight: 700; }
.quiz-result h2 { margin: 6px 0 0; font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.05em; }
.quiz-result .why { margin: 0; color: #D6CFC5; }
.quiz-result ol { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.quiz-result ol li::marker { color: var(--gold); font-weight: 700; }
[tabindex="-1"]:focus { outline: none; }
.accent-line { font-style: italic; font-weight: 700; color: var(--gold); }
.h-statement { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.03em; max-width: 34ch; }
.split-head.stacked { grid-template-columns: 1fr; gap: 24px; }
.split-head.stacked p { max-width: 56ch; }
.h-accent { color: var(--burgundy); }
.split-copy p { margin: 0 0 16px; }
.split-copy p:last-child { margin-bottom: 0; }
.split-copy .h-accent { font-weight: 600; }
.tm { font-size: 0.38em; font-weight: 600; vertical-align: super; line-height: 0; margin-left: 0.04em; letter-spacing: 0; }
.social { display: flex; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 6px; color: var(--muted-on-dark); }
.social a:hover { color: var(--paper); background: #141414; }
/* Results count-up: green while climbing, settles to brand gold */
.stat-num { transition: color .6s ease; }
.stat-num.is-counting { color: #3DDC84; transition: none; }
