/* ============================================
   MAURICIO ORTIZ — Editorial Personal Site
   Cream editorial system
   ============================================ */

:root {
  /* Cream palette */
  --cream:        #F9F6EF;
  --cream-2:      #F4EFE4;
  --cream-3:      #EAE2D2;
  --cream-4:      #DDD2BD;

  /* Ink */
  --ink:          #1C1006;
  --ink-soft:     #3A2A1C;
  --muted:        #8A7A66;
  --muted-2:      #A99A84;

  /* Lines */
  --hairline:     rgba(28,16,6,0.13);
  --hairline-strong: rgba(28,16,6,0.26);

  /* Accent — warm orange family */
  --accent:       #EC6809;   /* vibrant orange */
  --accent-soft:  #FAA264;   /* peach */
  --brown:        #582500;   /* deep terracotta brown */
  --peach:        #FAA264;

  /* Type */
  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Grid */
  --pad-x: clamp(20px, 6vw, 96px);
  --section-y: clamp(96px, 14vw, 200px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Subtle grain texture overlay site-wide */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.08;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================
   UTILITIES
   ============================================ */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--ink);
}
.eyebrow--muted { color: var(--muted); }

.divider {
  height: 1px;
  background: var(--hairline);
  width: 100%;
}
.divider-strong { background: var(--hairline-strong); }

.serif    { font-family: var(--serif); font-weight: 400; }
.italic   { font-style: italic; }

.tabular  { font-variant-numeric: tabular-nums; }

/* Reveal animation (set on .reveal -> JS toggles .is-in) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }
.reveal-delay-6 { transition-delay: .48s; }

/* Word pull-up: each .word inside .pullup */
.pullup .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for descenders (p, j, g, y) inside the clip box */
  padding-bottom: 0.16em;
  margin-bottom: -0.16em;
}
.pullup .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.pullup.is-in .word > span { transform: none; }
.pullup .word > span { transition-delay: calc(var(--i, 0) * 70ms); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--pad-x);
  background: linear-gradient(to bottom, rgba(239,234,224,0.96), rgba(239,234,224,0));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 100%);
}
.nav__brand {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.nav__menu {
  display: flex;
  gap: 36px;
  justify-content: center;
}
.nav__menu a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  font-weight: 500;
  transition: opacity .3s ease;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.nav__menu a:hover::after { transform: scaleX(1); }
.nav__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 12px 18px 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  transition: background .35s ease, color .35s ease;
}
.nav__cta:hover { background: var(--ink); color: var(--cream); }
.nav__cta .arrow {
  display: inline-flex;
  width: 26px; height: 26px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--ink); color: var(--cream);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.nav__cta:hover .arrow { transform: rotate(-45deg); background: var(--cream); color: var(--ink); }

@media (max-width: 880px) {
  .nav__menu { display: none; }
  .nav { grid-template-columns: 1fr auto; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 84px var(--pad-x) 56px;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.hero__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}
.hero__issue {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
  display: flex;
  gap: 28px;
}
.hero__issue span:first-child { color: var(--ink); }
.hero__role {
  text-align: right;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}
.hero__role .accent { color: var(--accent); }

.hero__masthead {
  margin-top: clamp(28px, 4vw, 56px);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(72px, 18vw, 300px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.hero__masthead .line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 30px;
}
.hero__masthead .ortiz { font-style: italic; }
.hero__masthead .star {
  font-family: var(--sans);
  font-size: 0.08em;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  align-self: end;
  padding-bottom: 0.6em;
  text-align: right;
  flex-shrink: 0;
  line-height: 1.4;
}

.hero__lower {
  margin-top: clamp(40px, 6vw, 80px);
}

/* Full-bleed cinematic video band */
.hero__video-full {
  position: relative;
  margin-top: clamp(16px, 2vw, 28px);
  margin-left: calc(-1 * var(--pad-x));
  margin-right: calc(-1 * var(--pad-x));
  width: calc(100% + 2 * var(--pad-x));
  height: clamp(440px, 74vh, 760px);
  overflow: hidden;
  background: var(--ink);
}
.hero__video-full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__video-full::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,12,4,0.28) 0%, transparent 22%, transparent 50%, rgba(20,12,4,0.55) 100%),
    linear-gradient(75deg, rgba(20,12,4,0.62) 0%, rgba(20,12,4,0.22) 38%, transparent 60%);
  pointer-events: none;
}

/* Bottom-left name + subtitle overlay */
.hero__video-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: clamp(24px, 4vw, 52px) var(--pad-x);
}
.hero__video-name {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--cream);
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  text-shadow: 0 2px 30px rgba(20,12,4,0.45);
}
.hero__video-name .ortiz { font-style: italic; color: var(--peach); }
.hero__video-sub {
  margin-top: clamp(10px, 1.2vw, 18px);
  font-family: var(--sans);
  color: var(--cream);
  font-size: clamp(13px, 1.15vw, 17px);
  letter-spacing: 0.02em;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.94;
  max-width: 46ch;
  text-wrap: balance;
}
.hero__video-sub .dot-sep { color: var(--accent); margin: 0 0.5em; }
.hero__video-full .hero__video-tag {
  position: absolute;
  left: clamp(20px, 3vw, 40px);
  top: clamp(20px, 3vw, 40px);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__video-full .hero__video-tag .rec {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero__video-credit {
  position: absolute;
  right: clamp(20px, 3vw, 40px);
  bottom: clamp(20px, 3vw, 40px);
  color: var(--cream);
  font-family: var(--serif);
  font-size: clamp(14px, 1.2vw, 20px);
  font-style: normal;
  letter-spacing: 0;
  z-index: 2;
  opacity: 0.85;
}
.hero__video-credit em { font-style: italic; }

@media (max-width: 880px) {
  .hero__video-full { height: clamp(420px, 72vh, 600px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__statement {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  height: auto;
}
.hero__phrase {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__phrase .em { font-style: italic; }
.hero__phrase .crossed {
  position: relative;
  display: inline-block;
}
.hero__phrase .crossed::after {
  content: '';
  position: absolute;
  left: -2%; right: -2%; top: 52%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1) 1.4s;
}
.hero__phrase.is-in .crossed::after { transform: scaleX(1); }

.hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-soft);
}
.hero__meta .label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero__meta a { border-bottom: 1px solid var(--hairline); padding-bottom: 1px; }
.hero__meta a:hover { color: var(--accent); border-color: var(--accent); }
.hero__meta a.cta-btn { border-bottom: none; padding: 10px 10px 10px 26px; color: #fff; margin-top: 4px; }

.hero__scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 32px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll .line { width: 40px; height: 1px; background: var(--ink); animation: scrollLine 2.4s infinite; }
@keyframes scrollLine {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

@media (max-width: 880px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero__masthead .line { gap: 12px; }
  .hero__scroll { display: none; }
  .hero__top { grid-template-columns: 1fr; gap: 14px; }
  .hero__role { text-align: left; }
  .hero__meta { grid-template-columns: 1fr; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section {
  padding: var(--section-y) var(--pad-x);
  position: relative;
}
.section--tight { padding-top: clamp(64px, 9vw, 120px); }

/* Warm accent band — testimonials. Subtle tonal shift from the cream
   base using the brand's terracotta/cream family, kept low-saturation. */
#voices {
  background: #EBDCC4;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 36px;
  align-items: start;
  padding-bottom: clamp(40px, 6vw, 80px);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section__num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.section__num strong { color: var(--accent); font-weight: 600; }
.section__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 80px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.section__title .em { font-style: italic; }
.section__title .muted { color: var(--muted-2); }

@media (max-width: 880px) {
  .section__head { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.about__quote .em { font-style: italic; }
.about__quote .muted { color: var(--muted-2); }

.about__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 520px;
  margin-left: auto;
}
.about__body p {
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink-soft);
}
.about__signature {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.about__signature .name {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}
.about__signature .role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__stats {
  margin-top: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
  grid-column: 1 / -1;
}
.about__stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__stat .num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.about__stat .num .em { font-style: italic; color: var(--accent); }
.about__stat .lbl {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
  .about__body { margin-left: 0; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--hairline);
}
.service {
  padding: clamp(28px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 80px 1fr 1fr 40px;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  cursor: pointer;
  transition: padding .5s cubic-bezier(.16,1,.3,1);
  position: relative;
}
.services .service:nth-child(odd)  { border-right: 1px solid var(--hairline); padding-right: clamp(20px, 3vw, 48px); }
.services .service:nth-child(even) { padding-left: clamp(20px, 3vw, 48px); }

.service__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  color: var(--accent-soft);
  line-height: 1;
}
.service__name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.service__name .em { font-style: italic; }
.service__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.service__arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transition: transform .5s cubic-bezier(.16,1,.3,1), background .35s, color .35s;
  color: var(--ink);
}
.service:hover .service__arrow {
  transform: rotate(-45deg);
  background: var(--ink); color: var(--cream);
}
.service:hover { background: rgba(15,16,14,0.02); }

@media (max-width: 880px) {
  .services { grid-template-columns: 1fr; }
  .services .service:nth-child(odd), .services .service:nth-child(even) {
    border-right: none; padding-left: 0; padding-right: 0;
  }
  .service { grid-template-columns: 50px 1fr 32px; }
  .service__desc { grid-column: 1 / -1; padding-left: 64px; margin-top: -8px; }
}

/* ============================================
   BEFORE / AFTER
   ============================================ */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(48px, 6vw, 96px) clamp(32px, 4vw, 64px);
}
.ba-case { display: flex; flex-direction: column; gap: 18px; }
.ba-case__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.ba-case__meta .num { color: var(--ink); font-weight: 500; }
.ba-case__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.ba-case__title .em { font-style: italic; color: var(--muted-2); }
.ba-case__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 50ch;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream-3);
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  border: 1px solid var(--hairline);
  margin-top: 4px;
}
.ba-side {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-side__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-side--before {
  background: linear-gradient(135deg, #cdc6b4 0%, #b3a98f 100%);
}
.ba-side--after {
  background: linear-gradient(135deg, #1b1b18 0%, #3a342a 100%);
  color: var(--cream);
  clip-path: inset(0 0 0 50%);
  transition: clip-path .05s linear;
}
.ba-side__label {
  position: absolute;
  top: 14px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(239,234,224,0.85);
  color: var(--ink);
  border-radius: 2px;
}
.ba-side--before .ba-side__label { left: 14px; }
.ba-side--after  .ba-side__label { right: 14px; background: rgba(15,16,14,0.65); color: var(--cream); }

.ba-side__art {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-align: center;
  opacity: 0.85;
  padding: 0 10%;
}
.ba-side--before .ba-side__art { color: rgba(15,16,14,0.55); font-style: italic; }
.ba-side--after  .ba-side__art { font-weight: 400; }
.ba-side--after .ba-side__art .sub {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 14px;
  font-style: normal;
  opacity: 0.7;
}

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--cream);
  transform: translateX(-0.5px);
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}
.ba-handle__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  cursor: ew-resize;
}
.ba-handle__knob::before, .ba-handle__knob::after {
  content: '';
  width: 5px; height: 8px;
  background: transparent;
  border-top: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
}
.ba-handle__knob::before { transform: rotate(-135deg); margin-right: 2px; }
.ba-handle__knob::after  { transform: rotate(45deg); margin-left: 2px; }

@media (max-width: 880px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PORTFOLIO / CASES
   ============================================ */
.cases {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.case {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case__art {
  aspect-ratio: 4 / 5;
  background: var(--cream-3);
  position: relative;
  overflow: hidden;
}
.case__art--wide { aspect-ratio: 16 / 10; }
.case__art--tall { aspect-ratio: 3 / 4; }

.case__art .glyph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  letter-spacing: -0.04em;
  color: var(--ink);
  opacity: 0.92;
  text-align: center;
  padding: 8%;
  line-height: 0.95;
}
.case__art--01 { background: linear-gradient(135deg, #d8cfb8 0%, #c4b698 100%); }
.case__art--02 { background: #1a1916; color: var(--cream); }
.case__art--02 .glyph { color: var(--cream); }
.case__art--03 { background: linear-gradient(160deg, #efeae0 0%, #d9cfb6 100%); }
.case__art--04 { background: linear-gradient(135deg, #3a2c20 0%, #1a1410 100%); color: var(--cream); }
.case__art--04 .glyph { color: var(--cream); }
.case__art--05 { background: linear-gradient(135deg, #b08a64 0%, #6e4f31 100%); color: var(--cream); }
.case__art--05 .glyph { color: var(--cream); }

.case__glyph--xl { font-size: clamp(72px, 9vw, 140px); }
.case__glyph--lg { font-size: clamp(56px, 7vw, 110px); }
.case__glyph--md { font-size: clamp(40px, 5vw, 80px); }

.case__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.case__name {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.case__name .em { font-style: italic; color: var(--muted-2); }

/* ---- CTA Button (orange pill) ---- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  padding: 10px 10px 10px 26px;
  border-radius: 100px;
  text-decoration: none;
  transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow: 0 4px 18px rgba(236,104,9,0.28);
  white-space: normal;
}
.cta-btn > span {
  display: block;
  text-align: center;
  min-width: 120px;
}
.cta-btn::after {
  content: '↗';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: #fff;
  color: var(--accent);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  margin-left: 16px;
  flex-shrink: 0;
  align-self: center;
  transition: transform .2s ease;
}
.cta-btn:hover {
  background: #d45a04;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(236,104,9,0.38);
}
.cta-btn:hover::after {
  transform: rotate(45deg);
}
.cta-btn--head {
  margin-top: clamp(20px, 2.4vw, 32px);
}
/* Agenda section: center title + button */
.section__head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section__head--center .section__num { align-self: flex-start; }
.section__head--center .section__title { text-align: center; max-width: 18ch; }
.section__head--center .cta-btn--head { display: inline-flex; }

/* ---- Featured carousel (Lili Pink & Yoi) ---- */
.feature {
  margin: 0 calc(-1 * var(--pad-x)) clamp(56px, 8vw, 104px);
}
.carousel {
  position: relative;
  background: var(--cream-3);
}
.carousel__viewport {
  overflow: hidden;
}
.carousel__track {
  display: flex;
  transition: transform .6s cubic-bezier(0.7, 0, 0.18, 1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
}
.carousel__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 2422 / 620;
  object-fit: cover;
  display: block;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(44px, 4vw, 60px);
  height: clamp(44px, 4vw, 60px);
  display: grid;
  place-items: center;
  background: rgba(249,246,239,0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  color: var(--ink);
  transition: background .25s ease, opacity .25s ease, transform .25s ease;
  z-index: 2;
}
.carousel__arrow:hover {
  background: rgba(249,246,239,0.92);
}
.carousel__arrow svg { width: 42%; height: 42%; }
.carousel__arrow--prev { left: clamp(14px, 2vw, 28px); }
.carousel__arrow--next { right: clamp(14px, 2vw, 28px); }
.carousel__dots {
  position: absolute;
  bottom: clamp(14px, 2vw, 24px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(249,246,239,0.55);
  box-shadow: 0 1px 3px rgba(28,16,6,0.18);
  transition: width .3s ease, background .3s ease;
}
.carousel__dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: var(--cream);
}
.feature__info {
  padding: clamp(28px, 4vw, 48px) var(--pad-x) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 1500px;
}
.feature__meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature__name {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.feature__body {
  columns: 2;
  column-gap: clamp(32px, 4vw, 64px);
  max-width: 1000px;
  margin-top: 6px;
}
.feature__body p {
  font-size: 15px;
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 14px;
  text-wrap: pretty;
  break-inside: avoid;
}
@media (max-width: 720px) {
  .feature__body { columns: 1; }
}

/* ---- Case reveal slider (Just Believe) ---- */
.case-reveal {
  position: relative;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.case-reveal__before,
.case-reveal__after {
  position: absolute;
  inset: 0;
}
.case-reveal__before img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.case-reveal__after {
  background: linear-gradient(160deg, #1c1712 0%, #0c0a07 100%);
  color: var(--cream);
  clip-path: inset(0 0 0 86%);
  transition: clip-path .05s linear;
  display: flex;
}
.case-reveal__panel {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: clamp(22px, 3vw, 40px);
  -webkit-overflow-scrolling: touch;
}
.case-reveal__panel::-webkit-scrollbar { width: 5px; }
.case-reveal__panel::-webkit-scrollbar-thumb {
  background: rgba(245,240,230,0.22);
  border-radius: 3px;
}
.case-reveal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.5);
  margin-bottom: 10px;
}
.case-reveal__title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.case-reveal__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 19px);
  color: rgba(245,240,230,0.82);
  margin: 8px 0 18px;
}
.case-reveal__panel p {
  font-size: 13.5px;
  line-height: 1.62;
  color: rgba(245,240,230,0.72);
  margin-bottom: 12px;
  text-wrap: pretty;
}
.case-reveal__sub {
  font-family: var(--sans);
  font-size: 11px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream) !important;
  margin: 22px 0 12px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(245,240,230,0.14);
}
.case-reveal__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.case-reveal__list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245,240,230,0.74);
}
.case-reveal__list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 9px;
  color: rgba(245,240,230,0.5);
}
.case-reveal__hint {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(20,18,14,0.62);
  background: rgba(245,240,230,0.7);
  backdrop-filter: blur(4px);
  padding: 5px 11px;
  border-radius: 2px;
  pointer-events: none;
  transition: opacity .3s ease;
}
.case-reveal.is-revealed .case-reveal__hint { opacity: 0; }
.case-reveal__handle {
  left: 86%;
}

.case--01 { grid-column: span 7; }
.case--02 { grid-column: span 5; }
.case--03 { grid-column: span 5; }
.case--04 { grid-column: span 7; }

@media (max-width: 880px) {
  .cases { grid-template-columns: 1fr; }
  .case--01, .case--02, .case--03, .case--04 { grid-column: 1; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial-list { display: flex; flex-direction: column; }
.testimonial {
  display: grid;
  grid-template-columns: 100px 1fr 220px;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.testimonial:last-child { border-bottom: 1px solid var(--hairline); }
.testimonial__num {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-style: italic;
  color: var(--accent);
}
.testimonial__quote {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.testimonial__quote .em { font-style: italic; }
.testimonial__attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.testimonial__attr .name { color: var(--ink); font-size: 14px; letter-spacing: 0; font-weight: 500; }
.testimonial__attr .role { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
@media (max-width: 880px) {
  .testimonial { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================
   AGENDA
   ============================================ */
.agenda {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.agenda__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}
.agenda__intro .lead {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.agenda__intro .lead .em { font-style: italic; color: var(--muted-2); }
.agenda__intro p { font-size: 15px; color: var(--ink-soft); max-width: 44ch; }
.agenda__intro .summary {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.agenda__intro .summary .row .lbl {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}
.agenda__intro .summary .row .val {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

.cal {
  background: var(--cream-2);
  border: 1px solid var(--hairline);
  padding: clamp(20px, 3vw, 40px);
}
.cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 18px;
}
.cal__month {
  font-family: var(--serif);
  font-size: 22px;
}
.cal__month .em { font-style: italic; color: var(--muted-2); }
.cal__nav {
  display: flex;
  gap: 6px;
}
.cal__nav button {
  width: 34px; height: 34px;
  border: 1px solid var(--hairline-strong);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, color .25s;
}
.cal__nav button:hover { background: var(--ink); color: var(--cream); }

.cal__dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 10px;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__day {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  color: var(--ink);
}
.cal__day:hover:not(.is-disabled):not(.is-empty) { border-color: var(--hairline-strong); }
.cal__day.is-disabled { color: var(--muted-2); cursor: not-allowed; opacity: 0.5; }
.cal__day.is-empty { cursor: default; }
.cal__day.is-today { font-weight: 600; }
.cal__day.is-today::after { content: ''; width: 4px; height: 4px; background: var(--accent); border-radius: 50%; position: absolute; margin-top: 24px; }
.cal__day { position: relative; }
.cal__day.is-selected { background: var(--ink); color: var(--cream); }

.cal__times {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.cal__times h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 14px;
}
.cal__times h4 .em { font-style: italic; color: var(--muted-2); }
.cal__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.cal__slot {
  padding: 10px 8px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.cal__slot:hover { border-color: var(--ink); }
.cal__slot.is-selected { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cal__slot:disabled { opacity: 0.35; cursor: not-allowed; }

.cal__confirm {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.cal__confirm .selected {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
}
.cal__confirm.is-booked {
  display: block;
}
.cal__booked-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.cal__booked-head .selected { font-style: normal; color: var(--ink); }
.cal__booked-head .selected .em { font-style: italic; color: var(--muted-2); }
.cal__check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.cal__booked-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.cal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.cal__alt {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  background: none;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
  font-family: inherit;
  transition: color .25s ease, border-color .25s ease;
}
.cal__alt:hover { color: var(--ink); border-bottom-color: var(--ink); }
.free-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.01em;
}
.free-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 14px 14px 22px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: background .35s, color .35s, gap .35s;
  border: 1px solid var(--ink);
}
.btn-pill:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-pill:not(:disabled):hover { gap: 18px; }
.btn-pill .arrow {
  width: 28px; height: 28px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.btn-pill:not(:disabled):hover .arrow { transform: rotate(-45deg); }

.btn-pill--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-pill--ghost .arrow { background: var(--ink); color: var(--cream); }
.btn-pill--ghost:hover { background: var(--ink); color: var(--cream); }
.btn-pill--ghost:hover .arrow { background: var(--cream); color: var(--ink); }

@media (max-width: 880px) {
  .agenda { grid-template-columns: 1fr; }
  .agenda__intro { position: static; }
  .cal__slots { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: clamp(64px, 9vw, 120px) var(--pad-x) 36px;
  border-top: 1px solid var(--hairline);
  position: relative;
  background: var(--brown);
  color: var(--cream);
}
.footer .divider, .footer__grid, .footer__bottom { border-color: rgba(249,246,239,0.16) !important; }
.footer__masthead .muted { color: var(--accent-soft); }
.footer__masthead .em { font-style: italic; color: var(--peach); }
.footer__col h5 { color: var(--accent-soft); }
.footer__col p, .footer__col a { color: var(--cream); }
.footer__col a:hover { color: var(--peach); }
.footer__bottom { color: rgba(249,246,239,0.6); }
.footer__bottom span span { color: var(--accent-soft) !important; }
.footer__masthead {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 14vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.footer__masthead .em { font-style: italic; }
.footer__masthead .muted { color: var(--muted-2); }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}
.footer__col h5 {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
  font-weight: 500;
}
.footer__col p, .footer__col a {
  font-size: 15px;
  color: var(--cream);
  display: block;
  line-height: 1.5;
  margin-bottom: 6px;
  transition: color .2s;
}
.footer__col a:hover { color: var(--peach); }
.footer__contact .lead {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  max-width: 22ch;
  line-height: 1.2;
}

.footer__bottom {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 880px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   WHATSAPP FLOATING
   ============================================ */
.wa-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 40px rgba(15,16,14,0.18);
  transition: transform .4s cubic-bezier(.16,1,.3,1), background .3s;
}
.wa-fab:hover { transform: translateY(-2px); background: #25D366; color: #fff; }
.wa-fab__icon {
  width: 32px; height: 32px;
  background: #25D366;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background .3s;
}
.wa-fab:hover .wa-fab__icon { background: var(--cream); color: #25D366; }
.wa-fab__icon svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .wa-fab span.lbl { display: none; }
  .wa-fab { padding: 6px; }
}

/* ============================================
   Misc
   ============================================ */
.marquee {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  padding: clamp(18px, 2vw, 28px) 0;
  margin: clamp(48px, 7vw, 96px) calc(-1 * var(--pad-x)) 0;
  background: var(--accent-soft);
  color: var(--brown);
}
.marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1;
  width: max-content;
}
.marquee__track .em { font-style: italic; color: var(--brown); opacity: 0.7; }
.marquee__track .star { font-size: 0.6em; vertical-align: middle; color: var(--accent); margin: 0 0.4em; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Selection */
::selection { background: var(--ink); color: var(--cream); }

/* ============================================
   CLIENTS / LOGO WALL
   ============================================ */
.logos {
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--hairline);
  background: #ffffff;
}
.logos__head {
  padding: 0 var(--pad-x);
  margin-bottom: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.logos__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.logos__title .em { font-style: italic; color: var(--accent); }

.logo-wall {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.4vw, 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-row {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: marqLeft 70s linear infinite;
}
.logo-row--alt { animation-duration: 92s; }
.logo-wall:hover .logo-row { animation-play-state: paused; }

@keyframes marqLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(34px, 4.5vw, 68px);
  height: clamp(112px, 10vw, 152px);
  color: var(--ink);
  white-space: nowrap;
  opacity: 0.8;
  filter: grayscale(1);
  transition: opacity .45s ease, color .45s ease, transform .45s cubic-bezier(.16,1,.3,1);
  border-right: 1px solid var(--hairline);
  line-height: 1;
  user-select: none;
}
.logo-item:hover {
  opacity: 1;
  color: var(--brown);
  transform: translateY(-2px);
}
.logo-item .heart { color: var(--accent); font-style: normal; }
.logo-item img {
  height: clamp(62px, 6.6vw, 92px);
  width: auto;
  max-width: 340px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}
@media (max-width: 880px) {
  .logo-item img { height: 58px; }
}
/* Slightly smaller for wide / heavy wordmarks so the strip feels even */
.logo-item--sm img { height: clamp(46px, 5vw, 68px); }
@media (max-width: 880px) {
  .logo-item--sm img { height: 44px; }
}

/* Wordmark styles */
.lg-script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 38px);
}
.lg-serif {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -0.01em;
}
.lg-serif-caps {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.lg-sans {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -0.01em;
}
.lg-sans-low {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.1vw, 30px);
  text-transform: lowercase;
}
.lg-sans-caps {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(17px, 1.8vw, 25px);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.lg-sans-caps-wide {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(16px, 1.7vw, 23px);
  text-transform: uppercase;
  letter-spacing: 0.42em;
}
.lg-item-sub {
  font-size: 0.42em;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
.lg-light { font-weight: 300; }
.lg-bold { font-weight: 800; }

@media (max-width: 880px) {
  .logo-item { height: 64px; }
}

/* ============================================
   MÓVIL — hero centrado + sin desbordes
   ============================================ */
@media (max-width: 560px) {
  html { overflow-x: hidden; }

  /* Hero centrado */
  .hero { padding-top: 92px; padding-bottom: 44px; text-align: center; }
  .hero__top { justify-items: center; text-align: center; }
  .hero__issue { justify-content: center; }
  .hero__role { text-align: center; }

  /* Nombre + subtítulo sobre el video, centrados y legibles */
  .hero__video-overlay {
    align-items: center;
    text-align: center;
    padding: 28px 20px 30px;
    background: linear-gradient(180deg, transparent 30%, rgba(20,12,4,0.66) 100%);
  }
  .hero__video-name { align-items: center; text-align: center; }
  .hero__video-sub {
    margin-left: auto;
    margin-right: auto;
    max-width: 94%;
    font-size: 13.5px;
  }
  .hero__video-credit { font-size: 13px; }

  /* Frase principal centrada */
  .hero__phrase { text-align: center; }

  /* Meta + CTA centrados, botón cómodo para el dedo */
  .hero__meta { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .hero__meta > div { width: 100%; }
  .hero__meta .cta-btn { width: 100%; max-width: 340px; }
  .hero__meta a.cta-btn { padding: 16px 20px; justify-content: center; }
  .cta-btn { width: 100%; max-width: 340px; justify-content: center; }
  .cta-btn > span { min-width: 0; }

  /* Encabezados de sección centrados */
  .section__head { text-align: center; justify-items: center; }
  .section__num { justify-content: center; }
  .section__title { margin-left: auto; margin-right: auto; }

  /* Firma / contacto centrados */
  .about__signature { justify-content: center; text-align: center; }

  /* Footer centrado y a una columna */
  .footer__grid { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 32px; }
  .footer__col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Cualquier media nunca rebasa el ancho */
  img, video, svg { max-width: 100%; }
}
