/* =========================================================
   Filthy Baguette - landing page
   Direction: premium dark "artisan" (espresso + wheat/brown),
   per-product accent colors, cinematic motion, baked-paper grain.
   ========================================================= */

:root {
  /* Brand core (sampled from the logos) */
  --wheat: #F5DEB3;
  --brown: #8B4513;
  --brown-soft: #b5651d;
  --gold: #e0a93e;

  /* Espresso surfaces */
  --bg: #14100b;
  --bg-2: #1b150e;
  --surface: #221a11;
  --surface-2: #2b2015;
  --ink: #0d0a07;

  /* Text */
  --cream: #f7ead0;
  --text: #e7d6b6;
  --text-dim: #b89b6f;
  --text-faint: #876f4e;

  /* Lines */
  --line: rgba(245, 222, 179, 0.10);
  --line-2: rgba(245, 222, 179, 0.16);

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* Shape */
  --r: 20px;
  --r-sm: 12px;
  --maxw: 1240px;

  --shadow: 0 2px 6px rgba(0,0,0,.45), 0 20px 50px -16px rgba(0,0,0,.7);
  --shadow-lg: 0 4px 10px rgba(0,0,0,.5), 0 40px 90px -24px rgba(0,0,0,.8);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: auto;
}

/* a soft warm vignette + top wash baked into the page */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(139,69,19,.28), transparent 60%),
    radial-gradient(900px 600px at 5% 8%, rgba(224,169,62,.10), transparent 55%),
    radial-gradient(1000px 1000px at 50% 120%, rgba(139,69,19,.16), transparent 60%);
  pointer-events: none; z-index: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translateX(-50%) translateY(-150%);
  z-index: 200; background: var(--wheat); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .85rem;
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ---------- grain + overlays ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120;
  background: transparent; pointer-events: none;
}
.scroll-bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--brown-soft), var(--gold), var(--wheat));
  box-shadow: 0 0 12px rgba(224,169,62,.6);
}

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); display: inline-flex; align-items: center; gap: .6em;
  font-weight: 500;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none;
  box-shadow: 0 0 0 4px rgba(224,169,62,.16); animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse { 0%,100%{box-shadow:0 0 0 4px rgba(224,169,62,.16)} 50%{box-shadow:0 0 0 7px rgba(224,169,62,.04)} }

.section-title {
  font-family: var(--font-display);
  font-weight: 600; line-height: 1.04; letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  color: var(--cream);
  font-optical-sizing: auto;
}
.section-head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-sub {
  margin-top: 1.1rem; color: var(--text-dim); font-size: 1.06rem; line-height: 1.65;
  max-width: 56ch; margin-left: auto; margin-right: auto;
}

section { position: relative; z-index: 2; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: .85rem; --pad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  position: relative; transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
  will-change: transform;
}
.btn--small { --pad-y: .6rem; --pad-x: 1.1rem; font-size: .85rem; }
.btn--primary {
  background: var(--wheat); color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 30px -8px rgba(245,222,179,.4);
}
.btn--ghost { color: var(--cream); border: 1px solid var(--line-2); background: rgba(245,222,179,.02); }
.btn--tube {
  color: var(--cream); border: 1px solid var(--line-2);
  background: rgba(20,16,11,.78);
}
/* hover only on real hover devices, so a tap on touch navigates on the first try */
@media (hover: hover) {
  .btn--primary:hover { background: #fff0d2; box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 16px 40px -10px rgba(245,222,179,.55); }
  .btn--ghost:hover { border-color: rgba(245,222,179,.4); background: rgba(245,222,179,.06); }
  .btn--tube:hover { border-color: rgba(245,222,179,.4); background: rgba(20,16,11,.92); }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(20,16,11,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: .85rem clamp(1rem, 4vw, 2.2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__logo {
  display: block; width: 108px; height: 44px;
  background: var(--wheat);
  -webkit-mask: url(../assets/brand/fb-wordmark.png) left center/contain no-repeat;
  mask: url(../assets/brand/fb-wordmark.png) left center/contain no-repeat;
  transition: transform .3s var(--ease);
}
.nav__brand:hover .nav__logo { transform: rotate(-3deg) scale(1.04); }

.lang {
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: .35em; color: var(--text-faint);
  padding: .35rem .2rem;
}
.lang__opt { transition: color .2s; padding: .1rem .15rem; }
.lang__opt.is-active { color: var(--cream); }
.lang__sep { opacity: .4; }
.lang:hover .lang__opt:not(.is-active) { color: var(--text-dim); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7rem clamp(1rem, 4vw, 2.2rem) 4rem; overflow: hidden;
}
/* fade the hero's warm glow + particles into the page background so there is
   no hard seam with the section below */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--bg) 94%);
  pointer-events: none;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__beam {
  position: absolute; top: -30%; left: 50%; width: 60vw; height: 130%; z-index: 0;
  transform: translateX(-50%) rotate(8deg);
  background: linear-gradient(180deg, rgba(245,222,179,.10), rgba(224,169,62,.04) 40%, transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero__mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .9;
  background:
    radial-gradient(50% 50% at 18% 30%, rgba(139,69,19,.5), transparent 60%),
    radial-gradient(45% 45% at 85% 25%, rgba(224,169,62,.18), transparent 60%),
    radial-gradient(60% 60% at 70% 90%, rgba(139,69,19,.4), transparent 60%);
  animation: meshDrift 22s var(--ease-soft) infinite alternate;
}
@keyframes meshDrift {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(0,-3%,0) scale(1.08); }
}

.hero__inner { position: relative; z-index: 3; max-width: 940px; margin: 0 auto; text-align: center; }
.hero .eyebrow { margin-bottom: 1.5rem; }

.hero__brand {
  width: min(700px, 88vw); aspect-ratio: 874 / 356; margin: 0 auto;
  background: linear-gradient(118deg, var(--cream), var(--wheat) 46%, var(--gold));
  -webkit-mask: url(../assets/brand/fb-wordmark.png) center/contain no-repeat;
  mask: url(../assets/brand/fb-wordmark.png) center/contain no-repeat;
  filter: drop-shadow(0 16px 54px rgba(224,169,62,0.22));
}

.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1.12; letter-spacing: -0.01em;
  color: var(--cream); font-optical-sizing: auto; margin-top: 1.3rem;
}
.hero__title span { display: block; }
.hero__title-soft {
  color: transparent;
  background: linear-gradient(100deg, var(--wheat), var(--gold) 55%, var(--brown-soft));
  -webkit-background-clip: text; background-clip: text;
  font-style: italic; font-weight: 500;
}
.hero__lede {
  margin: 1.8rem auto 0; max-width: 60ch; font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--text-dim); line-height: 1.62;
}
.hero__cta { margin-top: 2.4rem; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

.hero__hosts {
  margin-top: 3rem; display: flex; align-items: center; justify-content: center;
  gap: .9rem; flex-wrap: wrap;
}
.host-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; padding: 0; border: 0; background: none; cursor: pointer;
  transition: transform .25s var(--ease), filter .25s;
  filter: drop-shadow(0 0 5px rgba(245,238,225,.16)) drop-shadow(0 4px 8px rgba(0,0,0,.45));
}
.host-badge img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (hover: hover) { .host-badge:hover { transform: translateY(-3px) scale(1.08); filter: drop-shadow(0 0 7px rgba(245,238,225,.28)) drop-shadow(0 6px 12px rgba(0,0,0,.5)); } }

.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-faint);
}
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--cream); animation: scrollDot 2.2s var(--ease-soft) infinite;
}
@keyframes scrollDot { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(260%)} }

/* =========================================================
   WATCH (YouTube trailers)
   ========================================================= */
@property --watch-glow {
  syntax: "<color>"; inherits: true; initial-value: rgba(224,169,62,.0);
}
.watch {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.2rem); max-width: var(--maxw); margin: 0 auto;
  position: relative; isolation: isolate; overflow: clip; --watch-glow: rgba(224,169,62,0);
  transition: --watch-glow 1.1s var(--ease);
}
/* ambient halo tinted by the centered trailer thumbnail */
.watch::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1200px, 100%); aspect-ratio: 16 / 7; border-radius: 50%;
  background: radial-gradient(ellipse at center, var(--watch-glow), transparent 70%);
  filter: blur(60px); opacity: .9;
}
.carousel { position: relative; display: flex; align-items: center; gap: .8rem; }
.carousel__track {
  flex: 1; min-width: 0; display: flex; gap: clamp(1rem, 2vw, 1.4rem); overflow-x: auto;
  scroll-snap-type: x proximity; padding: 8px 2px; scrollbar-width: none;
  --edge: clamp(1.5rem, 5vw, 4rem);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
          mask-image: linear-gradient(to right, transparent, #000 var(--edge), #000 calc(100% - var(--edge)), transparent);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__btn {
  flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(245,222,179,.04); color: var(--cream);
  transition: background-color .25s, border-color .25s, transform .2s var(--ease), opacity .2s;
}
.carousel__btn:hover { background: var(--wheat); color: var(--ink); border-color: var(--wheat); transform: scale(1.06); }
.carousel__btn:disabled { opacity: .28; pointer-events: none; }
.video {
  position: relative; flex: 0 0 min(560px, 80%); scroll-snap-align: center; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--ink); cursor: pointer;
  box-shadow: var(--shadow); transition: border-color .35s, box-shadow .35s;
}
.video::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(13,10,7,.72));
}
@media (hover: hover) {
  .video:hover {
    border-color: color-mix(in srgb, var(--accent) 50%, var(--line-2));
    box-shadow: var(--shadow-lg), 0 30px 80px -30px color-mix(in srgb, var(--accent) 55%, transparent);
  }
  .video:hover .video__thumb { transform: scale(1.05); opacity: .82; }
}
.video__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(20,16,11,.55); backdrop-filter: blur(6px); border: 1px solid rgba(245,222,179,.5);
  color: var(--cream); box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.video:hover .video__play { transform: translate(-50%, -50%) scale(1.08); background: var(--wheat); color: var(--ink); }
.video__play svg { margin-left: 4px; }
.video__meta { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 2; display: flex; align-items: center; gap: .7rem; }
.video__name { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--cream); text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.video__tag { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); background: var(--accent); padding: .26rem .55rem; border-radius: 999px; font-weight: 600; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; border-radius: var(--r); }
.video.is-playing .video__play, .video.is-playing .video__meta, .video.is-playing::after { display: none; }
.watch__cta { margin-top: 2.6rem; display: flex; align-items: center; justify-content: center; gap: 1.3rem; flex-wrap: wrap; }
.watch__handle { font-family: var(--font-mono); font-size: .85rem; color: var(--text-dim); letter-spacing: .03em; }

/* =========================================================
   TOOLS
   ========================================================= */
.tools { padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 2.2rem); max-width: var(--maxw); margin: 0 auto; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 3rem; }
.chip {
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .02em;
  padding: .5rem 1.05rem; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--text-dim); transition: color .25s, border-color .25s, background-color .25s, transform .2s var(--ease);
}
@media (hover: hover) { .chip:hover { color: var(--cream); border-color: rgba(245,222,179,.3); transform: translateY(-1px); } }
.chip.is-active { color: var(--ink); background: var(--wheat); border-color: var(--wheat); }

.grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 1.8vw, 1.6rem);
}

.grid-more { display: flex; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }
.grid-more[hidden] { display: none; }
.grid-more .btn { gap: .55rem; }
.grid-more__chevron { transition: transform .35s var(--ease); }
#toolsMore.is-open .grid-more__chevron { transform: rotate(180deg); }

/* card */
.product {
  grid-column: span 3; position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, opacity .4s, filter .4s;
  transform-style: preserve-3d; will-change: transform;
}
.product.is-featured { grid-column: span 6; }
.product::after { /* tilt glare */
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
  opacity: 0; transition: opacity .4s var(--ease); mix-blend-mode: screen;
}
@media (hover: hover) {
  .product:hover {
    border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2));
    box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent),
                0 30px 80px -30px color-mix(in srgb, var(--accent) 55%, transparent);
  }
  .product:hover::after { opacity: 1; }
}
.product:focus-visible { outline-offset: 4px; }

/* hide/filter */
.product.is-hidden { display: none; }

.product__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product:hover .product__media img { transform: scale(1.05); }
.product__media::before { /* top sheen */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(13,10,7,.55));
}

/* coming-soon teaser media (no functional art revealed) */
.product__media--soon {
  display: flex; align-items: center; justify-content: center; color: var(--accent);
  background:
    radial-gradient(120% 90% at 50% 32%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%),
    var(--ink);
}
.soon-glyph {
  width: 34%; max-width: 84px; height: auto; opacity: .92;
  filter: drop-shadow(0 0 22px color-mix(in srgb, var(--accent) 55%, transparent));
  transition: transform .5s var(--ease);
}
.product:hover .soon-glyph { transform: translateY(-4px); }

.product__status {
  position: absolute; top: .8rem; left: .8rem; z-index: 3;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .32rem .6rem; border-radius: 999px; font-weight: 500;
  backdrop-filter: blur(6px); border: 1px solid transparent;
}
.product__status[data-state="live"] { background: rgba(152,251,152,.14); color: #b8ffb8; border-color: rgba(152,251,152,.3); }
.product__status[data-state="soon"] { background: rgba(245,222,179,.1); color: var(--wheat); border-color: var(--line-2); }
.product__status[data-state="oven"] { background: rgba(224,169,62,.14); color: var(--gold); border-color: rgba(224,169,62,.3); }

.product__body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.product__top { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.product__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--cream); letter-spacing: -.01em; line-height: 1.1; }
.product.is-featured .product__name { font-size: 1.85rem; }
.product__host { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--text-faint); white-space: nowrap; }
.product__tag { font-size: .9rem; font-weight: 600; color: color-mix(in srgb, var(--accent) 60%, var(--cream)); }
.product__desc { font-size: .92rem; color: var(--text-dim); line-height: 1.55; }
.product__go {
  margin-top: auto; padding-top: .7rem; display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); transition: color .25s, gap .25s var(--ease);
}
.product:hover .product__go { color: color-mix(in srgb, var(--accent) 75%, var(--cream)); gap: .75em; }
.product__go svg { transition: transform .3s var(--ease); }
.product:hover .product__go svg { transform: translateX(3px); }

/* =========================================================
   STUDIO
   ========================================================= */
.studio { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2.2rem); max-width: var(--maxw); margin: 0 auto; }
.studio__inner {
  position: relative; overflow: hidden;
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(2rem, 4.5vw, 3.6rem);
  background: linear-gradient(155deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: 30px; box-shadow: var(--shadow-lg);
}
.studio__inner::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  top: -40%; left: -15%; width: 70%; height: 150%;
  background: radial-gradient(ellipse at center, rgba(224,169,62,.18), transparent 68%);
  filter: blur(34px);
}
.studio__copy { position: relative; z-index: 1; }
.studio__copy .section-title { text-align: left; }
.studio__text { margin-top: 1.4rem; color: var(--text-dim); font-size: 1.06rem; line-height: 1.75; }
.studio__art { position: relative; z-index: 1; aspect-ratio: 3 / 2; }
.studio__capsule {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
  transform: rotate(-2deg); transition: transform .5s var(--ease);
}
.studio__art:hover .studio__capsule { transform: rotate(0deg) scale(1.02); }
.studio__capsule img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   NEWSLETTER (left column of the footer)
   ========================================================= */
.newsletter__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: var(--cream); letter-spacing: -.02em; line-height: 1.1; }
.newsletter__sub { margin-top: .8rem; color: var(--text-dim); max-width: 42ch; }
.newsletter__form { margin-top: 1.6rem; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.newsletter__form input {
  flex: 1; min-width: 200px; max-width: 300px; padding: .9rem 1.2rem; border-radius: 999px;
  background: rgba(13,10,7,.6); border: 1px solid var(--line-2); color: var(--cream); outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.newsletter__form input::placeholder { color: var(--text-faint); }
.newsletter__form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224,169,62,.14); }
.newsletter__note { margin-top: .9rem; min-height: 1.2em; font-size: .9rem; color: var(--gold); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); margin-top: 2rem; padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.2rem) 2rem; position: relative; z-index: 2; }
.footer__top {
  max-width: 880px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer__cta {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding-right: clamp(2rem, 5vw, 4rem);
}
.footer__inner {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 1.2rem;
  padding-left: clamp(2rem, 5vw, 4rem); border-left: 1px solid var(--line);
}
.footer__brand { display: inline-block; transition: transform .3s var(--ease); }
.footer__brand:hover { transform: translateY(-2px); }
.footer__logo {
  display: block; width: 156px; height: 62px;
  background: var(--wheat);
  -webkit-mask: url(../assets/brand/fb-wordmark.png) center/contain no-repeat;
  mask: url(../assets/brand/fb-wordmark.png) center/contain no-repeat;
}
.footer__tag { color: var(--text-dim); font-size: 1.05rem; max-width: 40ch; font-style: italic; font-family: var(--font-display); margin-top: -.5rem; }
.footer__social { display: flex; gap: .7rem; justify-content: center; }
.social-link {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--text-dim);
  transition: color .25s, border-color .25s, background-color .25s, transform .2s var(--ease);
}
.social-link svg { width: 21px; height: 21px; display: block; }
@media (hover: hover) {
  .social-link:hover { color: var(--cream); background: rgba(245,222,179,.05); transform: translateY(-2px); }
  .social-link--yt:hover { color: #FF0000; border-color: rgba(255,0,0,.45); }
  .social-link--ig:hover { color: #E1306C; border-color: rgba(225,48,108,.45); }
  .social-link--mail:hover { color: var(--gold); border-color: rgba(224,169,62,.45); }
}
.footer__bottom {
  max-width: var(--maxw); margin: 2.8rem auto 0; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em;
}
.footer__copy { color: var(--text-faint); }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; }
.js .product { opacity: 0; }
.product.in { opacity: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .product { grid-column: span 4; }
  .product.is-featured { grid-column: span 6; }
}
@media (max-width: 860px) {
  .product { grid-column: span 6; }
  .product.is-featured { grid-column: span 6; }
  .studio__inner { grid-template-columns: 1fr; text-align: center; }
  .studio__copy .section-title { text-align: center; }
  .studio__art { width: min(360px, 80%); margin: 0 auto; order: -1; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; justify-items: center; text-align: center; }
  .footer__cta { max-width: 480px; padding-right: 0; }
  .footer__inner { border-left: none; padding-left: 0; }
}
@media (max-width: 640px) {
  /* only a couple of trailers: stack them as full cards instead of a
     confusing infinite swipe with clones peeking on both sides */
  .carousel { gap: 0; }
  .carousel__btn { display: none; }
  .carousel__track {
    flex-direction: column; overflow: visible; gap: 1rem; padding: 0;
    -webkit-mask-image: none; mask-image: none;
  }
  .carousel__track .video[aria-hidden="true"] { display: none; }
  .video { flex: 0 0 auto; width: 100%; scroll-snap-align: none; }
  .watch__cta { margin-top: 2rem; }
  .watch__cta .btn { --pad-y: 1.05rem; --pad-x: 1.9rem; font-size: 1.02rem; }
}
@media (max-width: 560px) {
  .product, .product.is-featured { grid-column: span 12; }

  /* hero */
  .hero { min-height: 90svh; padding-top: 6rem; padding-bottom: 3rem; }
  .hero__brand { width: min(560px, 80vw); }
  .hero__title { margin-top: 1rem; font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .hero__cta { margin-top: 1.8rem; }
  .hero__hosts { gap: .55rem; margin-top: 2.2rem; }
  .host-badge { width: 42px; height: 42px; }
  .hero__scroll { display: none; }

  /* section rhythm + headings */
  .section-title { font-size: clamp(1.6rem, 7.4vw, 2rem); }
  .section-head { margin-bottom: clamp(1.8rem, 6vw, 2.4rem); }
  .section-sub { font-size: .98rem; }
  .filters {
    margin-bottom: 1.8rem; gap: .45rem;
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    scrollbar-width: none; padding: 0 1rem 2px; margin-left: -1rem; margin-right: -1rem;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { font-size: .8rem; padding: .5rem .85rem; flex: none; }

  /* panels: lighter padding so they breathe on small screens */
  .studio__inner { padding: 1.5rem 1.25rem; gap: 1.8rem; }
  .studio__text { font-size: 1rem; }
  .faq { padding-left: 1rem; padding-right: 1rem; }
  .faq__item { padding: 0 1.15rem; }
  .faq__q { font-size: 1rem; padding: 1.05rem 0; }

  /* product cards: a touch more compact */
  .grid { gap: 1rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .js .reveal, .js .product { opacity: 1; transform: none; }
  .hero__mesh { animation: none; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 1.25rem; }
.faq__list { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; gap: .75rem; }
.faq__item {
  --accent: var(--gold);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 0 1.4rem;
  transition: border-color .25s var(--ease), box-shadow .3s var(--ease);
}
.faq__item:hover { border-color: color-mix(in srgb, var(--accent) 34%, var(--line-2)); }
.faq__item[open] {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent),
              0 16px 44px -24px color-mix(in srgb, var(--accent) 70%, transparent);
}
.faq__q {
  cursor: pointer; list-style: none; padding: 1.2rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line-2));
  color: var(--accent); font-weight: 400; font-size: 1.15rem; line-height: 1;
  transition: transform .25s var(--ease-soft), border-color .25s, background-color .25s;
}
.faq__item[open] .faq__q::after { content: "\2212"; border-color: var(--accent); background-color: color-mix(in srgb, var(--accent) 16%, transparent); }
.faq__a { padding: .2rem 0 1.4rem; max-width: 62ch; line-height: 1.7; color: var(--text-dim); }
