/* ===========================
   Pentalpha Studios — styles
   Responsive: 320px phones → 4K screens, portrait & landscape,
   touch & mouse, Chrome / Edge / Firefox / Safari (incl. iOS) / Samsung Internet.
   =========================== */
:root {
  --bg: #0a0806;
  --bg-2: #120e0a;
  --panel: #17120c;
  --line: rgba(212, 168, 83, 0.18);
  --gold: #d4a853;
  --gold-hi: #f6dc8c;
  --gold-lo: #9a6f22;
  --text: #ede4d3;
  --muted: #a89a82;
  --grad-gold: linear-gradient(135deg, #fbe7a1 0%, #d4a853 35%, #b5832d 60%, #f3d27c 100%);
  --radius: 14px;
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Allura", "Brush Script MT", cursive;
  --hand: "Kalam", "Segoe Print", cursive;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
body.menu-open { overflow: hidden; }
img, svg, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
:focus-visible { outline: 2px solid var(--gold-hi); 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: absolute; left: 12px; top: -60px; z-index: 200; padding: .7rem 1.1rem; border-radius: 8px;
  background: var(--gold); color: #1a1206; font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
.container {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-left: auto; margin-right: auto;
}

/* Film grain overlay (moves its background, not the element, so it never causes overflow) */
.grain {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 100; pointer-events: none; opacity: .05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; } 20% { background-position: -40px 25px; }
  40% { background-position: 30px -40px; } 60% { background-position: -25px 40px; }
  80% { background-position: 40px -15px; } 100% { background-position: 0 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .9rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  -webkit-transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-gold {
  background: var(--grad-gold); background-size: 200% 200%; color: #1a1206;
  box-shadow: 0 8px 30px -8px rgba(212, 168, 83, .55);
}
.btn-ghost { border: 1px solid var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 40px; padding: .55rem 1.2rem; font-size: .72rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 calc(var(--gutter) + var(--safe-r)) 0 calc(var(--gutter) + var(--safe-l));
  transition: background .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, body.menu-open .nav {
  background: rgba(10, 8, 6, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-name {
  font-weight: 700; letter-spacing: .14em; font-size: 1.05rem; color: var(--gold-hi);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-sub { font-size: .58rem; letter-spacing: .55em; color: var(--gold); padding-left: 2px; }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: .78rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text); position: relative; padding: .3rem 0; transition: color .25s; white-space: nowrap;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s;
}
.nav-links a.active { color: var(--gold-hi); }
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle {
  display: none; flex: none; background: none; border: 0; cursor: pointer;
  width: 48px; height: 48px; padding: 11px; margin-right: -11px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; margin: 6px 0; background: var(--gold); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: var(--nav-h); background: #000; overflow: hidden; }
.hero-media { display: block; }
.hero-media img {
  width: 100%;
  aspect-ratio: 2000 / 744;
  max-height: calc(100vh - var(--nav-h) - 110px);
  max-height: calc(100svh - var(--nav-h) - 110px);
  min-height: 300px;
  object-fit: cover; object-position: center;
  animation: heroIn 1.6s ease-out both;
}
@keyframes heroIn { from { opacity: 0; transform: scale(1.04); filter: brightness(.4); } to { opacity: 1; transform: none; filter: none; } }
.hero-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 1.5rem; flex-wrap: wrap;
  padding: 1.6rem calc(var(--gutter) + var(--safe-r)) 1.6rem calc(var(--gutter) + var(--safe-l));
  background: linear-gradient(180deg, #000 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
}
.hero-kicker { margin: 0; letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; color: var(--muted); }
.hero-kicker strong { color: var(--gold-hi); font-weight: 600; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2);
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: clamp(.8rem, 2.4vw, .95rem); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); font-weight: 300; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 11vw, 140px) 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .9rem; margin: 0 0 1rem;
  font-size: clamp(.66rem, 1.8vw, .74rem); font-weight: 600; letter-spacing: .4em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .section-head .eyebrow::after { content: ""; width: clamp(20px, 5vw, 34px); height: 1px; background: var(--gold); flex: none; }
.title {
  margin: 0 0 1.4rem; font-weight: 700; line-height: 1.15;
  font-size: clamp(1.75rem, 1.1rem + 3.2vw, 3.4rem); letter-spacing: .01em;
}
.gold-text {
  color: var(--gold-hi);
  background: var(--grad-gold); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.15rem); color: var(--text); }
p { color: var(--muted); }

/* ---------- About ---------- */
.about { background: radial-gradient(ellipse at 20% 40%, rgba(212, 168, 83, .09), transparent 60%); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.logo-stage { position: relative; border-radius: 22px; }
.logo-stage::before {
  content: ""; position: absolute; top: 6%; left: 6%; right: 6%; bottom: 6%; border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 220, 140, .25), transparent 65%);
  filter: blur(30px); animation: pulse 5s ease-in-out infinite;
}
.logo-stage::after {
  content: ""; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 24px; z-index: 0;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(246, 220, 140, .9) 85%, transparent 100%);
  animation: spinA 6s linear infinite;
}
.logo-stage img {
  position: relative; z-index: 1; width: 100%; border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95);
}
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinA { to { --a: 360deg; } }
@keyframes pulse { 50% { opacity: .55; transform: scale(.95); } }

.script-lines {
  display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; margin: 1.8rem 0;
  font-family: var(--script); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem); color: var(--gold-hi); line-height: 1.2;
}
.script-lines span { transform: rotate(-4deg); display: inline-block; }
.taglines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tagline-card {
  padding: 1.3rem 1.4rem; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .4rem;
}
.tagline-card.note { background: #e9dcc0; border-color: transparent; transform: rotate(1.5deg); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.tag-small { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.note .tag-small { color: #8a6a2c; }
.tag-big { font-family: var(--hand); font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
.note .tag-big { color: #2a2016; }

/* ---------- Content pillars (flex so the last row always centres) ---------- */
.content { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars { --cols: 5; --gap: 1.1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.pillar {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  position: relative; padding: 2rem 1.5rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(180deg, #1a140d, #110d09); border: 1px solid var(--line);
  overflow: hidden; transition: transform .4s, border-color .4s, box-shadow .4s;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(246, 220, 140, .16), transparent 60%);
}
.pillar-icon {
  width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 1.4rem;
  color: var(--gold); filter: drop-shadow(0 4px 14px rgba(212, 168, 83, .35));
}
.pillar-icon svg { width: 52px; height: 52px; }
.pillar-num { position: absolute; top: 1.2rem; right: 1.3rem; font-size: .75rem; letter-spacing: .2em; color: var(--gold-lo); font-weight: 600; }
.pillar h3 { margin: 0 0 .6rem; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--text); }
.pillar p { margin: 0; font-size: .92rem; line-height: 1.65; position: relative; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); opacity: .5;
}
.step { text-align: center; padding: 0 1.2rem; position: relative; }
.step-n {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--gold); color: var(--gold-hi);
  font-weight: 600; letter-spacing: .1em; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--bg), 0 0 30px -6px rgba(212, 168, 83, .6);
}
.step h3 { margin: 0 0 .5rem; font-family: var(--hand); font-weight: 700; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.7rem); color: var(--gold-hi); text-transform: uppercase; letter-spacing: .06em; }
.step p { margin: 0 auto; font-size: .95rem; max-width: 30ch; }

/* ---------- Watch ---------- */
.watch { background: radial-gradient(ellipse at 80% 50%, rgba(212, 168, 83, .08), transparent 60%); }
.watch-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.watch-media { position: relative; min-height: 360px; }
.watch-media img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 10% 50%; }
.watch-media::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent 50%, var(--panel)); pointer-events: none; }
.play-btn {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(64px, 12vw, 86px); height: clamp(64px, 12vw, 86px); border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-gold); color: #1a1206; box-shadow: 0 0 0 0 rgba(212, 168, 83, .6);
  animation: ring 2.4s infinite; transition: transform .3s;
}
.play-btn svg { width: 40%; height: 40%; fill: currentColor; margin-left: 4px; }
@keyframes ring { 70% { box-shadow: 0 0 0 26px rgba(212, 168, 83, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 168, 83, 0); } }
.watch-copy { padding: clamp(28px, 5vw, 60px); }
.watch-copy .title { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.4rem); }
.social-ctas { display: grid; gap: .9rem; margin-top: 1.8rem; }
.social-btn {
  display: flex; align-items: center; gap: 1rem; min-height: 56px; padding: .95rem 1.2rem; border-radius: 12px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); text-decoration: none; min-width: 0;
  transition: border-color .3s, background .3s, transform .3s;
}
.social-btn svg { width: 28px; height: 28px; flex: none; fill: var(--gold); }
.social-btn span { display: flex; flex-direction: column; line-height: 1.3; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.social-btn small { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; min-width: 0; }
.contact-list li > div { min-width: 0; }
.ci {
  width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold);
}
.ci svg { width: 20px; height: 20px; fill: currentColor; }
.contact-list small { display: block; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.contact-list address { font-style: normal; color: var(--text); }
.contact-list a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; overflow-wrap: anywhere; }
.map-wrap {
  position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; min-height: 260px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.map-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.35) hue-rotate(5deg) contrast(.9); }

/* ---------- Footer ---------- */
.footer {
  padding: 70px 0 calc(40px + var(--safe-b)); border-top: 1px solid var(--line); text-align: center; background: #070504;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.footer-logo { width: clamp(110px, 25vw, 140px); height: auto; aspect-ratio: 1; border-radius: 50%; }
.footer-tag { font-family: var(--script); font-size: clamp(1.7rem, 1.4rem + 1vw, 2rem); color: var(--gold-hi); margin: 0; }
.footer-social { display: flex; gap: .8rem; margin: .8rem 0; }
.footer-social a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--gold); transition: background .3s, color .3s, transform .3s;
}
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-addr { margin: 0; font-size: .85rem; letter-spacing: .1em; }
.copy { margin: .4rem 0 0; font-size: .75rem; color: #8a7d68; letter-spacing: .08em; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hover effects only on devices with a real pointer (no sticky hover on phones) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 12px 38px -6px rgba(212, 168, 83, .75); }
  .btn-ghost:hover { background: rgba(212, 168, 83, .1); transform: translateY(-2px); }
  .nav-links a:not(.btn):hover { color: var(--gold-hi); }
  .nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
  .pillar:hover { transform: translateY(-8px); border-color: rgba(212, 168, 83, .55); box-shadow: 0 24px 50px -24px rgba(212, 168, 83, .45); }
  .pillar:hover::before { opacity: 1; }
  .play-btn:hover { transform: translate(-50%, -50%) scale(1.08); }
  .social-btn:hover { border-color: var(--gold); background: rgba(212, 168, 83, .08); transform: translateX(4px); }
  .contact-list a:hover { color: var(--gold-hi); border-color: var(--gold); }
  .footer-social a:hover { background: var(--gold); color: #1a1206; transform: translateY(-3px); }
}
/* Touch feedback */
@media (hover: none) {
  .btn:active, .social-btn:active, .footer-social a:active, .play-btn:active { opacity: .85; }
}

/* =================== Breakpoints =================== */

/* Large desktops / TVs */
@media (min-width: 1600px) {
  html { font-size: 17px; }
  .container { width: min(1360px, 100% - 2 * var(--gutter)); }
}
@media (min-width: 2200px) {
  html { font-size: 19px; }
  .container { width: min(1600px, 100% - 2 * var(--gutter)); }
}

/* Small laptops */
@media (max-width: 1180px) {
  .pillars { --cols: 3; }
}

/* Tablets & below: hamburger menu, stacked layouts */
@media (max-width: 960px) {
  .about-grid, .contact-grid, .watch-card { grid-template-columns: minmax(0, 1fr); }
  .about-visual { max-width: 440px; width: 100%; margin-left: auto; margin-right: auto; }
  .watch-media { min-height: 0; aspect-ratio: 16 / 9; }
  .watch-media::after { background: linear-gradient(180deg, transparent 55%, var(--panel)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .steps::before { display: none; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: -1;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto;
    -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .7);
    padding: .5rem calc(20px + var(--safe-r)) calc(1.5rem + var(--safe-b)) calc(20px + var(--safe-l));
    transform: translateY(-110%); visibility: hidden;
    transition: transform .4s ease, visibility 0s linear .4s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform .4s ease, visibility 0s; }
  .nav-links a:not(.btn) { display: block; padding: 1rem 0; font-size: .85rem; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 1.2rem; min-height: 50px; font-size: .8rem; }
}

/* Large phones / small tablets portrait: square logo in hero */
@media (max-width: 760px) and (orientation: portrait) {
  .hero-media img { aspect-ratio: 1 / 1; max-height: none; min-height: 0; }
}
@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .hero-bar { flex-direction: column; text-align: center; }
  .hero-ctas { justify-content: center; width: 100%; }
  .pillars { --cols: 2; --gap: .9rem; }
  .taglines { grid-template-columns: minmax(0, 1fr); }
  .tagline-card.note { transform: rotate(1deg); }
}

/* Phones */
@media (max-width: 560px) {
  .pillars { --cols: 1; }
  .pillar { padding: 1.6rem 1.3rem 1.5rem; }
  .pillar-icon { margin-bottom: 1rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-kicker { letter-spacing: .14em; font-size: .72rem; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: .95rem; }
  .watch-card { border-radius: 16px; }
  .map-wrap { aspect-ratio: 1 / 1; }
}

/* Very small phones (iPhone SE 1st gen, Galaxy Fold folded) */
@media (max-width: 360px) {
  :root { --gutter: 14px; }
  .brand { gap: .5rem; }
  .brand-name { font-size: .85rem; letter-spacing: .1em; }
  .brand-sub { letter-spacing: .4em; }
  .btn { padding: .85rem 1.1rem; letter-spacing: .12em; }
  .eyebrow { letter-spacing: .28em; }
  .marquee span { letter-spacing: .35em; }
}

/* Phones & small tablets in landscape: show the wide banner at its natural shape */
@media (orientation: landscape) and (max-height: 560px) {
  :root { --nav-h: 60px; }
  .hero-media img { aspect-ratio: 2000 / 744; max-height: none; min-height: 0; }
  .hero-bar { flex-direction: row; text-align: left; padding-top: 1.1rem; padding-bottom: 1.1rem; }
  .hero-ctas { width: auto; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .about-visual { max-width: 320px; }
  .section { padding: 56px 0; }
}

/* ---------- Accessibility & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
}
@media (forced-colors: active) {
  .gold-text, .brand-name { -webkit-text-fill-color: currentColor; background: none; }
}
@media print {
  .grain, .nav, .marquee, .map-wrap, .play-btn, .hero-bar .hero-ctas { display: none !important; }
  body { background: #fff; color: #000; }
  p, .lead { color: #222; }
  .section { padding: 24px 0; }
  .reveal { opacity: 1; transform: none; }
  .gold-text, .brand-name { -webkit-text-fill-color: #8a6a2c; color: #8a6a2c; background: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
