/* =====================================================
   Gadaa Barber Shop — mobile-first stylesheet
   Palette: black / brand-red / white, navy + gold accents
   ===================================================== */

:root {
  --ink:        #0b0b0d;
  --ink-2:      #101014;
  --surface:    #16161b;
  --surface-2:  #1d1d24;
  --line:       rgba(255, 255, 255, 0.09);
  --line-strong:rgba(255, 255, 255, 0.16);

  --red:        #e4121f;
  --red-bright: #ff2a36;
  --red-deep:   #a50b14;
  --gold:       #c9a24b;
  --navy:       #1b2a52;

  --white:      #f5f4f2;
  --muted:      #a2a2ac;
  --muted-2:    #76767f;

  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-head:    'Oswald', 'Inter', sans-serif;
  --font-script:  'Great Vibes', cursive;

  --shell:  1200px;
  --radius: 14px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--red); color: #fff; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 9999;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-bright));
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  --pad-y: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--pad-y) 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { flex: none; }
.btn--sm { --pad-y: 10px; padding: 10px 18px; font-size: 0.74rem; }
.btn--lg { --pad-y: 18px; padding: 18px 40px; font-size: 1rem; }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(228, 18, 31, 0.6);
}
.btn--primary:hover { background: var(--red-bright); box-shadow: 0 16px 40px -10px rgba(228, 18, 31, 0.75); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 7px;
  line-height: 1;
}
.brand__script {
  font-family: var(--font-script);
  font-size: 1.85rem;
  color: var(--white);
  transform: translateY(2px);
}
.brand__bold {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--red);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.25s;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  width: 20px; height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  padding-top: 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 70% 10%, rgba(228,18,31,0.18), transparent 55%),
    linear-gradient(180deg, #121216, #0b0b0d 70%);
}
.hero__bg canvas { display: block; }
.hero__fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11,11,13,0.35) 0%, rgba(11,11,13,0) 30%, rgba(11,11,13,0.55) 75%, var(--ink) 100%);
}

.hero__content { max-width: 760px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.kicker__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(228,18,31,0.22);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(228,18,31,0.22); }
  50%     { box-shadow: 0 0 0 7px rgba(228,18,31,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 17vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(105%); }
.shiny {
  background: linear-gradient(100deg, var(--red) 20%, #ff6a72 42%, #fff 50%, #ff6a72 58%, var(--red) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}
@keyframes shine { to { background-position: -200% center; } }

.hero__lead {
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero__rating { display: flex; align-items: center; gap: 14px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.15rem; }
.hero__rating-text { font-size: 0.95rem; color: var(--muted); }
.hero__rating-text strong { color: var(--white); font-size: 1.1rem; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.scroll-cue__line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--red), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--white);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { top: -50%; } 100% { top: 100%; } }

/* =====================================================
   Stats
   ===================================================== */
.stats {
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-inline: 20px;
  width: auto;
}
@media (min-width: 760px){ .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  background: var(--ink);
  padding: 38px 22px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--white);
}
.stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* =====================================================
   Marquee
   ===================================================== */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--red);
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.marquee__track i { color: rgba(255,255,255,0.6); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================
   Section primitives
   ===================================================== */
section { position: relative; }
.story, .services, .work, .reviews, .visit { padding-block: clamp(70px, 11vw, 130px); }

.section-kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-kicker::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--red);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.section-title em { font-style: normal; color: var(--red); }
.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-top: 18px;
  font-size: 1.02rem;
}
.section-head { margin-bottom: 52px; max-width: 760px; }

/* =====================================================
   Story
   ===================================================== */
.story__grid { display: grid; gap: 48px; }
@media (min-width: 900px){
  .story__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
}

.story__media { position: relative; }
.story__media-main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.story__media-main img { width: 100%; height: 100%; object-fit: cover; }
.story__media-sub {
  position: absolute;
  right: -6px; bottom: -34px;
  width: 44%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.8);
}
.story__media-sub img { width: 100%; height: 100%; object-fit: cover; }
.story__badge {
  position: absolute;
  left: -10px; top: -10px;
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 16px 30px -12px rgba(228,18,31,0.7);
  z-index: 2;
}
.story__badge-num { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.story__badge-txt { display: block; font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 3px; }

.story__copy p { color: var(--muted); margin-top: 18px; }
.story__copy .section-title { margin-top: 8px; }
.story__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-top: 30px;
}
.story__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--white);
}
.story__list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* =====================================================
   Services
   ===================================================== */
.services { background: var(--ink-2); border-block: 1px solid var(--line); }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 620px){ .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px){ .svc-grid { grid-template-columns: repeat(3, 1fr); } }

.svc {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
  transform-style: preserve-3d;
}
.svc::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}
.svc:hover { border-color: var(--line-strong); background: var(--surface-2); }
.svc:hover::before { transform: scaleY(1); }
.svc__no {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 0.1em;
}
.svc__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 10px 0 12px;
  letter-spacing: 0.01em;
}
.svc__desc { color: var(--muted); font-size: 0.95rem; }

/* =====================================================
   Work / Gallery
   ===================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 760px){ .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}
.gallery__item--tall { grid-row: span 2; aspect-ratio: 3 / 5; }
@media (max-width: 759px){ .gallery__item--tall { grid-row: span 1; aspect-ratio: 3 / 4; } }

.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(0.92) contrast(1.03);
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.05); }
.gallery__item figcaption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s;
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.75));
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item:hover::after,
.gallery__item:hover figcaption { opacity: 1; transform: translateY(0); }

/* =====================================================
   Reviews
   ===================================================== */
.reviews { background: var(--ink-2); border-block: 1px solid var(--line); overflow: hidden; }
.reviews__rows { display: grid; gap: 18px; padding-block: 6px; }
.review-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 18px; width: max-content; will-change: transform; }

.review {
  flex: none;
  width: 330px;
  max-width: 80vw;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
}
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.review__body { color: var(--white); font-size: 0.96rem; line-height: 1.55; }
.review__who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}
.review__avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
}
.reviews__cta { margin-top: 44px; text-align: center; }

/* =====================================================
   Visit
   ===================================================== */
.visit__grid { display: grid; gap: 44px; }
@media (min-width: 900px){ .visit__grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 64px; } }

.visit__details { margin-top: 34px; display: grid; gap: 22px; }
.visit__details li { display: flex; gap: 16px; align-items: flex-start; }
.visit__ico {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--red);
}
.visit__details strong { display: block; font-size: 1.05rem; font-weight: 600; }
.visit__details span { display: block; color: var(--muted); font-size: 0.9rem; }
.visit__pluscode, .visit__note { color: var(--muted-2) !important; font-size: 0.82rem !important; margin-top: 3px; }
.visit__open { display: flex; align-items: center; gap: 9px; }
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46,204,113,0.22);
  animation: pulse-g 2.4s infinite;
}
@keyframes pulse-g { 0%,100%{box-shadow:0 0 0 3px rgba(46,204,113,0.22);} 50%{box-shadow:0 0 0 7px rgba(46,204,113,0);} }
.visit__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.visit__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(180deg) saturate(0.7); }

/* =====================================================
   CTA band
   ===================================================== */
.cta-band {
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(228,18,31,0.25), transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
  padding-block: clamp(60px, 10vw, 110px);
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding-top: 56px; }
.footer__grid {
  display: grid;
  gap: 34px;
  padding-bottom: 40px;
}
@media (min-width: 760px){ .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.footer__brand .brand__script { font-size: 2rem; }
.footer__brand .brand__bold { font-size: 1.4rem; }
.footer__brand p { color: var(--muted); margin-top: 14px; max-width: 320px; font-size: 0.92rem; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { color: var(--muted); font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; transition: color 0.25s; }
.footer__nav a:hover { color: var(--red); }
.footer__contact { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 0.92rem; }
.footer__contact a { color: var(--white); font-weight: 600; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.8rem;
}

/* =====================================================
   Lightbox
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,5,7,0.94);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 10px;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 48px; height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s;
}
.lightbox__close:hover { background: var(--red); }

/* =====================================================
   Reveal animations (GSAP adds .is-in)
   ===================================================== */
.reveal, .reveal-img { opacity: 0; }
.reveal { transform: translateY(26px); }
.reveal-img { transform: translateY(40px) scale(0.98); }
.reveal.is-in, .reveal-img.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}

/* =====================================================
   Mobile nav
   ===================================================== */
@media (max-width: 900px){
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    background: var(--ink-2);
    border-left: 1px solid var(--line);
    padding: 90px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    box-shadow: -30px 0 60px -20px rgba(0,0,0,0.8);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; padding: 14px 10px; color: var(--white); }
  .nav__link::after { display: none; }
  .nav__cta { margin-left: 0; margin-top: 16px; text-align: center; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }
}

/* =====================================================
   Reduced motion
   ===================================================== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; }
  .reveal-line > span { transform: none !important; }
}
