/* =========================================================
   ADINEXT — Cartographic Editorial
   ========================================================= */

:root {
  /* Paper & Ink */
  --paper:        #F4EFE6;
  --paper-warm:   #F8F3EA;
  --paper-soft:   #EDE6D8;
  --paper-deep:   #E5DCC8;

  /* Ink */
  --ink:          #14201D;
  --ink-soft:     #2B3833;
  --ink-mute:     #5C6863;
  --ink-faint:    #8B928D;

  /* Accents */
  --ember:        #C04A26;
  --ember-deep:   #9C3A1C;
  --ember-soft:   #E07B5A;
  --gold:         #C29347;
  --gold-soft:    #DDB374;
  --moss:         #2E4636;
  --clay:         #C7B89F;

  /* Type */
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --f-mono: "JetBrains Mono", "Courier New", monospace;

  /* Scale */
  --container: 1400px;
  --gutter: clamp(1.5rem, 4vw, 4rem);
  --section-y: clamp(2.5rem, 5vw, 4rem);

  /* Motion */
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-in:  cubic-bezier(0.6, 0, 0.4, 1);
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.45s var(--e-out);
}
body.leaving { opacity: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--paper); }

/* ---------- Paper Grain ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.13 0 0 0 0 0.11 0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px;
}

/* ---------- Typography ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h1, .h1 { font-size: clamp(3rem, 8.5vw, 8.25rem); font-variation-settings: "opsz" 144, "SOFT" 50; }
h2, .h2 { font-size: clamp(2.25rem, 5.5vw, 5rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); line-height: 1.05; }
h4, .h4 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.15; }

em, .italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 90, "WONK" 1; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0.85rem;
  transform: translateY(-1px);
}
.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 56ch;
  font-weight: 400;
}

.mono { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.1em; }
.numeral {
  font-family: var(--f-display);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  font-style: italic;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}
section { position: relative; z-index: 2; }
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }

.divider {
  height: 1px;
  background: var(--ink);
  opacity: 0.22;
}
.divider--thick { height: 2px; background: var(--ink); opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.6rem;
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.4s var(--e-out);
  position: relative;
  overflow: hidden;
}
.btn .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.45s var(--e-out);
}
.btn:hover .arrow { transform: translate(4px, -4px); }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--ember); color: var(--paper); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ember {
  background: var(--ember);
  color: var(--paper);
}
.btn--ember:hover { background: var(--ink); }

/* Underline link */
.ulink {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s var(--e-out);
}
.ulink:hover { color: var(--ember); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.4rem 0;
  transition: background 0.4s var(--e-out), padding 0.4s var(--e-out), border-color 0.4s var(--e-out);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding: 0.9rem 0;
  border-bottom-color: rgba(20, 32, 29, 0.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--f-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  line-height: 1;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-style: italic;
  font-size: 1.15rem;
  transition: transform 0.6s var(--e-spring), background 0.4s;
}
.brand:hover .brand__mark { transform: rotate(360deg); background: var(--ember); }
.brand__name { font-weight: 500; }
.brand__name em { font-style: italic; color: var(--ember); }
.brand__logo {
  height: 36px;
  width: auto;
  display: block;
  transition: filter 0.4s var(--e-out), opacity 0.3s;
}
.brand:hover .brand__logo { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__link {
  font-family: var(--f-body);
  font-size: 0.93rem;
  font-weight: 500;
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--e-out);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ember); }

.nav__cta {
  font-family: var(--f-body);
  font-size: 0.9rem;
  padding: 0.7rem 1.3rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  transition: all 0.4s var(--e-out);
}
.nav__cta:hover { background: var(--ember); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--e-out), opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 24px; }
.nav__toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero (full-bleed, cinematic) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: var(--ink);
}

/* Full-bleed scene */
.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: block;
}
.hero__scene svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Subtle darkening + colour wash so text always reads */
.hero__scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(192, 74, 38, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(20, 32, 29, 0.55) 0%, rgba(20, 32, 29, 0.25) 50%, rgba(20, 32, 29, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFade 1s var(--e-out) 0.1s forwards;
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(244, 239, 230, 0.6);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  color: var(--paper);
  font-size: clamp(2.75rem, 8vw, 7.5rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroRise 1.1s var(--e-out) 0.25s forwards;
}
.hero__title em {
  color: var(--ember-soft);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.hero__tagline {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  max-width: 52ch;
  color: rgba(244, 239, 230, 0.78);
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 1s var(--e-out) 0.5s forwards;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroRise 1s var(--e-out) 0.7s forwards;
}

/* Hero variants of buttons (light on dark) */
.hero .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.hero .btn--primary:hover { background: var(--ember); color: var(--paper); }
.hero .btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 239, 230, 0.4);
}
.hero .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFade {
  to { opacity: 1; }
}

/* Bottom info strip */
.hero__strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.25rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  background: rgba(20, 32, 29, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(244, 239, 230, 0.15);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.7);
  opacity: 0;
  animation: heroFade 1.2s var(--e-out) 1s forwards;
}
.hero__strip-items {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero__strip-items span em {
  color: var(--ember-soft);
  font-style: italic;
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  padding-right: 0.3rem;
}

/* ---------- Nav over dark hero ----------
   Transparent state: light text on dark hero
   Scrolled state:   dark text on cream blurred backdrop  */
.nav--on-dark:not(.scrolled) { color: var(--paper); }
.nav--on-dark:not(.scrolled) .brand,
.nav--on-dark:not(.scrolled) .nav__link { color: var(--paper); }
.nav--on-dark:not(.scrolled) .brand__mark {
  background: var(--paper);
  color: var(--ink);
}
.nav--on-dark:not(.scrolled) .brand__name em { color: var(--ember-soft); }
.nav--on-dark:not(.scrolled) .brand__logo { filter: brightness(0) invert(1); }
.nav--on-dark:not(.scrolled) .nav__cta {
  background: var(--paper);
  color: var(--ink);
}
.nav--on-dark:not(.scrolled) .nav__cta:hover { background: var(--ember); color: var(--paper); }
.nav--on-dark:not(.scrolled) .nav__toggle span { background: var(--paper); }

/* When scrolled, force ink (overrides any inherited paper) */
.nav--on-dark.scrolled,
.nav--on-dark.scrolled .brand,
.nav--on-dark.scrolled .nav__link {
  color: var(--ink);
}
.nav--on-dark.scrolled .brand__name em { color: var(--ember); }
.nav--on-dark.scrolled .nav__link.is-active { color: var(--ember); }

/* ---------- Compass ornament ---------- */
.compass {
  position: absolute;
  width: clamp(180px, 22vw, 320px);
  height: clamp(180px, 22vw, 320px);
  opacity: 0.85;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero — page variant (shorter) ---------- */
.hero--page {
  min-height: 62vh;
  min-height: 62svh;
}
.hero--page .hero__inner {
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}
.hero--page .hero__title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  max-width: 22ch;
}
.hero--page .hero__meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
}
.hero--page .hero__meta-row .mono { color: rgba(244, 239, 230, 0.6); }

/* Breadcrumb */
.crumbs {
  display: flex;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.crumbs a:hover { color: var(--ember); }
.crumbs__sep { opacity: 0.4; }
.crumbs__current { color: var(--ink); }

/* Crumbs on dark hero */
.hero .crumbs { color: rgba(244, 239, 230, 0.7); margin-bottom: 1.75rem; }
.hero .crumbs a:hover { color: var(--ember-soft); }
.hero .crumbs__current { color: var(--paper); }

/* ---------- Section heading ---------- */
.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(20, 32, 29, 0.18);
}
.s-head__main { flex: 1 1 60ch; max-width: 50ch; }
.s-head__num {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1rem;
}
/* Legacy support: when num is a direct child of s-head, push to its own row */
.s-head > .s-head__num {
  flex: 0 0 100%;
  margin-bottom: -0.25rem;
}
.s-head > .s-head__title { flex: 1 1 30ch; max-width: 50ch; }
.s-head__title {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.s-head__title em {
  color: var(--ember);
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.s-head__meta {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
  align-self: flex-end;
}

/* ---------- Service Row ---------- */
.services-list {
  border-top: 1px solid rgba(20, 32, 29, 0.18);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr auto;
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(20, 32, 29, 0.18);
  position: relative;
  transition: padding 0.5s var(--e-out), background 0.5s var(--e-out);
  cursor: pointer;
}
.service-row:hover {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper-warm);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}
.service-row:hover::before { opacity: 1; }
.service-row__num {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.service-row__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.4s;
}
.service-row:hover .service-row__title { color: var(--ember); }
.service-row__title em { font-style: italic; color: var(--ember); }
.service-row__desc {
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}
.service-row__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  transition: all 0.45s var(--e-out);
}
.service-row:hover .service-row__arrow {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--paper);
  transform: rotate(-45deg);
}

/* ---------- Cards Grid ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---------- Project Card ---------- */
.proj-card {
  position: relative;
  display: block;
  background: var(--paper-warm);
  border: 1px solid rgba(20, 32, 29, 0.12);
  transition: transform 0.6s var(--e-out), box-shadow 0.6s var(--e-out);
  overflow: hidden;
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(20, 32, 29, 0.25);
}
.proj-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--paper-deep);
}
.proj-card__media-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: transform 0.8s var(--e-out);
}
.proj-card:hover .proj-card__media-art { transform: scale(1.05); }
.proj-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.7rem;
  background: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  z-index: 2;
}
.proj-card__body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.proj-card__cat {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.7rem;
}
.proj-card__title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1.05;
  margin-bottom: 0.7rem;
  letter-spacing: -0.02em;
}
.proj-card__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- Featured project (large) ---------- */
.featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid rgba(20, 32, 29, 0.18);
  background: var(--paper-warm);
}
.featured__media {
  aspect-ratio: 4/3;
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.featured__body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
.featured__title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1;
}
.featured__title em { color: var(--ember); font-style: italic; }
.featured__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(20, 32, 29, 0.18);
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(20, 32, 29, 0.18);
  border-bottom: 1px solid rgba(20, 32, 29, 0.18);
  padding: 2.2rem 0;
  background: var(--paper-warm);
}
.marquee__track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.marquee__item em { font-style: italic; color: var(--ember); }
.marquee__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ember);
  flex-shrink: 0;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Big CTA Banner ---------- */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(5rem, 10vw, 8rem) var(--gutter);
  position: relative;
  overflow: hidden;
}
.cta-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.cta-banner__left { position: relative; }
.cta-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-bottom: 1.75rem;
}
.cta-banner__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--ember-soft);
}
.cta-banner__title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  color: var(--paper);
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.cta-banner__title em {
  color: var(--ember-soft);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

.cta-banner__right {
  position: relative;
  padding-left: clamp(2rem, 4vw, 4rem);
  border-left: 1px solid rgba(244, 239, 230, 0.18);
}
.cta-banner__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
  margin-bottom: 1.6rem;
}
.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.cta-banner__actions .btn {
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  font-size: 0.98rem;
  width: 100%;
}
.cta-banner__or {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.4);
  text-align: center;
  margin: 0.2rem 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.cta-banner__or::before,
.cta-banner__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(244, 239, 230, 0.15);
}

.cta-banner .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.cta-banner .btn--primary:hover { background: var(--ember); color: var(--paper); }
.cta-banner .btn--ghost {
  border-color: rgba(244, 239, 230, 0.4);
  color: var(--paper);
}
.cta-banner .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.cta-banner__bg {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  opacity: 0.11;
  pointer-events: none;
}

/* Decorative corner mark */
.cta-banner__corner {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.35);
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 3;
}
.cta-banner__corner::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(244, 239, 230, 0.35);
}

@media (max-width: 760px) {
  .cta-banner__right {
    padding-left: 0;
    border-left: none;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 239, 230, 0.18);
  }
  .cta-banner__corner { position: static; margin-top: 2rem; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.18);
}
.footer__brand h3 {
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  margin-bottom: 1rem;
}
.footer__brand p {
  color: rgba(244, 239, 230, 0.7);
  max-width: 36ch;
  font-size: 0.95rem;
}
.footer__col h4 {
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer__col ul li { margin-bottom: 0.75rem; }
.footer__col a {
  color: rgba(244, 239, 230, 0.75);
  font-size: 0.95rem;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--ember-soft); }

.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.55);
}

.footer__big {
  font-family: var(--f-display);
  font-size: clamp(4rem, 18vw, 18rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(244, 239, 230, 0.06);
  text-align: center;
  margin-top: 3rem;
  user-select: none;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.footer__big em { font-style: italic; color: rgba(192, 74, 38, 0.5); }

/* ---------- Stat Block ---------- */
.stat {
  border-top: 1px solid rgba(20, 32, 29, 0.2);
  padding-top: 1.5rem;
}
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.stat__num em { color: var(--ember); font-style: italic; }
.stat__label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Two column editorial ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.two-col__body p {
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}
.two-col__body p:first-of-type::first-letter {
  font-family: var(--f-display);
  float: left;
  font-size: 4.5rem;
  line-height: 0.85;
  padding-right: 0.6rem;
  padding-top: 0.4rem;
  color: var(--ember);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}

/* ---------- Pillars / Approach ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(20, 32, 29, 0.2);
  border-left: 1px solid rgba(20, 32, 29, 0.2);
}
.pillar {
  padding: 2rem;
  border-right: 1px solid rgba(20, 32, 29, 0.2);
  border-bottom: 1px solid rgba(20, 32, 29, 0.2);
  background: var(--paper-warm);
  transition: background 0.4s, transform 0.4s var(--e-out);
}
.pillar:hover { background: var(--paper); }
.pillar__num {
  font-family: var(--f-display);
  font-size: 3rem;
  line-height: 1;
  font-style: italic;
  color: var(--ember);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.pillar__title {
  font-family: var(--f-display);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.pillar__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Filter Tabs ---------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(20, 32, 29, 0.18);
  margin-bottom: 3rem;
}
.filter-bar__label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 1rem;
}
.filter-pill {
  padding: 0.5rem 1.05rem;
  border: 1px solid rgba(20, 32, 29, 0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.35s var(--e-out);
}
.filter-pill:hover { color: var(--ink); border-color: var(--ink); }
.filter-pill.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- Client Card ---------- */
.client-card {
  background: var(--paper-warm);
  border: 1px solid rgba(20, 32, 29, 0.15);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--e-out), background 0.5s;
}
.client-card:hover { background: var(--paper); transform: translateY(-4px); }
.client-card__logo {
  width: 64px;
  height: 64px;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-style: italic;
}
.client-card__name {
  font-family: var(--f-display);
  font-size: 1.65rem;
  letter-spacing: -0.015em;
}
.client-card__industry {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
}
.client-card__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.client-card__meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 32, 29, 0.15);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--paper-warm);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-left: 3px solid var(--ember);
}
.testimonial__quote {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
.testimonial__quote::before { content: "“"; color: var(--ember); padding-right: 0.2rem; }
.testimonial__quote::after { content: "”"; color: var(--ember); padding-left: 0.1rem; }
.testimonial__author {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.testimonial__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
}
.testimonial__name {
  font-family: var(--f-display);
  font-size: 1.1rem;
}
.testimonial__role {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-family: var(--f-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(20, 32, 29, 0.3);
  padding: 0.85rem 0;
  font-size: 1rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-bottom-color: var(--ember);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--f-body); }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%2314201D' fill='none' stroke-width='1.4'/></svg>"); background-repeat: no-repeat; background-position: right 0.5rem center; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--paper-warm);
  border: 1px solid rgba(20, 32, 29, 0.15);
}
.contact-info__block h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.7rem;
  font-weight: 500;
}
.contact-info__block p, .contact-info__block a {
  font-family: var(--f-display);
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.contact-info__block a:hover { color: var(--ember); }

.social {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(20, 32, 29, 0.25);
  display: grid;
  place-items: center;
  transition: all 0.4s var(--e-out);
}
.social a:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--paper);
  transform: translateY(-3px);
}

/* ---------- Tourism spotlight ---------- */
.spotlight {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(4rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}
.spotlight__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}
.spotlight__title {
  color: var(--paper);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.spotlight__title em { color: var(--gold-soft); font-style: italic; }
.spotlight__copy { color: rgba(244, 239, 230, 0.78); max-width: 50ch; }
.spotlight__visual {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 239, 230, 0.18);
  display: grid;
  place-items: center;
}
.spotlight .compass { position: relative; opacity: 0.8; }
.spotlight__deco {
  position: absolute;
  font-family: var(--f-display);
  font-style: italic;
  color: rgba(244, 239, 230, 0.06);
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 0.8;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.spotlight__features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.spot-feature {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(244, 239, 230, 0.18);
}
.spot-feature__title {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.3rem;
}
.spot-feature__text {
  font-family: var(--f-display);
  font-size: 1.2rem;
  line-height: 1.2;
  color: var(--paper);
}

/* ---------- Industry grid ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(20, 32, 29, 0.18);
  border-left: 1px solid rgba(20, 32, 29, 0.18);
}
.industry {
  padding: 1.75rem 1.25rem;
  border-right: 1px solid rgba(20, 32, 29, 0.18);
  border-bottom: 1px solid rgba(20, 32, 29, 0.18);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background 0.4s;
  cursor: pointer;
}
.industry:hover { background: var(--paper-warm); }
.industry__num {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
}
.industry__name {
  font-family: var(--f-display);
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.industry.is-featured {
  background: var(--ember);
  color: var(--paper);
}
.industry.is-featured .industry__num,
.industry.is-featured .industry__name { color: var(--paper); }

/* ---------- Testimonial Slider ---------- */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.65s var(--e-out);
  will-change: transform;
}
.testimonial--slide {
  min-width: 100%;
  flex-shrink: 0;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial-prev,
.testimonial-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(20, 32, 29, 0.25);
  display: grid;
  place-items: center;
  transition: all 0.35s var(--e-out);
  flex-shrink: 0;
  color: var(--ink);
}
.testimonial-prev:hover,
.testimonial-next:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(20, 32, 29, 0.2);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: all 0.35s var(--e-out);
}
.testimonial-dot.is-active {
  width: 28px;
  background: var(--ember);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--e-out), transform 0.8s var(--e-out);
}
.reveal--stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal--stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal--stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal--stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal--stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal--stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal--stagger.is-visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal--stagger.is-visible > *:nth-child(7) { transition-delay: 0.48s; }
.reveal--stagger.is-visible > *:nth-child(8) { transition-delay: 0.56s; }

/* ---------- Decorative tape ---------- */
.tape {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.tape::before, .tape::after {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember);
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--e-spring), height 0.25s var(--e-spring), background 0.25s;
  mix-blend-mode: difference;
}
.cursor.is-hover {
  width: 36px;
  height: 36px;
  background: var(--paper);
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__cluster, .two-col, .contact-grid, .featured, .spotlight__inner, .cta-banner__inner {
    grid-template-columns: 1fr;
  }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .s-head { grid-template-columns: 1fr; gap: 1rem; }
  .s-head__meta { text-align: left; }
  .service-row {
    grid-template-columns: 60px 1fr auto;
    gap: 1.2rem;
  }
  .service-row__desc { grid-column: 2 / -1; }
  /* CTA right col — no left border when stacked */
  .cta-banner__right {
    padding-left: 0;
    border-left: none;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 239, 230, 0.18);
  }
  .cta-banner__corner { position: static; margin-top: 2rem; }
}
@media (max-width: 720px) {
  /* ---- Nav ---- */
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; width: 44px; height: 44px; }
  .nav.is-open { background: var(--paper); padding-bottom: 1.5rem; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 32, 29, 0.15);
  }
  .nav.is-open .nav__inner { flex-wrap: wrap; }
  .nav.is-open .nav__link { color: var(--ink); }
  .nav.is-open .nav__link.is-active { color: var(--ember); }
  .nav.is-open .nav__toggle span { background: var(--ink); }
  .nav.is-open .nav__cta { display: inline-flex; background: var(--ink); color: var(--paper); }
  .nav.is-open .brand__logo { filter: none; }
  .nav.is-open .brand { color: var(--ink); }

  /* ---- Footer ---- */
  .footer__top { grid-template-columns: 1fr; }
  .footer__big { font-size: clamp(3rem, 14vw, 7rem); }

  /* ---- Misc ---- */
  .cursor { display: none; }
  .hero__scroll { display: none; }

  /* ---- Hero ---- */
  .featured__media { aspect-ratio: 16/9; }
  .hero { align-items: flex-start; }
  .hero__inner {
    padding-top: clamp(5rem, 10vw, 7rem);
    padding-bottom: clamp(5.5rem, 14vw, 8rem);
  }
  .hero--page .hero__inner {
    padding-top: clamp(5.5rem, 10vw, 7rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
  }
  .hero__strip { justify-content: flex-start; gap: 0.75rem 1.5rem; }
  .hero__cta { gap: 0.75rem; }

  /* ---- Service rows — full stack ---- */
  .service-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.5rem 0;
  }
  .service-row__num { display: none; }
  .service-row__desc { grid-column: 1; }

  /* ---- Typography ---- */
  .marquee__item { font-size: clamp(1.4rem, 4.5vw, 2.5rem); gap: 2rem; }
  .eyebrow::before { width: 14px; margin-right: 0.5rem; }
  .lede { max-width: 100%; }
  .testimonial { padding: clamp(1.5rem, 4vw, 2.5rem); }
  .testimonial__quote { font-size: clamp(1.1rem, 3.5vw, 1.8rem); }
  .stat__num { font-size: clamp(2rem, 6vw, 3rem); }
  .client-card__name { font-size: clamp(1.1rem, 3.5vw, 1.65rem); }

  /* ---- Grids / layout ---- */
  .industries { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .spotlight__features { grid-template-columns: 1fr; }
  .pillar { padding: 1.5rem; }
  .filter-pill { min-height: 38px; display: inline-flex; align-items: center; }
  .featured__body { gap: 1rem; }
}
@media (max-width: 480px) {

  /* Featured meta single column */
  .featured__meta { flex-direction: column; gap: 1rem; }

  /* Contact info tighter */
  .contact-info { padding: 1.5rem; }
  .contact-info__block p,
  .contact-info__block a { font-size: 1.1rem; }

  /* Pillars single column */
  .pillars { grid-template-columns: 1fr; }

  /* Cards always 1 col */
  .cards-grid { grid-template-columns: 1fr; }
}

/* ---------- Nav — extended mobile breakpoint (721–767px gap) ----------
   Covers devices with viewport > 720px (some Androids, DevTools presets)
   that still need hamburger nav rather than the desktop link row.        */
@media (min-width: 721px) and (max-width: 767px) {
  .nav__links { display: none; }
  .nav__cta  { display: none; }
  .nav__toggle { display: block; width: 44px; height: 44px; }

  .nav.is-open { background: var(--paper); padding-bottom: 1.5rem; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 32, 29, 0.15);
  }
  .nav.is-open .nav__inner  { flex-wrap: wrap; }
  .nav.is-open .nav__link   { color: var(--ink); }
  .nav.is-open .nav__link.is-active { color: var(--ember); }
  .nav.is-open .nav__toggle span    { background: var(--ink); }
  .nav.is-open .nav__cta    { display: inline-flex; background: var(--ink); color: var(--paper); }
  .nav.is-open .brand__logo { filter: none; }
  .nav.is-open .brand       { color: var(--ink); }
}
