/* ============================================================
   NORTH SCALE — Brand stylesheet
   Dark luxury · Gold accent · Editorial serif + modern sans
   ============================================================ */

:root {
  /* Palette */
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #141414;
  --border: #1f1f1f;
  --border-strong: #2a2a2a;

  --text: #f5f3ec;
  --text-muted: #a8a59c;
  --text-subtle: #6f6c63;

  --gold: #c9a961;
  --gold-bright: #d8b974;
  --gold-deep: #8c7340;
  --gold-glow: rgba(201, 169, 97, 0.18);

  /* Typography */
  --font-serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Sizing */
  --container: 1240px;
  --container-narrow: 880px;
  --radius: 2px;
  --radius-pill: 999px;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

/* Subtle film grain on the whole page for tactile premium feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  mix-blend-mode: overlay;
}

/* Subtle radial spotlight from the top */
body::after {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 800px;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

main, header, section, footer { position: relative; z-index: 2; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 62ch;
}

p.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 300;
  max-width: 60ch;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--gold-bright); }

em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

strong { font-weight: 500; color: var(--text); }

/* Eyebrow / overline label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

section {
  padding: var(--s-10) 0;
  border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
  section { padding: var(--s-9) 0; }
}

.section-header {
  margin-bottom: var(--s-9);
  max-width: 720px;
}

.section-header .eyebrow {
  margin-bottom: var(--s-5);
}

.section-header h2 {
  margin-bottom: var(--s-5);
}

.section-header p {
  font-size: 19px;
  color: var(--text-muted);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--s-5) 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-7);
}

.logo-mark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.logo-mark::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.logo-mark .corp {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-left: var(--s-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-7);
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 169, 97, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-arrow::after {
  content: '→';
  font-family: var(--font-serif);
  transition: transform 0.25s ease;
}

.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: var(--s-10) 0 var(--s-10);
  border-top: none;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 70%);
  filter: blur(100px);
  z-index: 0;
}

.hero-content {
  max-width: 1080px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: var(--s-7);
}

.hero h1 .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.hero .lead {
  margin-bottom: var(--s-7);
  max-width: 640px;
}

.hero-cta {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-8);
}

.hero-meta {
  display: flex;
  gap: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-meta .meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.hero-meta .meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.hero-meta .meta-value {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  font-weight: 400;
}

/* ============================================================
   MARQUEE / CREDIBILITY STRIP
   ============================================================ */

.marquee {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
}

.marquee-label {
  text-align: center;
  margin-bottom: var(--s-5);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--s-9);
  animation: scroll 40s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-subtle);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: var(--s-9);
}

.marquee-item::after {
  content: '✦';
  color: var(--gold);
  font-size: 14px;
  font-style: normal;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--bg);
  padding: var(--s-8) var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  transition: background 0.3s ease;
  position: relative;
  min-height: 320px;
}

.service-card:hover {
  background: var(--bg-card);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 500;
}

.service-card h3 {
  margin-bottom: var(--s-2);
}

.service-card p {
  color: var(--text-muted);
  font-size: 16px;
  flex-grow: 1;
}

.service-card .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
}

.service-card .service-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  padding: 4px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
}

/* ============================================================
   APPROACH / WHY US
   ============================================================ */

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: start;
}

@media (max-width: 900px) {
  .approach { grid-template-columns: 1fr; }
}

.approach-points {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.approach-point {
  border-left: 1px solid var(--border-strong);
  padding-left: var(--s-6);
  transition: border-color 0.3s ease;
}

.approach-point:hover { border-left-color: var(--gold); }

.approach-point h4 {
  margin-bottom: var(--s-3);
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
}

.approach-point h4 .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold);
}

.approach-point p {
  font-size: 16px;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
  counter-reset: step;
}

@media (max-width: 900px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

.process-step {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--gold);
  position: relative;
}

.process-step .step-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: var(--s-4);
  font-style: italic;
}

.process-step h4 {
  margin-bottom: var(--s-3);
  font-size: 22px;
}

.process-step p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ============================================================
   RESULTS / TRACK RECORD
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: var(--s-9);
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-tile {
  background: var(--bg);
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  transition: background 0.3s ease;
}

.stat-tile:hover { background: var(--bg-card); }

.stat-tile .stat-value {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.035em;
  color: var(--gold);
  font-feature-settings: 'tnum' 1;
}

.stat-tile .stat-label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 400;
  margin-top: var(--s-2);
}

.stat-tile .stat-source {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
}

.results-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

@media (max-width: 900px) {
  .results-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .results-gallery { grid-template-columns: 1fr; }
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.result-card:hover {
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}

.result-card .result-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  background: #f5f5f5;
  display: block;
  border-bottom: 1px solid var(--border);
}

.result-card .result-meta {
  padding: var(--s-5) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.result-card .result-platform {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.result-card .result-headline {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  font-weight: 400;
}

.result-card .result-period {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  margin-top: var(--s-2);
}

.results-disclaimer {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-subtle);
  font-style: italic;
  max-width: 720px;
}

/* ============================================================
   QUOTE / VOICE BLOCK
   ============================================================ */

.voice-block {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: var(--s-9) 0;
}

.voice-block blockquote {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
}

.voice-block blockquote::before,
.voice-block blockquote::after {
  content: '"';
  color: var(--gold);
  font-style: italic;
}

.voice-block .attribution {
  margin-top: var(--s-6);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-final {
  text-align: center;
  padding: var(--s-10) 0;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  background: linear-gradient(180deg, transparent, var(--gold-glow) 100%, transparent);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, var(--gold-glow), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.cta-final-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.cta-final h2 {
  margin-bottom: var(--s-5);
}

.cta-final p {
  margin: 0 auto var(--s-7);
  color: var(--text-muted);
  font-size: 19px;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: var(--s-9) 0 var(--s-7);
  border-top: 1px solid var(--border);
  background: #060606;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-8);
  margin-bottom: var(--s-8);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand p {
  margin-top: var(--s-4);
  font-size: 14px;
  color: var(--text-subtle);
  max-width: 360px;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s-5);
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.footer-col a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */

.legal-page {
  padding: var(--s-9) 0;
  max-width: 820px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(40px, 5vw, 60px);
  margin-bottom: var(--s-3);
}

.legal-page .last-updated {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 28px;
  margin: var(--s-8) 0 var(--s-4);
  color: var(--gold);
}

.legal-page h3 {
  font-size: 20px;
  margin: var(--s-6) 0 var(--s-3);
  color: var(--text);
}

.legal-page p,
.legal-page li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: var(--s-4);
  color: var(--text-muted);
  max-width: none;
}

.legal-page ul,
.legal-page ol {
  padding-left: var(--s-6);
  margin-bottom: var(--s-5);
}

.legal-page strong { color: var(--text); }

/* ============================================================
   UTILITIES
   ============================================================ */

.muted { color: var(--text-muted); }
.text-gold { color: var(--gold); }
.italic { font-style: italic; }
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); }

.divider {
  height: 1px;
  background: var(--border);
  margin: var(--s-8) 0;
}

/* Reveal-on-scroll baseline (JS adds .visible) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
