/* ============================================================
   Back to Better - styles
   Image-led. Editorial. No decoration that doesn't earn it.
============================================================ */

:root {
  /* Palette - closer to Rockstar's real values */
  --bg: #000;
  --bg-1: #060606;
  --bg-2: #101012;
  --bg-3: #18181b;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.18);
  --line-3: rgba(255,255,255,.5);     /* ghost button border (matches Rockstar) */
  --ink: #fdfdfd;                      /* near-white, matches Rockstar */
  --ink-2: #cecece;                    /* body grey */
  --ink-3: #989898;                    /* dates, muted labels */
  --ink-4: #555;
  --ink-eyebrow: #e8e8e8;              /* uppercase eyebrows are near-white on Rockstar */

  --accent: #ff5f1f;
  --accent-2: #ffb347;
  --roghe: #b388ff;
  --ralph: #f5edcb;
  --ralph-ink: #3d2418;

  --font-display: "Inter Tight", "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max: 1449px;                       /* matches Rockstar's content width */
  --gutter: clamp(24px, 4.4vw, 63px);  /* matches Rockstar's 63px gutter */
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 18px;                     /* up from 16 - more editorial */
  line-height: 1.6;                    /* matches Rockstar's 1.6 body */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
em { font-style: normal; color: var(--accent); }
sup {
  font-size: 0.5em;
  vertical-align: super;
  line-height: 0;
  margin-left: 0.12em;
  color: var(--ink-2);
  font-weight: 600;
  letter-spacing: 0;
  top: -0.15em;
  position: relative;
}
::selection { background: var(--accent); color: #000; }

/* ============================================================
   Type - Rockstar-calibrated
============================================================ */
.eyebrow {
  font-family: var(--font-display);   /* same family as headings - Rockstar pattern */
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  color: var(--ink-eyebrow);
  margin: 0 0 24px;
  font-weight: 700;
  line-height: 1.4;
}
.eyebrow--roghe { color: var(--roghe); }
.eyebrow--ralph { color: var(--accent-2); }

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.0075em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.display--xl { font-size: clamp(48px, 7.6vw, 112px); }
.display--lg { font-size: clamp(36px, 4.8vw, 68px); }
.display--md { font-size: clamp(30px, 3vw, 45px); }
.display--sm { font-size: clamp(22px, 2vw, 32px); }

/* ============================================================
   Buttons - Rockstar pill system
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 27px;
  border-radius: 1000px;
  font-weight: 700;
  font-size: 15.75px;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:has(span[aria-hidden]) { padding: 0 20px 0 27px; }
.btn--primary { background: var(--ink); color: #000; }
.btn--primary:hover { background: #fff; }
.btn--peach { background: #ffe5b4; color: #1a0e22; box-shadow: 0 14px 40px -12px rgba(255, 229, 180, 0.45); }
.btn--peach:hover { background: #fff1d0; box-shadow: 0 18px 48px -10px rgba(255, 229, 180, 0.6); }
.btn--ralph { background: var(--ralph-ink); color: var(--ralph); }
.btn--ralph:hover { background: #000; }
.btn--ghost {
  background: rgba(0,0,0,.15);
  color: var(--ink);
  border-color: var(--line-3);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--ink); color: #000; border-color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-2);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 14px; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: 90px;
  padding: 0 var(--gutter);
  background: transparent;
  transition: background .35s var(--ease), height .25s var(--ease);
}
.nav.is-scrolled {
  height: 72px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(20px) saturate(1.4);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  justify-self: start;
  color: var(--ink);
  position: relative;
  z-index: 60;
  isolation: isolate;
  transition: opacity .2s var(--ease);
}
.nav__logo:hover { opacity: .82; }

.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
}

.nav__links { justify-self: center; display: flex; gap: 0; align-items: center; }
.nav__right { justify-self: end; display: inline-flex; align-items: center; gap: 12px; }
.nav__links a {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 1000px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,.8);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 18px;
  border-radius: 1000px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-3);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: #000; border-color: var(--ink); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-3);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  position: relative;
  z-index: 60;
  transition: border-color .2s var(--ease);
}
.nav__burger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
  transform-origin: center;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO - full-bleed cinematic still
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
  display: block;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.1s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero__art { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: contrast(1.04) saturate(1.05);
  animation: heroDrift 24s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to   { transform: scale(1.07) translateY(-1.2%); }
}
.hero__grade {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 90%, rgba(255,95,31,.12) 0%, rgba(255,95,31,0) 60%),
    radial-gradient(60% 60% at 80% 10%, rgba(20,20,30,.45) 0%, rgba(0,0,0,0) 60%);
  mix-blend-mode: screen;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.0) 22%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.92) 100%),
    linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(60px, 8vh, 88px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__block {
  display: block;
  max-width: 1100px;
}
.hero__text { max-width: 880px; }
.hero__text .eyebrow {
  color: var(--ink-eyebrow);
  text-shadow: 0 1px 12px rgba(0,0,0,.6);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 84px);
  letter-spacing: -0.0075em;
  line-height: 1.05;
  margin: 0 0 36px;
  color: var(--ink);
  text-shadow: 0 2px 30px rgba(0,0,0,.55);
  max-width: 16ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Bottom-right controls - matches Rockstar pause + dots */
.hero__controls {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(28px, 4vh, 44px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero__pause {
  width: 40px; height: 40px;
  border-radius: 1000px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__pause:hover { background: rgba(255,255,255,.18); }
.icon-pause, .icon-play {
  display: block;
  width: 12px; height: 12px;
  background: var(--ink);
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.icon-pause { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='6' y='5' width='4' height='14'/><rect x='14' y='5' width='4' height='14'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><rect x='6' y='5' width='4' height='14'/><rect x='14' y='5' width='4' height='14'/></svg>"); }
.icon-play { display: none; -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 4l14 8-14 8z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 4l14 8-14 8z'/></svg>"); }
.hero__pause.is-paused .icon-pause { display: none; }
.hero__pause.is-paused .icon-play { display: block; }

.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  display: block;
  width: 28px; height: 3px;
  background: rgba(255,255,255,.22);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero__dot-fill {
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
}
.hero__dot.is-active .hero__dot-fill {
  animation: dotFill 7s linear forwards;
}
.hero.is-paused .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }
@keyframes dotFill {
  from { transform: translateX(-101%); }
  to   { transform: translateX(0); }
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
  padding: clamp(80px, 12vh, 160px) var(--gutter);
  position: relative;
}
.section--intro    { background: var(--bg); max-width: var(--max); margin: 0 auto; padding-bottom: clamp(40px, 5vh, 60px); }
.section--trusted  { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--studio   { background: var(--bg); }
.section--studio > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--contact  {
  background: linear-gradient(180deg, var(--bg) 0%, #100604 100%);
  border-top: 1px solid var(--line);
}
.section--contact > * { max-width: var(--max); margin-left: auto; margin-right: auto; }

.section__head { margin-bottom: clamp(48px, 6vh, 80px); max-width: 900px; }
.section__lede {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 60ch;
}

/* Catalogue intro */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.intro__lede {
  color: var(--ink-2);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  max-width: 50ch;
}

/* ============================================================
   TITLE CARDS - flagship feature blocks
============================================================ */
.title-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 620px;
  isolation: isolate;
}
.title-card + .title-card { border-top: 0; }

.title-card__art {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}
.title-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.title-card__bg--video { object-position: center 80%; }
.title-card:hover .title-card__bg { transform: scale(1.03); }

.title-card__grade {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.title-card__grade--roghe {
  background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,.75) 100%);
}
.title-card--roghe .title-card__art {
  background:
    radial-gradient(50% 55% at 50% 48%, rgba(255, 229, 180, 0.38) 0%, rgba(255, 229, 180, 0.18) 30%, rgba(255, 229, 180, 0) 70%),
    #050208;
}
.title-card--roghe .title-card__bg {
  object-fit: contain;
  object-position: center center;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 70%;
  max-height: 70%;
  margin: auto;
  filter: drop-shadow(0 30px 60px rgba(255, 229, 180, 0.18)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}
.title-card--roghe:hover .title-card__bg { transform: none; }
.title-card__grade--ralph {
  background:
    /* right edge fades into the dark text panel */
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(16,16,18,0.55) 92%, rgba(16,16,18,0.85) 100%),
    /* top haze - gentle cinematic darkening */
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 28%),
    /* bottom fade - keeps the logo readable */
    linear-gradient(180deg, rgba(0,0,0,0) 62%, rgba(0,0,0,0.55) 88%, rgba(0,0,0,0.85) 100%);
}
.title-card__grade--pipe {
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.95) 100%);
}

.title-card__chrome {
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 3;
}
.title-card__chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  background: rgba(0,0,0,.45);
  border: 1px solid var(--line-3);
  padding: 7px 12px;
  border-radius: 1000px;
  backdrop-filter: blur(10px);
  line-height: 1;
}
.title-card__chip--warm {
  color: var(--ralph-ink);
  background: rgba(245,237,203,.85);
  border-color: rgba(61,36,24,.18);
}

.title-card__logo {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 3;
  height: 48px;
  width: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.6));
}
.title-card__logo--ralph {
  height: 56px;
  filter: brightness(0) invert(1) drop-shadow(0 8px 24px rgba(0,0,0,.55));
}

.title-card__body {
  padding: clamp(36px, 4.5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  background: var(--bg-2);
}
.title-card__tag {
  font-size: clamp(18px, 1.4vw, 21px);
  color: var(--ink);
  font-weight: 500;
  margin: -4px 0 0;
  letter-spacing: -0.005em;
  line-height: 1.4;
}
.title-card__copy {
  color: var(--ink-2);
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
  letter-spacing: -0.005em;
}
.title-card__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

.meta {
  list-style: none;
  padding: 18px 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.meta li { display: flex; flex-direction: column; gap: 6px; }
.meta span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}
.meta b { font-weight: 500; font-size: 14px; color: var(--ink); letter-spacing: -0.005em; }

/* Pipeline placeholder */
.title-card__art--pipe { background: #0a0a0c; }
.title-card__placeholder {
  position: absolute;
  inset: auto auto 32px 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  bottom: 50%;
  transform: translate(-50%, 50%);
}
.placeholder-bar {
  display: block;
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.placeholder-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: barFill 2.6s var(--ease) infinite;
  animation-delay: var(--d);
}
@keyframes barFill {
  from { transform: translateX(-110%); }
  to   { transform: translateX(360%); }
}

/* ============================================================
   TRUSTED BY
============================================================ */
.trusted { max-width: var(--max); margin: 0 auto; }
.trusted__lede {
  margin-top: 28px;
  color: var(--ink-2);
  max-width: 60ch;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  letter-spacing: -0.005em;
}
.brandwall {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 1px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.brandwall li {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: var(--bg);
  transition: background .25s var(--ease);
}
.brandwall li:hover { background: var(--bg-2); }
.brandwall img {
  max-height: 32px;
  max-width: 110px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .4;
  transition: opacity .25s var(--ease);
}
.brandwall li:hover img { opacity: 1; }

/* ============================================================
   STUDIO - pillars + stats
============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 56px;
}
.pillar {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 36px 32px;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pillar__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.0075em;
  line-height: 1.1;
  margin: 16px 0 14px;
  color: var(--ink);
}
.pillar p { color: var(--ink-2); font-size: 16px; line-height: 1.6; margin: 0; letter-spacing: -0.005em; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats > div { padding: 40px 28px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats dt {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.stats dd {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.0075em;
  margin: 0;
  line-height: 1;
  color: var(--ink);
}
.stats dd span { color: var(--accent); }

/* ============================================================
   CONTACT
============================================================ */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__lede {
  margin-top: 28px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 48ch;
}
.contact__cards { display: flex; flex-direction: column; gap: 14px; }
.contact__card {
  display: grid;
  gap: 10px;
  padding: 28px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.contact__card:hover { transform: translateY(-3px); background: var(--bg-3); border-color: var(--accent); }
.contact__card--roghe:hover { border-color: var(--roghe); }
.contact__card--ralph:hover { border-color: var(--ralph); }
.contact__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.0075em;
  color: var(--ink);
  line-height: 1.1;
}
.contact__card .link-arrow { align-self: start; margin-top: 6px; }

/* ============================================================
   FOOTER
============================================================ */
.foot {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 72px var(--gutter) 36px;
}
.foot__top {
  max-width: var(--max);
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}
.foot__brand p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 36ch;
  letter-spacing: -0.005em;
}
.foot__col { display: flex; flex-direction: column; gap: 12px; }
.foot__col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-3);
  margin: 0 0 6px;
  font-weight: 700;
}
.foot__col a { color: rgba(255,255,255,.8); font-size: 14px; transition: color .2s var(--ease); letter-spacing: -0.005em; }
.foot__col a:hover { color: var(--accent); }
.foot__muted { color: var(--ink-4); font-size: 13px; letter-spacing: -0.005em; }

.foot__bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.foot__bottom p { margin: 0; color: var(--ink-3); font-size: 12px; }

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

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1200px) {
  .brandwall { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  .title-card { grid-template-columns: 1fr; }
  .title-card__art { min-height: 360px; }
  .pillars { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(1), .stats > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .intro { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 900px) {
  .hide-on-mobile { display: none; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__links { display: none; }
  .nav__right .nav__cta { display: none; }
  .nav__burger { display: inline-flex; justify-self: end; }
  .nav.is-open .nav__links {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,.97);
    backdrop-filter: blur(24px) saturate(1.2);
    padding: 96px var(--gutter) 64px;
    z-index: 55;
    animation: navMenuIn .35s var(--ease);
  }
  .nav.is-open .nav__links a {
    padding: 14px 8px;
    border-radius: 0;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    height: auto;
    color: var(--ink);
    width: auto;
    justify-content: center;
    text-align: center;
    opacity: 0;
    animation: navItemIn .5s var(--ease) forwards;
  }
  .nav.is-open .nav__links a:nth-child(1) { animation-delay: .08s; }
  .nav.is-open .nav__links a:nth-child(2) { animation-delay: .14s; }
  .nav.is-open .nav__links a:nth-child(3) { animation-delay: .20s; }
  .nav.is-open .nav__links a:nth-child(4) { animation-delay: .26s; }

  @keyframes navMenuIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  @keyframes navItemIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* lock body scroll when menu open */
  body:has(.nav.is-open) { overflow: hidden; }
  .hero__block { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .hero__mark { flex-direction: row; align-items: center; padding-bottom: 0; }
  .hero__mark-star { width: 56px; }
  .hero__controls { right: var(--gutter); bottom: 24px; }
  .title-card__chrome { top: 20px; left: 20px; }
  .title-card__logo { left: 20px; bottom: 20px; height: 38px; }
  .title-card__logo--ralph { height: 44px; }
  .meta { grid-template-columns: 1fr; gap: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding: 28px 24px; }
  .stats > div:last-child { border-bottom: 0 !important; }
  .foot__top {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
  }
  .foot__brand {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
  .brandwall { grid-template-columns: repeat(2, 1fr); }
  .brandwall li { height: 84px; }

  /* Ralph video - keep the dachshund in frame on mobile */
  .title-card--ralph .title-card__bg--video {
    object-position: 50% 55%;
  }
}

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