:root {
  --ink: #0b0b0c;
  --white: #ffffff;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg, #5fb76b);
  color: var(--white);
  font-family: var(--body);
  line-height: 1.5;
  transition: background-color .7s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .85; margin-bottom: 10px; }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 96px); line-height: .95; margin-bottom: 20px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  transition: background-color .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(0,0,0,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; }
.brand-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 15px; letter-spacing: 0; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { opacity: .92; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .2s; }
.pill:hover { transform: translateY(-2px); }
.pill-light { background: var(--white); color: var(--ink); }
.pill i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; margin-right: -10px; }
.menu-btn { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; }
.menu-btn span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s; }

/* ---------- Photo slots (placeholder until a photo is added) ---------- */
.photo-slot { position: relative; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot.missing img { display: none; }
.photo-slot.missing {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.55) 0 15%, transparent 15.5%),
    radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.4) 0 40%, transparent 40.5%),
    rgba(255,255,255,.12);
  border: 2px dashed rgba(255,255,255,.55);
  border-radius: 24px;
}
.photo-slot.missing::after {
  content: "Add photo: " attr(data-label);
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  background: rgba(0,0,0,.55); padding: 8px 10px; border-radius: 10px; text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 76px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.giant {
  font-family: var(--display); font-weight: 400; text-align: center;
  font-size: clamp(64px, 19.5vw, 340px); line-height: .86; letter-spacing: -.01em;
  white-space: nowrap; user-select: none;
}
.hero .giant { position: relative; z-index: 1; margin-top: 1vh; font-size: min(19.5vw, 30svh, 340px); }
.hero-photo {
  position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%);
  height: min(86svh, 920px); aspect-ratio: 3 / 4; max-width: 92vw;
}
.hero-photo img { object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(0,0,0,.25)); }
.hero-photo.missing { height: min(66svh, 640px); border-bottom: 0; border-radius: 24px 24px 0 0; }
.hero-bottom { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hero-tag { font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); line-height: 1.02; text-shadow: 0 2px 20px rgba(0,0,0,.15); }
.hero-arrows { display: flex; gap: 12px; margin-top: 22px; }
.circle { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white); display: grid; place-items: center; font-size: 20px; transition: background .2s, color .2s; }
.circle:hover { background: var(--white); color: var(--ink); }
.hero-cta { font-family: var(--display); font-size: clamp(30px, 4vw, 54px); line-height: 1; display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.hero-cta span { font-family: var(--body); font-size: .6em; transition: transform .25s; }
.hero-cta:hover span { transform: translateX(8px); }

/* ---------- Stats + marquee ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: 28px var(--gutter); border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35);
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; }
.stat span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.marquee { overflow: hidden; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.35); }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-size: 13px; font-weight: 700; letter-spacing: .16em; padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; }
.marquee-track span::after { content: "✦"; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { position: relative; height: 500vh; }
.services-sticky {
  position: sticky; top: 0; height: 100svh; padding: 90px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; column-gap: 40px;
}
.service-list { list-style: none; grid-column: 1; align-self: end; }
.service-list li {
  font-family: var(--display); font-size: clamp(34px, min(4.6vw, 8.5svh), 72px); line-height: 1.02;
  opacity: .38; transition: opacity .35s, transform .35s; cursor: pointer; transform-origin: left;
}
.service-list li.active { opacity: 1; transform: scale(1.03); }
.service-list .arrow { font-family: var(--body); font-size: .45em; vertical-align: middle; }
.service-desc { grid-column: 1; align-self: start; max-width: 460px; margin-top: 26px; font-size: 16px; min-height: 4.5em; }
.service-photos { grid-column: 2; grid-row: 1 / span 2; position: relative; height: min(72svh, 680px); aspect-ratio: 4 / 5; max-width: 100%; justify-self: end; align-self: center; }
.service-photos .photo-slot {
  position: absolute; inset: 0; border-radius: 28px; overflow: hidden;
  opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .5s, transform .5s;
}
.service-photos .photo-slot.active { opacity: 1; transform: none; }
.service-steps { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, 1fr); pointer-events: none; }

/* ---------- Statement ---------- */
.statement { padding: 120px var(--gutter) 0; }
.big-line { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 72px); line-height: 1.02; max-width: 1150px; margin-bottom: 100px; }
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.4); margin: 0 calc(var(--gutter) * -1); }
.split-cell { padding: 40px var(--gutter); }
.split-cell + .split-cell { border-left: 1px solid rgba(255,255,255,.4); }
.split-cell.row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.split-cell h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.05; margin-bottom: 12px; }
.split-cell p { max-width: 380px; margin-bottom: 22px; }
.play { flex: none; width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--white); display: grid; place-items: center; font-size: 22px; transition: background .2s, color .2s; }
.play:hover { background: var(--white); color: var(--ink); }

/* ---------- Process ---------- */
.process { padding: 120px var(--gutter); border-top: 1px solid rgba(255,255,255,.4); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.step { background: var(--white); color: var(--ink); border-radius: 26px; padding: 28px; min-height: 280px; display: flex; flex-direction: column; }
.step span { font-family: var(--display); font-size: 64px; line-height: 1; margin-bottom: auto; }
.step h4 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 30px 0 10px; }
.step p { font-size: 15px; color: #3a3a3d; }

/* ---------- Results ---------- */
.results { padding: 120px var(--gutter) 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.results-copy p { max-width: 440px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span { border: 1.5px solid rgba(255,255,255,.75); border-radius: 999px; padding: 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.board { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.board li {
  display: flex; align-items: center; gap: 18px; background: var(--ink); color: var(--white);
  border-radius: 18px; padding: 18px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transform: rotate(var(--r, 0deg)); transition: transform .3s;
}
.board li:nth-child(1) { background: var(--white); color: var(--ink); --r: -1.5deg; }
.board li:nth-child(2) { --r: 1deg; } .board li:nth-child(3) { --r: -.8deg; } .board li:nth-child(4) { --r: 1.4deg; } .board li:nth-child(5) { --r: -1deg; }
.board li:hover { transform: rotate(0) scale(1.02); }
.board b { font-family: var(--display); font-weight: 400; font-size: 26px; width: 24px; }
.board div { flex: 1; display: flex; flex-direction: column; }
.board strong { font-style: italic; font-size: 15px; }
.board em { font-size: 12px; opacity: .7; }
.board span { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); white-space: nowrap; }
.fine { grid-column: 2; font-size: 12px; opacity: .8; margin-top: -40px; text-align: center; }

/* ---------- About ---------- */
.about { padding: 60px var(--gutter) 140px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden; rotate: -2deg; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.about-copy p:not(.eyebrow) { font-size: 17px; max-width: 560px; margin-bottom: 16px; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 100svh; padding: 100px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); }
.giant.ghost { color: rgba(255,255,255,.14); position: relative; z-index: 1; margin-top: 8vh; font-size: clamp(60px, 17vw, 300px); }
.cta-photo { position: absolute; z-index: 2; left: 50%; bottom: 0; transform: translateX(-50%); height: min(80svh, 860px); aspect-ratio: 3 / 4; max-width: 92vw; }
.cta-photo img { position: relative; object-fit: contain; object-position: bottom; }
.cta-photo:not(.missing)::before {
  content: ""; position: absolute; inset: 15% -25% -5%;
  background: radial-gradient(ellipse at 50% 70%, rgba(60, 80, 255, .45), rgba(60, 80, 255, .12) 40%, transparent 68%);
  filter: blur(10px); pointer-events: none;
}
.cta-photo.missing { height: min(60svh, 560px); border-radius: 24px 24px 0 0; }
.cta-bottom { position: relative; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cta-left h3 { font-size: 18px; font-weight: 700; letter-spacing: .04em; margin-bottom: 8px; }
.cta-left p { max-width: 320px; font-size: 14px; opacity: .85; margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { padding: 70px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-line { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); line-height: 1.05; max-width: 480px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h5 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .55; margin-bottom: 12px; }
.footer-cols a { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.copy { font-size: 12px; opacity: .55; margin-top: 50px; }
.footer-giant { font-family: var(--display); font-size: clamp(48px, 13.4vw, 240px); line-height: .8; white-space: nowrap; text-align: center; color: rgba(255,255,255,.08); margin-top: 20px; transform: translateY(12%); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: 22px;
    font-family: var(--display); font-size: 44px; opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-cta { display: none; }
  .menu-btn { display: flex; position: relative; z-index: 60; }
  .menu-btn.open span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn.open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero .giant { margin-top: 17svh; font-size: 23vw; }
  .hero-photo { height: 64svh; }
  .hero-photo.missing { height: 46svh; width: 70vw; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-arrows { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }

  .services { height: 450svh; }
  .services-sticky {
    display: flex; flex-direction: column; gap: 12px;
    padding: 76px var(--gutter) 20px; justify-content: center;
  }
  .service-list { align-self: stretch; }
  .service-list li { font-size: clamp(24px, min(8.5vw, 5svh), 48px); }
  .service-desc { align-self: stretch; margin-top: 0; font-size: 14px; min-height: 4.5em; }
  .service-photos {
    flex: none; align-self: center; margin-top: 0;
    height: min(48svh, calc((100vw - 2 * var(--gutter)) * 1.25)); max-width: none;
  }
  .service-steps { display: none; }

  .split { grid-template-columns: 1fr; }
  .split-cell + .split-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.4); }
  .steps { grid-template-columns: 1fr 1fr; }
  .results, .about { grid-template-columns: 1fr; gap: 36px; }
  .fine { grid-column: 1; margin-top: -20px; }
  .cta-photo { height: 58svh; }
  .giant.ghost { margin-top: 24svh; font-size: 21vw; }
  .cta::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 45%; z-index: 2; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(11, 11, 12, .92) 60%);
  }
  .cta-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h4 { margin-top: 16px; }
  .split-cell.row { flex-direction: column; align-items: flex-start; }
  .footer-cols { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
