/* =========================================================================
   SOL FLORENCIA DUFFOUR — DESIGN TOKENS
   Palette: off-white / soft grey / soft sky blue / desaturated blue / soft
   terracotta accent. No saturated colors anywhere.
   Type: Bricolage Grotesque (display) + Inter (body) — both sans-serif,
   per brief. Display carries personality via wide tracking + light weight;
   body stays quiet and highly legible.
   Signature element: the "sprocket" strip — a row of small hollow circles
   referencing 35mm film perforations — marks the seams between sections,
   a structural device drawn from the subject's own material (analog film)
   rather than decoration.
   ========================================================================= */

:root {
  --white: #FFFFFF;
  --off-white: #F6F4F1;
  --grey-100: #ECEAE5;
  --grey-300: #DAD7D0;
  --grey-500: #9B978D;
  --ink: #242220;
  --ink-soft: #58554E;
  --sky: #C7DCE4;
  --sky-deep: #8FB4C4;
  --blue: #6D8CA1;
  --terracotta: #C77E63;
  --terracotta-soft: #E9CCC0;

  --font-display: "Bricolage Grotesque", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1240px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
  --radius: 2px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .7s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img { max-width: 100%; display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white); padding: .8rem 1.2rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .9rem;
  display: block;
}
.eyebrow--on-dark { color: var(--sky); }

/* ---------- reveal-on-scroll (subtle, per brief: "sin exceso") --------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .95rem 1.9rem;
  font-size: .92rem; font-weight: 600; letter-spacing: .01em;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--terracotta); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn--ghost { border: 1px solid var(--grey-300); color: var(--ink); padding: .7rem 1.4rem; font-size: .85rem; }
.btn--ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
}
.nav.is-scrolled {
  background: rgba(246, 244, 241, .82);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--grey-300);
}
.nav__inner {
  max-width: var(--container); margin: 0 auto; padding: 1.35rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
.nav__menu { display: flex; align-items: center; gap: 2.4rem; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  font-size: .88rem; font-weight: 500; position: relative; padding: .2rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--terracotta); transition: right var(--dur) var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__actions { display: flex; align-items: center; gap: 1.1rem; }
.nav__toggle { display: none; }

.lang-switch {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  display: inline-flex; gap: .35rem; padding: .4rem .2rem;
}
.lang-switch [data-lang-current] { color: var(--ink); }
.lang-switch [data-lang-other] { color: var(--grey-500); }
.lang-switch:hover [data-lang-other] { color: var(--terracotta); }
.lang-switch__divider { color: var(--grey-300); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) 4.5rem;
  overflow: hidden;
}
.hero__frame {
  position: absolute; inset: 0;
  overflow: hidden;
  animation: heroReveal 2.6s var(--ease) both;
}
@keyframes heroReveal {
  from { transform: scale(1.06); opacity: .001; }
  to { transform: scale(1); opacity: 1; }
}
.hero__image {
  width: 100%; height: 100%; object-fit: cover; object-position: 30% 35%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,17,0) 40%, rgba(20,19,17,.38) 100%);
  pointer-events: none;
}
.hero__content { position: relative; max-width: 760px; }
.hero__reveal {
  opacity: 0; transform: translateY(24px);
  animation: heroText 1.4s var(--ease) both;
}
.hero__content .eyebrow { animation-delay: .5s; }
.hero__title { animation-delay: .75s; }
@keyframes heroText { to { opacity: 1; transform: translateY(0); } }
.hero__title {
  font-size: clamp(2.8rem, 8vw, 6.4rem);
  color: var(--white);
  margin-top: .5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,.14);
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2.4rem;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--white);
  opacity: .85;
}
.hero__scroll-line { width: 1px; height: 42px; background: rgba(255,255,255,.6); overflow: hidden; position: relative; }
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--white); animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ---------- hero intro: the editorial statement that follows the cover ---------- */
.hero-intro {
  max-width: 780px; margin: 0 auto;
  padding: 8rem var(--gutter) 7rem;
  text-align: center;
}
.hero-intro__subtitle {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  color: var(--ink);
}
.hero-intro__lead {
  max-width: 48ch; margin: 1.6rem auto 0; color: var(--ink-soft); font-size: 1.05rem;
}
.hero-intro__actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2.6rem; flex-wrap: wrap; }

/* ---------- full-bleed editorial interludes ---------- */
.bleed {
  position: relative; width: 100%; height: 82svh; margin: 0 0 0;
  overflow: hidden;
}
.bleed__surface {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease);
}
.bleed__caption {
  position: absolute; left: var(--gutter); bottom: 2.2rem;
  color: var(--white); font-size: .85rem; letter-spacing: .04em;
  text-shadow: 0 1px 16px rgba(0,0,0,.25);
}

/* ---------- sprockets signature divider ---------- */
.sprockets {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 2.6rem 0;
}
.sprockets span {
  width: 6px; height: 6px; border-radius: 50%;
  border: 1px solid var(--grey-300);
}

/* =========================================================================
   SECTION SCAFFOLDING
   ========================================================================= */
.section { max-width: var(--container); margin: 0 auto; padding: 8rem var(--gutter); }
.section--tint { background: var(--white); max-width: none; }
.section--tint > * { max-width: var(--container); margin-left: auto; margin-right: auto; }
.section--narrow { max-width: 900px; }
.section--compact { padding-top: 4.5rem; padding-bottom: 5rem; }
.section--spacious { padding-top: 10rem; padding-bottom: 10rem; }
.section__intro { max-width: 640px; margin-bottom: 3.4rem; }
.section__intro--video { margin-top: 5.5rem; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section__lead { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 54ch; }

/* =========================================================================
   PORTFOLIO / GALLERY
   ========================================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
/* Eight frames. Aspect ratio comes from an inline style per item (set in
   main.js from content.js), so it stays correct regardless of order.
   Feature items (Alma, Laguna de los 3) span the full grid width. */
.gallery-item.is-feature { grid-column: span 3; }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item[hidden] { display: none; }

.gallery-item.is-pending {
  cursor: default;
}
.gallery-item.is-pending .gallery-item__surface {
  opacity: .38;
  border: 1px dashed var(--grey-500);
}
.gallery-item.is-pending .gallery-item__meta { opacity: 1; transform: none; }

.gallery-item__surface {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 1.6rem;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease);
}
.gallery-item:hover .gallery-item__surface,
.gallery-item:focus-visible .gallery-item__surface { transform: scale(1.03); }
.gallery-item.is-pending:hover .gallery-item__surface { transform: none; }
.gallery-item__meta {
  color: var(--white); text-shadow: 0 1px 12px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery-item:hover .gallery-item__meta,
.gallery-item:focus-visible .gallery-item__meta { opacity: 1; transform: translateY(0); }
.gallery-item__cat { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.gallery-item__title { font-family: var(--font-display); font-size: 1.2rem; margin-top: .3rem; font-weight: 400; }

/* ---------- lightbox: immersive, exhibition-like viewer ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(18, 17, 15, .96);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem;
  opacity: 0; transition: opacity .4s var(--ease);
}
.lightbox:not([hidden]) { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__stage {
  width: min(80vw, 1100px); aspect-ratio: 4/5; max-height: 82svh; max-width: 82svh;
  border-radius: var(--radius); overflow: hidden;
  background-size: cover; background-position: center;
  transition: opacity .35s var(--ease);
}
.lightbox__close, .lightbox__nav {
  position: absolute; color: var(--white); font-size: 1.6rem;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.1); }
.lightbox__close { top: 1.6rem; right: 1.6rem; font-size: 1.9rem; font-weight: 300; }
.lightbox__nav--prev { left: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 1.6rem; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .78rem; letter-spacing: .08em;
}
.video-lightbox__player {
  max-width: 90vw; max-height: 88svh; width: auto; height: auto;
  border-radius: var(--radius); background: #000;
}

.tone-sky { background: linear-gradient(150deg, var(--sky) 0%, var(--sky-deep) 100%); }
.tone-blue { background: linear-gradient(150deg, var(--blue) 0%, #4f6c80 100%); }
.tone-terracotta { background: linear-gradient(150deg, var(--terracotta-soft) 0%, var(--terracotta) 100%); }
.tone-grey { background: linear-gradient(150deg, var(--grey-300) 0%, var(--grey-500) 100%); }

.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.video-card {
  position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 1.1rem;
  cursor: pointer;
  background: var(--ink);
}
.video-card__media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.video-card__meta { color: var(--white); position: relative; z-index: 1; }
.video-card__tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.video-card__title { font-family: var(--font-display); font-size: 1rem; margin-top: .2rem; }

/* =========================================================================
   SERVICIOS
   ========================================================================= */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--grey-300); border: 1px solid var(--grey-300);
}
.service-card {
  background: var(--white); padding: 2.4rem 2rem;
}
.service-card__icon {
  width: 34px; height: 34px; margin-bottom: 1.6rem; color: var(--terracotta);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title { font-size: 1.15rem; margin-bottom: .7rem; }
.service-card__text { color: var(--ink-soft); font-size: .95rem; }

/* =========================================================================
   SOBRE MÍ
   ========================================================================= */
.about {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: center;
}
.about__frame { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; }
.about__image { width: 100%; height: 100%; object-fit: cover; }
.about__text { margin-top: 1.6rem; display: grid; gap: 1.1rem; max-width: 56ch; color: var(--ink-soft); }
.about__stats { display: flex; gap: 2.6rem; margin-top: 2.4rem; }
.about-stat__value { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink); }
.about-stat__label { font-size: .8rem; color: var(--ink-soft); margin-top: .2rem; max-width: 12ch; }

/* =========================================================================
   FILOSOFÍA
   ========================================================================= */
.philosophy {
  background: var(--ink); color: var(--white);
  padding: 7rem var(--gutter); text-align: center;
}
.philosophy__title { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); max-width: 780px; margin: 0 auto; }
.philosophy__statements { max-width: 720px; margin: 3rem auto; display: grid; gap: 1.4rem; }
.philosophy__statements p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem); color: var(--sky);
}
.philosophy__closing { max-width: 560px; margin: 0 auto; color: rgba(255,255,255,.68); font-size: 1rem; }

/* =========================================================================
   CÓMO TRABAJO — timeline (real sequence, numbering justified)
   ========================================================================= */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; counter-reset: step; }
.timeline-step {
  border-top: 1px solid var(--grey-300); padding-top: 1.4rem;
  counter-increment: step;
}
.timeline-step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-size: .85rem; color: var(--terracotta);
  margin-bottom: .9rem; letter-spacing: .05em;
}
.timeline-step__title { font-size: 1.05rem; margin-bottom: .5rem; }
.timeline-step__text { font-size: .9rem; color: var(--ink-soft); }
.timeline__note { margin-top: 2.8rem; color: var(--ink-soft); max-width: 60ch; font-size: .95rem; }

/* =========================================================================
   MÁS ALLÁ DE LA CÁMARA
   ========================================================================= */
.beyond-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--grey-300); border: 1px solid var(--grey-300); }
.beyond-card {
  background: var(--off-white); padding: 2rem 1.4rem; display: flex; flex-direction: column; gap: 1rem;
  min-height: 150px; justify-content: flex-end;
}
.beyond-card__icon { width: 26px; height: 26px; color: var(--blue); }
.beyond-card__icon svg { width: 100%; height: 100%; }
.beyond-card__title { font-size: .98rem; }

/* =========================================================================
   RED DE COLABORADORES
   ========================================================================= */
.tag-cloud { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.tag-cloud li {
  border: 1px solid var(--grey-300); border-radius: 999px; padding: .55rem 1.15rem;
  font-size: .86rem; color: var(--ink-soft);
}

/* =========================================================================
   HERRAMIENTAS
   ========================================================================= */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; margin-top: 2rem; }
.tools-group__title { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; }
.tools-group__list { display: grid; gap: .5rem; }
.tools-group__list li { font-size: .95rem; color: var(--ink-soft); }

/* =========================================================================
   CONFIARON EN MÍ — client logos in small, discreet circles
   ========================================================================= */
.logos-grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.8rem; margin-top: 2.4rem;
}
.logo-badge {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--grey-300); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(65%); opacity: .85;
  transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}
.logo-badge:hover { filter: grayscale(0%); opacity: 1; transform: translateY(-2px); }
.logo-badge img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* =========================================================================
   TESTIMONIOS — framed screenshots, no transcription, no embellishment
   ========================================================================= */
.testimonios-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 1.6rem; margin-top: 2.4rem;
}
.testimonio-card {
  background: var(--white); border: 1px solid var(--grey-300); border-radius: var(--radius);
  padding: .6rem; box-shadow: 0 12px 30px -18px rgba(36,34,32,.25);
}
.testimonio-card img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* =========================================================================
   CONTACTO
   ========================================================================= */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; }
.contact__channels { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.contact__channels a {
  border: 1px solid var(--grey-300); border-radius: 999px; padding: .6rem 1.2rem; font-size: .86rem;
  transition: all .3s var(--ease);
}
.contact__channels a:hover { border-color: var(--terracotta); color: var(--terracotta); }
.contact__channels-title { margin-top: 2.4rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

.contact__form { display: grid; gap: 1.3rem; align-content: start; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .82rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea {
  font-family: inherit; font-size: .95rem; padding: .85rem 1rem;
  border: 1px solid var(--grey-300); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color .3s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--terracotta); }
.contact__form-note { font-size: .78rem; color: var(--grey-500); }
.contact__form-status { font-size: .85rem; color: var(--terracotta); min-height: 1.2em; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: var(--white); padding: 4rem var(--gutter) 2rem; }
.footer__inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.14);
}
.footer__logo { font-family: var(--font-display); font-size: 1.2rem; }
.footer__tagline { color: rgba(255,255,255,.6); margin-top: .5rem; font-size: .9rem; }
.footer__socials { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__socials a { font-size: .88rem; color: rgba(255,255,255,.75); }
.footer__socials a:hover { color: var(--sky); }
.footer__meta { display: flex; align-items: center; gap: 1.6rem; }
.footer__meta .lang-switch [data-lang-current] { color: var(--white); }
.footer__top { font-size: .85rem; color: rgba(255,255,255,.75); }
.footer__top:hover { color: var(--sky); }
.footer__rights { max-width: var(--container); margin: 1.6rem auto 0; font-size: .78rem; color: rgba(255,255,255,.45); }

/* =========================================================================
   RESPONSIVE — TABLET
   ========================================================================= */
@media (max-width: 1024px) {
  .services-grid, .beyond-grid { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .about { grid-template-columns: 1fr; gap: 3rem; }
  .about__frame { max-width: 420px; }
  .contact { grid-template-columns: 1fr; gap: 3rem; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   RESPONSIVE — MOBILE (designed for, not squeezed)
   ========================================================================= */
@media (max-width: 720px) {
  .logo-badge { width: 68px; height: 68px; }
  .testimonios-grid { grid-template-columns: 1fr; }
  .nav__inner { padding: 1.1rem var(--gutter); }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px; width: 22px; z-index: 110;
  }
  .nav__toggle span { height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s var(--ease); }
  .nav__menu {
    position: fixed; inset: 0; top: 0; left: 100%;
    width: 100%; height: 100svh;
    background: var(--off-white);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 0 var(--gutter);
    transition: left .5s var(--ease);
    gap: 2.4rem;
  }
  .nav__menu.is-open { left: 0; }
  .nav__links { flex-direction: column; gap: 1.6rem; }
  .nav__links a { font-size: 1.4rem; font-family: var(--font-display); }
  .nav__actions { flex-direction: column; align-items: flex-start; gap: 1.4rem; margin-top: .5rem; }

  .hero { place-items: end start; padding: 0 var(--gutter) 3.5rem; }
  .hero__content { padding-top: 7rem; }
  .hero__title { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero__scroll { display: none; }

  .section { padding: 4.5rem var(--gutter); }
  .section__intro--video { margin-top: 3.5rem; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .gallery-item.is-feature { grid-column: span 2; aspect-ratio: 16 / 10 !important; }
  .gallery-item__title { font-size: .98rem; }

  .videos { grid-template-columns: 1fr 1fr; gap: .8rem; }

  .services-grid, .beyond-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; gap: 2rem; }

  .about__stats { flex-wrap: wrap; row-gap: 1.6rem; }

  .philosophy { padding: 4.5rem var(--gutter); }

  .timeline { grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }

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

  .footer__inner { flex-direction: column; }
  .footer__meta { width: 100%; justify-content: space-between; }
}

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