:root {
  --ink: #111111;
  --ink-2: #444444;
  --muted: #777777;
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --card: #ffffff;
  --line: #e4e4e0;
  --night: #0e0e0e;
  /* logo colours */
  --blue: #4285F4;
  --red: #EA4335;
  --yellow: #FBBC05;
  --green: #34A853;
  --radius: 14px;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-family: Manrope, Inter, sans-serif; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; max-width: 22ch; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: #cfcfcf; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 20px; border-radius: 999px;
  font: 600 15px Inter, sans-serif; text-decoration: none;
  border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: #fff; color: var(--night); }
.btn-primary:hover { background: var(--yellow); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-light:hover { background: rgba(255,255,255,0.12); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); padding: 8px 18px; }
.btn-ghost:hover { background: #fff; color: var(--night); }
.btn-lg { padding: 16px 28px; font-size: 18px; }

/* HERO */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; background: var(--night); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; }
@media (min-width: 1100px) {
  /* wide screens: shift right so the drill sits further right and more of the pit wall shows */
  .hero-bg { left: 5%; object-position: 70% 50%; }
}
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.6) 40%, rgba(10,10,10,0) 75%), linear-gradient(0deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 40%); }
.hero-content { position: relative; z-index: 1; padding-top: 64px; padding-bottom: 120px; width: 100%; }
.eyebrow { color: var(--yellow); font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(28px, 4.2vw, 50px); font-weight: 800; max-width: 21ch; }
.lead { font-size: clamp(18px, 2vw, 22px); color: #d6d6d6; margin-top: 20px; max-width: 40ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* SECTIONS */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.kicker { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.section-lead { color: var(--ink-2); font-size: 18px; max-width: 64ch; margin-top: 18px; }
/* desktop: heading left, lead right, so text uses the full width */
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.section-head .section-lead { margin-top: 0; }
.section-head h2 { max-width: 20ch; }

.grid { display: grid; gap: 20px; margin-top: 44px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; --c: var(--ink); }
.card::before { content: ""; position: absolute; left: 26px; top: 0; width: 40px; height: 4px; background: var(--c); border-radius: 0 0 3px 3px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.c-blue { --c: var(--blue); } .c-red { --c: var(--red); } .c-yellow { --c: var(--yellow); } .c-green { --c: var(--green); }

/* SOLUTION */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.pillars { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.pillars li { display: flex; gap: 18px; }
.pill-num { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #fff; font: 800 15px Manrope, sans-serif; display: grid; place-items: center; }
.pillars h3 { margin-bottom: 4px; }
.pillars p { color: var(--ink-2); font-size: 16px; }


/* solution: dark section, pillars in a row, model image full-bleed below */
.solution { background: #000; color: #fff; padding: 120px 0 0; }
.solution .pillars { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.solution-figure { margin: 72px 0 0; }
.solution-figure img { width: 100%; height: auto; }
.solution .kicker { color: var(--yellow); }
.solution .section-lead, .solution .pillars p { color: #d6d6d6; }
.solution .pill-num { background: #fff; color: var(--night); }

/* WHAT YOU GET */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.role { border-top: 2px solid var(--ink); padding-top: 18px; }
.role h3 { margin-bottom: 8px; }
.role p { color: var(--ink-2); font-size: 16px; }

/* BAND */
.band { position: relative; color: #fff; padding: 150px 0; overflow: hidden; background: var(--night); }
/* tall enough on desktop to show the rig mast and the strata (image is 16:9) */
@media (min-width: 981px) {
  .band { min-height: min(52vw, 92vh); display: flex; align-items: center; padding: 96px 0; }
  .band-content { width: 100%; }
}
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.band-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.55) 55%, rgba(10,10,10,0.05) 100%); }
.band-content { position: relative; z-index: 1; }
.band p { margin-top: 16px; max-width: 46ch; font-size: 19px; color: #d6d6d6; }

/* FIELD */
.tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; }
.award { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--night); color: #d6d6d6; }
.award strong { color: #fff; }
.award a { color: var(--yellow); font-weight: 600; text-decoration: none; white-space: nowrap; }
.award a:hover { text-decoration: underline; }
.award-badge { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); color: var(--night); font: 800 18px Manrope, sans-serif; display: grid; place-items: center; }

/* TEAM */
.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; color: #fff; font: 800 18px Manrope, sans-serif; display: grid; place-items: center; margin-bottom: 18px; }
.a-blue { background: var(--blue); } .a-red { background: var(--red); } .a-yellow { background: var(--yellow); color: var(--night); } .a-green { background: var(--green); }
.withheld { filter: blur(6px); user-select: none; -webkit-user-select: none; }
.role-title { color: var(--ink); font-weight: 600; font-size: 14.5px; margin: 4px 0 10px; }
.person p:last-child { color: var(--ink-2); font-size: 15px; }

/* CONTACT */
.contact { background: var(--night); color: #fff; }
.contact .kicker { color: var(--yellow); }
.contact .section-lead { color: #cfcfcf; }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.contact-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; justify-items: start; }
.contact-card .btn { max-width: 100%; }
.muted { color: #aaaaaa; font-size: 15px; }
.contact-card a:not(.btn) { color: #fff; }

/* FOOTER */
.footer { background: #000; color: #8a8a8a; font-size: 14px; padding: 26px 0; border-top: 1px solid #1f1f1f; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer img { height: 40px; width: auto; }
.footer a { color: #cfcfcf; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-inner, .section-head { grid-template-columns: 1fr; gap: 40px; }
  .section-head { gap: 18px; }
  .solution .pillars { grid-template-columns: 1fr; gap: 22px; }
  .nav-links { display: none; }
  .solution { padding: 72px 0 0; }
  .solution-figure { margin-top: 40px; }
  .nav-inner .btn-ghost { margin-left: auto; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .grid-4, .grid-3, .roles { grid-template-columns: 1fr; }
  .hero-content { padding-top: 72px; padding-bottom: 48px; }
  .hero-bg { left: 0; object-position: 74% 50%; }
  .hero-scrim { background: linear-gradient(0deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 55%, rgba(10,10,10,0.15) 100%); }
  .band { padding: 96px 0; }
  .award { flex-direction: column; align-items: flex-start; }
}

/* MOTION — only applies when JS is running (html.js), off for reduced-motion users */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 20; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--red), var(--yellow), var(--green)); pointer-events: none; }
.nav { transition: background .3s ease, box-shadow .3s ease; }
.nav.is-scrolled { background: rgba(10, 10, 10, 0.96); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6); }
.nav-links a { position: relative; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--yellow); transform: scaleX(0); transition: transform .3s ease; }
.nav-links a.is-active { color: #fff; }
.nav-links a.is-active::after { transform: scaleX(1); }

html.js .reveal { opacity: 0; transform: translateY(32px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal-zoom { clip-path: inset(10% 6% 10% 6% round 18px); transform: scale(1.04);
  transition: clip-path 1.3s cubic-bezier(.2,.7,.2,1), transform 1.6s cubic-bezier(.2,.7,.2,1); }
html.js .reveal-zoom.is-in { clip-path: inset(0 0 0 0 round 0); transform: none; }

/* hero entrance */
html.js .hero-bg { animation: hero-zoom 2.6s cubic-bezier(.2,.7,.2,1) both; will-change: transform; transform-origin: 85% 50%; }
html.js .hero-content > * { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
html.js .hero-content > :nth-child(1) { animation-delay: .15s; }
html.js .hero-content > :nth-child(2) { animation-delay: .3s; }
html.js .hero-content > :nth-child(3) { animation-delay: .45s; }
html.js .hero-content > :nth-child(4) { animation-delay: .6s; }
@keyframes hero-zoom { from { transform: scale(1.18); opacity: .4; } to { transform: scale(1.1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.band-bg { will-change: transform; transform-origin: 75% 40%; }

/* small hover life on cards */
.card, .person { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.card:hover, .person:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(0,0,0,0.35); }

@media (max-width: 980px) {
  @keyframes hero-zoom { from { transform: scale(1.1); opacity: .4; } to { transform: scale(1); opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal-zoom { opacity: 1; transform: none; clip-path: none; transition: none; }
  html.js .hero-bg, html.js .hero-content > * { animation: none; }
  .card:hover, .person:hover { transform: none; }
  html { scroll-behavior: auto; }
}
