@import url("https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --next-ink: #171817;
  --next-coal: #4b5159;
  --next-red: #c93a25;
  --next-cream: #f4efe5;
  --next-yellow: #f6c523;
  --next-green: #5f956d;
  --next-pink: #d9a5c4;
  --next-line: rgba(23, 24, 23, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--next-ink); }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--next-cream);
  color: var(--next-ink);
  font-family: Inter, Arial, sans-serif;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.next-grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.next-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 80;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: center;
  gap: 12px;
  width: min(1180px, calc(100% - 28px));
  min-height: 64px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  background: rgba(23,24,23,.83);
  color: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 200ms ease, transform 200ms ease;
}
.next-header.is-scrolled { background: rgba(23,24,23,.96); transform: translate(-50%, -3px); }
.next-header__makerz { display: flex; align-items: center; gap: 8px; }
.next-header__makerz img:first-child { width: 27px; }
.next-header__makerz img:last-child { width: 98px; }
.next-header__x { color: rgba(255,255,255,.4); font-size: 20px; }
.next-header__client {
  display: grid;
  place-items: center;
  width: 104px;
  height: 42px;
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}
.next-header__client img { width: 100%; height: 100%; object-fit: contain; }
.next-header nav { display: flex; justify-content: flex-end; gap: 24px; }
.next-header nav a { color: rgba(255,255,255,.72); font: 700 .7rem/1 "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.next-header nav a:hover { color: var(--next-yellow); }

.next-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: 50px;
  min-height: 100svh;
  padding: 128px max(28px, calc((100% - 1240px) / 2)) 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(246,197,35,.28), transparent 25%),
    linear-gradient(120deg, #f7f0e4 0 58%, #d8a4c3 58%);
}
.next-hero::before {
  content: "NEXT";
  position: absolute;
  left: -2vw;
  bottom: -8vw;
  color: rgba(23,24,23,.035);
  font: 400 clamp(210px, 31vw, 520px)/.7 Anton, sans-serif;
  pointer-events: none;
}
.next-kicker, .next-section-head p, .next-summer__copy > p, .next-lemon__copy > p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font: 800 .68rem/1 "Space Grotesk", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.next-kicker span { width: 30px; height: 2px; background: var(--next-red); }
.next-hero h1, .next-section-head h2, .next-summer h2, .next-lemon h2, .next-outro h2 {
  margin: 0;
  font: 400 clamp(80px, 10vw, 154px)/.8 Anton, Impact, sans-serif;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.next-hero h1 em, .next-summer h2 em { color: var(--next-red); font-style: normal; }
.next-hero__lede { max-width: 560px; margin: 34px 0; color: rgba(23,24,23,.68); font: 600 clamp(16px,1.4vw,21px)/1.55 "Space Grotesk", sans-serif; }
.next-pill {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  padding: 0 10px 0 20px;
  border: 1px solid var(--next-ink);
  border-radius: 999px;
  font: 800 .72rem/1 "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.next-pill i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--next-ink); color: #fff; font-style: normal; }
.next-hero__visual { position: relative; min-height: min(72vw, 770px); }
.next-hero__sun { position: absolute; top: 3%; right: 0; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--next-yellow); filter: blur(.2px); }
.next-hero__card { position: absolute; margin: 0; overflow: hidden; border: 8px solid #fff; box-shadow: 0 35px 100px rgba(23,24,23,.28); }
.next-hero__card img { width: 100%; height: 100%; object-fit: cover; }
.next-hero__card--main { inset: 5% 18% 0 4%; transform: rotate(-4deg); }
.next-hero__card--mini { right: -2%; bottom: 3%; width: 38%; aspect-ratio: 3/4; transform: rotate(7deg); }
.next-hero__seal { position: absolute; right: 1%; top: 16%; display: flex; align-items: center; gap: 10px; width: 132px; height: 132px; padding: 16px; border-radius: 50%; background: var(--next-red); color: #fff; transform: rotate(8deg); }
.next-hero__seal b { font: 400 46px/1 Anton; }
.next-hero__seal span { font: 800 .6rem/1.3 "Space Grotesk"; text-transform: uppercase; }

.next-marquee { overflow: hidden; background: var(--next-red); color: #fff; transform: rotate(-1deg) scale(1.02); }
.next-marquee div { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: next-marquee 25s linear infinite; }
.next-marquee span { font: 700 .75rem/1 "Space Grotesk"; letter-spacing: .14em; }
.next-marquee i { color: var(--next-yellow); font-style: normal; }
@keyframes next-marquee { to { transform: translateX(-50%); } }

.next-overview, .next-posts, .next-summer, .next-founding, .next-lemon, .next-motion {
  padding: clamp(90px, 10vw, 150px) max(24px, calc((100% - 1240px) / 2));
}
.next-section-head { display: grid; grid-template-columns: 220px 1fr; align-items: start; margin-bottom: 62px; }
.next-section-head p { color: var(--next-red); }
.next-section-head h2 { font-size: clamp(62px, 8vw, 118px); }
.next-section-head--light { color: #fff; }
.next-overview { background: var(--next-cream); }
.next-overview__grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--next-line); border-left: 1px solid var(--next-line); }
.next-overview__grid article { min-height: 230px; padding: 26px; border-right: 1px solid var(--next-line); border-bottom: 1px solid var(--next-line); }
.next-overview__grid b { display: block; color: var(--next-red); font: 400 clamp(58px,7vw,96px)/1 Anton; }
.next-overview__grid span { color: rgba(23,24,23,.62); font: 700 .8rem/1.45 "Space Grotesk"; text-transform: uppercase; letter-spacing: .06em; }

.next-posts { background: var(--next-ink); }
.next-posts__layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(300px,.6fr); gap: 28px; align-items: start; }
.next-board { margin: 0; padding: 14px; border: 1px solid rgba(255,255,255,.14); background: #fff; }
.next-board img { width: 100%; }
.next-board figcaption { display: flex; justify-content: space-between; padding: 15px 4px 2px; color: #1a1a1a; font: 800 .65rem/1 "Space Grotesk"; text-transform: uppercase; letter-spacing: .08em; }
.next-posts__note { position: sticky; top: 104px; padding: 38px; background: var(--next-red); color: #fff; }
.next-posts__note > span { font: 800 .62rem/1 "Space Grotesk"; letter-spacing: .12em; }
.next-posts__note h3 { margin: 30px 0; font: 400 clamp(48px,5vw,80px)/.86 Anton; text-transform: uppercase; }
.next-posts__note p { color: rgba(255,255,255,.75); font: 500 1rem/1.6 "Space Grotesk"; }
.next-posts__note div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.next-posts__note i { padding: 8px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font: 700 .58rem/1 "Space Grotesk"; font-style: normal; }

.next-summer { overflow: hidden; background: #d9a5c4; }
.next-summer__copy { display: grid; grid-template-columns: 190px 1fr auto; align-items: end; gap: 20px; margin-bottom: 58px; }
.next-summer h2 { font-size: clamp(64px,9vw,130px); }
.next-summer__copy > span { font: 800 .62rem/1.3 "Space Grotesk"; text-transform: uppercase; letter-spacing: .09em; }
.next-story-rail { display: grid; grid-template-columns: repeat(5,minmax(230px,1fr)); gap: 18px; }
.next-story-rail figure { position: relative; margin: 0; overflow: hidden; border: 7px solid #fff; background: #fff; box-shadow: 0 24px 55px rgba(87,37,70,.2); transition: transform 260ms ease; }
.next-story-rail figure:nth-child(even) { transform: translateY(34px) rotate(1.5deg); }
.next-story-rail figure:nth-child(odd) { transform: rotate(-1.2deg); }
.next-story-rail figure:hover { z-index: 2; transform: translateY(-8px) rotate(0); }
.next-story-rail img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.next-story-rail b { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--next-red); color: #fff; font: 700 .7rem/1 "Space Grotesk"; }

.next-founding { background: var(--next-coal); color: #fff; }
.next-founding__grid { display: grid; grid-template-columns: 1.35fr .45fr; gap: 22px; }
.next-founding figure { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); }
.next-founding figure img { width: 100%; height: 100%; object-fit: cover; }
.next-founding__wide { grid-row: span 1; }
.next-founding__wide figcaption { padding: 12px; font: 700 .6rem/1 "Space Grotesk"; letter-spacing: .1em; text-transform: uppercase; }
.next-founding__story { grid-row: span 2; }
.next-founding__type { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; background: var(--next-red); }
.next-founding__type span { font: 400 clamp(68px,9vw,138px)/.8 Anton; }
.next-founding__type b { font: 800 .78rem/1.4 "Space Grotesk"; text-transform: uppercase; letter-spacing: .08em; }

.next-lemon { display: grid; grid-template-columns: .5fr 1.5fr; gap: 44px; background: var(--next-yellow); }
.next-lemon__copy { position: sticky; top: 110px; align-self: start; }
.next-lemon h2 { font-size: clamp(76px,9vw,132px); }
.next-lemon__swatches { display: flex; gap: 12px; margin-top: 38px; }
.next-lemon__swatches i { width: 48px; height: 48px; border: 5px solid #fff; border-radius: 50%; background: var(--next-yellow); }
.next-lemon__swatches i:nth-child(2) { background: var(--next-green); }
.next-lemon__swatches i:nth-child(3) { background: var(--next-red); }
.next-lemon__gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.next-lemon__gallery figure { margin: 0; overflow: hidden; border: 8px solid #fff; background: #fff; }
.next-lemon__gallery img { width: 100%; height: 100%; object-fit: cover; }
.next-lemon__feature { grid-row: span 2; }

.next-motion { background: var(--next-cream); }
.next-reels { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.next-reel { position: relative; aspect-ratio: 9/16; overflow: hidden; border-radius: 22px; background: #080808; box-shadow: 0 24px 60px rgba(23,24,23,.2); }
.next-reel video { width: 100%; height: 100%; object-fit: cover; }
.next-reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 48%,rgba(0,0,0,.9)); pointer-events: none; }
.next-reel__meta { position: absolute; right: 18px; bottom: 24px; left: 18px; color: #fff; pointer-events: none; }
.next-reel__meta span { display: block; color: var(--next-yellow); font: 400 42px/1 Anton; }
.next-reel__meta b { display: block; font: 400 clamp(32px,3vw,50px)/.9 Anton; text-transform: uppercase; }
.next-reel__meta small { font: 700 .55rem/1 "Space Grotesk"; letter-spacing: .12em; text-transform: uppercase; }
[data-next-sound] { position: absolute; right: 16px; top: 16px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px 6px 7px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font: 800 .6rem/1 "Space Grotesk"; text-transform: uppercase; backdrop-filter: blur(10px); cursor: pointer; }
[data-next-sound] i { position: relative; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: var(--next-yellow); }
[data-next-sound] i::before { content: ""; width: 12px; height: 12px; background: #111; clip-path: polygon(0 35%,35% 35%,72% 0,72% 100%,35% 65%,0 65%); }
[data-next-sound] i::after { content: ""; position: absolute; right: 4px; width: 5px; height: 9px; border-right: 1.5px solid #111; border-radius: 0 50% 50% 0; opacity: 0; }
[data-next-sound].is-on { border-color: var(--next-yellow); color: var(--next-yellow); }
[data-next-sound].is-on i::after { opacity: 1; }

.next-outro { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: clamp(90px,11vw,170px) max(24px,calc((100% - 1240px)/2)); background: var(--next-red); color: #fff; }
.next-outro span { font: 800 .7rem/1 "Space Grotesk"; letter-spacing: .13em; }
.next-outro h2 { margin-top: 18px; font-size: clamp(78px,10vw,150px); }
.next-outro > a { display: inline-flex; align-items: center; gap: 26px; min-height: 60px; padding: 0 11px 0 22px; border: 1px solid #fff; border-radius: 999px; font: 800 .72rem/1 "Space Grotesk"; text-transform: uppercase; }
.next-outro > a i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--next-red); font-style: normal; }
.next-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 26px; min-height: 120px; padding: 30px max(24px,calc((100% - 1240px)/2)); background: var(--next-ink); color: #fff; }
.next-footer img { width: 120px; }
.next-footer p, .next-footer > a { color: rgba(255,255,255,.6); font: 600 .7rem/1.4 "Space Grotesk"; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .next-header { grid-template-columns: auto auto auto; }
  .next-header nav { display: none; }
  .next-hero { grid-template-columns: 1fr; }
  .next-hero__visual { min-height: 720px; }
  .next-section-head { grid-template-columns: 1fr; }
  .next-overview__grid { grid-template-columns: repeat(2,1fr); }
  .next-posts__layout, .next-lemon { grid-template-columns: 1fr; }
  .next-posts__note, .next-lemon__copy { position: static; }
  .next-story-rail { overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 48px; }
  .next-story-rail figure { width: 260px; scroll-snap-align: center; }
}

@media (max-width: 767px) {
  .next-header { top: 8px; width: calc(100% - 16px); min-height: 58px; padding: 8px 10px; border-radius: 13px; }
  .next-header__makerz img:first-child { width: 23px; }
  .next-header__makerz img:last-child { width: 82px; }
  .next-header__client { width: 88px; height: 38px; }
  .next-hero { grid-template-columns: 1fr; gap: 20px; min-height: auto; padding: 112px 18px 60px; }
  .next-hero h1 { font-size: clamp(76px,24vw,104px); }
  .next-hero__visual { min-height: 570px; }
  .next-hero__card--main { right: 14%; }
  .next-hero__card--mini { right: 0; width: 42%; }
  .next-hero__seal { top: 9%; width: 104px; height: 104px; }
  .next-overview, .next-posts, .next-summer, .next-founding, .next-lemon, .next-motion { padding: 82px 18px; }
  .next-section-head { margin-bottom: 38px; }
  .next-section-head h2, .next-summer h2, .next-lemon h2 { font-size: clamp(58px,19vw,84px); }
  .next-overview__grid { grid-template-columns: 1fr 1fr; }
  .next-overview__grid article { min-height: 170px; padding: 18px; }
  .next-posts__note { padding: 28px; }
  .next-summer__copy { grid-template-columns: 1fr; }
  .next-story-rail { margin-right: -18px; }
  .next-story-rail figure { min-width: 250px; }
  .next-founding__grid { grid-template-columns: 1fr; }
  .next-founding__story { max-height: 620px; }
  .next-lemon__gallery { gap: 10px; }
  .next-lemon__gallery figure { border-width: 5px; }
  .next-reels {
    display: block;
    width: calc(100% + 36px);
    height: 100svh;
    margin-left: -18px;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    overscroll-behavior-y: contain;
  }
  .next-reels::-webkit-scrollbar { display: none; }
  .next-reel { width: 100%; height: 100svh; min-height: 100svh; aspect-ratio: auto; border-radius: 0; scroll-snap-align: start; scroll-snap-stop: always; }
  .next-reel__meta { bottom: 72px; }
  [data-next-sound] { top: auto; right: 16px; bottom: 24px; }
  .next-outro { display: block; padding: 92px 18px; }
  .next-outro h2 { font-size: clamp(76px,24vw,108px); }
  .next-outro > a { margin-top: 42px; }
  .next-footer { grid-template-columns: 1fr auto; padding: 28px 18px; }
  .next-footer p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
