/* Orion Design System — combined stylesheet for static site */
/* Built from: colors_and_type.css + ui_kits/website/site.css */

/* =============================================================
   ORION DESIGN SYSTEM — Foundations
   Typography + Color tokens
   ============================================================= */

/* ---------- FONTS ---------- */
/* Outfit — primary brand family (9 weights) */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Thin.ttf")        format("truetype"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-ExtraLight.ttf")  format("truetype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Light.ttf")       format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Regular.ttf")     format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Medium.ttf")      format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-SemiBold.ttf")    format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Bold.ttf")        format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-ExtraBold.ttf")   format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Black.ttf")       format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }

/* Space Grotesk — secondary fallback (kept available) */
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Light.ttf")    format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Regular.ttf")  format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Medium.ttf")   format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Bold.ttf")     format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- ROOT TOKENS ---------- */
:root {
  /* ============ TYPE STACK ============ */
  --font-display: "Outfit", "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body:    "Outfit", "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono:    ui-monospace, "JetBrains Mono", "Menlo", "SF Mono", monospace;

  /* ============ NEUTRAL SCALE ============
     Pure b&w base — borrowed from UX Tornado'26 reference */
  --n-0:   #FFFFFF;
  --n-5:   #FAFAFA;
  --n-10:  #F2F2F2;
  --n-20:  #E5E5E5;
  --n-30:  #CFCFCF;
  --n-40:  #A3A3A3;
  --n-60:  #666666;
  --n-70:  #4A4A4A;
  --n-80:  #2A2A2A;
  --n-90:  #1A1A1A;
  --n-100: #0A0A0A;
  --n-ink: #000000;

  /* ============ BRAND ACCENT — Orion Teal ============
     Sampled from the official Orion logo */
  --brand-50:  #E6F7F2;
  --brand-100: #B8E8DC;
  --brand-200: #6FCFB5;
  --brand-400: #1EA68B;   /* primary teal — logo color */
  --brand-500: #0F8C72;
  --brand-700: #0F4439;   /* dark teal — logo background */
  --brand-900: #062A23;

  /* ============ GEOMETRIC ACCENTS ============
     Bold flat accents — UX Tornado palette */
  --acc-purple:  #6E3CE5;
  --acc-purple-2:#3F1F8C;
  --acc-blue:    #2940FF;
  --acc-blue-2:  #181F6D;
  --acc-green:   #2D9F60;
  --acc-orange:  #E27C28;
  --acc-red:     #E22B20;
  --acc-pink:    #FF3B66;
  --acc-yellow:  #F5C518;

  /* Figma-frame purple (dashed selection motif) */
  --figma-frame: #B042FF;

  /* ============ SEMANTIC TOKENS ============ */
  --bg:           var(--n-0);
  --bg-elev:      var(--n-5);
  --bg-inverse:   var(--n-ink);
  --bg-brand:     var(--brand-700);

  --surface:           var(--n-0);
  --surface-secondary: var(--n-5);
  --surface-tertiary:  var(--n-10);
  --surface-inverse:   var(--n-ink);

  --fg-1:        var(--n-ink);   /* primary text */
  --fg-2:        var(--n-70);    /* secondary */
  --fg-3:        var(--n-60);    /* tertiary */
  --fg-4:        var(--n-40);    /* placeholder / disabled */
  --fg-inverse:  var(--n-0);
  --fg-brand:    var(--brand-400);
  --fg-link:     var(--brand-500);

  --border-1:    var(--n-20);    /* hairline */
  --border-2:    var(--n-ink);   /* bold outline */
  --border-3:    var(--n-30);

  --feedback-success: var(--acc-green);
  --feedback-warning: var(--acc-orange);
  --feedback-error:   var(--acc-red);
  --feedback-info:    var(--acc-blue);

  /* ============ TYPE SCALE ============ */
  --fs-display-1: clamp(56px, 9vw, 144px);
  --fs-display-2: clamp(44px, 7vw, 96px);
  --fs-h1:        clamp(40px, 5vw, 64px);
  --fs-h2:        clamp(32px, 4vw, 48px);
  --fs-h3:        28px;
  --fs-h4:        22px;
  --fs-h5:        18px;
  --fs-body-lg:   18px;
  --fs-body:      16px;
  --fs-body-sm:   14px;
  --fs-caption:   12px;
  --fs-overline:  11px;

  --lh-tight:   1.02;
  --lh-snug:    1.15;
  --lh-normal:  1.45;
  --lh-loose:   1.6;

  --ls-tight:   -0.04em;
  --ls-snug:    -0.02em;
  --ls-normal:  0;
  --ls-wide:    0.08em;
  --ls-overline:0.14em;

  /* ============ SPACING (4px base) ============ */
  --sp-0:   0;
  --sp-1:   4px;
  --sp-2:   8px;
  --sp-3:   12px;
  --sp-4:   16px;
  --sp-5:   20px;
  --sp-6:   24px;
  --sp-8:   32px;
  --sp-10:  40px;
  --sp-12:  48px;
  --sp-16:  64px;
  --sp-20:  80px;
  --sp-24:  96px;
  --sp-32: 128px;

  /* ============ RADII ============
     Mostly tight — geometric / technical vibe */
  --r-0:  0;
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ============ SHADOWS ============
     Soft, low-contrast — the UX Tornado look:
     "thin shadows OR outlines" */
  --shadow-1: 0 1px 2px rgba(0,0,0,.06), 0 1px 1px rgba(0,0,0,.04);
  --shadow-2: 0 4px 12px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-3: 0 12px 32px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --shadow-stat:
    0 3px 0 rgba(0,0,0,.04),
    0 6px 0 rgba(0,0,0,.02),
    0 12px 24px rgba(0,0,0,.06);
  --ring-focus: 0 0 0 3px rgba(30,166,139,.35);
  --ring-ink:   0 0 0 2px var(--n-ink);

  /* ============ MOTION ============ */
  --ease-out:    cubic-bezier(.2,.7,.2,1);
  --ease-in-out: cubic-bezier(.7,0,.2,1);
  --ease-snap:   cubic-bezier(.5,1.5,.5,1);
  --dur-fast:    120ms;
  --dur-base:    220ms;
  --dur-slow:    420ms;

  /* ============ LAYOUT ============ */
  --container:     1280px;
  --container-sm:  960px;
  --grid-cols:     12;
  --grid-gap:      24px;
}

/* =============================================================
   ELEMENT DEFAULTS
   ============================================================= */
html, body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  background: var(--bg);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--fg-1);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-tight); }
h3 { font-size: var(--fs-h3); letter-spacing: var(--ls-snug);  line-height: var(--lh-snug);}
h4 { font-size: var(--fs-h4); letter-spacing: var(--ls-snug);  line-height: var(--lh-snug);}
h5 { font-size: var(--fs-h5); letter-spacing: var(--ls-snug);  line-height: var(--lh-snug); font-weight:600;}

p { margin: 0; }

code, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* Utility classes for the preview cards & UI kit */
.display-1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-display-1); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); text-transform: uppercase; }
.display-2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-display-2); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
.overline  { font-family: var(--font-body);    font-weight: 500; font-size: var(--fs-overline); letter-spacing: var(--ls-overline); text-transform: uppercase; color: var(--fg-2); }
.eyebrow   { font-family: var(--font-body);    font-weight: 600; font-size: var(--fs-caption); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.caption   { font-size: var(--fs-caption); color: var(--fg-3); }
.mono      { font-family: var(--font-mono); }


/* ============================================================= */
/* Site-specific styles */
/* ============================================================= */

/* ===== Orion Website — kit-local styles ===== */

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

body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Buttons ============ */
.btn {
  font: 600 14px var(--font-body);
  padding: 13px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 150ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--primary { background: #000; color: #fff; }
.btn--primary:hover { background: var(--brand-500); }
.btn--brand   { background: var(--brand-400); color: #fff; }
.btn--brand:hover { background: var(--brand-500); }
.btn--outline { background: transparent; color: #000; box-shadow: inset 0 0 0 1.5px #000; }
.btn--outline:hover { background: #000; color: #fff; }
.btn--ghost   { background: var(--n-10); color: #000; }
.btn--ghost:hover { background: var(--n-20); }

.arrow { width: 16px; height: 16px; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-1);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nav__brand img, .nav__brand .logo-mark { height: 36px; display: block; }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  font: 500 14px var(--font-body); color: var(--fg-1); text-decoration: none;
  position: relative; padding: 6px 0;
}
.nav__links a.is-active::after,
.nav__links a:hover::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand-400);
}
.nav__locale { font: 500 12px var(--font-mono); color: var(--fg-3); }
.nav__locale b { color: var(--fg-1); font-weight: 600; }

/* ============ Hero ============ */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-2); padding: 7px 14px; border: 1.5px solid var(--n-20); border-radius: 999px;
  margin-bottom: 28px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--brand-400);}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(56px, 9vw, 140px); line-height: .95;
  letter-spacing: -.04em; text-transform: uppercase;
  color: #000; margin: 0;
  overflow-wrap: anywhere;
}
.hero__title br { display: block; }
.hero__title .accent { color: var(--brand-400); }
.hero__shapes { display: inline-flex; gap: 14px; margin-top: 28px;}
.hero__shapes svg { display: block; }
.hero__sub {
  margin-top: 36px; max-width: 580px;
  font: 400 19px/1.55 var(--font-body); color: var(--fg-2);
}
.hero__ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap;}
.hero__meta {
  display: flex; gap: 32px; margin-top: 64px;
  padding-top: 28px; border-top: 1px solid var(--border-1);
  flex-wrap: wrap;
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-item .n { font: 700 36px/1 var(--font-display); letter-spacing: -.03em; }
.hero__meta-item .l { font: 500 12px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3);}

/* ============ Section header ============ */
.section { padding: 96px 0; }
.section--dark { background: #000; color: #fff; padding: 110px 0; }
.section--soft { background: var(--n-5); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap;}
.section__eyebrow {
  font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 14px;
}
.section--dark .section__eyebrow { color: rgba(255,255,255,.55); }
.section__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.035em;
  max-width: 720px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.section--dark .section__title { color: #fff; }
.section__link {
  font: 600 14px var(--font-body); color: #000; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid #000; padding-bottom: 2px;
}
.section--dark .section__link { color: #fff; border-color: #fff; }

/* ============ Services ============ */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  background: #fff; border: 1.5px solid var(--n-20); border-radius: 18px;
  padding: 28px; display: flex; flex-direction: column; gap: 20px;
  transition: border-color 150ms var(--ease-out);
}
.service:hover { border-color: #000; }
.service__icon {
  width: 56px; height: 56px; border-radius: 12px; background: var(--n-5);
  display: flex; align-items: center; justify-content: center;
}
.service__num { font: 500 11px var(--font-mono); color: var(--fg-3); letter-spacing: .12em; }
.service__title { font: 700 22px var(--font-display); letter-spacing: -.02em; line-height: 1.1; }
.service__desc { font: 400 14px/1.55 var(--font-body); color: var(--fg-2); }
.service__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border-1); padding-top: 16px; margin-top: auto;}
.service__list li { font: 500 13px var(--font-body); color: var(--fg-1); display: flex; align-items: center; gap: 8px; }
.service__list li::before { content: "—"; color: var(--brand-400); font-weight: 700; }

/* ============ Work ============ */
.work { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.work__card {
  background: #fff; border: 1.5px solid var(--n-20); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 18px; cursor: pointer;
  transition: border-color 150ms var(--ease-out);
  min-height: 320px;
}
.work__card:hover { border-color: #000; }
.work__card--accent { background: #000; color: #fff; border: 0; position: relative; overflow: hidden;}
.work__card--accent .work__title { color: #fff; }
.work__card--accent .work__meta  { color: rgba(255,255,255,.6); }
.work__card--accent .work__chips .chip { background: rgba(255,255,255,.08); color: #fff; border-color: transparent;}
.work__card--accent .deco { position: absolute; right: -40px; bottom: -40px; }
.work__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font: 500 12px var(--font-body); padding: 5px 11px;
  border-radius: 999px; border: 1.5px solid var(--n-20); background: #fff; color: var(--n-90);
}
.chip--brand { background: var(--brand-50); color: var(--brand-700); border-color: transparent; }
.chip--ink { background: #000; color: #fff; border-color: #000; }
.chip--purple { background: #F0E6FE; color: #4A1FB2; border-color: transparent; }
.work__title { font: 700 28px var(--font-display); letter-spacing: -.025em; line-height: 1.05; overflow-wrap: anywhere; hyphens: auto; }
.work__meta { font: 500 12px var(--font-mono); color: var(--fg-3); letter-spacing: .04em; }
.work__cta { font: 600 13px var(--font-body); display: inline-flex; align-items: center; gap: 6px; margin-top: auto;}

.work__preview {
  flex: 1; background: var(--n-5); border-radius: 10px; min-height: 140px;
  display: flex; align-items: center; justify-content: center;
}
.work__card--accent .work__preview { background: rgba(255,255,255,.06); }

/* ============ Stats ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff; color: #000;
  padding: 26px 28px; border-radius: 18px;
  box-shadow:
    0 3px 0 rgba(255,255,255,.16),
    0 6px 0 rgba(255,255,255,.08),
    0 14px 28px rgba(0,0,0,.45);
  display: flex; flex-direction: column; gap: 6px;
}
.stat-card .n { font: 800 48px/.95 var(--font-display); letter-spacing: -.04em; }
.stat-card .n .unit { font-size: 28px; vertical-align: super; line-height: 0; color: var(--brand-400);}
.stat-card .l { font: 500 13px var(--font-body); color: var(--fg-3); }

/* ============ Process ============ */
.process-list { display: flex; flex-direction: column; }
.process-row {
  display: grid; grid-template-columns: 80px 220px 1fr auto;
  align-items: center; gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--border-1);
  cursor: pointer;
  transition: background 150ms var(--ease-out);
}
.process-row:hover { background: var(--n-5); padding-left: 16px; padding-right: 16px;}
.process-row:last-child { border-bottom: 1px solid var(--border-1); }
.process-row .num { font: 800 56px/.85 var(--font-display); letter-spacing: -.04em; }
.process-row .name { font: 700 22px var(--font-display); letter-spacing: -.02em; }
.process-row .desc { font: 400 14px/1.5 var(--font-body); color: var(--fg-2); max-width: 480px;}
.process-row .dur { font: 500 12px var(--font-mono); color: var(--fg-3); letter-spacing: .08em; }

/* ============ Brief / contact ============ */
.brief { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: flex-start; }
.brief__title { font: 800 56px/.95 var(--font-display); letter-spacing: -.035em; overflow-wrap: anywhere; hyphens: auto; }
.brief__title .accent { color: var(--brand-400); }
.brief__sub { font: 400 17px/1.55 var(--font-body); color: var(--fg-2); margin-top: 24px; max-width: 440px; }
.brief__meta { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.brief__meta-row { display: flex; gap: 14px; align-items: center; }
.brief__meta-row .k { font: 500 12px var(--font-mono); color: var(--fg-3); letter-spacing: .12em; text-transform: uppercase; width: 80px;}
.brief__meta-row .v { font: 500 14px var(--font-body); color: var(--fg-1); }

.form { display: flex; flex-direction: column; gap: 16px;
  background: #fff; padding: 28px; border-radius: 18px; border: 1.5px solid var(--n-20);}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: 500 12px var(--font-body); color: var(--fg-2); }
.input, .textarea, .select {
  font: 500 15px var(--font-body); color: var(--fg-1);
  background: #fff; border: 1.5px solid var(--n-20); border-radius: 10px;
  padding: 12px 14px; outline: none; transition: 150ms;
  font-family: inherit;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand-400); box-shadow: 0 0 0 3px rgba(30,166,139,.18);
}
.textarea { resize: vertical; min-height: 90px; }
.budget { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.budget label {
  display: flex; align-items: center; justify-content: center;
  font: 500 13px var(--font-body); padding: 10px 8px;
  text-align: center; white-space: nowrap;
  border: 1.5px solid var(--n-20); border-radius: 10px;
  cursor: pointer; transition: 120ms;
}
.budget input { display: none; }
.budget input:checked + label { border-color: #000; background: #000; color: #fff; }
.budget label:hover { border-color: #000; }

/* ============ Footer ============ */
.footer { background: #000; color: #fff; padding: 80px 0 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 64px;}
.footer h5 { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: #fff; text-decoration: none; font: 500 14px var(--font-body); }
.footer__col a:hover { color: var(--brand-200); }
.footer__brand img, .footer__brand .logo-mark { height: 48px; width: 180px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.6); font: 400 14px/1.55 var(--font-body); max-width: 280px;}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font: 500 12px var(--font-mono); color: rgba(255,255,255,.5);
  flex-wrap: wrap; gap: 16px;
}

/* ============ Big display block ============ */
.shape-row {
  display: flex; gap: 14px; align-items: center; justify-content: flex-start;
  margin: 56px 0;
  flex-wrap: wrap;
}

/* Work empty state */
@media (max-width: 720px) {
  .work-empty { grid-template-columns: 1fr !important; padding: 36px 24px !important; gap: 28px !important; }
  .work-empty h3 { font-size: 30px !important; }
  .work-empty__shapes svg { width: 64px !important; height: 64px !important; }
}

/* =========================================================
   ANIMATIONS — bold/restrained, on-brand
   ========================================================= */

/* Stagger fade-up for hero load */
@keyframes orion-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up {
  opacity: 0;
  animation: orion-fade-up 720ms var(--ease-out) forwards;
}
.anim-fade-up.d-0 { animation-delay: 0ms; }
.anim-fade-up.d-1 { animation-delay: 120ms; }
.anim-fade-up.d-2 { animation-delay: 240ms; }
.anim-fade-up.d-3 { animation-delay: 360ms; }
.anim-fade-up.d-4 { animation-delay: 480ms; }
.anim-fade-up.d-5 { animation-delay: 600ms; }
.anim-fade-up.d-6 { animation-delay: 720ms; }

/* Hero shape rotations — different speeds + directions, slow & subtle */
@keyframes orion-spin-cw {
  to { transform: rotate(360deg); }
}
@keyframes orion-spin-ccw {
  to { transform: rotate(-360deg); }
}
@keyframes orion-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.spin-slow   { animation: orion-spin-cw 14s linear infinite; transform-origin: 50% 50%; }
.spin-medium { animation: orion-spin-ccw 9s linear infinite; transform-origin: 50% 50%; }
.float-shape { animation: orion-float 4s ease-in-out infinite; }

/* Scroll-spy fade-in (set is-in via JS) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-in {
  opacity: 1; transform: translateY(0);
}

/* Stat counter — numbers tick into place via opacity + slight blur */
@keyframes orion-pop {
  0%   { opacity: 0; transform: scale(.94); }
  100% { opacity: 1; transform: scale(1); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim-fade-up,
  .reveal { animation: none !important; transition: none !important;
            opacity: 1 !important; transform: none !important; }
  .spin-slow, .spin-medium, .float-shape { animation: none !important; }
}


/* ============ Nav extras for mobile ============ */
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1.5px solid var(--n-20);
  border-radius: 10px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav__burger span {
  width: 18px; height: 2px; background: #000; border-radius: 2px;
  transition: 200ms var(--ease-out);
  display: block;
}
.nav__mobile-cta { display: none; }

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* ===== Tablet (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .nav__links { gap: 22px; }
  .nav__links a { font-size: 13px; }
  .nav__cta { display: none; }

  /* Hero */
  .hero { padding: 56px 0 72px; }
  .hero__title { font-size: clamp(48px, 8vw, 96px); }
  .hero__sub { font-size: 17px; }
  .hero__meta { gap: 24px; margin-top: 48px; }
  .hero__meta-item .n { font-size: 28px; }

  /* Section */
  .section { padding: 72px 0; }
  .section--dark { padding: 88px 0; }
  .section__title { font-size: clamp(34px, 5vw, 48px); }
  .section__head { margin-bottom: 40px; }

  /* Services 4→2 */
  .services { grid-template-columns: repeat(2, 1fr); }

  /* Work: stacked */
  .work { grid-template-columns: 1fr; }
  .work__card { min-height: 280px; }

  /* Stats 4→2 */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  /* Process: tighter */
  .process-row { grid-template-columns: 56px 1fr auto; }
  .process-row .name { grid-column: 2 / 3; }
  .process-row .desc { grid-column: 2 / -1; grid-row: 2; padding-top: 4px; }
  .process-row .dur { grid-column: 3 / 4; grid-row: 1; }
  .process-row .num { font-size: 44px; }
  .process-row .name { font-size: 19px; }

  /* Brief stacked */
  .brief { grid-template-columns: 1fr; gap: 40px; }
  .brief__title { font-size: clamp(40px, 6vw, 56px); }

  /* Footer 4→2 */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ===== Mobile (≤ 720px) ===== */
@media (max-width: 720px) {
  .container { padding: 0 18px; }

  /* Nav becomes drawer */
  .nav__inner { padding: 12px 0; }
  .nav__brand img, .nav__brand .logo-mark { height: 30px; width: 110px; }
  .nav__locale { display: none; }
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border-1);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 18px 20px; gap: 0;
    max-height: 0; overflow: hidden; pointer-events: none;
    transition: max-height 280ms var(--ease-out);
  }
  .nav__links.is-open { max-height: 80vh; pointer-events: auto; }
  .nav__links a {
    padding: 16px 0; font-size: 18px; font-weight: 600;
    border-bottom: 1px solid var(--border-1);
  }
  .nav__links a:last-of-type { border-bottom: 0; }
  .nav__links a.is-active::after,
  .nav__links a:hover::after { display: none; }
  .nav__links a.is-active { color: var(--brand-500); }
  .nav__mobile-cta { display: flex; padding-top: 16px; }
  .nav__mobile-cta .btn { width: 100%; justify-content: center; }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero__eyebrow { font-size: 11px; margin-bottom: 20px; padding: 6px 12px; }
  .hero__title { font-size: clamp(40px, 12vw, 64px); line-height: .98; }
  .hero__shapes { margin-top: 20px; gap: 10px; }
  .hero__shapes svg { width: 44px !important; height: 44px !important; }
  .hero__sub { font-size: 15px; margin-top: 28px; }
  .hero__ctas { margin-top: 28px; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
  .hero__meta { gap: 20px 24px; margin-top: 40px; padding-top: 24px; }
  .hero__meta-item .n { font-size: 24px; }
  .hero__meta-item .l { font-size: 11px; }

  /* Section */
  .section { padding: 56px 0; }
  .section--dark { padding: 72px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .section__title { font-size: clamp(32px, 8vw, 44px); }
  .section__eyebrow { font-size: 11px; }
  .section__link { font-size: 13px; }

  /* Services 2→1 */
  .services { grid-template-columns: 1fr; }
  .service { padding: 22px; }
  .service__title { font-size: 20px; }

  /* Work cards: stacked */
  .work__card { padding: 20px; min-height: 0; }
  .work__title { font-size: 22px; }
  .work__preview { min-height: 120px; }
  .work__card--accent .deco { display: none; }

  /* Right-side mini stack: keep 1col card layout */
  .work > div > .work__card {
    grid-template-columns: 1fr !important;
  }
  .work > div > .work__card > div:last-child {
    height: 100px !important;
  }

  /* Stats 2→1 stays at 2 with bigger numbers feels too cramped, drop to 1 wide cards */
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 20px 22px; }
  .stat-card .n { font-size: 36px; }
  .stat-card .l { font-size: 12px; }

  /* Process: stacked */
  .process-row {
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto auto;
    gap: 6px 12px;
    padding: 22px 0;
  }
  .process-row .num {
    grid-row: 1; grid-column: 1; font-size: 32px;
    color: var(--fg-3);
  }
  .process-row .name {
    grid-row: 2; grid-column: 1 / -1; font-size: 22px;
  }
  .process-row .desc {
    grid-row: 3; grid-column: 1 / -1; padding-top: 0;
  }
  .process-row .dur {
    grid-row: 1; grid-column: 2;
    align-self: center;
  }
  .process-row:hover { padding-left: 0; padding-right: 0; background: transparent; }

  /* Brief */
  .brief__title { font-size: clamp(36px, 8vw, 44px); }
  .form { padding: 22px; }
  .budget { grid-template-columns: 1fr; }
  .brief__meta-row .k { width: 64px; font-size: 11px; }
  .brief__meta-row .v { font-size: 13px; }

  /* Footer */
  .footer { padding: 56px 0 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-bottom: 40px; }
  .footer__brand img, .footer__brand .logo-mark { height: 40px; width: 150px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; font-size: 11px; }

  /* Buttons inside CTAs */
  .btn--lg { padding: 14px 22px; font-size: 14px; }
}

/* ===== Cases & Reviews pages — responsive grids ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cases-filters { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.reviews-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  background: var(--n-5);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 48px;
  align-items: center;
  gap: 24px;
}
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 32px;
}
.modal-card {
  background: #fff; border-radius: 20px; width: 100%;
  max-height: 90vh; overflow: auto;
}
.modal-card--md { max-width: 640px; padding: 32px; }
.modal-card--sm { max-width: 560px; padding: 32px; }

@media (max-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-summary { grid-template-columns: 1fr 1fr; gap: 24px 32px; }
}

@media (max-width: 720px) {
  .cases-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 14px; }
  .reviews-summary {
    grid-template-columns: 1fr 1fr;
    padding: 22px 20px; gap: 22px;
  }
  .reviews-summary .num-lg { font-size: 36px !important; }

  /* Modals fullscreen-ish on mobile */
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-card { border-radius: 20px 20px 0 0; max-height: 92vh; }
  .modal-card--md, .modal-card--sm { padding: 22px; }
  .modal-card .modal-form-grid {
    grid-template-columns: 1fr !important;
  }
  .modal-card h2 { font-size: 24px !important; }
}

/* ===== Small mobile (≤ 420px) ===== */
@media (max-width: 420px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
}

/* ============ Brand logo
   Driven via CSS so super_inline_html traces & inlines the PNG asset.
   (JSX-referenced relative paths don't get traced.)
   ============ */
.logo-mark {
  display: block;
  background-image: url("../assets/orion-logo-teal.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
  /* default footprint — overridden per usage */
  width: 130px;
  height: 36px;
}
.logo-mark--lg { width: 160px; height: 44px; }

/* ============ Privacy Policy page ============ */
.privacy { background: var(--bg); }

.privacy__hero {
  background: var(--n-ink);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.privacy__hero .section__eyebrow { color: rgba(255,255,255,.55); }
.privacy__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .98;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 20px 0 0;
}
.privacy__title .accent { color: var(--brand-400); }
.privacy__meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.privacy__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 22px 0;
  border-right: 1px solid rgba(255,255,255,.08);
}
.privacy__meta > div:last-child { border-right: 0; }
.privacy__meta .k {
  font: 500 11px var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.privacy__meta .v {
  font: 600 17px var(--font-body);
  color: #fff;
}

.privacy__body { padding: 80px 0 120px; }

.privacy__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.privacy__toc {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 24px;
  border: 1.5px solid var(--border-1);
  border-radius: 16px;
  background: var(--n-5);
}
.privacy__toc-label {
  font: 600 11px var(--font-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-1);
}
.privacy__toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.privacy__toc ol li { counter-increment: toc; }
.privacy__toc ol li a {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  font: 500 14px/1.4 var(--font-body);
  color: var(--fg-2);
  text-decoration: none;
  transition: color 120ms var(--ease-out);
}
.privacy__toc ol li a::before {
  content: counter(toc, decimal-leading-zero);
  font: 500 11px var(--font-mono);
  color: var(--fg-4);
  letter-spacing: .04em;
  flex-shrink: 0;
  padding-top: 2px;
}
.privacy__toc ol li a:hover { color: var(--n-ink); }
.privacy__toc ol li a:hover::before { color: var(--brand-500); }

.privacy__article {
  max-width: 760px;
}

.privacy__sec {
  padding: 40px 0;
  border-top: 1px solid var(--border-1);
  scroll-margin-top: 96px;
}
.privacy__sec:first-of-type { border-top: 0; padding-top: 0; }

.privacy__num {
  display: inline-block;
  font: 500 12px var(--font-mono);
  letter-spacing: .16em;
  color: var(--fg-3);
  margin-bottom: 14px;
}

.privacy__sec h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--n-ink);
}

.privacy__sec p {
  font: 400 16px/1.65 var(--font-body);
  color: var(--fg-1);
  margin: 0 0 14px;
}
.privacy__sec p:last-child { margin-bottom: 0; }
.privacy__sec p b {
  font-weight: 600;
  color: var(--n-ink);
  margin-right: 4px;
}
.privacy__sec p i {
  font-style: normal;
  font-weight: 600;
  color: var(--n-ink);
}
.privacy__sec a {
  color: var(--brand-500);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.privacy__sec a:hover { color: var(--brand-700); }

.privacy__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.privacy__list li {
  position: relative;
  padding-left: 22px;
  font: 400 16px/1.6 var(--font-body);
  color: var(--fg-1);
}
.privacy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  background: var(--brand-400);
}

.privacy__contacts {
  border: 1.5px solid var(--border-1);
  border-radius: 16px;
  padding: 8px 24px;
  margin-top: 8px;
}
.privacy__contact-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-1);
}
.privacy__contact-row:last-child { border-bottom: 0; }
.privacy__contact-row .k {
  flex-shrink: 0;
  width: 110px;
  font: 500 11px var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.privacy__contact-row .v {
  font: 600 16px var(--font-body);
  color: var(--n-ink);
}

.privacy__back {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-1);
}

@media (max-width: 900px) {
  .privacy__hero { padding: 64px 0 56px; }
  .privacy__meta { grid-template-columns: 1fr; gap: 0; }
  .privacy__meta > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
  .privacy__meta > div:last-child { border-bottom: 0; }
  .privacy__body { padding: 56px 0 80px; }
  .privacy__grid { grid-template-columns: 1fr; gap: 40px; }
  .privacy__toc { position: static; }
  .privacy__contact-row { flex-direction: column; gap: 4px; }
  .privacy__contact-row .k { width: auto; }
}



