/* =========================================================
   ET Media and Marketing - premium redesign (light theme)
   Palette: white #FFFFFF · cool off-white #F5F7FB · electric blue #2F5CFF
            near-black #0A0A0C · deep navy #0B1330 (single grounding element)
   Type: Hanken Grotesk (display) + Instrument Sans (body)
   Design note: a light, airy composition. Section rhythm comes from white
   alternating with a soft cool off-white. One accent color (electric blue),
   one radius system, one grounding dark element (the footer).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy: #0B1330;
  --navy-800: #0d1738;
  --navy-700: #131d47;
  --blue: #2F5CFF;
  --blue-600: #244cdf;
  --blue-050: #eef2ff;
  --white: #ffffff;
  --ink: #0A0A0C;

  /* light surfaces */
  --paper: #ffffff;
  --paper-alt: #F5F7FB;

  /* text on light backgrounds */
  --text: #0A0A0C;
  --text-muted: #5A6072;

  /* text on the one dark (navy) surface */
  --on-dark: #f4f6ff;
  --on-dark-muted: #aab2d0;

  --line: rgba(10, 10, 12, 0.10);
  --line-strong: rgba(10, 10, 12, 0.14);
  --line-onDark: rgba(255, 255, 255, 0.14);

  /* soft, tinted elevation for a light premium surface */
  --shadow-sm: 0 1px 2px rgba(11, 19, 48, 0.04);
  --shadow-card: 0 1px 3px rgba(11, 19, 48, 0.05), 0 10px 30px rgba(11, 19, 48, 0.06);
  --shadow-card-hover: 0 4px 10px rgba(11, 19, 48, 0.07), 0 24px 50px rgba(11, 19, 48, 0.12);

  /* radius system: CTAs are pill, everything structural is soft (14px) */
  --r-pill: 999px;
  --r: 14px;
  --r-sm: 10px;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 4rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.55s;

  --font-display: "Hanken Grotesk", "Instrument Sans", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset-ish ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

/* Accessibility: visible focus */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.4rem;
  color: var(--blue);
}

.section-title {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem);
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--blue-600); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--text); background: rgba(10, 10, 12, 0.03); }

.btn--lg { padding: 1.1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; padding: 1.1rem 1.5rem; }

/* ============================================================
   NAV  (light / translucent white on scroll)
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  height: 72px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Wordmark (CSS-built, no raster logo) */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  line-height: 1;
  color: var(--text);
}
.wordmark__mark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.wordmark__name {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--text-muted);
}
.wordmark__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  align-self: center;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav__links a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--text); }

.nav__cta { padding: 0.7rem 1.2rem; }

.nav__quick-actions {
  display: flex;
  gap: 0.6rem;
}
.nav__quick-btn { padding: 0.7rem 1.1rem; font-size: 0.88rem; }

.nav__mobile-quick {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.nav__mobile-quick .btn { flex: 1; }

/* compact icon-only call/text, shown only on mobile next to the toggle */
.nav__quick-icons {
  display: none;
  gap: 0.5rem;
  margin-left: auto;
}
.nav__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #fff;
  transition: background 0.2s var(--ease), transform 0.18s var(--ease);
}
.nav__icon-btn:hover { background: var(--blue-600); }
.nav__icon-btn:active { transform: scale(0.96); }

/* mobile toggle */
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile[hidden] { display: none; }
.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem var(--gutter) 1.6rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav__mobile a {
  padding: 0.75rem 0;
  font-size: 1.05rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a.btn {
  margin-top: 0.6rem;
  border-bottom: none;
  color: #fff;
}

/* ============================================================
   HERO  (light)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 4.5rem;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
}
/* subtle brand tint, a single soft light source on white (not a heavy glow) */
.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -8%;
  width: 58vw;
  height: 58vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(circle, rgba(47, 92, 255, 0.10), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }

.hero__title {
  font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  max-width: 15ch;
  color: var(--text);
}
.hero__title-accent {
  display: block;
  color: var(--blue);
}

.hero__sub {
  margin: 2rem 0 0;
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.6rem;
}

.hero__meta {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  z-index: 1;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Hero headline reveal (word split via JS) */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-word > span {
  display: inline-block;
  transform: translateY(100%);
  animation: word-rise 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes word-rise { to { transform: translateY(0); } }

/* ============================================================
   SERVICES  (cool off-white)
   ============================================================ */
.services {
  background: var(--paper-alt);
  color: var(--text);
  padding: clamp(5rem, 4rem + 6vw, 9rem) 0;
}
.services__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.services .section-title { max-width: 14ch; }

.cards {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}

/* service image lives at the top of the card, always visible */
.card__media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 45%, var(--blue) 130%);
  border-bottom: 1px solid var(--line);
}
.card__media-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
/* only reveal the placeholder text when the image actually fails */
.card__img.is-error ~ .card__media-fallback { display: flex; }
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.5s var(--ease);
}
.card:hover .card__img,
.card:focus-within .card__img { transform: scale(1.04); }
/* if the source is missing, hide the broken img so the gradient shows through */
.card__img.is-error { display: none; }

.card__body-wrap {
  padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.card__index {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* conversion action: the arrow button; its ::after stretches over the whole
   card so a click anywhere on the card triggers it (one tab stop, real button,
   heading semantics preserved) */
.card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--paper);
  color: var(--blue);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.card__action::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card:hover .card__action,
.card__action:hover,
.card:focus-within .card__action {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.card:hover .card__action svg { transform: translateX(2px); }
.card__action svg { transition: transform 0.25s var(--ease); }

.card__title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  color: var(--text);
  transition: color 0.3s var(--ease);
}
.card:hover .card__title,
.card:focus-within .card__title { color: var(--blue); }

.card__subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin: 0.5rem 0 0.9rem;
}
.card__body {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================================
   APPROACH  (white)
   ============================================================ */
.approach {
  background: var(--white);
  color: var(--text);
  padding: clamp(5.5rem, 4rem + 8vw, 11rem) 0;
}
.approach__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.approach__text { max-width: 52ch; }
.approach__title {
  font-size: clamp(2.6rem, 1.4rem + 5vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--text);
}
.approach__body {
  max-width: 52ch;
  margin-top: 2rem;
}
.approach__body p {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.25s var(--ease), border-color 0.25s var(--ease);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover { gap: 0.8rem; border-bottom-color: var(--blue); }
.link-arrow:hover svg { transform: translateX(3px); }

/* team photograph: tall portrait filling the second column */
.approach__media {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  background: var(--paper-alt);
}
.approach__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   STUDIO  (cool off-white photo strip)
   ============================================================ */
.studio {
  background: var(--paper-alt);
  color: var(--text);
  padding: clamp(5rem, 4rem + 6vw, 9rem) 0;
}
.studio__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.studio .section-title { max-width: 16ch; }

.studio__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
}

.studio__item { margin: 0; }

.studio__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.studio__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.studio__item:hover .studio__media {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}
.studio__item:hover .studio__img { transform: scale(1.04); }

.studio__caption {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

/* ============================================================
   FAQ  (white)
   ============================================================ */
.faq {
  background: var(--paper);
  color: var(--text);
  padding: clamp(5rem, 4rem + 6vw, 9rem) 0;
}
.faq__head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.faq .section-title { max-width: 14ch; }

.faq__list {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }

.faq__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 500;
  transition: transform 0.3s var(--ease), background 0.2s var(--ease);
}
.faq__item[open] .faq__icon {
  transform: rotate(45deg);
  background: var(--blue-050);
}

.faq__answer {
  max-width: 60ch;
  padding: 0 0 1.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__answer {
    animation: faq-reveal 0.35s var(--ease);
  }
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CONTACT  (cool off-white)
   ============================================================ */
.contact {
  background: var(--paper);
  color: var(--text);
  padding: clamp(5rem, 4rem + 6vw, 9rem) 0;
}
.contact__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  align-items: start;
}
.contact__title {
  font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem);
  letter-spacing: -0.03em;
  max-width: 12ch;
  color: var(--text);
}
.contact__body {
  margin-top: 1.6rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40ch;
}
.contact__details {
  margin: 2.8rem 0 0;
  display: grid;
  gap: 1.75rem;
}
.contact__details div { display: grid; gap: 0.35rem; }
.contact__details dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.contact__details dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.45;
}

.contact__phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2.2rem 0 0;
}

/* form */
.contact__form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  display: grid;
  gap: 1.2rem;
}
.hidden-field { position: absolute; left: -9999px; }

.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--paper-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.85rem 0.95rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #8a90a3; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(47, 92, 255, 0.12);
}
.contact__form .btn { margin-top: 0.4rem; }

/* ============================================================
   FOOTER  (deep navy - the single grounding dark element)
   ============================================================ */
.footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding: clamp(3rem, 2.5rem + 2vw, 4.5rem) 0;
  border-top: 1px solid var(--navy-700);
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.footer .wordmark { color: var(--on-dark); }
.footer .wordmark__name { color: var(--on-dark-muted); }
.footer__tag {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--on-dark);
}
.footer__copy {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
}

/* ============================================================
   SCROLL REVEAL (native CSS scroll-driven + IO fallback)
   Enabled only when JS is present (html.reveal-enabled).
   No-JS users see everything immediately.
   ============================================================ */
html.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(26px);
}
html.reveal-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html.reveal-enabled .reveal {
      opacity: 0;
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }
  }
}
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__quick-actions { display: none; }
  .nav__quick-icons { display: flex; }
  .nav__toggle { display: flex; margin-left: 0.5rem; }

  /* approach stays a 2-column split through tablet, just tighter */
  .approach__inner { grid-template-columns: 1fr 0.75fr; gap: 2rem; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__inner { gap: 0.75rem; }
  .wordmark__name { display: none; }

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

  /* approach: stack text, then the team photo underneath */
  .approach__inner { grid-template-columns: 1fr; align-items: start; }
  .approach__text { max-width: none; }
  .approach__media { aspect-ratio: 4 / 5; }

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

  .hero { padding-top: 7rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .footer__copy { margin-left: 0; width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.reveal-enabled .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .split-word > span { transform: none !important; }

  .studio__item:hover .studio__media,
  .studio__item:hover .studio__img { transform: none !important; }
}
