:root {
  --bg: #000;
  --ink: #f2f3f6;
  --ink-dim: rgba(242, 243, 246, .78);
  --ink-mute: rgba(242, 243, 246, .5);
  --line: rgba(255, 255, 255, .14);
  --line-soft: rgba(255, 255, 255, .07);
  --accent: #1230e6;          /* swap this one value to re-theme the glow */
  --accent-rgb: 18, 48, 230;
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* page glow, bottom corners, like the reference */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 55% at 100% 100%, rgba(var(--accent-rgb), .55), transparent 70%),
    radial-gradient(45% 50% at 0% 100%, rgba(var(--accent-rgb), .38), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  background: linear-gradient(#000 30%, rgba(0,0,0,0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(#000 70%, transparent);
}
.logo {
  font-family: "Manrope", sans-serif;
  font-weight: 600; font-size: 20px; letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-pill {
  display: flex; align-items: center; gap: 4px;
  background: #17171b;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 5px;
  font-size: 14px; font-weight: 500;
}
.nav-pill a { padding: 9px 15px; border-radius: 8px; transition: background .2s; }
.nav-pill a:hover { background: rgba(255,255,255,.07); }
.nav-pill a.nav-cta { background: #fff; color: #000; }
.nav-pill a.nav-cta:hover { background: #dfe3ff; }

/* ---------- main card ---------- */
.wrap { position: relative; z-index: 1; padding: 118px 40px 40px; }
.card {
  max-width: 1160px; margin: 0 auto;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0) 30%);
  padding: 44px 48px 48px;
}

.back { display: inline-flex; gap: 8px; align-items: center; color: var(--ink-mute); font-size: 15px; }
.back:hover { color: var(--ink); }

h1 {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.05;
  letter-spacing: .015em;
  text-transform: uppercase;
  margin: 28px 0 26px;
}

.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.meta div { border-left: 1px solid var(--line); padding-left: 13px; }
.meta small { display: block; color: var(--ink-mute); font-size: 13px; }
.meta span { font-size: 24px; font-weight: 400; line-height: 1.3; }

.hero-row { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: #fff; color: #000;
  font-weight: 500; font-size: 17px; letter-spacing: .04em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 14px;
  transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(var(--accent-rgb), .6); }
.hero-row p { color: var(--ink-mute); font-size: 15px; }

/* hero collage: drop real photos in as background-image on each .pane */
.collage {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  height: clamp(260px, 44vw, 520px);
  border-radius: var(--radius);
  overflow: hidden;
}
.pane {
  position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
  padding: 20px;
}
.pane:nth-child(1) { background-image: linear-gradient(160deg, #1b2030, #0a0c14); }
.pane:nth-child(2) { background-image: linear-gradient(200deg, #23305f, #0b0f22); }
.pane:nth-child(3) { background-image: linear-gradient(160deg, #181c2a, #090a10); }
.pane em {
  font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute);
  border: 1px dashed var(--line); border-radius: 8px; padding: 7px 10px;
}

/* ---------- sections ---------- */
section.row {
  display: grid; grid-template-columns: 250px 1fr; gap: 40px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
section.row h2 { font-size: 30px; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
.body { max-width: 760px; color: var(--ink-dim); }
.body p + p { margin-top: 18px; }
.body h3 { color: var(--ink); font-size: 21px; font-weight: 600; letter-spacing: 0; margin-bottom: 22px; }
.body h3:not(:first-child) { margin-top: 46px; }
.body h4 { color: var(--ink); font-family: "Manrope", sans-serif; font-size: 15.5px; font-weight: 600; margin-bottom: 14px; }
.body ul { list-style: none; }
.body li { position: relative; padding-left: 20px; }
.body li + li { margin-top: 5px; }
.body li::before { content: "•"; position: absolute; left: 3px; color: var(--ink-mute); }
.body strong { color: var(--ink); font-weight: 500; }

.num { color: var(--ink); font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.num:not(:first-child) { margin-top: 38px; }

/* placeholders you still need to fill in */
.ph { border-bottom: 1px dashed #ffb84d; color: #ffd089; }

/* ---------- apply block ---------- */
.apply {
  position: relative;
  margin-top: 60px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 80px 28px 56px;
  text-align: center;
  background:
    radial-gradient(90% 80% at 50% 120%, rgba(var(--accent-rgb), 1), rgba(var(--accent-rgb), .25) 55%, transparent 80%),
    #07080f;
}
.apply::after { /* film grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.apply > * { position: relative; z-index: 1; }
.apply h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 600; line-height: 1.15; letter-spacing: 0; }
.apply .sub { color: var(--ink-dim); margin: 14px auto 40px; max-width: 520px; }

.form-shell {
  max-width: 760px; margin: 0 auto;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
}
.form-shell iframe { display: block; width: 100%; height: 720px; border: 0; background: transparent; }
.form-empty { padding: 56px 32px; text-align: center; color: var(--ink-mute); }
.form-empty b { display: block; color: var(--ink); font-weight: 500; font-size: 18px; margin-bottom: 8px; }
.form-empty code { font-size: 13px; color: #ffd089; }

footer { position: relative; z-index: 1; text-align: center; color: var(--ink-mute); font-size: 13px; padding: 34px 20px 46px; }
footer a { margin: 0 10px; }
footer a:hover { color: var(--ink); }
footer p { margin-top: 10px; }

/* mobile sticky apply */
.sticky { display: none; }

@media (max-width: 860px) {
  .nav { padding: 16px 18px; }
  .nav-pill a:not(.nav-cta) { display: none; }
  .wrap { padding: 92px 14px 20px; }
  .card { padding: 26px 20px 22px; border-radius: 22px; }
  .meta { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .meta span { font-size: 19px; }
  .collage { grid-template-columns: 1fr 1fr; }
  .pane:nth-child(3) { display: none; }
  .pane { padding: 12px; }
  .pane em { font-size: 10px; letter-spacing: .06em; padding: 5px 7px; }
  section.row { grid-template-columns: 1fr; gap: 20px; padding: 44px 0; }
  section.row h2 { font-size: 26px; }
  .apply { padding: 56px 14px 20px; margin-top: 44px; }
  .sticky {
    display: block; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60;
    text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.6);
  }
  footer { padding-bottom: 96px; }
}

/* ---------- careers hub ---------- */
.hub { max-width: 1160px; margin: 0 auto; }
.hub-head { text-align: center; padding: 34px 0 54px; }
.hub-head h1 { margin: 0 0 16px; font-size: clamp(34px, 5.4vw, 60px); }
.hub-head p { color: var(--ink-dim); max-width: 560px; margin: 0 auto; }

.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.role {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 300px;
  padding: 22px 26px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(8,9,14,.96) 35%, rgba(8,9,14,.55)),
    repeating-conic-gradient(rgba(255,255,255,.045) 0% 25%, transparent 0% 50%) 0 0 / 56px 56px,
    #08090e;
  transition: border-color .25s, transform .25s;
}
.role:hover { border-color: rgba(var(--accent-rgb), .9); transform: translateY(-3px); }
.role::after { /* brand monogram */
  content: "G";
  position: absolute; right: 34px; top: 50%; transform: translateY(-50%);
  font-family: "Manrope", sans-serif; font-weight: 300; font-size: 230px; line-height: 1;
  background: linear-gradient(160deg, #5f7bff, rgba(var(--accent-rgb), .25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .8; transition: opacity .25s;
  pointer-events: none;
}
.role:hover::after { opacity: 1; }
.role > * { position: relative; z-index: 1; }
.tag, .chips span {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-dim);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 6px 13px;
}
.tag { align-self: flex-start; }
.role h2 { font-family: "Manrope", sans-serif; font-weight: 400; font-size: 27px; letter-spacing: 0; margin-bottom: 18px; max-width: 60%; line-height: 1.2; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.role .go { position: absolute; right: 26px; bottom: 26px; font-size: 14px; color: var(--ink-mute); transition: color .2s; }
.role:hover .go { color: var(--ink); }

.hub-note { text-align: center; color: var(--ink-mute); margin-top: 46px; font-size: 15px; }
.hub-note a { color: var(--ink); border-bottom: 1px solid var(--line); }

@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr; }
  .role { min-height: 230px; }
  .role::after { font-size: 170px; right: 18px; opacity: .45; }
  .role h2 { font-size: 23px; max-width: 70%; }
  .hub-head { padding: 14px 0 34px; }
}
