:root {
  --forest-950: #061a15;
  --forest-900: #0a231d;
  --forest-800: #0f3029;
  --forest-700: #164237;
  --forest-600: #1f5a4a;
  --mint: #7fdcae;
  --mint-soft: #b7ecd0;
  --mint-white: #f2f8f4;
  --mint-100: #e3efe8;
  --mint-200: #cfe2d8;
  --ink: #0a231d;
  --ink-2: #4b635b;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --radius: clamp(20px, 2.4vw, 32px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--mint-white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--mint); color: var(--forest-950); }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.eyebrow { color: var(--ink-2); margin-bottom: 28px; }
.display {
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 500;
}
.display .muted { color: var(--forest-600); opacity: .55; }
.lede {
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-2);
  margin-top: 32px;
}

/* dot logo (svg generated in main.js) */
.l3-mark { display: inline-block; line-height: 0; }
.l3-mark svg { display: block; width: 100%; height: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  margin: 12px;
  height: calc(100svh - 24px);
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--mint-white);
  background:
    radial-gradient(ellipse 75% 22% at 50% 52%, rgba(52, 128, 104, .35), transparent 70%),
    radial-gradient(ellipse 55% 60% at 50% 50%, #164a3d 0%, #0c2c24 50%, var(--forest-950) 100%);
  isolation: isolate;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  touch-action: pan-y;
}
/* Sticky liquid-glass nav. Chromium gets real refraction (html.has-liquid: SVG displacement
   map drawn in main.js); other browsers get frosted glass. Text flips to ink while the pill
   floats over the light sections (.nav.on-light, toggled on scroll). */
.nav {
  position: fixed; z-index: 50;
  top: calc(20px + env(safe-area-inset-top, 0px)); left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
}
.glass {
  isolation: isolate;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(14px) saturate(1.8); -webkit-backdrop-filter: blur(14px) saturate(1.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 -1px 0 rgba(255, 255, 255, .15),
    inset 0 0 0 1px rgba(255, 255, 255, .16),
    inset 0 0 18px rgba(255, 255, 255, .1),
    0 10px 30px -10px rgba(0, 0, 0, .35);
  transition: background .3s, box-shadow .3s;
}
/* Specular sheen across the top edge. */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 45%),
              radial-gradient(120% 140% at 15% -20%, rgba(255, 255, 255, .35), transparent 50%);
  mix-blend-mode: soft-light;
}
html.has-liquid .nav {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: url(#liquid-glass) blur(1.2px) saturate(1.7) brightness(1.06);
}
.nav.on-light { background: rgba(255, 255, 255, .22); }
html.has-liquid .nav.on-light { background: rgba(255, 255, 255, .08); }
.nav.on-light {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .75),
    inset 0 -1px 0 rgba(255, 255, 255, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    inset 0 0 18px rgba(255, 255, 255, .18),
    0 10px 30px -10px rgba(10, 35, 29, .25);
}
.glass-defs { position: absolute; width: 0; height: 0; }

.nav-mark { width: 34px; margin-right: 10px; color: var(--mint); transition: color .3s; }
.nav-links { display: flex; }
.nav-links a, .nav-cta {
  font-size: 14px;
  padding: 9px 14px;
  border-radius: 999px;
  color: rgba(242, 248, 244, .85);
  transition: color .3s, background .2s;
}
.nav-links a:hover { color: var(--mint-white); background: rgba(255, 255, 255, .08); }
.nav.on-light .nav-mark { color: var(--forest-900); }
.nav.on-light .nav-links a { color: var(--ink); }
.nav.on-light .nav-links a:hover { background: rgba(10, 35, 29, .06); }
.nav-cta {
  background: var(--mint);
  color: var(--forest-950);
  font-weight: 500;
  margin-left: 6px;
}
.nav-cta:hover { background: var(--mint-soft); }
.nav.on-light .nav-cta { background: var(--forest-900); color: var(--mint-white); }
.nav.on-light .nav-cta:hover { background: var(--forest-700); }

.hero-foot {
  position: absolute; z-index: 2;
  left: 28px; right: 28px; bottom: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  color: rgba(183, 236, 208, .6);
  pointer-events: none;
}
.hero-hint { opacity: 0; transition: opacity 1s 2.2s; }
.hero.ready .hero-hint { opacity: 1; }

/* ---------- SECTIONS ---------- */
main > section { padding: clamp(96px, 13vw, 180px) var(--gutter) 0; max-width: 1440px; margin: 0 auto; }

.statement .display { max-width: 12em; }

/* two sides */
.sides {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.side {
  background: var(--mint-100);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 48px);
  display: flex; flex-direction: column;
}
.side:last-child { background: var(--forest-900); color: var(--mint-white); }
.side:last-child p, .side:last-child .side-tag { color: rgba(242, 248, 244, .7); }
.side-tag { color: var(--ink-2); margin-bottom: 64px; }
.side h3 { font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.025em; margin-bottom: 14px; }
.side p { color: var(--ink-2); max-width: 26em; }
.side ul { margin-top: auto; padding-top: 48px; display: grid; gap: 0; }
.side li { padding: 12px 0; border-top: 1px solid rgba(10, 35, 29, .12); }
.side:last-child li { border-color: rgba(242, 248, 244, .12); color: var(--mint-soft); }

.sides-join {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; color: var(--forest-700);
}
.join-mark { width: 54px; }
.join-line { display: flex; flex-direction: column; gap: 10px; }
.join-line i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--forest-600);
  animation: pulse 2.4s var(--ease) infinite;
}
.join-line i:nth-child(2) { animation-delay: .3s; }
.join-line i:nth-child(3) { animation-delay: .6s; }
.join-line:last-child i:nth-child(1) { animation-delay: .9s; }
.join-line:last-child i:nth-child(2) { animation-delay: 1.2s; }
.join-line:last-child i:nth-child(3) { animation-delay: 1.5s; }
@keyframes pulse {
  0%, 100% { opacity: .2; transform: scale(.7); }
  30% { opacity: 1; transform: scale(1.2); background: var(--mint); }
}

/* section heads */
.talent-head, .why-head { margin-bottom: clamp(48px, 6vw, 88px); }

/* talent */
.talent { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.talent-head { padding: 0 var(--gutter); max-width: 1440px; margin-left: auto; margin-right: auto; }
.rail {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.rail.dragging { cursor: grabbing; }
.rail-track { display: flex; gap: 16px; width: max-content; will-change: transform; }
.card { flex: none; width: calc(clamp(420px, 76svh, 780px) * 3 / 4); }
.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(127, 220, 174, .22) 1.4px, transparent 1.6px) 0 0 / 14px 14px,
    radial-gradient(ellipse at 50% 40%, var(--forest-700), var(--forest-950));
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 1.2s var(--ease), filter .6s;
}
.card-media::after {
  content: ""; position: absolute; inset: 0;
  /* split tone: blue-teal up top easing into forest green, so the photos aren't one flat hue */
  background: linear-gradient(165deg, #2b5f7a 0%, #24606a 45%, #1f5a4a 100%);
  mix-blend-mode: color;
  opacity: .22;
  transition: opacity .6s;
}
.card:hover .card-media img { transform: scale(1.04); }
.card:hover .card-media::after { opacity: .1; }
.card figcaption {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline;
  padding: 16px 4px 0;
}
.card figcaption .mono { color: var(--ink-2); }
.card strong { font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.card-more { grid-column: 2; color: var(--ink-2); font-size: 14px; }

/* why */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.why-item {
  border-top: 1px solid var(--forest-900);
  padding-top: 20px;
}
.why-item .mono { color: var(--forest-600); margin-bottom: 48px; }
.why-item h3 { font-size: 22px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 10px; }
.why-item p:last-child { color: var(--ink-2); font-size: 16px; }

/* apply */
.apply { padding-bottom: 12px !important; max-width: none !important; padding-left: 12px !important; padding-right: 12px !important; }
.apply-panel {
  border-radius: var(--radius);
  background:
    radial-gradient(circle, rgba(127, 220, 174, .10) 1.3px, transparent 1.5px) 0 0 / 18px 18px,
    radial-gradient(ellipse 80% 70% at 20% 100%, #164a3d, var(--forest-950) 70%);
  color: var(--mint-white);
  padding: clamp(40px, 7vw, 112px) clamp(24px, 6vw, 96px);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: end;
}
.apply .eyebrow { color: rgba(183, 236, 208, .6); }
.apply .lede { color: rgba(242, 248, 244, .7); }
.apply-form { display: grid; gap: 14px; }
.apply-form label { display: grid; gap: 8px; }
.apply-form label .mono { color: rgba(183, 236, 208, .65); font-size: 11px; }
.apply-form input, .apply-form select {
  font: inherit; font-size: 16px;
  color: var(--mint-white);
  background: rgba(242, 248, 244, .05);
  border: 1px solid rgba(127, 220, 174, .18);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
}
.apply-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mint) 50%), linear-gradient(135deg, var(--mint) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.apply-form select option { color: var(--ink); }
.apply-form input::placeholder { color: rgba(242, 248, 244, .3); }
.apply-form input:focus, .apply-form select:focus { border-color: var(--mint); background-color: rgba(127, 220, 174, .06); }
.apply-form input.invalid { border-color: #e7a37a; }
.apply-form button {
  margin-top: 10px;
  font: inherit; font-weight: 500;
  padding: 16px 22px;
  border: 0; border-radius: 999px;
  background: var(--mint); color: var(--forest-950);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s, transform .2s var(--ease);
}
.apply-form button:hover { background: var(--mint-soft); }
.apply-form button:active { transform: scale(.98); }
.form-note { min-height: 1.5em; color: var(--mint-soft); }

/* footer */
.footer {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  padding: clamp(48px, 7vw, 96px) var(--gutter) 28px;
  color: var(--forest-900);
}
.footer-mark { width: clamp(120px, 18vw, 240px); }
.footer-meta { text-align: right; display: grid; gap: 6px; color: var(--ink-2); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .sides { grid-template-columns: 1fr; }
  .sides-join { flex-direction: row; padding: 4px 0; }
  .join-line { flex-direction: row; }
  .join-mark { width: 44px; }
  .why-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .apply-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { margin: 8px; height: calc(88svh - 16px); }
  .nav { top: calc(12px + env(safe-area-inset-top, 0px)); padding-left: 14px; }
  .nav-links { display: none; }
  .nav-mark { margin-right: 4px; }
  .hero-foot { left: 18px; right: 18px; bottom: 18px; }
  .hero-foot .mono { font-size: 10px; }
  .hero-hint { display: none; }
  .card { width: 80vw; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item .mono { margin-bottom: 20px; }
  .apply { padding-left: 8px !important; padding-right: 8px !important; }
  .footer { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .join-line i { animation: none; opacity: .5; }
}

.apply .display { font-size: clamp(40px, 5vw, 76px); }
