/* ============================================================
   The Never Satisfied  (thisishuman.services/the-never-satisfied)
   Lilac ground (#0000FF @ 10% over white) · blue text · red headers
   ============================================================ */

@font-face {
  font-family: 'Garton';
  src: url('../fonts/garton/Garton-Regular.woff2') format('woff2'),
       url('../fonts/garton/Garton-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Garton';
  src: url('../fonts/garton/Garton-Italic.woff2') format('woff2'),
       url('../fonts/garton/Garton-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Garton';
  src: url('../fonts/garton/Garton-Bold.woff2') format('woff2'),
       url('../fonts/garton/Garton-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nimbus Sans L';
  src: url('../fonts/nimbus-sans-l/NimbusSanL-Reg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nimbus Sans L';
  src: url('../fonts/nimbus-sans-l/NimbusSanL-Bol.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --lilac: #E5E5FF;   /* white + 10% #0000FF — the resting ground */
  --blue: #0000FF;
  --red: #DC353B;
  --ink: #0C0C0C;
}

@view-transition { navigation: auto; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--lilac); }

/* Load transition: full-strength blue, settling slowly to 10%. */
@keyframes ground-settle {
  from { background-color: var(--blue); }
  to   { background-color: var(--lilac); }
}

body {
  background: var(--lilac);
  animation: ground-settle 2200ms ease forwards;
  color: var(--blue);
  font-family: 'Garton', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap {
  max-width: 1338px;
  margin: 0 auto;
  padding: 0 51px;
}

/* ---------- Load-in: hero blurs into focus ---------- */

@keyframes blur-in {
  from { opacity: 0; filter: blur(10px); }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes img-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.eyebrow, h1, .intro {
  opacity: 0;
  animation: blur-in 900ms ease forwards;
}
.storyboard, .storyboard-caption {
  opacity: 0;
  animation: img-fade 1600ms ease forwards 900ms;
}
.eyebrow  { animation-delay: 300ms; }
h1        { animation-delay: 500ms; }
.intro    { animation-delay: 750ms; }

/* ---------- Scroll reveals: blur into focus, once ---------- */

html.js-motion .reveal {
  transition: opacity 700ms ease, filter 700ms ease;
}
html.js-motion .reveal-blur { opacity: 0; filter: blur(14px); }
html.js-motion .reveal.revealed { opacity: 1; filter: blur(0); }

/* ---------- Close ---------- */

.close {
  position: absolute;
  top: 81px;
  right: 109px;
  width: 50px;
  height: 50px;
  color: var(--red);
  transition: color 400ms ease;
  z-index: 2;
}
.close svg { display: block; width: 100%; height: 100%; }
.close:hover { color: var(--blue); }

/* ---------- Hero ---------- */

.eyebrow {
  font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding-top: 200px;
}

h1 {
  font-weight: 700;
  font-size: clamp(52px, 11.4vw, 164px);
  line-height: 1.0;
  margin-top: 14px;
}

.intro {
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.33;
  margin-top: 37px;
  max-width: 1280px;
}

/* ---------- Storyboard ---------- */

.storyboard {
  width: 1280px;
  max-width: 100%;
  aspect-ratio: 1280 / 775;
  margin: 140px auto 0;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.storyboard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 72%;
  display: block;
}

.storyboard-caption {
  margin: 14px auto 0;
  max-width: 1105px;
  text-align: center;
  font-style: italic;
  font-size: 14px;
  line-height: 16px;
  color: var(--red);
}

/* ---------- Sections ---------- */

.section-head {
  font-weight: 700;
  font-size: clamp(40px, 4.8vw, 69px);
  line-height: 1.03;
  color: var(--red);
  text-transform: uppercase;
  text-align: center;
  margin-top: 70px;
}

.story-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 69px auto 0;
}

.story-cols p, .full-story p, .points p {
  font-size: 18px;
  line-height: 22px;
}

/* On this page the labels run blue, matching the body — per the Figma. */
.label {
  font-weight: 700;
  text-transform: uppercase;
}
.story-cols .label { display: inline; }
.story-cols .col > p + p { margin-top: 22px; }

.full-story {
  max-width: 846px;
  margin: 69px auto 0;
}
.full-story .insight p + p { margin-top: 22px; }
.full-story .insight + .insight { margin-top: 44px; }

.points {
  max-width: 628px;
  margin: 58px auto 0;
}

.made-by {
  max-width: 628px;
  margin: 56px auto 0;
  font-style: italic;
  font-size: 18px;
  line-height: 22px;
  color: var(--red);
}

/* ---------- Contact / footer ---------- */

.contact {
  margin-top: 128px;
  padding-bottom: 75px;
  text-align: center;
}
.contact .contact-link {
  position: relative;
  display: inline-block;
}
.contact .gif-frame {
  display: block;
  width: 288px;
  height: 288px;
  border: 30px solid var(--ink);
}
.contact .gif-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.contact .cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 442px;
  font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 69px;
  line-height: 69px;
  letter-spacing: 2.76px;
  text-align: center;
  color: var(--red);
  transition: color 400ms ease;
}
.contact .contact-link:hover .cta { color: var(--blue); }

.footer-logo {
  display: block;
  margin: 68px auto 0;
  width: 288px;
  height: auto;
}

/* Type credit — same gap below the logo as contact-to-logo above it. */
.contact .credit {
  margin: 68px 20px 0;
  text-align: center;
  font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--blue);
}
.contact .credit a { text-decoration: underline; }
.contact .credit a:hover { color: var(--red); }

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .wrap { padding: 0 20px; }

  .close { top: 24px; right: 20px; width: 36px; height: 36px; }

  .eyebrow { padding-top: 80px; }
  h1 { margin-top: 10px; }
  .intro { margin-top: 24px; }

  .storyboard { margin-top: 56px; }

  .section-head { margin-top: 56px; }
  .story-cols {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-top: 40px;
  }
  .full-story, .points { margin-top: 40px; }

  .contact { margin-top: 80px; padding-bottom: 60px; }
  .contact .gif-frame { width: 239px; height: 239px; }
  .contact .cta {
    position: static;
    transform: none;
    display: block;
    width: auto;
    margin-top: 14px;
    font-size: 18px;
    line-height: 29px;
    letter-spacing: 0.72px;
  }
  .footer-logo { margin-top: 56px; width: 272px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  body { animation: none; background: var(--lilac); }
  .eyebrow, h1, .intro, .storyboard, .storyboard-caption { animation: none; opacity: 1; }
  .contact .cta, .close { transition: none; }
  html.js-motion .reveal { transition: none; }
  html.js-motion .reveal-blur { opacity: 1; filter: none; }
}

/* ---------- Cookie notice ---------- */

@keyframes notice-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 18px 51px;
  background: var(--blue);
  color: var(--lilac);
  animation: notice-in 400ms ease both;
}
.cookie-notice p {
  flex: 1 1 auto;
  font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
}
.cookie-actions { flex: 0 0 auto; display: flex; gap: 10px; }
.cookie-actions button {
  font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border: 2px solid var(--lilac);
  background: transparent;
  color: var(--lilac);
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}
.cookie-actions button:hover { background: var(--lilac); color: var(--blue); }
@media (max-width: 767px) {
  .cookie-notice { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-notice { animation: none; }
  .cookie-actions button { transition: none; }
}

/* ---------- Next project ---------- */

.next-project {
  margin-top: 128px;
  text-align: center;
}
.next-project .next-label {
  font-family: 'Nimbus Sans L', Helvetica, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
}
.next-project a {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Garton', Georgia, serif;
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 69px);
  line-height: 1.03;
  text-transform: uppercase;
  color: var(--red);
  transition: color 400ms ease;
}
.next-project a:hover { color: var(--blue); }
@media (max-width: 767px) {
  .next-project { margin-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .next-project a { transition: none; }
}
