/* ============================================================
   ARCHITECT — design system
   ============================================================ */

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

:root {
  /* Core palette */
  --bg-primary:   #0D1013;
  --bg-dark:      #171B20;
  --bg-teal:      #1E2731;
  --bg-light:     #FFFFFF;
  --bg-offwhite:  #F4F2EC;
  --bg-cream:     #FBF7EF;

  --text-primary: #16171A;
  --text-on-dark: #FFFFFF;
  --text-muted:   #6A6E72;
  --text-dim-dark: rgba(255,255,255,0.5);
  --text-dim-dark-2: rgba(255,255,255,0.28);
  --text-faint-light: rgba(22,23,26,0.14);

  /* Accents — Blueprint + Clay */
  --mint:   #8FB4CC;   /* highlight · blueprint steel-blue */
  --teal:   #2E5A7A;   /* light-mode accent · deep blueprint */
  --coral:  #DDA24B;   /* icons · amber/honey */
  --cream:  #DDA24B;   /* CTA buttons · amber/honey */

  --border-light: rgba(22,23,26,0.10);
  --border-dark:  rgba(255,255,255,0.12);

  --font: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad-x: 48px;
  --maxw: 1240px;

  --a-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cg fill='%23000'%3E%3Ccircle cx='10' cy='2' r='1.6'/%3E%3Ccircle cx='6' cy='6' r='1.6'/%3E%3Ccircle cx='14' cy='6' r='1.6'/%3E%3Ccircle cx='2.5' cy='10' r='1.6'/%3E%3Ccircle cx='6.6' cy='10' r='1.6'/%3E%3Ccircle cx='10.7' cy='10' r='1.6'/%3E%3Ccircle cx='14.8' cy='10' r='1.6'/%3E%3Ccircle cx='18' cy='10' r='1.6'/%3E%3Ccircle cx='2.5' cy='14' r='1.6'/%3E%3Ccircle cx='18' cy='14' r='1.6'/%3E%3Ccircle cx='2.5' cy='18' r='1.6'/%3E%3Ccircle cx='18' cy='18' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  --glyph-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cg fill='%23000'%3E%3Crect x='0' y='0' width='3' height='3'/%3E%3Crect x='6' y='0' width='3' height='3'/%3E%3Crect x='3' y='3' width='3' height='3'/%3E%3Crect x='9' y='3' width='3' height='3'/%3E%3Crect x='0' y='6' width='3' height='3'/%3E%3Crect x='6' y='6' width='3' height='3'/%3E%3Crect x='3' y='9' width='3' height='3'/%3E%3Crect x='9' y='9' width='3' height='3'/%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-weight: 400;
}
em { font-style: normal; }
a { text-decoration: none; color: inherit; }

.section-inner { max-width: var(--maxw); margin: 0 auto; }

/* ============ LOGO / GLYPHS ============ */
.logo-mark {
  display: inline-block; width: 20px; height: 20px; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--a-mask) center/contain no-repeat;
  mask: var(--a-mask) center/contain no-repeat;
}
.logo-mark.small { width: 14px; height: 14px; vertical-align: -2px; }
.hero-glyph {
  display: inline-block; width: 0.62em; height: 0.62em; vertical-align: 0.02em;
  background-color: currentColor; opacity: 0.85;
  -webkit-mask: var(--glyph-mask) center/contain no-repeat;
  mask: var(--glyph-mask) center/contain no-repeat;
}
.hero-glyph.dark { color: var(--text-primary); opacity: 0.6; }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad-x);
  transition: color 0.4s var(--ease);
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 19px; font-weight: 500; letter-spacing: -0.02em; z-index: 2;
}
.nav-pill {
  display: flex; align-items: center; gap: 4px; padding: 5px;
  border-radius: 999px;
  background: rgba(20,24,30,0.60);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 0.5px solid rgba(255,255,255,0.10);
  opacity: 1; transform: none; pointer-events: auto;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.nav-link {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 400; letter-spacing: -0.01em;
  color: rgba(255,255,255,0.72);
  transition: background 0.25s, color 0.25s;
}
.nav-link:hover { background: rgba(255,255,255,0.10); color: #fff; }
.nav-ico {
  width: 13px; height: 13px; background-color: currentColor; opacity: 0.85;
  -webkit-mask: var(--glyph-mask) center/contain no-repeat;
  mask: var(--glyph-mask) center/contain no-repeat;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  background: var(--cream); color: #3A2606; z-index: 2;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.nav-cta:hover { filter: brightness(0.96); transform: translateY(-1px); }

/* ---- Mobile nav: burger + dropdown + scrolled background ---- */
.nav-burger {
  display: none; z-index: 2;
  width: 40px; height: 40px; border-radius: 999px;
  background: transparent; border: 0.5px solid transparent;
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  color: var(--text-primary); transition: border-color 0.25s;
}
.nav[data-theme="dark"] .nav-burger { color: #fff; }
.nav-burger span {
  display: block; width: 18px; height: 1.5px; border-radius: 2px;
  background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
.nav-mobile {
  position: fixed; top: 74px; left: 12px; right: 12px; z-index: 99;
  display: flex; flex-direction: column;
  padding: 8px; border-radius: 18px;
  background: rgba(20,24,30,0.86);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 0.5px solid rgba(255,255,255,0.12);
  box-shadow: 0 24px 60px rgba(0,0,0,0.40);
  opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}
.nav-mobile[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
.nav-mobile-link {
  padding: 14px 16px; border-radius: 12px;
  font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.82);
  transition: background 0.2s, color 0.2s;
}
.nav-mobile-link:active, .nav-mobile-link:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-mobile-link.cta {
  margin-top: 6px; background: var(--cream); color: #3A2606; font-weight: 500; text-align: center;
}
.nav-mobile-link.cta:hover { filter: brightness(0.96); background: var(--cream); color: #3A2606; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .nav.scrolled, .nav.menu-open {
    background: rgba(13,16,19,0.72);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border-bottom: 0.5px solid rgba(255,255,255,0.08);
  }
  .nav.scrolled[data-theme="light"]:not(.menu-open) {
    background: rgba(244,242,236,0.78);
    border-bottom-color: rgba(22,23,26,0.08);
  }
  .nav.menu-open .nav-burger { color: #fff; }
}
.nav[data-theme="light"] .nav-logo { color: var(--text-primary); }
.nav[data-theme="dark"]  .nav-logo { color: #fff; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) 9vh; overflow: hidden;
  background: var(--bg-primary);
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; }

/* ===== WASHED ANIMATED FIELD + STRUCTURE STAMP (hero + CTA) ===== */
.field { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.field-base { position: absolute; inset: 0; background: linear-gradient(160deg, #22374d 0%, #14202c 46%, #0d1013 100%); }
.field-blob { position: absolute; inset: -32%; filter: blur(54px); will-change: transform; }
.field-blob.a {
  background:
    radial-gradient(46% 56% at 72% 28%, rgba(143,180,204,0.72), transparent 60%),
    radial-gradient(40% 50% at 22% 78%, rgba(221,162,75,0.44), transparent 62%);
  animation: fieldA 22s ease-in-out infinite alternate;
}
.field-blob.b {
  background:
    radial-gradient(52% 62% at 44% 54%, rgba(70,112,142,0.74), transparent 68%),
    radial-gradient(34% 44% at 86% 82%, rgba(143,180,204,0.46), transparent 60%);
  mix-blend-mode: screen;
  animation: fieldB 30s ease-in-out infinite alternate;
}
@keyframes fieldA { 0%{transform:translate3d(-5%,-3%,0) scale(1.15) rotate(0deg)} 50%{transform:translate3d(4%,4%,0) scale(1.30) rotate(6deg)} 100%{transform:translate3d(-3%,5%,0) scale(1.18) rotate(-5deg)} }
@keyframes fieldB { 0%{transform:translate3d(4%,3%,0) scale(1.20) rotate(0deg)} 50%{transform:translate3d(-5%,-4%,0) scale(1.34) rotate(-7deg)} 100%{transform:translate3d(5%,-2%,0) scale(1.22) rotate(5deg)} }
.stamp-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(160,190,210,0.22) 1.1px, transparent 1.3px);
  background-size: 30px 30px;
  background-position: center;
  -webkit-mask: radial-gradient(92% 85% at 50% 42%, #000 40%, transparent 100%);
  mask: radial-gradient(92% 85% at 50% 42%, #000 40%, transparent 100%);
}
.stamp-corner { position: absolute; width: 15px; height: 15px; }
.stamp-corner.tl { top: 26px; left: 26px; border-left: 1px solid rgba(199,218,230,0.40); border-top: 1px solid rgba(199,218,230,0.40); }
.stamp-corner.tr { top: 26px; right: 26px; border-right: 1px solid rgba(199,218,230,0.40); border-top: 1px solid rgba(199,218,230,0.40); }
.stamp-corner.bl { bottom: 26px; left: 26px; border-left: 1px solid rgba(199,218,230,0.40); border-bottom: 1px solid rgba(199,218,230,0.40); }
.stamp-corner.br { bottom: 26px; right: 26px; border-right: 1px solid rgba(199,218,230,0.40); border-bottom: 1px solid rgba(199,218,230,0.40); }
.stamp-a { position: absolute; left: 50%; top: 44%; width: 118px; height: 118px; transform: translate(-50%,-50%); opacity: 1; }
.stamp-a circle { fill: #DDA24B; opacity: 0.12; animation: dotState 9s ease-in-out infinite; }
.stamp-a circle:nth-of-type(1){animation-delay:0s}
.stamp-a circle:nth-of-type(2){animation-delay:.1s}
.stamp-a circle:nth-of-type(3){animation-delay:.2s}
.stamp-a circle:nth-of-type(4){animation-delay:.3s}
.stamp-a circle:nth-of-type(5){animation-delay:.4s}
.stamp-a circle:nth-of-type(6){animation-delay:.5s}
.stamp-a circle:nth-of-type(7){animation-delay:.6s}
.stamp-a circle:nth-of-type(8){animation-delay:.7s}
.stamp-a circle:nth-of-type(9){animation-delay:.8s}
.stamp-a circle:nth-of-type(10){animation-delay:.9s}
.stamp-a circle:nth-of-type(11){animation-delay:1s}
.stamp-a circle:nth-of-type(12){animation-delay:1.1s}
@keyframes dotState {
  0%   { opacity: .12; fill: #DDA24B; }
  8%   { opacity: .82; fill: #DDA24B; }
  18%  { opacity: .92; fill: #F1F4F8; }
  55%  { opacity: .92; fill: #F1F4F8; }
  66%  { opacity: .12; fill: #F1F4F8; }
  85%  { opacity: .12; fill: #DDA24B; }
  100% { opacity: .12; fill: #DDA24B; }
}
.field-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='fg'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23fg)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: reduce) {
  .field-blob { animation: none; }
  .stamp-a circle { animation: none; opacity: 0.45; fill: #F1F4F8; }
}

/* graded-photo variant of the field */
.field-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.62) contrast(1.05) brightness(0.68); }
.field-grade {
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(13,16,19,0.86) 0%, rgba(30,45,58,0.60) 52%, rgba(63,96,118,0.42) 100%),
    radial-gradient(60% 85% at 16% 90%, rgba(221,162,75,0.30), transparent 60%);
}
.field.photo .field-blob { opacity: 0.5; mix-blend-mode: soft-light; }
.field.photo .stamp-grid, .field.photo .stamp-a { display: none; }
.hero-eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint); opacity: 0.85; margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 88px);
  font-weight: 400; line-height: 1.02; letter-spacing: -0.035em;
  color: rgba(255,255,255,0.94); max-width: 18ch;
}
.hero-title em { color: var(--mint); }
.hero-sub {
  margin-top: 30px; max-width: 52ch;
  font-size: 17px; font-weight: 400; line-height: 1.6;
  color: rgba(255,255,255,0.55); letter-spacing: -0.01em;
}

/* ============ STATEMENTS (scroll crossfade) ============ */
.statements {
  position: relative; background: var(--bg-light);
  height: 340vh; padding: 0 var(--pad-x);
}
.statement-frame {
  position: sticky; top: 0; height: 100vh;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.frame-corner { position: absolute; width: 16px; height: 16px; border: 1px solid var(--border-light); }
.frame-corner.tl { top: 12%; left: 0;  border-right: 0; border-bottom: 0; }
.frame-corner.tr { top: 12%; right: 0; border-left: 0;  border-bottom: 0; }
.frame-corner.bl { bottom: 12%; left: 0;  border-right: 0; border-top: 0; }
.frame-corner.br { bottom: 12%; right: 0; border-left: 0;  border-top: 0; }
.statement-sticky {
  position: relative; text-align: center; width: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.statement-mark {
  width: 44px; height: 44px; margin-bottom: 40px; background-color: #2E5A7A;
  -webkit-mask: var(--a-mask) center/contain no-repeat;
  mask: var(--a-mask) center/contain no-repeat;
  transition: background-color 0.5s var(--ease);
}
.statement-stack {
  position: relative; width: 100%; max-width: 900px; min-height: 3.6em;
  display: flex; align-items: flex-start; justify-content: center;
}
.statement {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%) translateY(14px); width: 100%;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 400; line-height: 1.26; letter-spacing: -0.025em;
  color: var(--text-primary); opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.statement.is-active { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ GRADIENT TRANSITION light->dark ============ */
.grad-transition {
  height: 60vh;
  background: linear-gradient(180deg,
    #FFFFFF 0%, #EDF2F5 12%, #C6D7E1 28%, #8FB0C6 44%,
    #557B95 60%, #2E4657 74%, #16222B 88%, #0D1013 100%);
}

/* ============ SHARED: eyebrow + section headings ============ */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 40px;
}
.eyebrow-mint { color: var(--mint); opacity: 0.9; }

/* ============ ICON SYSTEM ============ */
.ico {
  width: 26px; height: 26px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ============ WHAT WE DO (pillars) ============ */
.pillars { background: var(--bg-primary); color: #fff; padding: 150px var(--pad-x); }
.pillars-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-dark);
  border: 0.5px solid var(--border-dark); border-radius: 16px; overflow: hidden;
}
.pillar { background: var(--bg-primary); padding: 44px 40px 52px; transition: background 0.35s; }
.pillar:hover { background: rgba(45,62,80,0.32); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.pillar-ico { color: var(--coral); }
.pillar-num { font-size: 12px; color: var(--text-dim-dark-2); font-weight: 500; letter-spacing: 0.05em; }
.pillar h3 { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.pillar p { margin-top: 16px; font-size: 14.5px; font-weight: 400; line-height: 1.65; color: var(--text-dim-dark); }

/* ============ HOW WE WORK (approach — light timeline) ============ */
.approach { background: var(--bg-light); color: var(--text-primary); padding: 150px var(--pad-x); }
.approach .eyebrow { color: var(--teal); }
.approach-heading {
  font-size: clamp(30px, 4vw, 52px); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 72px;
  color: var(--text-primary);
}
.approach-heading em { color: var(--teal); }
.approach-heading br { display: none; }
@media (min-width: 700px) { .approach-heading br { display: block; } }
.timeline { max-width: 840px; }
.tstep { display: grid; grid-template-columns: 60px 1fr; gap: 36px; padding-bottom: 52px; }
.tstep:last-child { padding-bottom: 0; }
.tstep-rail { position: relative; display: flex; justify-content: center; }
.tstep-rail::before {
  content: ""; position: absolute; top: 8px; bottom: -52px; left: 50%;
  width: 1px; background: var(--border-light); transform: translateX(-50%);
}
.tstep:last-child .tstep-rail::before { display: none; }
.tstep-num {
  position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border-light); background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--teal); font-variant-numeric: tabular-nums;
}
.tstep-body { padding-top: 8px; }
.tstep-body h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.tstep-body p { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--text-muted); max-width: 56ch; }

/* ============ WHAT WE BUILD (6 cards) ============ */
.build { background: var(--bg-primary); color: #fff; padding: 150px var(--pad-x); }
.build-heading {
  font-size: clamp(28px, 3.6vw, 48px); font-weight: 400;
  line-height: 1.1; letter-spacing: -0.03em;
}
.build-heading em { color: var(--mint); }
.build-heading br { display: none; }
@media (min-width: 700px) { .build-heading br { display: block; } }
.build-intro { margin-top: 24px; max-width: 60ch; font-size: 15.5px; line-height: 1.7; color: var(--text-dim-dark); }
.build-grid {
  margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border-dark);
  border: 0.5px solid var(--border-dark); border-radius: 16px; overflow: hidden;
}
.build-card { background: var(--bg-primary); padding: 40px 34px 48px; transition: background 0.35s; }
.build-card:hover { background: rgba(45,62,80,0.32); }
.build-ico { display: block; margin-bottom: 24px; color: var(--coral); }
.build-card h4 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; }
.build-card p { margin-top: 14px; font-size: 14px; line-height: 1.65; color: var(--text-dim-dark); }

/* ============ WHO WE WORK WITH (2 cards) ============ */
.clients { background: var(--bg-light); color: var(--text-primary); padding: 150px var(--pad-x); }
.clients .eyebrow { color: var(--teal); }
.clients-heading {
  font-size: clamp(30px, 4vw, 52px); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.03em; color: var(--text-primary);
}
.clients-heading em { color: var(--teal); }
.clients-heading br { display: none; }
@media (min-width: 700px) { .clients-heading br { display: block; } }
.clients-intro { margin-top: 22px; margin-bottom: 56px; font-size: 16px; line-height: 1.6; color: var(--text-muted); max-width: 52ch; }
.clients-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.client-card {
  position: relative; overflow: hidden;
  border-radius: 20px; min-height: 460px;
  display: flex; align-items: flex-end;
  border: 1px solid var(--border-light);
}
.client-card .field-photo { filter: grayscale(0.14) contrast(1.03) brightness(0.94) saturate(1.06); }
.client-card .field-photo.owners { object-position: 64% center; }
.client-card .field-grade { opacity: 0.38; }
.client-card .field-blob { display: none; }
/* CTA photo — same livelier grade, a touch more scrim for text legibility */
.careers-card .field-photo { filter: grayscale(0.18) contrast(1.03) brightness(0.82) saturate(1.05); }
.careers-card .field-grade { opacity: 0.50; }
.careers-card .field-blob { display: none; }
.client-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(13,16,19,0.12) 0%, rgba(13,16,19,0.34) 42%, rgba(13,16,19,0.84) 100%);
}
.client-content { position: relative; z-index: 2; padding: 44px; }
.client-content h3 { font-size: 26px; font-weight: 400; letter-spacing: -0.02em; color: #fff; }
.client-content p { margin-top: 16px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.86); max-width: 44ch; }

/* ============ ABOUT (light) ============ */
.about { background: var(--bg-offwhite); padding: 160px var(--pad-x); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-head .eyebrow { color: var(--teal); }
.about-heading {
  font-size: clamp(30px, 4vw, 52px); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.03em;
}
.about-heading em { color: var(--teal); }
.about-heading br { display: none; }
@media (min-width: 700px) { .about-heading br { display: block; } }
.about-location { margin-top: 32px; font-size: 14px; color: var(--text-muted); font-weight: 500; }
.about-body p { font-size: 16px; font-weight: 400; line-height: 1.8; color: var(--text-muted); }
.about-body p + p { margin-top: 24px; }

/* ============ CTA (image) ============ */
.careers { background: var(--bg-light); padding: 60px var(--pad-x) 80px; }
.careers-card {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  border-radius: 22px; overflow: hidden; min-height: 560px;
  display: flex; align-items: center;
}
.careers-scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(13,16,19,0.72) 0%, rgba(13,16,19,0.40) 48%, rgba(13,16,19,0.18) 100%);
}
.careers-content { position: relative; z-index: 1; padding: 56px; max-width: 640px; }
.careers-heading {
  font-size: clamp(32px, 4vw, 52px); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.03em; color: #fff;
}
.careers-heading em { color: var(--mint); }
.careers-heading br { display: none; }
@media (min-width: 700px) { .careers-heading br { display: block; } }
.careers-text { margin-top: 22px; font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.85); max-width: 50ch; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 34px; padding: 14px 30px; border-radius: 999px;
  background: var(--cream); color: #3A2606; font-size: 14.5px; font-weight: 500;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.cta-btn:hover { transform: translateY(-1px); filter: brightness(0.96); }
.cta-mail { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.62); }
.cta-mail a { color: rgba(255,255,255,0.92); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.2s; }
.cta-mail a:hover { color: var(--cream); }

/* ============ FOOTER ============ */
.footer { background: var(--bg-light); padding: 90px var(--pad-x) 0; overflow: hidden; }
.footer-top {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.6fr 1.4fr 0.8fr 1fr 1fr; gap: 40px; align-items: start;
}
.footer-mark {
  width: 120px; aspect-ratio: 1; border-radius: 14px; position: relative;
  background: linear-gradient(180deg, #CFE0EA 0%, #8FB4CC 40%, #3F6076 70%, #12171d 100%);
}
.footer-mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px; background-color: rgba(255,255,255,0.85);
  -webkit-mask: var(--a-mask) center/contain no-repeat;
  mask: var(--a-mask) center/contain no-repeat;
}
.footer-tagline p {
  font-size: clamp(18px, 2vw, 26px); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.25; max-width: 18ch;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 4px;
}
.footer-col a { font-size: 14px; color: var(--teal); transition: color 0.2s; }
.footer-col a:hover { color: var(--text-primary); }
.footer-locations .loc { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--teal); }
.loc-time { font-variant-numeric: tabular-nums; color: var(--teal); min-width: 42px; }
.loc-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--teal); }
.footer-meta {
  max-width: var(--maxw); margin: 64px auto 0;
  display: flex; justify-content: space-between; gap: 24px;
  font-size: 12.5px; color: var(--text-muted);
}
.footer-meta-note { display: flex; align-items: center; gap: 7px; max-width: 44ch; }
.footer-wordmark {
  margin-top: 20px; font-size: clamp(120px, 30vw, 460px);
  font-weight: 500; letter-spacing: -0.04em; line-height: 0.8; text-align: center;
  background: linear-gradient(180deg, #9BBED2 0%, #5A7E96 40%, #24333F 75%, #10161c 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; user-select: none; transform: translateY(18%);
}

/* ============ SCROLL REVEAL ============ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .nav-pill { display: none; }
  .pillars-grid { grid-template-columns: 1fr; }
  .build-grid { grid-template-columns: 1fr; }
  .tstep { grid-template-columns: 46px 1fr; gap: 24px; }
  .clients-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-tagline { grid-column: 1 / -1; }
  .footer-meta { flex-direction: column; gap: 12px; }
  .pillars, .approach, .build { padding: 90px var(--pad-x); }
  .clients { padding: 30px var(--pad-x) 90px; }
  .about { padding: 90px var(--pad-x); }
  .statements { height: 320vh; }
  .stamp-a { top: 34%; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .careers-content { padding: 32px; }
  .hero-title { font-size: clamp(34px, 11vw, 52px); }
  .stamp-a { top: 28%; width: 94px; height: 94px; }
}
