/* ---------- Tokens ---------- */
:root {
  --ink: #16213a;     /* deep navy: text and dark sections */
  --blue: #1d4fa8;    /* royal blue from the logo */
  --sky: #2a9de0;     /* light blue from the logo */
  --paper: #f4f6fa;
  --line: #cfd6e1;
  --muted: #7d8899;
  --white: #fff;
  --accent: #f2b705;  /* gold from the logo */
  --gold-deep: #b98300; /* gold dark enough to read on the light background */

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter Tight", system-ui, sans-serif;

  --radius: 20px;
  --gutter: 10px;
  --ease: cubic-bezier(.65, 0, .35, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.03em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--white);
  border-radius: 999px; font: 14px var(--sans);
}
.skip-link:focus { top: 12px; }

/* ---------- Type scale ---------- */
.h2, .h3, .h4, .dhv__overlay-heading { font-family: var(--serif); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.h2 { font-size: clamp(48px, 7vw, 88px); }
.h3 { font-size: clamp(40px, 5.4vw, 70px); }
.h4 { font-size: clamp(28px, 3vw, 38px); line-height: 1.05; }
.subhead-s { font: 500 15px/1.25 var(--sans); letter-spacing: .01em; }
.sub-body { font: 400 16px/1.45 var(--sans); letter-spacing: 0; }
.details-s { font: 400 12px/1.3 var(--serif); letter-spacing: .02em; opacity: .7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font: 400 14px/1.2 var(--sans); letter-spacing: 0;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.btn--pill { background: var(--ink); color: var(--paper); }
.btn--pill:hover, .btn--dark:hover { background: var(--accent); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 250, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .4s var(--ease);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner {
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 24px;
}
.logo { display: inline-flex; align-items: center; }
.logo__img { display: block; height: 58px; width: auto; }
.logo__mark { display: block; height: 64px; width: auto; }   /* header bar stays 72px */

/* WhatsApp floating button */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 39;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(22, 33, 58, .45);
  transition: transform .3s var(--ease);
}
.whatsapp:hover { transform: scale(1.08); }
/* Logo's charcoal lettering needs a light card on dark backgrounds */

.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.navlink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font: 400 14px/1.2 var(--sans); letter-spacing: 0;
  transition: background .25s ease;
}
.navlink:hover, .navlink[aria-expanded="true"] { background: rgba(22, 33, 58, .07); }
.navlink[aria-current="page"] { color: var(--blue); background: rgba(29, 79, 168, .08); }


.header__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--paper); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.drawer {
  position: fixed; inset: var(--header-h) 0 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px 20px 40px; background: var(--ink); color: var(--paper);
}
.drawer[hidden] { display: none; }
.drawer__nav { display: flex; flex-direction: column; gap: 6px; }
.drawer__nav a { font: 300 44px/1.1 var(--serif); letter-spacing: -.04em; }

/* ---------- Posters (placeholder imagery; swap for real photos/video) ---------- */
.poster { position: absolute; inset: 0; border-radius: inherit; background-size: cover; background-position: center; }
.poster--dusk  { background-image: radial-gradient(120% 90% at 20% 110%, #c98b4f 0, transparent 55%), radial-gradient(90% 70% at 85% 10%, #6b4a3a 0, transparent 60%), linear-gradient(160deg, #2b1a15, #4a2f22 55%, #8a5a36); }
.poster--ember { background-image: radial-gradient(80% 60% at 70% 80%, #e2a35f 0, transparent 60%), linear-gradient(200deg, #1d120e, #5a2e1d 60%, #b2683a); }
.poster--field { background-image: radial-gradient(120% 70% at 50% 120%, #7c8b4d 0, transparent 60%), linear-gradient(180deg, #d9cdb8, #b5a487 50%, #5d5a36); }
.poster--moss  { background-image: radial-gradient(90% 80% at 15% 15%, #2a9de0 0, transparent 55%), radial-gradient(70% 60% at 90% 100%, rgba(242, 183, 5, .35) 0, transparent 60%), linear-gradient(150deg, #0f1a33, #16213a 45%, #1d4fa8); }
.poster--sand  { background-image: radial-gradient(100% 80% at 80% 90%, #a39280 0, transparent 60%), linear-gradient(170deg, #efe6d6, #cbbeaf 60%, #8d7a66); }

/* ---------- Double hero ---------- */
.dhv-section { padding: 6px var(--gutter) 0; overflow: hidden; }
.dhv { display: flex; align-items: flex-start; gap: 6px; }
.dhv__panel {
  position: relative; display: flex; flex-direction: column;
  flex: 66.6 1 0; min-width: 0;
  transition: flex-grow .6s var(--ease);
}
.dhv__panel--teaser,
.dhv[data-hover="teaser"] .dhv__panel--ambient { flex-grow: 33.4; }
.dhv[data-hover="teaser"] .dhv__panel--teaser { flex-grow: 66.6; }
.dhv__media {
  position: relative; height: calc((100vw - 26px) * .37125); min-height: 280px;
  overflow: hidden; border-radius: var(--radius); background: #111; cursor: pointer;
}
.dhv__poster { transition: transform 1.2s var(--ease); }
.dhv__img, .dhv__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.dhv__img { object-position: 50% 22%; }   /* keeps the face in frame at any panel width */
/* Film finish: grade + tint + grain hides the softness of the upscaled portrait clip */
.dhv__video { object-position: 50% 50%; filter: contrast(1.12) saturate(.9) brightness(.92); }
.dhv__media--photo::before {
  content: ""; position: absolute; inset: -50%; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: overlay;
  animation: grain 1s steps(6) infinite;
}
.dhv__media--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top right, rgba(22, 33, 58, .75), rgba(22, 33, 58, 0) 55%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(22, 33, 58, .45)),
    rgba(22, 33, 58, .12);
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); }
  80% { transform: translate(7%, 2%); }
  100% { transform: translate(-5%, -4%); }
}
.dhv__overlay-heading { transition: opacity .4s ease; }
.dhv__panel:hover .dhv__poster { transform: scale(1.03); }
.dhv__overlay-heading em { font-style: normal; color: var(--accent); }
.dhv__overlay-heading {
  position: absolute; left: clamp(24px, 5.5vw, 82px); bottom: clamp(24px, 4vw, 56px);
  z-index: 2; max-width: min(640px, calc(100% - 48px)); color: var(--white); font-size: clamp(40px, 4.5vw, 65px);
}
.dhv__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
  transition: transform .4s var(--ease), background .3s;
}
.dhv__play span { position: absolute; left: 26px; top: 22px; border-left: 16px solid var(--white); border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.dhv__panel:hover .dhv__play { transform: translate(-50%, -50%) scale(1.1); background: rgba(255, 255, 255, .3); }
/* Names written top-centre on the hero media */
.dhv__title {
  position: absolute; top: clamp(20px, 3vw, 40px); left: clamp(24px, 5.5vw, 82px); z-index: 2;
  margin: 0; white-space: nowrap; color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
  font: 300 clamp(40px, 5.2vw, 84px)/1 var(--serif); letter-spacing: -.045em;
}
/* Portrait panel: name top-centre with role beneath; when the panel widens on hover,
   the first and last name part to either side of her face and the role drops to the bottom-left */
.dhv__name {
  position: absolute; z-index: 2; left: 0; right: 0; top: clamp(20px, 3vw, 40px);
  display: flex; justify-content: center; gap: .28em; margin: 0;
  color: var(--ink); white-space: nowrap;
  font: 300 clamp(26px, 2.6vw, 42px)/1 var(--serif); letter-spacing: -.04em;
  transition: top .6s var(--ease), gap .6s var(--ease);
}
.dhv__role {
  position: absolute; z-index: 2; margin: 0; white-space: nowrap;
  top: calc(clamp(20px, 3vw, 40px) + clamp(26px, 2.6vw, 42px) + 10px); left: 50%; transform: translateX(-50%);
  color: var(--ink); font: 500 12px var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: top .6s var(--ease), left .6s var(--ease), transform .6s var(--ease);
}
.dhv[data-hover="teaser"] .dhv__name { top: 30%; gap: clamp(150px, 15vw, 240px); }
.dhv[data-hover="teaser"] .dhv__role { top: calc(100% - 40px); left: 24px; transform: none; }

/* Desktop hero layout (phones keep their own) */
@media (min-width: 750px) {
  /* Resting (video wide): "SS Visions" top-left in the sky; big stacked heading bottom-left */
  .dhv__title {
    top: 14px; left: 22px; font-size: clamp(38px, 4.4vw, 72px);
    transition: left .6s var(--ease), transform .6s var(--ease);
  }
  .dhv__overlay-heading {
    left: 24px; bottom: 12px;   /* the g of "Powering" almost touches the bottom edge */
    transition: font-size .6s var(--ease), bottom .6s var(--ease);
  }
  /* Video narrowed (portrait hovered): title centred; heading small on one line */
  .dhv[data-hover="teaser"] .dhv__title { left: 50%; transform: translateX(-50%); }
  .dhv[data-hover="teaser"] .dhv__overlay-heading {
    bottom: 22px; max-width: none; white-space: nowrap; font-size: clamp(22px, 2.3vw, 38px);
  }

  /* Portrait narrow: role then name, high enough to clear her head */
  .dhv__role { top: 16px; }
  .dhv__name { top: 36px; }
  /* Portrait widened: first name eased left just enough to clear her head */
  .dhv__name span { transition: transform .6s var(--ease); }
  .dhv[data-hover="teaser"] .dhv__name span:first-child { transform: translateX(-1.2vw); }   /* same gap to her hair as Seekoei */
}

/* ---------- Scroll reveal ---------- */
.reveal-section { height: 150vh; position: relative; }
.reveal-section__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; padding: 0 clamp(20px, 6vw, 90px);
}
.reveal-line { max-width: 1084px; opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-line.is-visible { opacity: 1; transform: none; }
.reveal-bg, .reveal-caption { display: none; }
.reveal-line.big-text { font: 500 clamp(26px, 4vw, 52px)/1.17 var(--sans); letter-spacing: -.02em; }
.reveal-line .word { color: var(--line); transition: color .25s ease; }
.reveal-line .word.is-on { color: var(--ink); }

/* ---------- Feature ---------- */
.feature { padding: 0 var(--gutter) 120px; }
.feature__media {
  position: relative; height: clamp(420px, 44vw, 620px); border-radius: var(--radius); overflow: hidden;
  color: var(--paper);
}
/* Darkens the photo so the mission text reads on top of it */
.feature__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(22, 33, 58, .82), rgba(22, 33, 58, .55) 55%, rgba(22, 33, 58, .7)),
    rgba(22, 33, 58, .15);
}
.feature__media .feature__body { position: relative; z-index: 1; padding: clamp(28px, 5vw, 80px) clamp(20px, 5vw, 80px) 40px; }
.feature__media .eyebrow { color: var(--line); font-size: 13px; }
.feature__media .ticks li { padding-left: 0; }
.feature__media .ticks li::before { content: none; }
.feature__media .h4 { font-size: clamp(30px, 3.6vw, 50px); }
.feature__media .feature__cols { font-size: 18px; line-height: 1.45; }
.feature__card {
  position: absolute; z-index: 1; left: 20px; bottom: 20px; color: var(--ink);
  display: flex; align-items: center; gap: 14px;
  padding: 8px 18px 8px 8px; border-radius: 16px;
  background: rgba(244, 246, 250, .92); backdrop-filter: blur(10px);
}
.feature__card-media { position: relative; width: 84px; height: 56px; border-radius: 10px; object-fit: cover; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.feature__body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 80px clamp(10px, 5vw, 80px) 0;
}
.feature__cols { display: grid; gap: 24px; font: 400 16px/1.5 var(--sans); letter-spacing: 0; max-width: 520px; }

/* ---------- Callout ---------- */
.callout { padding: 0 clamp(20px, 6vw, 90px) 120px; text-align: center; }
.callout__link { display: inline-flex; align-items: center; gap: 24px; }
.arrow {
  display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  font: 300 28px var(--sans); transition: background .3s, color .3s, transform .4s var(--ease);
}
.callout__link:hover .arrow { background: var(--ink); color: var(--accent); transform: translateX(8px); }

/* ---------- Work grid ---------- */
.work { padding: 0 var(--gutter) 120px; }
.work__heading { padding: 0 clamp(10px, 5vw, 80px) 40px; }
.work__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.work-card { position: relative; aspect-ratio: 3 / 4.4; border-radius: var(--radius); overflow: hidden; }
.work-card__img { transition: transform 1s var(--ease); }
.work-card:hover .work-card__img { transform: scale(1.06); }
.work-card__label {
  position: absolute; left: 14px; bottom: 14px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--paper); font: 400 14px var(--sans); letter-spacing: 0;
  transition: background .3s;
}
.work-card:hover .work-card__label { background: var(--accent); }

/* ---------- Media feature ---------- */
.media-feature { padding: 0 var(--gutter) 120px; }
.media-feature__card { position: relative; display: block; height: clamp(520px, 80vh, 900px); border-radius: var(--radius); overflow: hidden; color: var(--paper); }
.media-feature__card .poster { transition: transform 1.2s var(--ease); }
.media-feature__card:hover .poster { transform: scale(1.03); }
.media-feature__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding: clamp(24px, 5vw, 70px);
}
/* Big one-line heading across the top of the panel; the rest sits at the bottom */
.media-feature__heading {
  margin-bottom: auto;
  font: 300 clamp(30px, 7.2vw, 124px)/1 var(--serif); letter-spacing: -.045em;
  white-space: nowrap;
}

/* ---------- Contact ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px;
  padding: 40px clamp(20px, 6vw, 90px) 140px;
}
.contact__intro { display: grid; gap: 20px; align-content: start; max-width: 420px; }
.contact__form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; font: 400 13px var(--sans); letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--muted);
  background: transparent; color: var(--ink); font: 300 22px var(--serif); letter-spacing: -.03em;
  border-radius: 0; resize: vertical; outline: none; transition: border-color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.interests { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.interests legend { padding: 0; margin-bottom: 12px; font: 400 13px var(--sans); letter-spacing: 0; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--muted); font: 400 14px var(--sans); letter-spacing: 0;
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.contact__form .btn { justify-self: start; }
.form-note { font: 400 14px var(--sans); letter-spacing: 0; }

/* ---------- Shared bits ---------- */
.eyebrow { display: block; margin-bottom: 6px; font: 500 12px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ticks, .commit, .service__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li, .commit li, .service__list li { position: relative; padding-left: 20px; }
.ticks li::before, .commit li::before, .service__list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5;
}
.dhv__badge {
  position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px;
  background: rgba(244, 246, 250, .92); font: 400 14px var(--sans); letter-spacing: 0;
}

/* ---------- Service details ---------- */
.services { padding: 0 clamp(20px, 6vw, 90px) 120px; }
.service {
  display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; align-items: start;
  padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: var(--header-h);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service__num { font: 500 14px var(--sans); letter-spacing: 0; color: var(--gold-deep); padding-top: 8px; }
.service__list, .service__text { font: 400 16px/1.5 var(--sans); letter-spacing: 0; }
.service__list--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 var(--gutter) 120px; align-items: center; }
/* Sized by screen height (never taller than the window) and shaped like the photo (2:3),
   so the whole portrait shows without zooming or cropping */
.founder__media {
  position: relative; justify-self: center;
  height: min(calc(100vh - var(--header-h) - 48px), 760px); max-width: 100%;
  aspect-ratio: 853 / 1280; border-radius: var(--radius); overflow: hidden;
}
.founder__img { width: 100%; height: 100%; object-fit: cover; }
.founder__body { display: grid; gap: 22px; padding: 0 clamp(20px, 6vw, 90px); font: 400 16px/1.5 var(--sans); letter-spacing: 0; max-width: 640px; }

/* ---------- Projects ---------- */
.projects { padding: 0 clamp(20px, 6vw, 90px) 120px; }
.projects__heading { padding-bottom: 40px; }
.projects__table { display: grid; gap: 6px; }
.project {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr auto; gap: 24px; align-items: end;
  padding: 28px; border-radius: var(--radius); background: var(--white);
  font: 400 16px/1.4 var(--sans); letter-spacing: 0;
  transition: background .3s;
}
.project:hover { background: var(--accent); }
.project__service { font: 300 clamp(22px, 2.4vw, 30px)/1.1 var(--serif); letter-spacing: -.03em; }
.project__date { font-weight: 500; }

/* ---------- Current projects: own pinned screen, like the about statement ---------- */
.pin-section { height: 130vh; position: relative; }
.projects-card__row.is-on { transition-delay: .25s; }
.projects-card__row.is-on + .projects-card__row.is-on { transition-delay: .45s; }
.pin-section__sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--header-h) var(--gutter) 24px;
}
.projects-card {
  width: 100%; max-width: 1240px;
  padding: clamp(24px, 3.5vw, 48px) clamp(20px, 3.5vw, 48px) clamp(12px, 2vw, 24px);
  border-radius: var(--radius); background: var(--white);
  font: 400 15px/1.4 var(--sans); letter-spacing: 0;
  opacity: 0; transform: translateY(40px) scale(.98);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.projects-card.is-on { opacity: 1; transform: none; }
.projects-card__top {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-bottom: clamp(20px, 3vh, 36px);
}
.projects-card__logos { display: flex; align-items: center; gap: 10px; }
.partner-logo { height: clamp(56px, 6vw, 76px); width: auto; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--paper); object-fit: contain; }
/* SA Lithium's logo is white on transparent; shown on their own brand green */
.partner-logo--green { background: #09cc4b; border-color: #09cc4b; }
.projects-card__row {
  display: grid; grid-template-columns: 48px 1.4fr 1fr 1.3fr auto; gap: 24px; align-items: baseline;
  padding: clamp(18px, 3vh, 30px) 0; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), background .3s;
}
.projects-card__row.is-on { opacity: 1; transform: none; }
.projects-card__num { color: var(--gold-deep); font-size: 14px; font-weight: 500; }
.projects-card__row .eyebrow { display: block; margin: 0 0 4px; font-size: 11px; }
.projects-card__service { font: 300 clamp(22px, 2.3vw, 32px)/1.1 var(--serif); letter-spacing: -.03em; }
.projects-card__date { font-weight: 500; white-space: nowrap; }

/* ---------- Media feature text ---------- */
.media-feature__text { max-width: 560px; font: 400 16px/1.5 var(--sans); letter-spacing: 0; }
.commit { font: 400 15px/1.4 var(--sans); letter-spacing: 0; max-width: 560px; }

/* ---------- Contact details ---------- */
.contact__details { display: grid; gap: 18px; margin-top: 12px; font: 300 22px/1.2 var(--serif); }
.contact__details a { border-bottom: 1px solid var(--line); }
.contact__details a:hover { border-color: var(--ink); }

/* ---------- Inner pages ---------- */
.page-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-items: stretch;
  padding: 6px var(--gutter) 120px;
}
.page-hero__text {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 24px;
  padding: clamp(40px, 6vw, 90px) clamp(10px, 4vw, 70px) clamp(20px, 3vw, 40px);
}
.page-hero__intro { max-width: 520px; font: 400 18px/1.5 var(--sans); letter-spacing: 0; }
.page-hero__media { position: relative; min-height: clamp(380px, 46vw, 640px); border-radius: var(--radius); overflow: hidden; }
.page-hero__media img, .page-hero__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero__media video { filter: contrast(1.12) saturate(.9) brightness(.92); }
.page-hero__media .page-hero__portrait { object-position: 50% 18%; }   /* keeps her face in frame */
.page-hero--solo { grid-template-columns: 1fr; padding-bottom: 40px; }
.page-hero--solo .page-hero__text { max-width: 900px; }

.service-index { display: flex; flex-wrap: wrap; gap: 8px; }
.service-index a {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--muted);
  font: 400 14px var(--sans); letter-spacing: 0; transition: background .25s, color .25s, border-color .25s;
}
.service-index a:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* Home service briefs; the "What we do" arrow above links to the Services page */
.services--brief { padding-top: 0; }
.callout:has(+ .services--brief) { padding-bottom: 40px; }
.service--link { transition: background .3s, padding-left .4s var(--ease); }
.service--link:hover { background: var(--white); padding-left: 16px; }
.service__lead { margin-top: 10px; font: 400 15px/1.45 var(--sans); letter-spacing: 0; color: var(--muted); max-width: 340px; }

.split {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding: 0 clamp(20px, 6vw, 90px) 120px;
}
.split--top, .contact--page { padding-top: clamp(60px, 9vw, 140px); }
.founder--top { padding-top: 24px; }
.media-feature .eyebrow { color: var(--line); margin-top: 6px; }
.split__body { display: grid; gap: 32px; }
.split__cols { display: grid; grid-template-columns: 1fr; gap: 32px; font: 400 16px/1.55 var(--sans); letter-spacing: 0; }

/* Plain "Read more" style link */
.text-link {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  font: 500 15px var(--sans); letter-spacing: 0;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Contact pop-up (opened by "Get in touch" on pages other than Contact) */
.contact-dialog {
  width: min(720px, calc(100% - 32px)); max-height: calc(100vh - 32px);
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--paper); color: var(--ink);
}
.contact-dialog::backdrop { background: rgba(22, 33, 58, .6); backdrop-filter: blur(4px); }
.contact-dialog__inner { position: relative; display: grid; gap: 24px; padding: clamp(24px, 4vw, 48px); }
.contact-dialog__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); font: 300 22px/1 var(--sans);
}
.contact-dialog__close:hover { background: var(--ink); color: var(--paper); }
/* Service pop-up (Home "What we do" rows): the service from the Services page, stacked */
.service-dialog .service { grid-template-columns: 1fr; gap: 16px; padding: 0; border: 0; }
.service-dialog .service__num { padding-top: 0; }
.service-dialog__body { display: grid; gap: 28px; }
.service-dialog .service .h4 { padding-right: 48px; }

/* ---------- Footer ---------- */
.footer__brand { display: grid; gap: 12px; }
.logo__img--footer { height: clamp(100px, 11vw, 160px); }
.footer { background: var(--ink); color: var(--paper); padding: 60px clamp(20px, 4vw, 40px) 24px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 40px; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font: 400 14px var(--sans); letter-spacing: 0; }
.footer__cols a { opacity: .8; transition: opacity .2s; }
.footer__cols a:hover { opacity: 1; }
.footer__title { color: var(--muted); margin-bottom: 6px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid rgba(244, 246, 250, .2);
  font: 400 12px var(--sans); letter-spacing: 0; opacity: .7;
}

/* ---------- Entrance animation ---------- */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fade-up.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .work-card:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .contact, .founder { grid-template-columns: 1fr; }
  .page-hero, .split, .split__cols { grid-template-columns: 1fr; }
  .page-hero__text { padding-top: 40px; }
  .feature__media .feature__body { gap: 20px; }
  .feature__media .feature__cols { gap: 14px; font-size: 15px; line-height: 1.4; }
  .feature__media .h4 { font-size: clamp(26px, 3.2vw, 32px); }
  .founder__body { padding: 40px 10px 0; }
  .project { grid-template-columns: 1fr 1fr; }
  .service { grid-template-columns: 50px 1fr; }
  .service > :last-child { grid-column: 2; }
}
@media (max-width: 860px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: 1fr auto; padding: 0 16px; }
}
@media (max-width: 749px) {
  .dhv { flex-direction: column; }
  .dhv__panel, .dhv__panel--teaser { flex: none; width: 100%; }
  .dhv__media, .dhv__panel--teaser .dhv__media { height: 72vh; }
  .field-row, .project, .service__list--cols { grid-template-columns: 1fr; }
  .logo__mark { height: 54px; }
  .dhv__title { left: 50%; transform: translateX(-50%); }
  .whatsapp { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .page-hero, .split { padding-bottom: 80px; }
  /* Phones: safety panel fits its content; big heading wraps to two lines, no empty gap */
  .media-feature__card { height: auto; }
  .media-feature__content { position: relative; inset: auto; gap: 18px; padding: 36px 24px 40px; }
  .media-feature__heading { margin-bottom: 8px; white-space: normal; font-size: clamp(46px, 13.5vw, 64px); line-height: .95; }

  /* Phones: hero shows the video only; order becomes hero → portrait statement → projects */
  .dhv__panel--teaser { display: none; }
  main { display: flex; flex-direction: column; }
  .dhv-section { order: -3; }
  .reveal-section { order: -2; }
  .pin-section { order: -1; }

  /* Phones: statement sits on Samantha's portrait, low on the blazer, face kept clear */
  .reveal-section__sticky {
    flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px;
    padding: 0 30px 44px;
  }
  /* Black name line, top-left over the light backdrop (the blazer below is too dark for black text) */
  .reveal-caption {
    display: block; position: absolute; top: 24px; left: 28px; z-index: 1; color: #000;
    font: 400 14px var(--sans); letter-spacing: 0;
  }
  .reveal-caption strong { font-weight: 500; }
  .reveal-bg {
    display: block; position: absolute; inset: 6px var(--gutter);
    width: calc(100% - 2 * var(--gutter)); height: calc(100% - 12px);
    object-fit: cover; object-position: 50% 12%; border-radius: var(--radius);
  }
  .reveal-section__sticky::after {
    content: ""; position: absolute; inset: 6px var(--gutter); border-radius: var(--radius); pointer-events: none;
    background: linear-gradient(to bottom, rgba(22, 33, 58, 0) 40%, rgba(22, 33, 58, .55) 62%, rgba(22, 33, 58, .85));
  }
  .reveal-line { position: relative; z-index: 1; }
  .reveal-line.big-text { font-size: 25px; line-height: 1.2; }
  .reveal-line .word { color: rgba(244, 246, 250, .35); }
  .reveal-line .word.is-on { color: var(--paper); }

  /* Phones: the projects card is taller than the screen, so it scrolls normally */
  .pin-section { height: auto; }
  .pin-section__sticky { position: static; height: auto; padding: 40px var(--gutter) 80px; }
  .projects-card__row { grid-template-columns: 32px 1fr; gap: 8px 12px; }
  .projects-card__row > :not(.projects-card__num) { grid-column: 2; }
  .partner-logo { height: 48px; padding: 8px 12px; }
  /* Phones: too narrow for two columns at this height, so stack and let it grow just enough */
  .feature__media { height: auto; min-height: 420px; }
  .feature__media .feature__body { grid-template-columns: 1fr; padding-bottom: 110px; }
  .service { grid-template-columns: 1fr; gap: 12px; }
  .service > :last-child { grid-column: auto; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .feature, .work, .media-feature { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .fade-up { opacity: 1; transform: none; }
}
