/* =========================================================
   VENRIOL STUDIO — Cinematic game-studio identity
   Void Black + Warm Ivory + Metallic Gold + Orbital Geometry
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --void: #080B0E;
  --obsidian: #111417;
  --bronze: #55442F;
  --gold: #C9A675;
  --sand: #E7CDA6;
  --ivory: #F0E9DC;
  --ash: #9B9993;
  --graphite: #292A29;
  --border-warm: #554F46;

  --grad-signature: linear-gradient(120deg, #080B0E 0%, #181714 38%, #55442F 78%, #C9A675 130%);

  --font-head: 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --section-y: clamp(90px, 12vw, 180px);

  --ease: cubic-bezier(.16, .84, .34, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--void); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow.centered { justify-content: center; }
.eyebrow.centered::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.display {
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.035em;
}

.h-section {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -.03em;
}

.h-sub {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.02em;
  font-weight: 500;
}

.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--ash);
  max-width: 60ch;
  font-weight: 350;
}

.muted { color: var(--ash); }
.gold { color: var(--gold); }
.sand { color: var(--sand); }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(60px, 8vw, 110px); }

.stack-sm > * + * { margin-top: 14px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }

.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--graphite) 12%, var(--graphite) 88%, transparent);
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .5s var(--ease), background .5s var(--ease),
    color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn .arrow { transition: transform .5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--primary {
  background: var(--ivory);
  color: var(--void);
  box-shadow: 0 0 0 rgba(201, 166, 117, 0);
}
.btn--primary:hover {
  background: var(--sand);
  box-shadow: 0 14px 40px -14px rgba(231, 205, 166, .5);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--border-warm);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--sand);
  box-shadow: inset 0 0 0 1px rgba(201, 166, 117, .35), 0 0 34px -18px rgba(201, 166, 117, .8);
}

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--sand);
  letter-spacing: .01em;
}
.link-arrow::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  transition: width .45s var(--ease);
}
.link-arrow:hover::after { width: 44px; }

/* ---------- Orbital / environmental backgrounds ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.glow--tr {
  width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  top: -22%; right: -14%;
  background: radial-gradient(circle, rgba(201,166,117,.20), rgba(85,68,47,.10) 45%, transparent 70%);
}
.glow--bl {
  width: 55vw; height: 55vw; max-width: 640px; max-height: 640px;
  bottom: -26%; left: -18%;
  background: radial-gradient(circle, rgba(85,68,47,.22), transparent 68%);
}
.section > .wrap { position: relative; z-index: 2; }

/* Thin orbital arcs (decorative SVG containers) */
.orbit-field {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.orbit-field svg { position: absolute; opacity: .5; }
.orbit-line {
  fill: none;
  stroke: url(#goldFade);
  stroke-width: 1;
}
.orbit-sphere {
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0,0); }
  to { transform: translate(-18px, 14px); }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 11, 14, .72);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--graphite);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-shrink: 0;
}
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 14px rgba(201,166,117,.35)); }
.brand .wordmark {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ivory);
}
.brand .wordmark small {
  display: block;
  font-size: 8.5px;
  letter-spacing: .55em;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 450;
  letter-spacing: .01em;
  color: var(--ash);
  position: relative;
  padding-block: 6px;
  transition: color .4s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .45s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ivory); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { --pad-y: 11px; --pad-x: 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 1.5px; background: var(--ivory);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-cta { display: none; }
  .site-header.menu-open .nav-links {
    display: flex;
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px var(--gutter) 34px;
    background: rgba(8,11,14,.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--graphite);
  }
  .site-header.menu-open .nav-links a { font-size: 20px; padding-block: 12px; width: 100%; }
  .site-header.menu-open .nav-cta { display: flex; position: fixed; inset: auto 0 0 0; padding: 0 var(--gutter) 28px; background: rgba(8,11,14,.97); }
  .site-header.menu-open .nav-cta .btn { display: inline-flex; width: 100%; justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(201,166,117,.20), transparent 46%),
    radial-gradient(90% 80% at 92% 30%, rgba(231,205,166,.10), transparent 40%),
    radial-gradient(140% 120% at 10% 100%, rgba(85,68,47,.28), transparent 55%),
    var(--void);
  z-index: 0;
}
.hero__grid { position: absolute; inset: 0; z-index: 1; opacity: .45; }
.hero .wrap { z-index: 3; }

.hero__inner { max-width: 1000px; }
.hero .display { margin-top: 26px; }
.hero .display .line { display: block; overflow: hidden; }
.hero__sub {
  margin-top: 34px;
  font-size: clamp(18px, 1.7vw, 22px);
  color: var(--ash);
  max-width: 56ch;
  font-weight: 350;
}
.hero__actions { margin-top: 46px; }

.hero__meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 40px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ash);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta span::before { content:""; width:6px; height:6px; border-radius:50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* Floating orbital sphere in hero */
.hero__orb {
  position: absolute;
  top: 16%; right: 8%;
  width: clamp(120px, 20vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #F3E6CF, #C9A675 30%, #7c6039 62%, #2b2419 100%);
  box-shadow: 0 0 90px -10px rgba(201,166,117,.55), inset -18px -20px 60px rgba(0,0,0,.6);
  z-index: 2;
  animation: orbFloat 18s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  from { transform: translateY(0) rotate(0deg); }
  to { transform: translateY(-26px) rotate(6deg); }
}
@media (max-width: 720px){ .hero__orb { opacity: .5; top: 9%; right: -6%; } }

/* ============================================================
   SPLIT / EDITORIAL SECTION
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__big {
  font-size: clamp(40px, 6.4vw, 74px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 500;
}
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

/* Media frame with orbital treatment */
.frame {
  position: relative;
  border: 1px solid var(--graphite);
  border-radius: 12px;
  overflow: hidden;
  background: var(--obsidian);
  aspect-ratio: 4 / 3.1;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8,11,14,.55));
  pointer-events: none;
}
.frame__tag {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--sand);
}

/* ============================================================
   SYSTEMS DIAGRAM (interconnected nodes)
   ============================================================ */
.systems {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201,166,117,.14), transparent 45%),
    var(--obsidian);
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.systems__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.node-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--graphite);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent);
}
.node {
  flex: 1 1 180px;
  padding: 34px 26px;
  position: relative;
  min-width: 160px;
  transition: background .6s var(--ease);
}
.node + .node { border-left: 1px solid var(--graphite); }
.node__idx {
  font-size: 11px; letter-spacing: .26em; color: var(--gold);
  text-transform: uppercase;
}
.node__name {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 500;
  margin-top: 16px;
  letter-spacing: -.01em;
}
.node__desc { font-size: 14px; color: var(--ash); margin-top: 10px; line-height: 1.55; }
.node__dot {
  position: absolute; top: 30px; right: 26px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--graphite);
  transition: background .6s var(--ease), box-shadow .6s var(--ease);
}
.node.lit { background: rgba(201,166,117,.06); }
.node.lit .node__dot { background: var(--gold); box-shadow: 0 0 16px var(--gold); }
@media (max-width: 780px){
  .node + .node { border-left: 0; border-top: 1px solid var(--graphite); }
}

/* ============================================================
   FULL-WIDTH STATEMENT
   ============================================================ */
.statement {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 120%, rgba(201,166,117,.20), transparent 55%),
    var(--void);
}
.statement__q {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin-inline: auto;
}
.statement__q em { font-style: normal; color: var(--gold); }
.statement__flow {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 8px;
  color: var(--ash);
  font-family: var(--font-head);
  font-size: clamp(14px, 1.6vw, 19px);
  letter-spacing: .04em;
}
.statement__flow b { color: var(--ivory); font-weight: 500; }
.statement__flow .sep { color: var(--gold); }

/* ============================================================
   TECH DIAGRAM (behind the game)
   ============================================================ */
.tech {
  border-top: 1px solid var(--graphite);
}
.tech__layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px){ .tech__layout { grid-template-columns: 1fr; } }

.diagram {
  position: relative;
  border: 1px solid var(--graphite);
  border-radius: 16px;
  background:
    radial-gradient(80% 80% at 30% 20%, rgba(85,68,47,.22), transparent 60%),
    var(--obsidian);
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  gap: 18px;
  justify-items: center;
  overflow: hidden;
}
.dnode {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  padding: 12px 22px;
  background: rgba(8,11,14,.5);
  position: relative;
  z-index: 2;
}
.dnode.is-active { color: var(--void); background: var(--sand); border-color: var(--sand); box-shadow: 0 0 30px -6px rgba(231,205,166,.6); }
.dconn { color: var(--gold); font-size: 18px; line-height: 1; }
.drow { display: flex; align-items: center; gap: 18px; }
.drow .dnode { padding-inline: 18px; }

/* ============================================================
   GENRE GRID (cinematic tiles)
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tile {
  position: relative;
  border: 1px solid var(--graphite);
  border-radius: 12px;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  isolation: isolate;
  transition: border-color .6s var(--ease), transform .6s var(--ease);
}
.tile__bg { position: absolute; inset: 0; z-index: -1; transition: transform 1.4s var(--ease), opacity .6s; }
.tile:hover { transform: translateY(-4px); border-color: var(--border-warm); }
.tile:hover .tile__bg { transform: scale(1.06); }
.tile__idx { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.tile__title { font-family: var(--font-head); font-size: clamp(24px,3vw,32px); font-weight: 500; margin-top: 12px; letter-spacing: -.02em; }
.tile__text { color: var(--ash); font-size: 15px; margin-top: 10px; max-width: 40ch; }
.tile--tall { min-height: 300px; }

/* Themed environment gradients per tile */
.env-fantasy { background: radial-gradient(120% 100% at 20% 0%, rgba(75,110,80,.5), transparent 55%), linear-gradient(160deg,#0c130d,#080B0E); }
.env-sci { background: radial-gradient(120% 100% at 80% 0%, rgba(70,96,130,.5), transparent 55%), linear-gradient(160deg,#0a0f16,#080B0E); }
.env-contemporary { background: radial-gradient(120% 100% at 30% 100%, rgba(120,96,60,.55), transparent 55%), linear-gradient(160deg,#14100a,#080B0E); }
.env-mono { background: radial-gradient(120% 100% at 70% 20%, rgba(150,150,150,.28), transparent 55%), linear-gradient(160deg,#131313,#080B0E); }
@media (max-width: 680px){ .tiles { grid-template-columns: 1fr; } }

/* ============================================================
   PRINCIPLES GRID
   ============================================================ */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: 14px;
  overflow: hidden;
}
.principle {
  background: var(--void);
  padding: clamp(28px, 3vw, 42px);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .6s var(--ease);
}
.principle:hover { background: var(--obsidian); }
.principle__num {
  font-family: var(--font-head);
  font-size: 14px; color: var(--gold); letter-spacing: .2em;
}
.principle__title { font-family: var(--font-head); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.principle__text { color: var(--ash); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 860px){ .principles-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .principles-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(201,166,117,.16), transparent 48%),
    radial-gradient(80% 90% at 0% 100%, rgba(85,68,47,.30), transparent 55%),
    var(--void);
  border-top: 1px solid var(--graphite);
}
.contact__layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
}
@media (max-width: 880px){ .contact__layout { grid-template-columns: 1fr; } }

.contact__aside .display { font-size: clamp(40px,5.4vw,66px); }
.contact__points { list-style: none; margin: 34px 0 0; padding: 0; }
.contact__points li {
  display: flex; gap: 16px; padding: 16px 0;
  border-top: 1px solid var(--graphite);
  color: var(--ash); font-size: 15px;
}
.contact__points li:last-child { border-bottom: 1px solid var(--graphite); }
.contact__points b { color: var(--ivory); font-weight: 500; display:block; font-size: 15px; }

/* Form */
.form {
  background: var(--obsidian);
  border: 1px solid var(--graphite);
  border-radius: 16px;
  padding: clamp(26px, 3.4vw, 44px);
  position: relative;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px){ .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.field label {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
}
.field input,
.field select,
.field textarea {
  background: var(--void);
  border: 1px solid var(--graphite);
  border-radius: 6px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 14px 16px;
  width: 100%;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #61635f; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,166,117,.12);
  background: #0b0e11;
}
.field select { appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form .btn--primary { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 12.5px; color: var(--ash); margin-top: 16px; text-align: center; line-height: 1.5; }
.form__success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--border-warm);
  border-radius: 8px;
  background: rgba(201,166,117,.08);
  color: var(--sand);
  font-size: 14.5px;
}
.form__success.show { display: block; }

.check-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.check-row input { width: 17px; height: 17px; accent-color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.check-row label { font-size: 13px; color: var(--ash); letter-spacing: 0; text-transform: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--graphite);
  position: relative;
  overflow: hidden;
  padding-top: clamp(70px, 8vw, 110px);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
}
.footer__brand { max-width: 320px; }
.footer__brand .brand { margin-bottom: 22px; }
.footer__brand p { color: var(--ash); font-size: 14.5px; }
.footer__social {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 24px;
  padding: 11px 18px;
  border: 1px solid var(--border-warm);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ivory);
  transition: border-color .4s var(--ease), color .4s, box-shadow .4s;
}
.footer__social:hover { border-color: var(--gold); color: var(--sand); box-shadow: 0 0 30px -14px rgba(201,166,117,.8); }
.footer__social svg { width: 15px; height: 15px; fill: currentColor; }

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 13px; }
.footer__col a { color: var(--ash); font-size: 14.5px; transition: color .35s var(--ease); }
.footer__col a:hover { color: var(--ivory); }

.footer__bottom {
  margin-top: clamp(50px, 6vw, 80px);
  padding: 30px 0;
  border-top: 1px solid var(--graphite);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ash);
  font-size: 13px;
}
.footer__bottom a:hover { color: var(--ivory); }
.footer__wordmark {
  font-family: var(--font-head);
  font-size: clamp(60px, 16vw, 220px);
  letter-spacing: .04em;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--graphite);
  text-align: center;
  margin-top: 40px;
  user-select: none;
  white-space: nowrap;
  opacity: .8;
}
@media (max-width: 900px){ .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px){ .footer__top { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(150px, 18vw, 220px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(201,166,117,.18), transparent 46%),
    radial-gradient(80% 120% at 0% 100%, rgba(85,68,47,.24), transparent 55%),
    var(--void);
  border-bottom: 1px solid var(--graphite);
}
.page-hero .display { font-size: clamp(46px, 8vw, 92px); margin-top: 22px; }
.page-hero .lead { margin-top: 26px; }
.breadcrumb { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); }
.breadcrumb a { color: var(--gold); }

/* ============================================================
   BLOG
   ============================================================ */
.article {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: clamp(50px, 6vw, 80px);
}
.article + .article { border-top: 1px solid var(--graphite); }
.article:nth-child(even) .article__media { order: 2; }
@media (max-width: 820px){ .article { grid-template-columns: 1fr; } .article:nth-child(even) .article__media { order: 0; } }
.article__meta { display: flex; gap: 16px; align-items: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ash); }
.article__meta .cat { color: var(--gold); }
.article__title { font-size: clamp(28px, 3.4vw, 42px); margin-top: 20px; letter-spacing: -.025em; }
.article__excerpt { color: var(--ash); margin-top: 18px; font-size: 16.5px; }
.article__body { margin-top: 22px; }
.article__body p { color: var(--ash); font-size: 15.5px; margin: 0 0 14px; }
.article__media {
  border: 1px solid var(--graphite);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.art-1 { background: radial-gradient(100% 100% at 20% 10%, rgba(201,166,117,.35), transparent 55%), linear-gradient(160deg,#141009,#080B0E); }
.art-2 { background: radial-gradient(100% 100% at 80% 20%, rgba(70,96,130,.4), transparent 55%), linear-gradient(160deg,#0a0f16,#080B0E); }
.art-3 { background: radial-gradient(100% 100% at 40% 90%, rgba(75,110,80,.4), transparent 55%), linear-gradient(160deg,#0c130d,#080B0E); }
.article__media .frame__tag { position: absolute; left: 20px; bottom: 18px; }

/* ============================================================
   CAREERS
   ============================================================ */
.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
@media (max-width: 680px){ .values-grid { grid-template-columns: 1fr; } }
.value-card {
  border: 1px solid var(--graphite);
  border-radius: 12px;
  background: var(--obsidian);
  padding: clamp(26px,3vw,38px);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.value-card:hover { border-color: var(--border-warm); transform: translateY(-3px); }
.value-card h3 { font-size: 22px; margin: 16px 0 12px; }
.value-card p { color: var(--ash); font-size: 15px; }
.value-card .value-idx { font-family: var(--font-head); color: var(--gold); font-size: 13px; letter-spacing: .2em; }

.roles { border: 1px solid var(--graphite); border-radius: 14px; overflow: hidden; }
.role {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px clamp(22px,3vw,34px);
  transition: background .5s var(--ease);
}
.role + .role { border-top: 1px solid var(--graphite); }
.role:hover { background: var(--obsidian); }
.role__title { font-family: var(--font-head); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.role__dept, .role__loc { color: var(--ash); font-size: 14px; letter-spacing: .04em; }
.role .link-arrow { justify-self: end; }
@media (max-width: 720px){
  .role { grid-template-columns: 1fr; gap: 8px; }
  .role .link-arrow { justify-self: start; margin-top: 8px; }
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 900px){ .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.price-card {
  border: 1px solid var(--graphite);
  border-radius: 16px;
  background: var(--obsidian);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-warm); }
.price-card--feature {
  border-color: var(--border-warm);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(201,166,117,.16), transparent 60%),
    var(--obsidian);
}
.price-card--feature::before {
  content: "Most Involved";
  position: absolute; top: 20px; right: 20px;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--void); background: var(--sand);
  padding: 5px 11px; border-radius: 4px;
}
.price-card__tier { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.price-card__price { font-family: var(--font-head); font-size: clamp(38px,4.4vw,52px); font-weight: 500; margin: 20px 0 4px; letter-spacing: -.03em; }
.price-card__price span { font-size: 15px; color: var(--ash); font-family: var(--font-body); letter-spacing: 0; }
.price-card__desc { color: var(--ash); font-size: 14.5px; min-height: 44px; }
.price-card ul { list-style: none; margin: 26px 0; padding: 22px 0 0; border-top: 1px solid var(--graphite); display: grid; gap: 14px; flex: 1; }
.price-card li { display: flex; gap: 12px; font-size: 14.5px; color: var(--ivory); align-items: flex-start; }
.price-card li::before { content: ""; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; border: 1px solid var(--gold); background: radial-gradient(circle at 50% 50%, var(--gold) 0 30%, transparent 32%); flex-shrink: 0; }
.price-card .btn { justify-content: center; }

/* ============================================================
   MISC PAGE CONTENT (Terms / Privacy legal)
   ============================================================ */
.legal { display: grid; grid-template-columns: .34fr 1fr; gap: clamp(30px,5vw,70px); align-items: start; }
@media (max-width: 820px){ .legal { grid-template-columns: 1fr; } }
.legal__nav { position: sticky; top: 110px; }
.legal__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal__nav a { font-size: 14px; color: var(--ash); transition: color .35s; padding-left: 14px; border-left: 1px solid var(--graphite); display: block; padding-block: 4px; }
.legal__nav a:hover, .legal__nav a.active { color: var(--ivory); border-left-color: var(--gold); }
.legal__body h2 { font-size: clamp(24px,3vw,32px); margin: 46px 0 16px; letter-spacing: -.02em; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p, .legal__body li { color: var(--ash); font-size: 16px; line-height: 1.7; }
.legal__body ul { padding-left: 20px; }
.legal__body li { margin-bottom: 8px; }
.legal__updated { font-size: 13px; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; margin-bottom: 30px; }

/* CTA banner (reusable) */
.cta-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--graphite);
  border-radius: 18px;
  padding: clamp(40px, 6vw, 76px);
  background:
    radial-gradient(90% 140% at 90% 0%, rgba(201,166,117,.20), transparent 50%),
    var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.cta-banner h2 { font-size: clamp(30px,4.4vw,50px); max-width: 16ch; letter-spacing: -.03em; }
.cta-banner p { color: var(--ash); margin-top: 14px; max-width: 44ch; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Small utility */
.center { text-align: center; }
.mt-lg { margin-top: clamp(40px, 6vw, 72px); }
.mt-md { margin-top: 30px; }
.maxw-sm { max-width: 640px; }
.maxw-md { max-width: 820px; }
