:root {
  --fog: #e5ebee;
  --snow: #f8fafa;
  --ink: #14324a;
  --slate: #4a5d6b;
  --ochre: #d19a2e;
  --white: #ffffff;
  --font: 'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--fog);
  color: var(--ink);
  font: 400 18px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(40px, 4.4vw, 64px); }
h3 { font-size: 26px; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 5px; }
a:hover { color: var(--ochre); }
a:focus-visible, [tabindex]:focus-visible, button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
img { display: block; }

/* Hero: the one loud moment */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; color: var(--white); }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 62%;
  animation: settle 2.4s cubic-bezier(.2, .7, .2, 1) both;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 38, .85) 0%, rgba(10, 25, 38, .15) 50%, rgba(10, 25, 38, 0) 100%);
}
.hero-text { position: absolute; z-index: 1; left: 6vw; right: 6vw; bottom: 8vh; animation: lift 1.2s .5s ease-out both; }
.hero h1 { font-size: clamp(60px, 7.5vw, 132px); font-weight: 500; letter-spacing: -.025em; line-height: 1; }
.hero-text p { max-width: 32ch; margin-top: 22px; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.45; color: rgba(255, 255, 255, .9); }

/* Intro line */
.intro { padding: 18vh 6vw 16vh; }
.intro p { max-width: 24ch; font-size: clamp(34px, 3.8vw, 60px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }

/* Amir and Kate: half photo, half text */
.person { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--snow); }
.person--flip { background: var(--fog); }
.person-img { width: 100%; height: 100%; min-height: 100vh; object-fit: cover; }
.person--flip .person-img { order: 2; }
.person-img--amir { object-position: 50% 85%; }
.person-text { align-self: center; max-width: 640px; padding: 10vh 6vw; }
.person-text h2 { font-size: clamp(56px, 5.5vw, 92px); font-weight: 500; letter-spacing: -.025em; }
.role { margin: 20px 0 24px; font-size: 18px; font-weight: 500; }
.person-text p:not(.role) { margin-bottom: 32px; color: var(--slate); }

/* Help: what we can do */
.help { padding: 16vh 6vw 18vh; background: var(--snow); }
.help h2 { margin-bottom: 7vh; }
.help-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(20, 50, 74, .18); }
.help-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 5vw; align-items: baseline; padding: 34px 0; border-top: 1px solid rgba(20, 50, 74, .18); }
.help-list h3 { font-size: clamp(30px, 2.8vw, 44px); letter-spacing: -.025em; }
.help-list p { max-width: 52ch; color: var(--slate); }

/* Why the north: full-screen photo */
.north { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.north-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.north::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10, 25, 38, .82) 0%, rgba(10, 25, 38, .35) 55%, rgba(10, 25, 38, 0) 100%); }
.north-text { position: relative; z-index: 1; max-width: 640px; padding: 0 6vw 12vh; }
.north-text h2 { margin-bottom: 28px; }
.north-text p { color: rgba(255, 255, 255, .9); }
.north-text p + p { margin-top: 16px; }
.photo-note { position: absolute; z-index: 1; right: 6vw; bottom: 12vh; font-size: 15px; color: rgba(255, 255, 255, .85); }

/* Elephants */
.elephants { padding: 16vh 0 0; }
.elephants-text { padding: 0 6vw 8vh; }
.elephants-text h2 { margin-bottom: 24px; }
.elephants-text p { max-width: 60ch; color: var(--slate); }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.strip img { width: 100%; height: 78vh; object-fit: cover; cursor: zoom-in; }
.strip img:nth-child(2) { object-position: 70% 60%; }

/* Gallery */
.gallery { padding: 16vh 6px 6px; background: var(--snow); }
.gallery h2 { padding: 0 calc(6vw - 6px) 7vh; }
.photo-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.photo-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; cursor: zoom-in; }

/* Ending */
.end { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); }
.end-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.end::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(10, 25, 38, .7) 0%, rgba(10, 25, 38, .2) 50%, rgba(10, 25, 38, 0) 70%); }
.end-text { position: relative; z-index: 1; margin-left: auto; max-width: 46vw; padding: 0 6vw 10vh 0; }
.end-text p { margin-bottom: 32px; font-size: clamp(32px, 3.4vw, 56px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; }
.end nav { display: flex; flex-wrap: wrap; gap: 12px 36px; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 28, 42, .96); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lb-btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--white); font: 400 30px/1 var(--font); cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -26px; }
.lb-next { right: 20px; top: 50%; margin-top: -26px; }

/* The one entrance */
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes lift { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Phone */
@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero { height: 100svh; }
  .hero-text { left: 16px; right: 16px; bottom: 48px; }
  .hero h1 { font-size: 15vw; white-space: nowrap; }
  .intro { padding: 12vh 16px; }
  .person { grid-template-columns: 1fr; min-height: 0; }
  .person-img { min-height: 0; height: 78svh; }
  .person--flip .person-img { order: 0; }
  .person-text { padding: 44px 16px 72px; }
  .help { padding: 12vh 16px; }
  .help-list li { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .north { min-height: 100svh; }
  .north::after { background: linear-gradient(to top, rgba(10, 25, 38, .9) 0%, rgba(10, 25, 38, .4) 60%, rgba(10, 25, 38, .1) 100%); }
  .north-text { padding: 0 16px 56px; }
  .photo-note { right: 16px; bottom: auto; top: 20px; }
  .elephants { padding-top: 12vh; }
  .elephants-text { padding: 0 16px 40px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img { height: 52svh; }
  .strip img:last-child { grid-column: span 2; height: 70svh; }
  .gallery { padding-top: 12vh; }
  .gallery h2 { padding: 0 10px 36px; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .end { height: 100svh; }
  .end::after { background: linear-gradient(to top, rgba(10, 25, 38, .8) 0%, rgba(10, 25, 38, .1) 55%); }
  .end-text { max-width: none; margin-left: 0; padding: 0 16px 56px; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img, .hero-text { animation: none; }
}
