/* ───────────────────────────────────────────────
   Design tokens
   ─────────────────────────────────────────────── */
:root {
  --bg: #f6efe4;
  --bg-2: #f0e4d2;
  --ink: #3d2f27;
  --ink-soft: #66554a;
  --accent: #ca8f65;
  --accent-2: #a86f4a;
  --card: rgba(255, 248, 240, 0.75);
  --border: rgba(102, 85, 74, 0.22);
  --shadow: 0 18px 36px rgba(61, 47, 39, 0.12);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.agency-page {
  --bg: #0f1923;
  --bg-2: #162231;
  --ink: #eef3fb;
  --ink-soft: #a0b4cc;
  --accent: #d9bf7f;
  --accent-2: #c8ab64;
  --card: rgba(22, 34, 49, 0.92);
  --border: rgba(217, 191, 127, 0.18);
  --shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

/* ───────────────────────────────────────────────
   Reset & base
   ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body:not(.agency-page):not(.clube-page) {
  background:
    radial-gradient(ellipse 80% 50% at 10% 10%, rgba(255, 248, 239, 0.8) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 5%, rgba(236, 217, 193, 0.5) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
}

.agency-page {
  background:
    radial-gradient(ellipse 70% 50% at 5% 0%, rgba(217, 191, 127, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 95% 5%, rgba(100, 140, 190, 0.1) 0%, transparent 50%),
    linear-gradient(170deg, var(--bg), var(--bg-2));
}

.clube-page {
  background:
    radial-gradient(ellipse 70% 50% at 15% 5%, rgba(255, 248, 239, 0.7) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(202, 143, 101, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg), var(--bg-2));
}

/* ───────────────────────────────────────────────
   Scroll progress bar
   ─────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 100;
  width: 0;
  transition: width 0.1s linear;
}

/* ───────────────────────────────────────────────
   Top bar / Navigation
   ─────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem clamp(1rem, 3vw, 2.4rem);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(246, 239, 228, 0.82);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  transition: background 0.3s, box-shadow 0.3s;
}

.topbar.scrolled {
  box-shadow: 0 4px 20px rgba(61, 47, 39, 0.1);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-family: "Fraunces", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: opacity var(--transition);
}

.brand:hover {
  opacity: 0.7;
}

.menu-btn {
  border: 1px solid var(--border);
  background: rgba(255, 248, 241, 0.9);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: none;
  transition: background var(--transition), border-color var(--transition);
}

.menu-btn:hover {
  background: rgba(202, 143, 101, 0.12);
  border-color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(202, 143, 101, 0.08);
}

.nav-links .nav-cta {
  background: rgba(168, 111, 74, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(168, 111, 74, 0.28);
  padding: 0.35rem 0.85rem;
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  background: rgba(168, 111, 74, 0.18);
  border-color: rgba(168, 111, 74, 0.45);
}

/* ───────────────────────────────────────────────
   Main container
   ─────────────────────────────────────────────── */
main {
  width: 100%;
  margin: 0 auto;
}

main > *:not(.hero):not(.stats-bar) {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.stats-bar {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* ───────────────────────────────────────────────
   Typography
   ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: "Fraunces", serif;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-2);
  margin-bottom: 0.7rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ───────────────────────────────────────────────
   Buttons
   ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 4px 14px rgba(168, 111, 74, 0.3);
}

.btn-primary:hover {
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(168, 111, 74, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: 0 2px 8px rgba(61, 47, 39, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(61, 47, 39, 0.12);
}

.btn-icon {
  font-size: 1.1em;
}

/* ───────────────────────────────────────────────
   Hero section (index)
   ─────────────────────────────────────────────── */
main {
  padding-top: 0;
  padding-bottom: 2rem;
}

.hero {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem clamp(1rem, 5vw, 2rem) 4rem clamp(1rem, 5vw, 2rem);
  overflow: hidden;
  gap: 2.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  position: relative;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 250, 243, 0.95), rgba(239, 227, 210, 0.85));
  box-shadow: var(--shadow);
}

.hero-layout::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0.25;
  z-index: -1;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-avatar-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.03); }
}

.hero-avatar {
  width: min(200px, 38vw);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 32px rgba(61, 47, 39, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-avatar:hover {
  transform: scale(1.04) rotate(-1.5deg);
  box-shadow: 0 18px 44px rgba(61, 47, 39, 0.28);
}

.hero-text {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.7;
}

.mobile-only {
  display: none !important;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ───────────────────────────────────────────────
   Stats bar
   ─────────────────────────────────────────────── */
.stats-bar {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-hero {
  margin-top: 0;
  width: 100%;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 1.2rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(61, 47, 39, 0.1);
}

.stat-number {
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--accent-2);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.3rem;
  display: block;
}

/* ───────────────────────────────────────────────
   About / Bento grid
   ─────────────────────────────────────────────── */
.about {
  margin-top: 3rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  background: var(--card);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity var(--transition);
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61, 47, 39, 0.12);
  border-color: var(--accent);
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  display: block;
}

.bento-item h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin-bottom: 0.5rem;
}

.bento-item p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}

.bento-item ul {
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.bento-item ul li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.bento-item ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

/* ───────────────────────────────────────────────
   Section heading
   ─────────────────────────────────────────────── */
.section-head {
  margin: 3.5rem 0 1.5rem;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
}

/* ───────────────────────────────────────────────
   Focus grid (3 pillars)
   ─────────────────────────────────────────────── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.focus-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(61, 47, 39, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.focus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(61, 47, 39, 0.14);
  border-color: var(--accent);
}

.focus-card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.focus-card h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.focus-card p {
  color: var(--ink-soft);
  margin: 0.6rem 0 1.4rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ───────────────────────────────────────────────
   Featured video
   ─────────────────────────────────────────────── */
.featured-video {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--card);
  text-align: center;
}

.featured-video video {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(61, 47, 39, 0.12);
}

.featured-video p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

/* ───────────────────────────────────────────────
   Video grid
   ─────────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  box-shadow: 0 4px 16px rgba(61, 47, 39, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(61, 47, 39, 0.16);
}

.video-card video {
  width: 100%;
  border-radius: var(--radius-sm);
  display: block;
}

.video-card h3 {
  font-size: 0.92rem;
  margin-top: 0.5rem;
  text-align: center;
}

.video-grid-more {
  margin: 1.2rem auto 0;
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255, 248, 240, 0.9);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.video-grid-more:hover {
  transform: translateY(-2px);
  background: rgba(202, 143, 101, 0.12);
  border-color: var(--accent);
}

/* ───────────────────────────────────────────────
   Video lightbox
   ─────────────────────────────────────────────── */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: pointer;
}

.video-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.video-lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ───────────────────────────────────────────────
   Manifesto
   ─────────────────────────────────────────────── */
.manifesto {
  margin-top: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: var(--card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: "\201C";
  position: absolute;
  top: -0.2em;
  left: 0.3em;
  font-family: "Fraunces", serif;
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
  line-height: 1;
}

.manifesto h2 {
  margin-bottom: 1rem;
}

.manifesto p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0.6rem auto;
}

.manifesto .highlight {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1.15rem;
}

/* ───────────────────────────────────────────────
   Contact section
   ─────────────────────────────────────────────── */
.contact {
  margin-top: 3rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: var(--card);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact h2 {
  margin-bottom: 0.5rem;
}

.contact > p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.contact-links a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  background: rgba(255, 248, 240, 0.9);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.contact-links a:hover {
  transform: translateY(-3px);
  background: rgba(202, 143, 101, 0.1);
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(168, 111, 74, 0.18);
}

/* ───────────────────────────────────────────────
   Clube Santo page
   ─────────────────────────────────────────────── */
.clube-page main {
  padding-top: 0;
  padding-bottom: 2rem;
}

.clube-page .hero {
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: calc(100svh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.clube-page .clube-hero-content {
  position: relative;
  z-index: 2;
}

.clube-page .hero-text {
  margin-inline: auto;
}

.clube-page .hero-actions {
  justify-content: center;
}

.clube-page .contact {
  text-align: center;
}

.clube-page .contact-links {
  justify-content: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.step-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--card);
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61, 47, 39, 0.12);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--card);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61, 47, 39, 0.12);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}

.clube-cta {
  margin-top: 3rem;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(202, 143, 101, 0.15), rgba(168, 111, 74, 0.08));
  border: 1px solid rgba(202, 143, 101, 0.25);
  text-align: center;
}

.clube-cta h2 {
  margin-bottom: 0.5rem;
}

.clube-cta p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 45ch;
  margin: 0 auto 1.5rem;
}

/* ───────────────────────────────────────────────
   Footer
   ─────────────────────────────────────────────── */
.footer {
  width: min(1120px, 92vw);
  margin: 0 auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.88rem;
}

.footer p {
  margin: 0;
}

/* ───────────────────────────────────────────────
   Reveal animations (staggered)
   ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.06s; }
.reveal:nth-child(3) { transition-delay: 0.12s; }
.reveal:nth-child(4) { transition-delay: 0.18s; }
.reveal:nth-child(5) { transition-delay: 0.24s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }

/* ───────────────────────────────────────────────
   Agency page overrides
   ─────────────────────────────────────────────── */
.agency-page .topbar {
  background: rgba(15, 25, 35, 0.92);
  border-bottom-color: rgba(217, 191, 127, 0.15);
}

.agency-page .topbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.agency-page .brand {
  color: #f2e2b7;
}

.agency-page .menu-btn {
  background: rgba(30, 45, 65, 0.92);
  border-color: rgba(217, 191, 127, 0.3);
  color: var(--ink);
}

.agency-page .menu-btn:hover {
  background: rgba(40, 58, 80, 0.95);
  border-color: rgba(242, 212, 136, 0.5);
}

.agency-page .nav-links a {
  color: var(--ink-soft);
}

.agency-page .nav-links a:hover {
  color: #f2d488;
  background: rgba(217, 191, 127, 0.08);
}

.agency-page .eyebrow {
  color: var(--accent);
}

.agency-page h1 {
  color: #fff;
}

.agency-page .section-head h2 {
  color: #fff;
}

.agency-page .section-head p {
  color: var(--ink-soft);
}

.agency-page .scroll-progress {
  background: linear-gradient(90deg, var(--accent), #f2d488);
}

.agency-page main {
  padding-top: 0;
  padding-bottom: 2rem;
}

.agency-page .hero {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  min-height: calc(100svh - 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.agency-page .hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: transparent;
  pointer-events: none;
}

.agency-page .hero::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: transparent;
  pointer-events: none;
}

.agency-hero-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  position: relative;
}

.agency-hero-content {
  text-align: left;
}

.agency-logo {
  width: min(280px, 40vw);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform var(--transition);
}

.agency-logo:hover {
  transform: scale(1.04);
}

.agency-page .hero-text {
  color: var(--ink-soft);
  max-width: 48ch;
}

.agency-page .hero-actions {
  margin-top: 2rem;
}

.agency-page .manifesto {
  background: linear-gradient(145deg, rgba(22, 34, 49, 0.95), rgba(30, 45, 65, 0.9));
  border-color: rgba(217, 191, 127, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.agency-page .manifesto::before {
  color: var(--accent);
  opacity: 0.06;
}

.agency-page .manifesto h2 {
  color: #fff;
}

.agency-page .manifesto p {
  color: var(--ink-soft);
}

.agency-page .manifesto .highlight {
  color: var(--accent);
}

.agency-page .contact {
  background: linear-gradient(145deg, rgba(22, 34, 49, 0.95), rgba(30, 45, 65, 0.9));
  border-color: rgba(217, 191, 127, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.agency-page .contact h2 {
  color: #fff;
}

.agency-page .contact > p {
  color: var(--ink-soft);
}

.agency-page .video-card {
  background: rgba(22, 34, 49, 0.9);
  border-color: rgba(217, 191, 127, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.agency-page .video-card:hover {
  border-color: rgba(217, 191, 127, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.agency-page .video-card h3 {
  color: var(--accent);
  font-size: 0.9rem;
}

.agency-page .btn-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #0f1923;
  border: 1px solid rgba(255, 239, 198, 0.3);
  box-shadow: 0 4px 16px rgba(217, 191, 127, 0.25);
  font-weight: 700;
}

.agency-page .btn-primary:hover {
  background: linear-gradient(145deg, #e4cd94, #d5ba75);
  box-shadow: 0 8px 28px rgba(217, 191, 127, 0.35);
}

.agency-page .btn-ghost {
  background: rgba(217, 191, 127, 0.08);
  color: var(--ink);
  border-color: rgba(217, 191, 127, 0.3);
}

.agency-page .btn-ghost:hover {
  background: rgba(217, 191, 127, 0.15);
  border-color: rgba(217, 191, 127, 0.5);
}

.agency-page .contact-links a {
  background: rgba(30, 45, 65, 0.9);
  color: var(--ink);
  border-color: rgba(217, 191, 127, 0.25);
}

.agency-page .contact-links a:hover {
  background: rgba(40, 58, 80, 0.9);
  color: var(--accent);
  border-color: rgba(217, 191, 127, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.agency-page .video-grid-more {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #0f1923;
  border-color: rgba(255, 239, 198, 0.3);
  font-weight: 700;
}

.agency-page .video-grid-more:hover {
  background: linear-gradient(145deg, #e4cd94, #d4b973);
}

.agency-page .stats-bar {
  margin-top: 2rem;
}

.agency-page .stat-item {
  background: rgba(22, 34, 49, 0.85);
  border-color: rgba(217, 191, 127, 0.12);
}

.agency-page .stat-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.agency-page .stat-number {
  color: var(--accent);
}

.agency-page .stat-label {
  color: var(--ink-soft);
}

/* Scroll indicator for hero */
.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: bounce-hint 2s infinite;
  z-index: 2;
}

.scroll-hint-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

@keyframes bounce-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ───────────────────────────────────────────────
   Responsive — tablet
   ─────────────────────────────────────────────── */
@media (max-width: 980px) {
  .video-grid,
  .video-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bento-wide {
    grid-column: span 2;
  }

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

/* ───────────────────────────────────────────────
   Responsive — mobile
   ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  .bento-item,
  .focus-card,
  .manifesto,
  .contact,
  .video-card,
  .step-card,
  .value-card {
    padding: 1rem;
  }

  .bento-item h3,
  .focus-card h3,
  .manifesto h2,
  .contact h2,
  .video-card h3,
  .step-card h3 {
    font-size: 1.05rem;
  }

  .bento-item p,
  .focus-card p,
  .manifesto p,
  .contact p,
  .step-card p,
  .value-card p {
    font-size: 0.93rem;
  }

  .agency-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .agency-hero-content {
    text-align: center;
  }

  .agency-logo {
    margin-inline: auto;
    display: block;
  }

  .agency-page .hero-text {
    margin-inline: auto;
  }

  .agency-page .hero-actions {
    justify-content: center;
  }

  .agency-page .hero {
    min-height: calc(100svh - 56px);
  }

  .scroll-hint {
    position: relative;
    margin-top: 1.5rem;
    bottom: auto;
    left: auto;
    transform: none;
  }

  main,
  .hero,
  .bento-item,
  .focus-card,
  .manifesto,
  .contact,
  .section-head,
  .video-card,
  .footer,
  .stat-item,
  .step-card,
  .value-card {
    text-align: center;
  }

  .bento-item ul li {
    text-align: left;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 56px;
    right: 1rem;
    left: auto;
    width: min(260px, calc(100vw - 2rem));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 248, 240, 0.98);
    box-shadow: 0 14px 28px rgba(61, 47, 39, 0.18);
  }

  .agency-page .nav-links {
    background: rgba(15, 25, 35, 0.98);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: 10px;
  }

  .nav-links .nav-cta {
    text-align: center;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .focus-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .stat-number {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    display: flex;
    flex-direction: column;
  }
  
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 2rem);
    order: 1;
  }
  
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  p.mobile-only {
    order: 4;
    margin-top: 1rem !important;
  }

  .scroll-hint {
    order: 2;
    position: relative;
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
    bottom: auto;
    left: auto;
    transform: none;
  }

  .stats-hero {
    order: 3;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .stats-hero .stat-item {
    flex: 1 1 calc(33.333% - 1rem);
    min-width: 100px;
    padding: 0.8rem 0.4rem;
  }

  .hero-avatar {
    width: min(180px, 48vw);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-text {
    margin-inline: auto;
  }

  .contact-links {
    justify-content: center;
  }

  .video-grid,
  .video-grid.compact {
    grid-template-columns: 1fr;
  }

  .video-card.mobile-hidden {
    display: none;
  }

  .featured-video {
    padding: 1rem;
  }

  .manifesto {
    padding: 1.5rem 1.2rem;
  }

  .contact {
    padding: 1.5rem 1.2rem;
  }
}
