/* ============================================================
   ASTRE V4 — Main Stylesheet
   Stack: Vanilla CSS + GSAP (no framework)
   ============================================================ */

/* ── Google Fonts ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Custom Properties ───────────────────────────────────── */
:root {
  /* Colors */
  --cream:        #FDF8F0;
  --cream-alt:    #F5EDD9;
  --navy:         #020A2C;
  --blue:         #1E40AF;
  --blue-light:   #6F8ED7;
  --gold:         #AF8D1E;
  --gold-bright:  #DBB128;
  --text:         #191B1C;
  --muted:        #595F61;
  --border:       #C2C9CC;
  --surface:      #FFFFFF;
  --border-dark:  #383B3D;

  /* Typography */
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Lora', serif;
  --font-ui:      'Inter', sans-serif;
  --font-code:    'JetBrains Mono', monospace;

  /* Spacing */
  --max-width: 1280px;
  --gutter:    clamp(1.25rem, 4vw, 2rem);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── Reset / Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background-color: var(--cream);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

::selection {
  background-color: var(--blue);
  color: var(--cream);
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* ── Custom Cursor ───────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out-expo), width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), background 0.2s;
  will-change: transform;
}

.cursor.hover {
  width: 40px;
  height: 40px;
  background: var(--blue);
  opacity: 0.15;
}

@media (hover: none) { .cursor { display: none; } }

/* ── Typography ──────────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
.font-ui      { font-family: var(--font-ui); }
.font-code    { font-family: var(--font-code); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-alt { background-color: var(--cream); }

.section-dark {
  background-color: var(--navy);
  color: #F5F1EA;
}

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background-color: color-mix(in srgb, var(--cream) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.nav.scrolled {
  border-color: var(--border);
  background-color: var(--cream);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.nav__logo:hover { color: var(--blue); }

.nav__mark {
  color: var(--gold);
  font-size: 0.875rem;
  display: inline-block;
  transition: transform 0.6s var(--ease-out-expo);
}

.nav__logo:hover .nav__mark { transform: rotate(360deg); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
  display: inline-block;
  text-decoration: none;
}

.nav__link:hover { color: var(--text); }

.nav__link.active {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out-expo), opacity 0.2s;
  transform-origin: center;
}

.nav__hamburger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--cream);
  animation: slideDown 0.22s var(--ease-out-expo) both;
}

.nav__mobile.open { display: block; }

.nav__mobile-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--gutter) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav__mobile-link {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  color: var(--muted);
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav__mobile-link:hover { color: var(--text); }

.nav__mobile-link.active {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

/* Primary — blue base, gold wipe on hover via sliding pseudo-element */
.btn-primary {
  background-color: var(--gold);
  color: #F5F1EA;
  border: none;
  isolation: isolate;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--blue);
  z-index: -1;
  transform: translateX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.btn-primary:hover::before { transform: translateX(101%); }

/* Ghost — outline */
.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* Gold — used on dark sections */
.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}

.btn-gold:hover { background-color: var(--gold-bright); }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: gap 0.2s var(--ease-out-expo);
}

.link-arrow:hover { gap: 0.625rem; }

/* ── Overline label ──────────────────────────────────────── */
.overline {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(6rem, 15vw, 10rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
  padding-inline: var(--gutter);
  overflow: clip;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

/* Dot grid texture */
.hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #AF8D1E 0.8px, transparent 0.8px);
  background-size: 28px 28px;
  opacity: 0.2;
  pointer-events: none;
}


/* Orbital rings (right side) */
.hero__orb {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  will-change: transform;
}

.hero__orb-ring {
  width: clamp(300px, 45vw, 650px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  position: relative;
}

.hero__orb-ring::before,
.hero__orb-ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}

.hero__orb-ring::before {
  inset: 15%;
  border-color: color-mix(in srgb, var(--blue) 12%, transparent);
}

.hero__orb-ring::after {
  inset: 30%;
  border-color: color-mix(in srgb, var(--gold) 16%, transparent);
  background: color-mix(in srgb, var(--blue) 4%, transparent);
}

/* ── Scroll Video Scene ─────────────────────────────────────
   The scene is taller than 100vh so the hero sticks in place
   while scroll progress drives the video forward.
   Adjust height to control playback speed:
   200vh = one viewport of scroll plays the whole video
   300vh = two viewports of scroll (slower, more cinematic)
   ──────────────────────────────────────────────────────── */
.scroll-video-scene {
  position: relative;
  height: 300vh;
}

.scroll-video-scene .hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: unset;
}

/* Scroll-driven canvas — full-hero, contain-fit (cream bg = seamless with page) */
.hero__scroll-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

/* Bottom fade */
.hero__fade {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--cream), transparent);
  pointer-events: none;
  z-index: 2;
}

/* Option 4 — frosted glass card, anchored bottom-left */
.hero__card {
  position: absolute;
  bottom: clamp(2rem, 5vh, 3.5rem);
  left: clamp(1.5rem, var(--gutter), 4rem);
  z-index: 1;
  max-width: 420px;
  padding: 2rem 2.25rem 2.25rem;
  background: color-mix(in srgb, var(--cream) 72%, transparent);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  border-radius: 20px;
  box-shadow:
    0 2px 0 0 color-mix(in srgb, var(--gold) 30%, transparent) inset,
    0 8px 40px color-mix(in srgb, var(--navy) 8%, transparent);
}


.hero__content {
  margin-left: 33%;
  max-width: 52rem;
}

.hero__eyebrow {
  margin-bottom: 0.875rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero__h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero__h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero__body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
}

/* ── Client Logo Marquee ─────────────────────────────────── */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  margin-bottom: 1.5rem;
}

.marquee-track {
  display: flex;
  gap: 4rem;
  will-change: transform;
  align-items: center;
  white-space: nowrap;
}

.marquee-track--clone { /* duplicate for seamless loop */ }

.marquee-item {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--border);
  flex-shrink: 0;
  transition: color 0.3s;
}

.marquee-item:hover { color: var(--muted); }

/* ── Stats Section ───────────────────────────────────────── */
.stats {
  padding: 5rem var(--gutter);
}

.stats__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
}

.stats__item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stats__item:last-child { border-right: none; }

.stats__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.stats__label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stats__item {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .stats__item:last-child { border-bottom: none; }
}

/* ── Work Preview ────────────────────────────────────────── */
.work-preview {
  padding: 6rem var(--gutter);
}

.work-preview__header {
  max-width: var(--max-width);
  margin: 0 auto 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.work-preview__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.work-card {
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.3s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px color-mix(in srgb, var(--navy) 10%, transparent);
  border-color: color-mix(in srgb, var(--border) 60%, var(--blue));
}

.work-card:nth-child(1) { grid-column: span 7; }
.work-card:nth-child(2) { grid-column: span 5; }
.work-card:nth-child(3) { grid-column: span 5; }
.work-card:nth-child(4) { grid-column: span 7; }

.work-card__image {
  aspect-ratio: 16/10;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}

.work-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  background: linear-gradient(135deg, #020A2C 0%, #0F1D54 100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.work-card:hover .work-card__image-placeholder {
  transform: scale(1.04);
}

.work-card__image img,
.work-card__video {
  transition: transform 0.6s var(--ease-out-expo);
}

.work-card:hover .work-card__image img,
.work-card:hover .work-card__video {
  transform: scale(1.04);
}

.work-card__body {
  padding: 1.5rem;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.work-card__tag {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.work-card__title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
  line-height: 1.3;
}

.work-card__outcome {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .work-card:nth-child(1),
  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) { grid-column: span 12; }
}

/* ── Process Section ─────────────────────────────────────── */
.process {
  padding: 6rem var(--gutter);
}

.process__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.process__header {
  margin-bottom: 4rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.process__step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background-color 0.3s var(--ease-out-expo);
}

.process__step:hover { background-color: var(--cream-alt); }

.process__step:last-child { border-right: none; }

.process__step-number {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.process__step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.process__step-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

.process__step-timeline {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--muted);
}

.process__step-timeline span { color: var(--gold); }

@media (max-width: 900px) {
  .process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__step:nth-child(2) { border-right: none; }
  .process__step:nth-child(1),
  .process__step:nth-child(2) { border-bottom: 1px solid var(--border); }
}

@media (max-width: 540px) {
  .process__steps { grid-template-columns: 1fr; }
  .process__step { border-right: none; border-bottom: 1px solid var(--border); }
  .process__step:last-child { border-bottom: none; }
}

/* ── Capabilities ────────────────────────────────────────── */
.capabilities {
  padding: 6rem var(--gutter);
}

.capabilities__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.capabilities__header {
  margin-bottom: 3rem;
}

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

.capability-card {
  padding: 2.5rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s var(--ease-out-expo);
}

.capability-card:hover {
  background-color: var(--cream-alt);
}

.capability-card:nth-child(odd)  { border-right: 1px solid var(--border); }
.capability-card:nth-child(3),
.capability-card:nth-child(4)   { border-bottom: none; }

.capability-card__number {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.capability-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.capability-card__body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 640px) {
  .capabilities__grid { grid-template-columns: 1fr; }
  .capability-card { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .capability-card:last-child { border-bottom: none !important; }
}

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  padding: 6rem var(--gutter);
}

.cta-band__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #F5F1EA;
  margin-bottom: 0.5rem;
}

.cta-band__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #9BA3A8;
}

@media (max-width: 640px) {
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ── Services Page ───────────────────────────────────────── */
.page-header {
  padding-top: clamp(6rem, 12vw, 8rem);
  padding-bottom: 4rem;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--border);
}

.page-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

.page-header__h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
}

.page-header__body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 640px) {
  .page-header__inner { grid-template-columns: 1fr; }
}

/* Services list */
.services-list { padding-inline: var(--gutter); }

.service-row {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 5fr 4fr;
  gap: 2rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.service-row__code {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
}

.service-row__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.service-row__desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

.service-row__for {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.service-row__for strong { color: var(--text); }

.deliverables-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.deliverables-list { display: flex; flex-direction: column; gap: 0.5rem; }

.deliverable-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
}

.deliverable-item::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
}

.service-row__timeline {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--muted);
}

.service-row__timeline-label { color: var(--gold); }

@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ── Pricing ─────────────────────────────────────────────── */
.plans {
  padding: 5rem var(--gutter);
}

.plans__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.plan-card {
  background: var(--cream);
  padding: 2.5rem;
  position: relative;
}

.plan-card.featured {
  background: var(--navy);
  margin-top: -1.5rem;
  margin-bottom: -1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  z-index: 2;
}

.plan-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--blue);
  color: #F5F1EA;
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3125rem 1rem;
  white-space: nowrap;
}

.plan-card__code {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--blue);
  margin-bottom: 2rem;
}

.plan-card.featured .plan-card__code { color: var(--blue-light); }

.plan-card__name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.plan-card.featured .plan-card__name { color: #F5F1EA; }

.plan-card__price {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.plan-card.featured .plan-card__price { color: #F5F1EA; }

.plan-card__unit {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.plan-card.featured .plan-card__unit { color: var(--gold-bright); }

.plan-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
}

.plan-card.featured .plan-card__desc { color: #9BA3A8; }

.plan-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2.5rem; }

.plan-feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
}

.plan-card.featured .plan-feature { color: #9BA3A8; }

.plan-feature__check {
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.75rem;
}

.plan-card.featured .plan-feature__check { color: var(--gold-bright); }

@media (max-width: 768px) {
  .plans__grid { grid-template-columns: 1fr; }
  .plan-card.featured { margin: 0; padding: 2.5rem; }
}

.plan-card__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.5rem 0;
}

.plan-card.featured .plan-card__divider {
  border-color: rgba(255, 255, 255, 0.12);
}

.plan-card__block-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.625rem;
}

.plan-card.featured .plan-card__block-label { color: var(--gold-bright); }

.plan-card__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.plan-card__option span { color: var(--gold); flex-shrink: 0; }

.plan-card.featured .plan-card__option { color: #9BA3A8; }
.plan-card.featured .plan-card__option span { color: var(--gold-bright); }

.plan-card__retainer-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.plan-card.featured .plan-card__retainer-price { color: #F5F1EA; }

.plan-card__retainer-price span {
  font-size: 0.875rem;
  font-weight: 400;
}

.plan-card__retainer-note {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.plan-card.featured .plan-card__retainer-note { color: #9BA3A8; }

.plan-card.featured .btn-ghost {
  color: #F5F1EA;
  border-color: rgba(245, 241, 234, 0.3);
}
.plan-card.featured .btn-ghost:hover {
  border-color: #F5F1EA;
}

/* ── Pricing note banner ─────────────────────────────────── */
.pricing-note {
  padding: 1.25rem var(--gutter);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pricing-note__icon {
  color: var(--gold);
  font-size: 0.75rem;
  flex-shrink: 0;
  padding-top: 0.2rem;
}

.pricing-note__text {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  flex: 1;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faqs {
  padding: 6rem var(--gutter);
}

.faqs__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 4rem;
}

.faq-item {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-q {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.faq-a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted);
}

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

/* ── About Page ──────────────────────────────────────────── */
.values {
  padding: 6rem var(--gutter);
}

.values__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem;
  border-right: 1px solid var(--border);
  transition: background-color 0.3s var(--ease-out-expo);
}

.value-card:hover {
  background-color: var(--cream-alt);
}

.value-card:last-child { border-right: none; }

.value-card__label {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.value-card__body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 768px) {
  .values__grid { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 1px solid var(--border); }
  .value-card:last-child { border-bottom: none; }
}

.team {
  padding: 6rem var(--gutter);
}

.team__inner { max-width: var(--max-width); margin: 0 auto; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card { display: flex; flex-direction: column; }

.team-card__photo {
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.team-card__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #020A2C, #0F1D54);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.15);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(1);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted);
}

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

/* ── Contact Page ────────────────────────────────────────── */
.contact-layout {
  padding: 3rem var(--gutter) 6rem;
}

.contact-layout__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}

.contact-info__label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2rem;
}

.contact-info__value a:hover { color: var(--blue); text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }

.form-label {
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
}

.form-input,
.form-textarea,
.form-select {
  padding: 0.875rem 1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--blue); }

.form-textarea { min-height: 140px; resize: vertical; }

.form-select { appearance: none; cursor: pointer; }

@media (max-width: 768px) {
  .contact-layout__inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ── Work Page ───────────────────────────────────────────── */
.work-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 2rem var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  color: var(--muted);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--text);
  border-color: var(--text);
}

.work-grid {
  padding: 1rem var(--gutter) 6rem;
}

.work-grid__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: block;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out-expo);
}

.project-card:hover { transform: translateY(-4px); }

.project-card__image {
  aspect-ratio: 16/9;
  background: var(--navy);
  overflow: hidden;
}

.project-card__image-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, #1E3A8A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-code);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.15);
  transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .project-card__image-inner { transform: scale(1.05); }

.project-card__body { padding: 1.5rem; }

.project-card__category {
  font-family: var(--font-code);
  font-size: 0.6875rem;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.project-card__outcome {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .work-grid__inner { grid-template-columns: 1fr; }
}

/* ── 404 Page ────────────────────────────────────────────── */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  text-align: center;
}

.not-found__code {
  font-family: var(--font-code);
  font-size: 7rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.not-found__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.not-found__body {
  font-family: var(--font-body);
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--cream);
  padding: 4rem var(--gutter) 2rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer__brand-mark { color: var(--gold); font-size: 0.875rem; }

.footer__brand-desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 32ch;
}

.footer__nav-label {
  font-family: var(--font-ui);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.footer__nav-list { display: flex; flex-direction: column; gap: 0.5rem; }

.footer__nav-link {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer__nav-link:hover { color: var(--text); }

.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__copy,
.footer__version {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--muted);
}

.footer__version { font-family: var(--font-code); }

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Scroll animations base states ──────────────────────── */
.gsap-fade {
  opacity: 0;
  transform: translateY(32px);
}

.gsap-fade-left {
  opacity: 0;
  transform: translateX(-32px);
}

.gsap-scale {
  opacity: 0;
  transform: scale(0.96);
}

.gsap-stagger-item {
  opacity: 0;
  transform: translateY(20px);
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .gsap-fade,
  .gsap-fade-left,
  .gsap-scale,
  .gsap-stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__eyebrow,
  .hero__h1,
  .hero__body,
  .hero__ctas {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn-primary {
    background-image: none;
    background-color: var(--blue);
  }

  .btn-primary:hover {
    background-color: var(--gold);
  }

  .cursor { display: none; }
}

/* ── Utility ─────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section-heading { margin-bottom: 1rem; }
.section-heading .overline { display: block; margin-bottom: 1rem; }

/* Keyframes */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

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