/* =========================================================
   Festival Treasure Hunt — shared stylesheet
   Design language borrowed from the Domino conference system:
   olive palette, Instrument Serif display, Geist sans, rounded
   24px wallpaper cards, green gradient accents.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Geist:wght@400;500;600;700&display=swap');

:root {
  --olive-50:  oklch(98.8% 0.003 106.5);
  --olive-100: oklch(96.6% 0.005 106.5);
  --olive-200: oklch(93.0% 0.007 106.5);
  --olive-300: oklch(88.0% 0.011 106.6);
  --olive-400: oklch(73.7% 0.021 106.9);
  --olive-500: oklch(58.0% 0.031 107.3);
  --olive-600: oklch(46.6% 0.025 107.3);
  --olive-700: oklch(39.4% 0.023 107.4);
  --olive-800: oklch(28.6% 0.016 107.4);
  --olive-900: oklch(22.8% 0.013 107.4);
  --olive-950: oklch(15.3% 0.006 107.1);

  --green:      #22CE8A;
  --green-deep: #1A7F72;
  --orange:     #E8854A;
  --indigo:     #5C6BC0;
  --purple:     #7b627d;
  --brown:      #8d7359;

  --font-display: 'Instrument Serif', ui-serif, Georgia, serif;
  --font-sans:    'Geist', ui-sans-serif, system-ui, -apple-system, sans-serif;

  --radius-card: 24px;
  --radius-md:   16px;
  --radius-sm:   12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--olive-100);
  color: var(--olive-950);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- Layout ---------- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .container { padding: 0 40px; }
}

.section { padding: 80px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

/* ---------- Typography ---------- */

.kicker {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-600);
}
.kicker-light { color: rgba(255,255,255,.65); }

.h-hero {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: white;
  text-wrap: balance;
}
.h-hero em { font-style: italic; color: rgba(255,255,255,.92); }

.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--olive-950);
  text-wrap: pretty;
}
.h-section em { font-style: italic; }
.h-section-dark { color: white; }

.p-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--olive-700);
}
.p-lg {
  font-size: 18px;
  line-height: 1.7;
  color: var(--olive-700);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  transition: background-color .15s ease, transform .15s ease;
}
.btn.lg {
  padding: 12px 28px;
  font-size: 15px;
}
.btn-primary {
  background: var(--olive-950);
  color: white;
}
.btn-primary:hover { background: var(--olive-800); }
.btn-light {
  background: white;
  color: var(--olive-950);
}
.btn-light:hover { background: var(--olive-100); }
.btn-green {
  background: var(--green);
  color: var(--olive-950);
}
.btn-green:hover { background: #1fb97d; }
.btn-plain { background: transparent; color: var(--olive-950); padding: 10px 16px; }
.btn-plain:hover { background: rgba(0,0,0,.06); }
.btn-plain-light { background: transparent; color: white; padding: 10px 16px; }
.btn-plain-light:hover { background: rgba(255,255,255,.12); }

/* ---------- Wallpapers ---------- */

.wp { position: relative; overflow: hidden; color: white; }
.wp-green  { background: linear-gradient(180deg, #22CE8A, #1A7F72); }
.wp-indigo { background: linear-gradient(180deg, #5C6BC0, #7986CB); }
.wp-orange { background: linear-gradient(180deg, #E8854A, #D96B3F); }
.wp-purple { background: linear-gradient(180deg, #7b627d, #8f6976); }
.wp-brown  { background: linear-gradient(180deg, #8d7359, #765959); }
.wp-dark   { background: var(--olive-950); }

/* subtle film grain like the reference */
.grain::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  border-radius: inherit;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='250' height='250' viewBox='0 0 100 100'><filter id='n'><feTurbulence type='turbulence' baseFrequency='1.4' numOctaves='1' seed='2' stitchTiles='stitch' result='n'/><feComponentTransfer result='g'><feFuncR type='linear' slope='4' intercept='1'/><feFuncG type='linear' slope='4' intercept='1'/><feFuncB type='linear' slope='4' intercept='1'/></feComponentTransfer><feColorMatrix type='saturate' values='0' in='g'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 250px 250px;
}

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 245, 240, 0.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-mark {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--olive-950);
  line-height: 1;
}
.nav-brand-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--olive-700);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--olive-800);
  padding: 6px 0;
  position: relative;
}
.nav-links a.active {
  color: var(--olive-950);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-spacer { flex: 1; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: var(--olive-950);
}
.nav-toggle svg { margin: auto; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta-secondary { display: none; }
  .nav-brand-tag { display: none; }
}

/* mobile menu drop panel */
.nav-mobile {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: rgba(246,245,240,.98);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--olive-900);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .btn { margin-top: 16px; width: 100%; }

/* ---------- Footer ---------- */

footer {
  padding: 64px 0 28px;
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.footer-brand p {
  font-size: 14px;
  color: var(--olive-700);
  margin-top: 14px;
  max-width: 36ch;
  line-height: 1.6;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--olive-800);
}
.footer-col a:hover { color: var(--olive-950); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--olive-500);
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility cards ---------- */

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(34, 206, 138, .18);
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.3); }
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.fadeup { animation: fadeup .7s cubic-bezier(0.21, 0.47, 0.32, 0.98) both; }

/* ========================================================
   HOME PAGE
   ======================================================== */

/* ---- Hero ---- */


.hero {
  padding: 8px;
}
.hero-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 5%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  padding: 104px 48px 96px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero-badge {
  display: inline-flex;
  align-self: flex-start;
  gap: 10px;
  align-items: center;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: white;
  font-size: 13px;
  line-height: 24px;
}
.hero-badge-pill {
  background: rgba(255,255,255,.22);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255,255,255,.84);
  max-width: 52ch;
}
.hero-sub strong { color: white; font-weight: 600; }
.hero-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 6px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  flex-wrap: wrap;
}
.hero-meta-sep {
  width: 1px; height: 14px;
  background: rgba(255,255,255,.22);
}

/* Hero mockup (stacked cards) */
.hero-mockup {
  position: relative;
  min-height: 460px;
}
.hero-mockup-leader {
  position: absolute;
  top: 0; right: 0;
  width: 62%;
  background: var(--olive-950);
  color: white;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.hero-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.hero-mockup-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.hero-mockup-header-time {
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.leader-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.leader-row:last-child { border-bottom: 0; }
.leader-rank {
  width: 20px;
  font-size: 13px;
  font-family: var(--font-display);
  text-align: center;
  color: rgba(255,255,255,.5);
}
.leader-rank.gold { color: var(--green); }
.leader-av {
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  box-shadow: 0 0 0 2px var(--olive-950);
}
.leader-body { flex: 1; min-width: 0; }
.leader-name {
  font-size: 13px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.leader-name.me { color: var(--green); font-weight: 600; }
.leader-handle {
  font-size: 11px;
  color: rgba(255,255,255,.45);
}
.leader-pts {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.hero-mockup-quests {
  position: absolute;
  bottom: 0; left: 0;
  width: 80%;
  background: var(--olive-50);
  border-radius: 16px;
  padding: 18px;
  color: var(--olive-950);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.4);
}
.quest-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.quest-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.quest-sub {
  font-size: 12px;
  color: var(--olive-600);
  margin-top: 4px;
}
.quest-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 600;
}
.quest-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 4px;
  background: rgba(0,0,0,.025);
}
.quest-row.done { background: rgba(34,206,138,.1); }
.quest-check {
  width: 22px; height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--olive-400);
  flex-shrink: 0;
}
.quest-row.done .quest-check {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.quest-text {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}
.quest-row.done .quest-text {
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,.35);
}
.quest-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--olive-500);
}
.quest-pts {
  font-size: 12px;
  font-weight: 600;
  color: var(--olive-950);
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.quest-row.done .quest-pts { color: var(--olive-500); }

/* ---- Stat ticker ---- */
.ticker-wrap {
  padding: 0 8px 16px;
}
.ticker {
  background: var(--olive-950);
  color: white;
  border-radius: var(--radius-md);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--olive-950), transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, var(--olive-950), transparent); }
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker-scroll 48s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}
.ticker-v {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--green);
  line-height: 1;
}
.ticker-l {
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.ticker-sep {
  color: rgba(255,255,255,.2);
  margin: 0 8px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Why festivals section ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.why-grid > .side { position: sticky; top: 96px; }
.why-list > .item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.why-list > .item:first-child { border-top: 1px solid rgba(0,0,0,.1); }
.why-num {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--olive-400);
  letter-spacing: -0.02em;
  line-height: 1;
}
.why-item-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--olive-950);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

/* ---- Experience callout (dark block) ---- */
.callout-dark {
  background: var(--olive-950);
  color: white;
  border-radius: var(--radius-card);
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
}
.callout-dark::before {
  content: '';
  position: absolute;
  top: -140px; right: -100px;
  width: 440px; height: 440px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34,206,138,.38), transparent 70%);
  pointer-events: none;
}
.callout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.callout-stats {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.callout-stat-v {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: -0.02em;
  color: var(--green);
  line-height: 1;
}
.callout-stat-l {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}
.callout-feed {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 18px;
  height: 440px;
  overflow: hidden;
  position: relative;
}
.callout-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.feed-mask {
  position: relative;
  height: 380px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, black 10%, black 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, black 10%, black 88%, transparent 100%);
}
.feed-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: quest-up 28s linear infinite;
}
@keyframes quest-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.feed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}
.feed-av {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--green);
  color: var(--olive-950);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.feed-main { flex: 1; min-width: 0; }
.feed-line {
  font-size: 13px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.feed-user { color: var(--green); font-weight: 500; }
.feed-muted { color: rgba(255,255,255,.55); }
.feed-meta {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}
.feed-pts {
  font-size: 12px;
  font-weight: 600;
  color: white;
}

/* ---- Feature triptych ---- */
.tri-head { max-width: 700px; margin-bottom: 48px; }
.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tri-card {
  background: rgba(0,0,0,.025);
  border-radius: var(--radius-card);
  padding: 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.tri-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--olive-950);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.tri-title {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
  color: var(--olive-950);
}
.tri-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--olive-700);
}
.tri-card.highlight {
  background: var(--olive-950);
  color: white;
}
.tri-card.highlight .tri-icon {
  background: var(--green);
  color: var(--olive-950);
}
.tri-card.highlight .tri-title { color: white; }
.tri-card.highlight .tri-body { color: rgba(255,255,255,.75); }

/* ---- Big CTA to main platform ---- */
.platform-cta {
  padding: 8px;
}
.platform-cta-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}
.platform-cta-inner {
  padding: 88px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.platform-cta-inner::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
  pointer-events: none;
}
.platform-trust {
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px;
  color: white;
  position: relative;
}
.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
}
.trust-check {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: var(--green);
  color: var(--olive-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================================================
   WHAT WE DO PAGE
   ======================================================== */

.page-hero {
  padding: 8px;
}
.page-hero-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  padding: 88px 48px;
  text-align: left;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.page-hero-kicker {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(0,0,0,.18);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: white;
}
.page-hero-title em { font-style: italic; }
.page-hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  margin-top: 20px;
  max-width: 56ch;
}

/* phases rail */
.phase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: rgba(0,0,0,.03);
  margin-bottom: 16px;
}
.phase-copy {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.phase-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phase-num {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--olive-300);
}
.phase-title {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--olive-950);
  max-width: 22ch;
}
.phase-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.phase-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--olive-800);
}
.phase-check {
  width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--olive-950);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phase-visual {
  padding: 40px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* process steps table */
.steps-wrap {
  background: rgba(0,0,0,.025);
  border-radius: var(--radius-card);
  padding: 56px 48px;
}
.steps-head-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.step-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.step-row:first-child { border-top: 1px solid rgba(0,0,0,.08); }
.step-num {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: var(--olive-950);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-family: var(--font-display);
}
.step-title { font-size: 16px; font-weight: 500; color: var(--olive-950); }
.step-sub   { font-size: 13px; color: var(--olive-600); margin-top: 2px; }
.step-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--olive-950);
  color: var(--green);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* quest type grid */
.qtype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.qtype {
  background: white;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qtype:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.2);
}
.qtype-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--olive-100);
  color: var(--olive-950);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.qtype-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}
.qtype-sub {
  font-size: 12px;
  color: var(--olive-600);
  line-height: 1.5;
}

/* ========================================================
   CONTACT PAGE
   ======================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: white;
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid rgba(0,0,0,.06);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--olive-800);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: var(--olive-50);
  color: var(--olive-950);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34,206,138,.18);
}
.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-submit {
  background: var(--olive-950);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  transition: background-color .15s ease;
}
.form-submit:hover { background: var(--olive-800); }
.form-note {
  font-size: 12px;
  color: var(--olive-600);
  margin-top: 10px;
  text-align: center;
}
.form-success {
  background: rgba(34,206,138,.12);
  color: var(--olive-950);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.form-success.show { display: block; }

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--olive-950);
  color: white;
  border-radius: var(--radius-card);
  padding: 36px;
}
.contact-card.light {
  background: rgba(0,0,0,.025);
  color: var(--olive-950);
}
.contact-card.light p { color: var(--olive-700); }
.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--olive-950);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
}
.contact-email:hover { background: #1fb97d; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.contact-card.light .contact-list li { color: var(--olive-800); }

/* Shared: compact FAQ */
.faq-list {
  border-top: 1px solid rgba(0,0,0,.1);
}
.faq-item { border-bottom: 1px solid rgba(0,0,0,.1); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--olive-950);
  cursor: pointer;
}
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: var(--olive-950);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background-color .15s ease, color .15s ease;
}
.faq-item.open .faq-icon {
  background: var(--olive-950);
  color: white;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: 15px;
  line-height: 1.75;
  color: var(--olive-700);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ========================================================
   RESPONSIVE
   ======================================================== */

@media (max-width: 1100px) {
  .hero-inner,
  .why-grid,
  .callout-grid,
  .platform-cta-inner,
  .steps-head-grid,
  .contact-grid,
  .phase { grid-template-columns: 1fr !important; gap: 40px !important; }

  .why-grid > .side { position: static !important; }
  .phase-visual { min-height: 280px; }
  .tri-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { padding: 72px 28px 64px; }
  .callout-dark,
  .platform-cta-inner { padding: 48px 28px; }
  .page-hero-card { padding: 64px 28px; }
  .phase-copy { padding: 32px 28px; }
  .phase-visual { padding: 28px; }
  .steps-wrap { padding: 36px 28px; }
  .contact-form,
  .contact-card { padding: 28px; }
  .tri-grid { grid-template-columns: 1fr; }
  .qtype-grid { grid-template-columns: 1fr 1fr; }
  .callout-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .callout-stat-v { font-size: 32px; }
  .hero-mockup-quests { width: 100%; position: relative; bottom: auto; left: auto; margin-top: 16px; }
  .hero-mockup-leader { width: 100%; position: relative; top: auto; right: auto; }
  .hero-mockup { min-height: auto; display: flex; flex-direction: column; gap: 16px; }
}

@media (max-width: 500px) {
  .qtype-grid { grid-template-columns: 1fr; }
  .form-row-inline { grid-template-columns: 1fr; }
  .callout-stats { grid-template-columns: 1fr; }
}


.domino-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.domino-btn-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
