/* ATL Becks — shared stylesheet v1 */

:root {
  --bg: #0e1014;
  --bg-soft: #14171d;
  --bg-elev: #1a1e26;
  --ink: #f4efe6;
  --ink-dim: #a9a79e;
  --ink-mute: #6d6c67;
  --line: rgba(244, 239, 230, 0.08);
  --line-strong: rgba(244, 239, 230, 0.18);
  --accent: #d4a24c;
  --accent-deep: #b8843a;
  --accent-soft: rgba(212, 162, 76, 0.14);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1000;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #0e1014; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
.skip { position: absolute; top: -100px; left: 12px; background: var(--accent); color: #000; padding: 10px 14px; border-radius: 6px; font-weight: 600; z-index: 9999; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(14, 16, 20, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center; color: #0e1014; font-weight: 700;
  font-family: var(--serif); font-size: 18px;
  box-shadow: 0 4px 20px rgba(212, 162, 76, 0.25);
}
.brand-text em { font-style: italic; color: var(--accent); font-weight: 400; }
.brand-logo { height: 44px; width: auto; display: block; border-radius: 8px; }
.foot-brand .brand-logo { height: 90px; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--ink-dim); font-size: 14px; font-weight: 500; transition: color .2s ease; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: all .25s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.menu-btn { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight: 500; font-size: 15px; font-family: var(--sans);
  transition: all .3s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #0e1014;
  box-shadow: 0 10px 30px -10px rgba(212, 162, 76, 0.5);
}
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(244, 239, 230, 0.25); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(244,239,230,0.04); }
.btn svg { width: 16px; height: 16px; transition: transform .3s ease; }
.btn:hover svg { transform: translateX(3px); }

/* ---------- Eyebrow & labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  padding: 7px 14px; border: 1px solid var(--accent-soft);
  background: rgba(212, 162, 76, 0.06); border-radius: 999px;
}
.eyebrow-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 999px; animation: pulse 2s ease-in-out infinite; }

.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

/* ---------- Page hero (for subpages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 500px at 80% 0%, rgba(212, 162, 76, 0.12), transparent 60%);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.4;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 900px; }
.breadcrumb {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 28px;
}
.breadcrumb a { color: var(--ink-dim); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 10px; color: var(--ink-mute); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.5vw, 84px); line-height: 1.02;
  letter-spacing: -0.03em; margin: 0 0 28px;
  font-variation-settings: "opsz" 144;
  max-width: 16ch;
}
.page-hero h1 em { font-style: italic; color: var(--accent); font-weight: 300; }
.page-hero .lede {
  font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-dim);
  max-width: 60ch; line-height: 1.55; margin: 0 0 40px;
}

/* ---------- Section base ---------- */
.section { padding: clamp(80px, 12vw, 140px) 0; position: relative; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; margin-bottom: 80px; align-items: end; }
.section-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4.5vw, 58px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0; max-width: 20ch;
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 300; }

/* ---------- Prose (long-form content) ---------- */
.prose { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--ink-dim); }
.prose h2 {
  font-family: var(--serif); color: var(--ink);
  font-size: clamp(26px, 3vw, 36px); line-height: 1.15;
  letter-spacing: -0.02em; font-weight: 500;
  margin: 56px 0 20px;
}
.prose h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.prose h3 {
  font-family: var(--serif); color: var(--ink);
  font-size: 22px; line-height: 1.25; font-weight: 500;
  letter-spacing: -0.01em; margin: 40px 0 14px;
}
.prose p { margin: 0 0 20px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose p em { color: var(--accent); font-style: italic; }
.prose ul, .prose ol { margin: 0 0 24px; padding-left: 0; list-style: none; }
.prose ul li, .prose ol li {
  position: relative; padding-left: 28px; margin-bottom: 12px;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 14px; height: 1px; background: var(--accent);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--mono); font-size: 13px;
  color: var(--accent); font-weight: 500;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.feature {
  background: var(--bg); padding: 40px 32px;
  grid-column: span 6;
  transition: background .3s ease;
}
.feature:hover { background: var(--bg-soft); }
.feature-num {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.15em; margin-bottom: 24px;
}
.feature-icon {
  width: 44px; height: 44px; margin-bottom: 24px;
  display: grid; place-items: center; color: var(--accent);
  border: 1px solid var(--accent-soft); border-radius: 10px;
  background: rgba(212, 162, 76, 0.04);
  transition: all .3s ease;
}
.feature:hover .feature-icon { background: var(--accent); color: #0e1014; transform: rotate(-6deg); }
.feature-icon svg { width: 20px; height: 20px; }
.feature h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 24px; line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.feature p { color: var(--ink-dim); font-size: 15px; margin: 0; }

/* ---------- Stat row ---------- */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin: 60px 0;
}
.stat-row .stat { background: var(--bg); padding: 44px 28px; }
.stat-num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--ink); display: block; margin-bottom: 10px;
}
.stat-num em { font-style: italic; color: var(--accent); font-weight: 300; }
.stat-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-dim);
}

/* ---------- CTA Band ---------- */
.cta-band {
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, 0.12), transparent 60%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 68px); line-height: 1.05;
  letter-spacing: -0.03em; margin: 24px auto 20px; max-width: 18ch;
}
.cta-band h2 em { font-style: italic; color: var(--accent); font-weight: 300; }
.cta-band p { color: var(--ink-dim); max-width: 52ch; margin: 0 auto 40px; font-size: 17px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 60px 0 36px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 60px;
}
.foot-brand { max-width: 36ch; }
.foot-brand p { color: var(--ink-dim); font-size: 14px; margin: 16px 0 0; }
.foot-col h4 {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px; font-weight: 500;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: var(--ink-dim); font-size: 14px; transition: color .2s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--ink-mute);
  text-transform: uppercase;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature { grid-column: span 12; }
  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-btn { display: block; }
  .foot-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 140px 0 70px; }
  .btn { padding: 14px 22px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
