/* YINDOR — "Momentum" · production styles
   Recreated from design boards 3a/3b/3c/3d + 4a (Style Concepts handoff) */

/* ---------- Fonts (self-hosted, GDPR-clean) ---------- */
@font-face { font-family: 'Archivo'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/archivo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/archivo-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/archivo-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 900; font-style: normal; font-display: swap; src: url('../fonts/archivo-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --concrete: #E9E7E3;
  --soot: #171614;
  --graphite: #55524C;
  --body: #3A3833;
  --muted-dark: #B9B5AD;
  --border: #C9C5BE;
  --footer-hairline: #33312D;
  --orange: oklch(0.64 0.19 40);
  --orange-dark: oklch(0.72 0.19 40);
  --orange-text: oklch(0.55 0.17 40);
  --gutter: 72px;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Archivo', system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--soot);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: opacity 180ms ease; }
a:hover { opacity: 0.7; }
h1, h2, h3 { font-weight: 900; margin: 0; }
p { margin: 0; }

/* ---------- Header ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter);
}
.wordmark { font-weight: 900; font-size: 24px; letter-spacing: -0.02em; }
.wordmark .dot, .odot { color: var(--orange); }
.site-nav { display: flex; gap: 36px; font-size: 15px; font-weight: 500; align-items: center; }
.site-nav a.active { border-bottom: 3px solid var(--orange); padding-bottom: 4px; }
.nav-contact { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Shared devices ---------- */
.waypoint-dot { width: 12px; height: 12px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }
.waypoint-dot.small { width: 8px; height: 8px; }
.route-line { display: flex; align-items: center; gap: 10px; margin-top: 40px; max-width: 560px; }
.route-line .dash { flex: 1; border-top: 3px dashed var(--soot); }
.wpt-label {
  font-family: var(--mono); font-size: 13px; color: var(--graphite);
  margin-bottom: 28px; display: flex; align-items: center; gap: 14px;
}
.wpt-label::before { content: ''; width: 8px; height: 8px; background: var(--soot); border-radius: 50%; }
.mono { font-family: var(--mono); }

/* ---------- Sections ---------- */
.section { padding: 0 var(--gutter) 90px var(--gutter); }
.section.last { padding-bottom: 100px; }

/* Hero */
.hero { padding: 110px var(--gutter) 90px var(--gutter); }
.hero-coords { font-family: var(--mono); font-size: 13px; color: var(--graphite); margin-bottom: 26px; }
.hero h1 {
  font-size: 76px; line-height: 1.02; letter-spacing: -0.025em;
  max-width: 1000px; text-wrap: pretty;
}
.hero-sub { font-size: 21px; margin-top: 28px; color: var(--body); }

/* Hairline grid cells (WPT 01 / consultancy numbered cells) */
.cell-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2px; background: var(--border); border: 1px solid var(--border);
}
.cell { background: var(--concrete); padding: 40px 36px; }
.cell h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 16px; letter-spacing: -0.02em; }
.cell h3.open { color: var(--graphite); }
.cell p { font-size: 16px; line-height: 1.55; color: var(--body); }
.cell-num { font-family: var(--mono); font-size: 13px; color: var(--orange-text); margin-bottom: 14px; }
.cell.numbered h3 { font-size: 20px; margin-bottom: 14px; }
.cell.numbered p { font-size: 15px; }

/* Work cards (WPT 02) */
.work-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
.work-card {
  background: var(--soot); color: var(--concrete);
  padding: 36px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.work-card .card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-card .card-title { font-weight: 900; font-size: 26px; letter-spacing: -0.02em; }
.work-card .card-tag { font-family: var(--mono); font-size: 12px; color: var(--orange-dark); white-space: nowrap; }
.work-card p { font-size: 15px; line-height: 1.5; color: var(--muted-dark); transition: color 180ms ease; }
.work-card:hover p { color: var(--concrete); }
a.work-card:hover { opacity: 1; } /* keep the designed hover (text brightens), not the generic link fade */
.card-title { display: inline-flex; align-items: center; gap: 10px; }
.card-icon { width: 26px; height: 26px; border-radius: 6px; flex-shrink: 0; display: block; }
.card-link { font-family: var(--mono); font-size: 12px; color: var(--orange-dark); }
.stealth-card {
  border: 2px dashed #9B968D; padding: 36px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px;
}
.stealth-card span { font-family: var(--mono); font-size: 13px; color: var(--graphite); text-align: center; }
.work-note { font-family: var(--mono); font-size: 13px; color: var(--graphite); margin-top: 20px; }

/* Contact (WPT 03) */
.contact-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.contact-row h2 { font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; max-width: 560px; }
.contact-details { font-family: var(--mono); font-size: 14px; line-height: 2; text-align: right; color: var(--body); }

/* Consultancy hero */
.split-hero {
  padding: 90px var(--gutter) 70px var(--gutter);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gutter);
}
.split-hero .kicker { font-family: var(--mono); font-size: 13px; color: var(--graphite); margin-bottom: 22px; }
.split-hero h1 { font-size: 58px; line-height: 1.04; letter-spacing: -0.025em; text-wrap: pretty; }
.split-hero .route-line { margin-top: 32px; max-width: 420px; }
.split-hero .intro { align-self: end; }
.split-hero .intro .lead { font-size: 19px; line-height: 1.6; color: var(--body); }
.split-hero .intro .sub { font-size: 16px; line-height: 1.6; margin-top: 18px; color: var(--graphite); }

/* CTA */
.cta-row { padding: 0 var(--gutter) 100px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-row h2 { font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; }
.cta-button {
  background: var(--soot); color: var(--concrete);
  font-size: 16px; font-weight: 600; padding: 18px 36px;
  display: inline-flex; align-items: center; gap: 12px;
}
.cta-button:hover { opacity: 0.85; }
.cta-button .waypoint-dot { width: 8px; height: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soot); color: var(--muted-dark); }
.footer-art { display: block; width: 100%; height: 260px; }
@media (max-width: 700px) { .footer-art { height: 150px; } }
.footer-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px var(--gutter); border-top: 1px solid var(--footer-hairline);
}
.footer-slogan { font-size: 14px; }
.footer-legal { font-family: var(--mono); font-size: 12px; white-space: nowrap; }

/* ---------- Mobile (per boards 3b / 3d) ---------- */
.burger { display: none; }
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .site-header { padding: 20px 24px; }
  .wordmark { font-size: 20px; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex; position: fixed; inset: 0; z-index: 10;
    background: var(--concrete); flex-direction: column;
    align-items: flex-start; justify-content: center;
    gap: 28px; padding: 24px; font-size: 24px; font-weight: 900;
  }
  .site-nav.open a.active { border-bottom-width: 4px; }
  .burger {
    display: flex; flex-direction: column; gap: 5px;
    padding: 10px 0; background: none; border: none; cursor: pointer; z-index: 11;
  }
  .burger span { width: 24px; border-top: 2px solid var(--soot); }
  .hero { padding: 56px 24px 48px 24px; }
  .hero-coords { font-size: 11px; margin-bottom: 18px; }
  .hero h1 { font-size: 38px; line-height: 1.05; letter-spacing: -0.02em; }
  .hero-sub { font-size: 17px; margin-top: 20px; }
  .route-line { margin-top: 24px; gap: 8px; }
  .route-line .waypoint-dot { width: 10px; height: 10px; }
  .section { padding: 0 24px 48px 24px; }
  .section.last { padding-bottom: 56px; }
  .wpt-label { font-size: 11px; margin-bottom: 18px; gap: 10px; }
  .wpt-label::before { width: 7px; height: 7px; }
  .cell-grid { grid-template-columns: 1fr; }
  .cell { padding: 24px; }
  .cell h3 { font-size: 18px; margin-bottom: 8px; }
  .cell p { font-size: 15px; line-height: 1.5; }
  .work-grid { grid-template-columns: 1fr; gap: 16px; }
  .work-card { padding: 24px; min-height: 0; gap: 12px; }
  .work-card .card-title { font-size: 21px; }
  .card-icon { width: 22px; height: 22px; }
  .work-card .card-tag { font-size: 11px; }
  .work-card p { font-size: 14px; }
  .stealth-card { padding: 24px; min-height: 0; flex-direction: row; justify-content: center; gap: 10px; }
  .stealth-card .waypoint-dot { width: 10px; height: 10px; }
  .work-note { font-size: 11px; margin-top: 14px; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-row h2 { font-size: 28px; line-height: 1.1; }
  .contact-details { text-align: left; font-size: 13px; }
  .split-hero { grid-template-columns: 1fr; padding: 48px 24px 40px 24px; gap: 20px; }
  .split-hero h1 { font-size: 40px; line-height: 1.05; }
  .split-hero .kicker { font-size: 11px; margin-bottom: 16px; }
  .split-hero .intro .lead { font-size: 16px; }
  .split-hero .intro .sub { font-size: 14px; margin-top: 12px; }
  .cell.numbered h3 { font-size: 17px; }
  .cell.numbered p { font-size: 14px; }
  .cta-row { flex-direction: column; align-items: flex-start; gap: 18px; padding: 0 24px 48px 24px; }
  .cta-row h2 { font-size: 26px; line-height: 1.1; }
  .cta-button { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px; }
  .footer-slogan { font-size: 13px; }
  .footer-legal { font-size: 11px; white-space: normal; }
}
