:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #17171a;
  --text: #f4f1ea;
  --ivory: #ece4d6;
  --muted: rgba(236, 228, 214, 0.64);
  --subtle: rgba(236, 228, 214, 0.42);
  --faint: rgba(236, 228, 214, 0.34);
  --line: rgba(236, 228, 214, 0.12);
  --line-2: rgba(236, 228, 214, 0.24);
  --accent: #c4452f;
  --accent-bright: #e0573f;
  --accent-soft: rgba(196, 69, 47, 0.16);
  --max: 1180px;
  --radius: 10px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(196, 69, 47, 0.4); color: #fff; }

/* ---------- typography ---------- */
.eyebrow {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--subtle);
}

.eyebrow.accent { color: var(--accent); }

h1, h2 {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

h1 {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h1 .accent-dot { color: var(--accent); }

h2 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { overflow-wrap: anywhere; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 0.5px solid transparent;
  background: rgba(12, 12, 13, 0.55);
  backdrop-filter: blur(18px);
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(12, 12, 13, 0.9);
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { display: block; width: 32px; height: 32px; flex: none; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: contain; }
.brand-name {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.005em;
  white-space: nowrap;
  color: var(--text);
}

.site-nav { display: flex; justify-content: center; gap: 4px; }
.site-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 200ms var(--ease), background 200ms var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(236, 228, 214, 0.06); }

.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  border: 0.5px solid var(--line-2);
  border-radius: 40px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 300ms var(--ease), color 300ms var(--ease);
  will-change: transform;
}
.header-action .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--subtle); transition: background 300ms var(--ease), transform 300ms var(--ease); }
.header-action:hover { border-color: rgba(196, 69, 47, 0.85); }
.header-action:hover .dot { background: var(--accent); transform: scale(1.6); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0.5px solid var(--line);
  border-radius: 8px;
  background: rgba(236, 228, 214, 0.05);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--text); transition: transform 200ms var(--ease), opacity 200ms var(--ease); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 110px clamp(18px, 4vw, 48px) 36px;
  background: var(--bg);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
}
.hero-stage {
  position: relative; z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 40px;
}
.hero-main {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero-title { margin: 22px 0 0; }
.hero-title .line { display: block; }
.hero-lead {
  margin: 26px 0 0;
  max-width: 500px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 320px; perspective: 900px; }
.hero-aperture-wrap { width: min(76%, 340px); aspect-ratio: 1; transform-style: preserve-3d; }
.hero-mark { width: 100%; height: 100%; object-fit: contain; display: block; }

.hero-ticker { border-top: 0.5px solid var(--line); padding-top: 16px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: ticker 42s linear infinite; }
.ticker-track span {
  padding: 0 18px;
  border-right: 0.5px solid var(--line);
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 40px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
  transition: border-color 300ms var(--ease), color 300ms var(--ease), background 300ms var(--ease);
  will-change: transform;
}
.btn .lbl { display: inline-block; will-change: transform; }
.btn .dot { width: 6px; height: 6px; border-radius: 50%; flex: none; transition: transform 300ms var(--ease), background 300ms var(--ease); }
.btn-primary { background: var(--ivory); color: #0c0c0d; }
.btn-primary .dot { background: var(--accent); }
.btn-primary:hover { background: #fff; }
.btn-primary:hover .dot { transform: scale(1.5); }
.btn-ghost { border: 0.5px solid var(--line-2); color: var(--text); }
.btn-ghost .dot { background: var(--subtle); }
.btn-ghost:hover { border-color: rgba(196, 69, 47, 0.85); }
.btn-ghost:hover .dot { background: var(--accent); transform: scale(1.5); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 130px) clamp(18px, 4vw, 48px); }
.section-alt { background: var(--bg-2); }
.section-inner { width: min(var(--max), 100%); margin: 0 auto; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.section-head.compact { margin-bottom: 0; }

.split { display: grid; grid-template-columns: minmax(260px, 0.85fr) minmax(380px, 1.15fr); gap: 56px; align-items: start; }
.text-block p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.text-block p:last-child { margin-bottom: 0; }

/* ---------- grids / cards ---------- */
.choice-grid, .format-grid, .job-grid { display: grid; gap: 14px; }
.choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 360ms var(--ease), transform 360ms var(--ease), background 360ms var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(140deg, rgba(196, 69, 47, 0.10), transparent 38%);
  opacity: 0; transition: opacity 360ms var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }

.card .num { font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.choice-card { min-height: 280px; }
.choice-card h3, .job-card h3 { margin-top: 44px; }
.card p { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content; margin-top: auto; padding-top: 22px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text);
}
.card .card-link .arrow { color: var(--accent); transition: transform 320ms var(--ease); }
.card:hover .card-link .arrow { transform: translateX(5px); }
.format-card { min-height: 168px; background: var(--surface-2); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 12px; }
.step {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  padding: 22px 24px;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 360ms var(--ease), background 360ms var(--ease);
}
.step:hover { border-color: var(--line-2); }
.step .step-num { font-family: "Unbounded", sans-serif; font-size: 22px; font-weight: 600; color: var(--accent); line-height: 1; }
.step strong { display: block; font-size: 16px; font-weight: 600; }
.step p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- cities index ---------- */
.city-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.city-row {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--line);
  transition: color 300ms var(--ease), padding 360ms var(--ease);
}
.city-row .ci-num { font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: var(--faint); min-width: 22px; }
.city-row .ci-name { font-family: "Manrope", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: -0.01em; color: var(--text); }
.city-row:hover { padding-left: 8px; }
.city-row:hover .ci-num { color: var(--accent); }

/* ---------- contacts ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr); gap: 56px; align-items: start; }
.contact-card { display: grid; gap: 10px; }
.contact-link {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 72px;
  padding: 0 24px;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 320ms var(--ease), background 320ms var(--ease), transform 320ms var(--ease);
}
.contact-link .cl-title { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-link .cl-sub { font-size: 13px; color: var(--muted); }
.contact-link .arrow { color: var(--accent); transition: transform 320ms var(--ease); }
.contact-link:hover { transform: translateX(4px); border-color: var(--line-2); }
.contact-link:hover .arrow { transform: translateX(6px); }
.contact-link.primary { border-color: rgba(196, 69, 47, 0.5); background: var(--accent-soft); }

/* ---------- footer ---------- */
.site-footer {
  display: grid; grid-template-columns: 1fr repeat(4, auto); gap: 22px; align-items: center;
  padding: 30px clamp(18px, 4vw, 48px);
  border-top: 0.5px solid var(--line);
  background: #08080a;
  color: var(--faint);
  font-size: 12px; letter-spacing: 0.04em;
}
.site-footer .ft-brand { font-family: "Unbounded", sans-serif; font-weight: 600; font-size: 15px; color: var(--ivory); letter-spacing: 0; }

/* ---------- animation gates ---------- */
.js .hero-stage { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); }
.js [data-head] .eyebrow,
.js [data-head] h2,
.js [data-head] h1,
.js [data-head] p { opacity: 0; transform: translateY(16px); filter: blur(6px); }

.anim-failsafe .hero-stage,
.anim-failsafe [data-reveal],
.anim-failsafe [data-stagger] > *,
.anim-failsafe [data-head] .eyebrow,
.anim-failsafe [data-head] h2,
.anim-failsafe [data-head] h1,
.anim-failsafe [data-head] p { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-main { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; min-height: 200px; margin-bottom: 8px; }
  .hero-aperture-wrap { width: 160px; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .choice-grid, .format-grid, .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-index { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
}

@media (max-width: 720px) {
  .site-header { grid-template-columns: auto auto; min-height: 64px; gap: 12px; padding: 10px 16px; }
  .header-action { display: none; }
  .nav-toggle { display: block; justify-self: end; }
  .site-nav {
    position: fixed; top: 64px; left: 12px; right: 12px;
    display: none; flex-direction: column;
    padding: 12px;
    border: 0.5px solid var(--line);
    border-radius: var(--radius);
    background: rgba(12, 12, 13, 0.98);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { min-height: 48px; padding: 0 12px; }

  .hero { padding-top: 96px; min-height: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .choice-grid, .format-grid, .job-grid, .city-index { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .hero-stage,
  .js [data-reveal],
  .js [data-stagger] > *,
  .js [data-head] .eyebrow,
  .js [data-head] h2,
  .js [data-head] h1,
  .js [data-head] p { opacity: 1 !important; transform: none !important; filter: none !important; }
}
