/* ================================================================
   WAYPOINT — css/style.css
   Mobile-first. Custom properties. Vanilla CSS. No framework.
================================================================ */

/* ── Design tokens ─────────────────────────────────────────────── */
:root {
  --bg:      #F6F2EC;
  --ink:     #1A1916;
  --accent:  #C0522A;
  --muted:   #7A7368;
  --rule:    #DDD8CE;
  --surface: #EFEBE3;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --nav-h:      4rem;
  --max-w:      72rem;
  --gap:        clamp(1.5rem, 5vw, 4rem);
  --section-py: clamp(5rem, 12vw, 10rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  scroll-behavior: smooth;
}

html {
  font-size: 100%;
}

/* Push anchor targets below the fixed nav */
section[id] {
  scroll-margin-top: var(--nav-h);
}

body {
  background:  var(--bg);
  color:       var(--ink);
  font-family: var(--font-body);
  font-size:   clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x:  hidden;
}

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

/* ── Reduced motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration:  0.01ms !important;
  }

  .reveal {
    opacity:   1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__scroll-hint { opacity: 1 !important; animation: none !important; }
  .hero__scroll-line { animation: none !important; }
}

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


/* ================================================================
   NAV
================================================================ */
.nav {
  position:   fixed;
  top: 0; left: 0; right: 0;
  z-index:    100;
  height:     var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease),
              box-shadow   0.3s var(--ease);
}

.nav.is-scrolled {
  border-color: var(--rule);
  box-shadow:   0 2px 24px rgba(26, 25, 22, 0.06);
}

.nav__inner {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 var(--gap);
  height:    100%;
  display:   flex;
  align-items:     center;
  justify-content: space-between;
}

/* Logo mark */
.nav__logo {
  display:         flex;
  align-items:     center;
  text-decoration: none;
  flex-shrink:     0;
}

.nav__logo-img {
  display:       block;
  width:         36px;
  height:        36px;
  border-radius: 50%;
  transition:    transform 0.25s var(--ease), opacity 0.2s;
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.08);
}

/* Link list */
.nav__links {
  display:     flex;
  align-items: center;
  gap:         clamp(1rem, 3vw, 2.5rem);
}

.nav__link {
  font-size:   0.875rem;
  font-weight: 500;
  text-decoration: none;
  color:       var(--muted);
  letter-spacing: 0.02em;
  transition:  color 0.2s;
}

.nav__link:hover,
.nav__link.is-active { color: var(--ink); }

.nav__link--cta {
  color:   var(--accent);
  padding: 0.35rem 0.9rem;
  border:  1px solid currentColor;
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}
.nav__link--cta:hover {
  background: var(--accent);
  color:      var(--bg);
}

/* Hamburger */
.nav__toggle {
  display:    none;
  flex-direction: column;
  gap:        5px;
  background: none;
  border:     none;
  cursor:     pointer;
  padding:    4px;
}
.nav__toggle span {
  display:    block;
  width:      22px;
  height:     1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* Mobile nav */
@media (max-width: 48em) {
  .nav__toggle { display: flex; }

  .nav__links {
    position:   fixed;
    inset:      var(--nav-h) 0 0 0;
    background: var(--bg);
    flex-direction:  column;
    justify-content: center;
    gap:        2.5rem;
    transform:  translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .nav__links.is-open { transform: translateX(0); }

  .nav__link { font-size: 1.25rem; color: var(--ink); }

  .nav__toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg) translate(4.5px, 4.5px);
  }
  .nav__toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
  }
}


/* ================================================================
   SECTIONS — shared
================================================================ */
.section {
  padding: var(--section-py) 0;
}

.section--tinted { background: var(--surface); }

.section--hero {
  min-height: 100svh;
  display:    flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 2rem);
  position:   relative;
}

/* Two-column grid: marker | content */
.section__inner {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   0 var(--gap);
  display:   grid;
  grid-template-columns: 4.5rem 1fr;
  gap:       0 var(--gap);
  align-items: start;
}

/* Hero uses single-column, narrower max-width */
.section__inner--hero {
  grid-template-columns: 1fr;
  max-width:  56rem;
  position:   relative;
  z-index:    1;
}

/* Numbered marker */
.section__marker {
  font-family: var(--font-body);
  font-size:   0.7rem;
  font-weight: 500;
  color:       var(--muted);
  letter-spacing: 0.12em;
  padding-top: 0.6rem;
  user-select: none;
}

.section__content { min-width: 0; }

/* Section headline */
.section__headline {
  font-family: var(--font-display);
  font-size:   clamp(2.5rem, 6vw, 5rem);
  font-style:  italic;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color:       var(--ink);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__body {
  max-width:     44ch;
  margin-bottom: 2.5rem;
}

@media (max-width: 48em) {
  .section__inner {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .section__marker { padding-top: 0; }
}


/* ================================================================
   HERO
================================================================ */
.eyebrow {
  font-size:   0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:       var(--accent);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-style:  italic;
  font-weight: 700;
  font-size:   clamp(5rem, 16vw, 13rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color:       var(--ink);
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hero__tagline {
  font-family: var(--font-display);
  font-style:  italic;
  font-size:   clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color:       var(--muted);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hero__ctas {
  display:   flex;
  flex-wrap: wrap;
  gap:       1rem;
}

/* ── Europe cities watermark ────────────────────────────────────── */
.hero__bg {
  position:       absolute;
  inset:          0;
  overflow:       hidden;
  pointer-events: none;
  user-select:    none;
  z-index:        0;
  animation:      fadeIn 1.4s var(--ease) 1s both;
}

.hb {
  position:    absolute;
  top:         var(--t);
  left:        var(--l);
  font-family: var(--font-display);
  font-style:  italic;
  font-weight: 400;
  font-size:   0.8125rem;
  color:       var(--ink);
  opacity:     0.08;
  white-space: nowrap;
  transform:   rotate(-1deg);
}

.hb--lg {
  font-size: 1rem;
  opacity:   0.13;
}

.hb--sm {
  font-size: 0.6875rem;
  opacity:   0.055;
}

/* Vary rotation so nothing looks grid-aligned */
.hb:nth-child(2n)   { transform: rotate(1.5deg);  }
.hb:nth-child(3n)   { transform: rotate(-2.5deg); }
.hb:nth-child(4n)   { transform: rotate(0.5deg);  }
.hb:nth-child(5n)   { transform: rotate(-1.5deg); }
.hb:nth-child(7n)   { transform: rotate(2deg);    }

/* Scroll hint must sit above the bg */

/* Animated scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom:   2.5rem;
  left:     var(--gap);
  z-index:  1;
  display:  flex;
  flex-direction: column;
  align-items:    center;
  gap:      0.5rem;
  opacity:  0;
  animation: fadeIn 0.8s var(--ease) 1.6s forwards;
}

.hero__scroll-line {
  display:    block;
  width:      1px;
  height:     3rem;
  background: var(--muted);
  transform-origin: top;
  animation:  lineGrow 1s var(--ease) 1.9s both;
}

.hero__scroll-label {
  font-size:   0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:       var(--muted);
  writing-mode: vertical-rl;
}

@keyframes lineGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display:   inline-flex;
  align-items: center;
  gap:       0.4em;
  padding:   0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size:   0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  cursor:    pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s,
              transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform:  translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 25, 22, 0.1);
}

.btn::after {
  content:    '→';
  display:    inline-block;
  opacity:    0;
  transform:  translateX(-6px);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.btn:hover::after {
  opacity:   1;
  transform: translateX(0);
}

.btn--primary {
  background: var(--accent);
  color:      var(--bg);
  border:     1px solid var(--accent);
}
.btn--primary:hover {
  background:   #a8421e;
  border-color: #a8421e;
}

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


/* ================================================================
   METADATA (About section)
================================================================ */
.metadata {
  display:    flex;
  flex-wrap:  wrap;
  gap:        1.5rem 3rem;
  padding-top: 1.75rem;
  border-top:  1px solid var(--rule);
  margin-top:  2.5rem;
}

.metadata__item dt {
  font-size:   0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:       var(--muted);
  margin-bottom: 0.25rem;
}

.metadata__item dd {
  font-size: 0.9375rem;
  color:     var(--ink);
}


/* ================================================================
   SERVICE CARDS (What we do)
================================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}

.card {
  background: var(--bg);
  padding:    clamp(1.5rem, 4vw, 2.5rem);
  border-right: 1.5px solid var(--rule);
  transition: background 0.25s;
}

.cards .card:last-child { border-right: none; }

.card {
  transition: background 0.25s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  background: var(--surface);
  transform:  translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 25, 22, 0.08);
  z-index:    1;
  position:   relative;
}

.card__number {
  display:    block;
  font-family: var(--font-display);
  font-style: italic;
  font-size:  2rem;
  color:      var(--accent);
  margin-bottom: 1.25rem;
  user-select: none;
}

.card__title {
  font-size:   1.0625rem;
  font-weight: 500;
  color:       var(--ink);
  margin-bottom: 0.75rem;
}

.card__body {
  font-size:   0.9375rem;
  color:       var(--muted);
  line-height: 1.6;
}

@media (max-width: 48em) {
  .cards { grid-template-columns: 1fr; }
  .card  { border-right: none; border-bottom: 1.5px solid var(--rule); }
  .cards .card:last-child { border-bottom: none; }
}


/* ================================================================
   WORK CARDS (Current work)
================================================================ */
.work-cards {
  display: grid;
  gap:     2rem;
}

.work-card {
  display:  grid;
  grid-template-columns: 1fr;
  border:   1.5px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s var(--ease);
}
.work-card:hover {
  border-color: var(--accent);
  box-shadow:   0 12px 40px rgba(26, 25, 22, 0.09);
}
.work-card:hover .work-card__image {
  transform: scale(1.04);
}

@media (min-width: 48em) {
  .work-card { grid-template-columns: 5fr 7fr; }
}

.work-card__image {
  /* REPLACE: add style="background-image:url('../img/YOUR-PHOTO.jpg')" inline */
  min-height: 15rem;
  background: var(--surface) center / cover no-repeat;
  border-bottom: 1.5px solid var(--rule);
  transition: transform 0.5s var(--ease);
}

@media (min-width: 48em) {
  .work-card__image {
    border-bottom: none;
    border-right:  1.5px solid var(--rule);
    min-height:    auto;
  }
}

.work-card__body { padding: clamp(1.5rem, 4vw, 2.5rem); }

.work-card__tag {
  font-size:   0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:       var(--accent);
  margin-bottom: 0.75rem;
}

.work-card__title {
  font-family: var(--font-display);
  font-style:  italic;
  font-size:   clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color:       var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.work-card__desc {
  font-size:   0.9375rem;
  color:       var(--muted);
  line-height: 1.6;
}


/* ================================================================
   PATHS (Get involved)
================================================================ */
.paths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap:     2rem;
}

.path {
  padding:   clamp(1.75rem, 4vw, 2.5rem);
  border:    1.5px solid var(--rule);
  border-radius: 4px;
  display:   flex;
  flex-direction: column;
  gap:       1rem;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.path:hover {
  border-color: var(--accent);
  transform:    translateY(-4px);
  box-shadow:   0 12px 36px rgba(26, 25, 22, 0.08);
}

.path__title {
  font-size:   1.125rem;
  font-weight: 500;
  color:       var(--ink);
}

.path__body {
  font-size:   0.9375rem;
  color:       var(--muted);
  line-height: 1.6;
  flex: 1;
}


/* ================================================================
   CONTACT
================================================================ */
.contact-links {
  display:        flex;
  flex-direction: column;
}

.contact-link {
  display:     flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap:   wrap;
  gap:         0.5rem 2rem;
  padding:     1.25rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition:  color 0.2s;
}
.contact-link:first-child { border-top: 1px solid var(--rule); }
.contact-link:hover { color: var(--accent); }

.contact-link__label {
  font-size:   0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color:       var(--muted);
  flex-shrink: 0;
}

.contact-link__value {
  font-family: var(--font-display);
  font-style:  italic;
  font-size:   clamp(1.1rem, 2.5vw, 1.6rem);
  color:       var(--ink);
  transition:  color 0.2s;
}
.contact-link:hover .contact-link__value { color: var(--accent); }


/* ================================================================
   FOOTER
================================================================ */
.footer {
  border-top: 1px solid var(--rule);
}

.footer__logos {
  display:         flex;
  justify-content: center;
  align-items:     center;
  padding:         2rem var(--gap) 1.5rem;
  border-bottom:   1px solid var(--rule);
}

.footer__logo {
  width:         60px;
  height:        60px;
  border-radius: 50%;
  display:       block;
  transition:    transform 0.3s var(--ease), opacity 0.2s;
}

@media (hover: hover) {
  .footer__logo:hover {
    transform: translateY(-4px);
    opacity:   0.82;
  }
}

@media (hover: none) {
  .footer__logo:active { opacity: 0.7; }
}

.footer { padding-bottom: 0; }

.footer__inner {
  max-width: var(--max-w);
  margin:    0 auto;
  padding:   1.5rem var(--gap);
  display:   flex;
  justify-content: space-between;
  align-items:     center;
  gap:       1rem;
}

.footer__copy {
  font-size: 0.8125rem;
  color:     var(--muted);
}

.footer__back {
  font-size:   0.8125rem;
  font-weight: 500;
  text-decoration: none;
  color:       var(--muted);
  letter-spacing: 0.04em;
  transition:  color 0.2s;
}
.footer__back:hover { color: var(--ink); }


/* ================================================================
   SCROLL-REVEAL
================================================================ */
.reveal {
  opacity:   0;
  transform: translateY(24px);
  transition: opacity   0.7s var(--ease),
              transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity:   1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }

.reveal--from-left { transform: translateX(-20px); }


/* ================================================================
   SCROLL PROGRESS BAR
================================================================ */
.scroll-progress {
  position:   fixed;
  top: 0; left: 0;
  height:     2px;
  width:      0%;
  background: var(--accent);
  z-index:    200;
  transition: width 0.08s linear;
  pointer-events: none;
}


/* ================================================================
   COPY EMAIL BUTTON
================================================================ */
.contact-link .contact-link__value {
  display:     flex;
  align-items: center;
  gap:         0.75rem;
}

.contact-link .contact-link__value a {
  font-family: var(--font-display);
  font-style:  italic;
  font-size:   clamp(1.1rem, 2.5vw, 1.6rem);
  color:       var(--ink);
  text-decoration: none;
  transition:  color 0.2s;
}
.contact-link:hover .contact-link__value a { color: var(--accent); }

.copy-btn {
  display:     inline-flex;
  align-items: center;
  gap:         0.3em;
  padding:     0.3rem 0.65rem;
  font-family: var(--font-body);
  font-size:   0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color:       var(--muted);
  background:  transparent;
  border:      1px solid var(--rule);
  border-radius: 2px;
  cursor:      pointer;
  transition:  color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.copy-btn:hover {
  color:        var(--ink);
  border-color: var(--ink);
}
.copy-btn.is-copied {
  color:        var(--accent);
  border-color: var(--accent);
}
.copy-btn__icon { font-size: 0.9em; }


/* ================================================================
   PAGE LOADER  — canvas-driven, no CSS keyframe stacking
================================================================ */
.loader {
  position:        fixed;
  inset:           0;
  z-index:         900;
  display:         none;   /* JS sets display:flex before animating */
  align-items:     center;
  justify-content: center;
  pointer-events:  none;
}

.loader.is-active { pointer-events: all; }

/* Canvas sits behind everything — JS draws the expanding circle */
.loader__canvas {
  position: absolute;
  inset:    0;
  width:    100%;
  height:   100%;
  display:  block;
}

/* Content sits above canvas, opacity driven by JS */
.loader__content {
  position:        relative;
  z-index:         1;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             1.25rem;
}

.loader__pin {
  width:     80px;
  height:    80px;
  filter:    drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

/* Chevron: CSS transition (smooth single stroke), class toggled by JS */
.loader__chevron {
  stroke-dasharray:  30;
  stroke-dashoffset: 30;
  transition:        stroke-dashoffset 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.loader__chevron.is-drawn { stroke-dashoffset: 0; }

.loader__wordmark {
  font-family:    var(--font-display);
  font-style:     italic;
  font-weight:    700;
  font-size:      clamp(1.75rem, 5vw, 2.75rem);
  color:          #FBF6EE;
  letter-spacing: -0.03em;
}


/* ================================================================
   TOUCH GLOBALS
   Prevent double-tap zoom; kill iOS tap flash on all tappables.
================================================================ */
a,
button,
[role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}


/* ================================================================
   HOVER GUARD
   Lift/shadow hovers get "stuck" on touch — fire `:active` instead.
================================================================ */
@media (hover: none) {
  .btn:hover        { transform: none; box-shadow: none; }
  .card:hover       { transform: none; box-shadow: none; }
  .path:hover       { transform: none; box-shadow: none; }
  .work-card:hover  { box-shadow: none; border-color: var(--rule); }

  /* Active tap feedback instead */
  .btn:active         { transform: scale(0.97); opacity: 0.88; transition-duration: 0.1s; }
  .card:active        { background: var(--surface); }
  .path:active        { border-color: var(--accent); background: var(--bg); }
  .work-card:active   { border-color: var(--accent); }
  .contact-link:active { color: var(--accent); }
  .contact-link:active .contact-link__value a { color: var(--accent); }
  .nav__logo:active   { color: var(--accent); }
  .footer__back:active { color: var(--ink); }
}


/* ================================================================
   MOBILE — Apple HIG (≤ 768px / 48em)
================================================================ */
@media (max-width: 48em) {

  /* ── Design token overrides ─────────────────────────────────── */
  :root {
    --nav-h: 3.5rem; /* 56px — iOS standard toolbar height */
    --section-py: clamp(3.5rem, 10vw, 6rem);
  }

  section[id] {
    scroll-margin-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  }

  /* ── Body ───────────────────────────────────────────────────── */
  body {
    font-size: 1.0625rem; /* 17px — Apple's default legible body size */
  }

  /* ── NAV ────────────────────────────────────────────────────── */
  /* Safe area: push bar content below Dynamic Island / notch */
  .nav {
    height:      calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Keep visible content portion 56px regardless of safe area */
  .nav__inner {
    height:  var(--nav-h);
    padding: 0 1rem; /* 16px — Apple standard page margin */
  }

  .nav__logo {
    font-size: 1.375rem;
  }

  /* 44×44pt hit area on hamburger (Apple HIG minimum) */
  .nav__toggle {
    padding:      0.625rem;
    margin-right: -0.625rem; /* keep visual flush to edge */
  }

  /* Full-screen overlay with safe areas at all edges */
  .nav__links {
    position:      fixed;
    inset:         calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0;
    padding-top:   2.5rem;
    padding-left:  max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
    justify-content: flex-start;
    gap: 0;
  }

  /* Full-width tap rows with separator lines */
  .nav__links li {
    width: 100%;
    border-bottom: 1px solid var(--rule);
  }
  .nav__links li:first-child {
    border-top: 1px solid var(--rule);
  }

  /* ≥ 48px tap row per link */
  .nav__link {
    display:     block;
    width:       100%;
    padding:     0.9375rem 0.5rem; /* ~15px top+bottom → ~47px total ✓ */
    font-size:   1.0625rem;        /* 17px */
    letter-spacing: 0;
    color:       var(--ink);
  }

  /* CTA pill sits below the list with full-width treatment */
  .nav__links li:last-child {
    border-bottom: none;
    padding: 1.5rem 0 0;
  }
  .nav__link--cta {
    display:         flex;
    justify-content: center;
    width:           100%;
    padding:         1rem;
    border-radius:   8px;
    text-align:      center;
    font-size:       1rem;
  }

  /* ── HERO ───────────────────────────────────────────────────── */
  .section--hero {
    /* clear nav height + safe area */
    padding-top:    calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 1.5rem);
    padding-bottom: 5rem;
    justify-content: flex-end; /* anchor content toward bottom thumb zone */
    min-height:     100svh;
  }

  .section__inner--hero {
    padding: 0 1rem;
  }

  .eyebrow {
    font-size:      0.7rem;
    letter-spacing: 0.14em;
  }

  .hero__headline {
    font-size:     clamp(3.75rem, 18vw, 5.5rem);
    margin-bottom: 1rem;
  }

  .hero__tagline {
    font-size:     1.125rem;
    margin-bottom: 2rem;
  }

  /* Stack CTAs full-width — Apple HIG: prominent, thumb-reachable */
  .hero__ctas {
    flex-direction: column;
    gap:            0.75rem;
  }

  .hero__ctas .btn {
    width:           100%;
    justify-content: center;
    padding:         0.9375rem 1.75rem; /* ~47px height ✓ */
    font-size:       1rem;
  }

  /* Hide scroll hint — gesture is self-evident on mobile */
  .hero__scroll-hint { display: none; }

  /* Soften Europe watermark on small screens */
  .hb     { opacity: 0.045; font-size: 0.75rem; }
  .hb--lg { opacity: 0.07;  font-size: 0.875rem; }
  .hb--sm { opacity: 0.03;  font-size: 0.625rem; }

  /* ── SECTIONS shared ────────────────────────────────────────── */
  .section__inner {
    padding: 0 1rem;
    gap:     0.5rem;
  }

  .section__marker {
    font-size:      0.62rem;
    letter-spacing: 0.1em;
    margin-bottom:  0.25rem;
  }

  .section__headline {
    font-size: clamp(2.125rem, 9vw, 3rem);
  }

  /* ── SERVICE CARDS ──────────────────────────────────────────── */
  .cards {
    border-radius: 10px; /* iOS card radius */
  }

  .card {
    padding: 1.375rem 1.125rem;
  }

  /* Disable stagger delay on mobile — all three reveal together */
  .card.reveal--delay-1,
  .card.reveal--delay-2 {
    transition-delay: 0s;
  }

  /* ── WORK CARDS ─────────────────────────────────────────────── */
  .work-card {
    border-radius: 10px;
  }

  .work-card__image {
    min-height: 11rem;
  }

  .work-card__body {
    padding: 1.25rem 1.125rem;
  }

  /* ── PATHS (Get involved) ───────────────────────────────────── */
  .paths {
    gap: 0.875rem;
  }

  .path {
    padding:       1.375rem 1.125rem;
    border-radius: 10px;
  }

  /* Full-width path CTAs */
  .path .btn {
    width:           100%;
    justify-content: center;
    padding:         0.9375rem 1.75rem;
  }

  /* ── CONTACT ────────────────────────────────────────────────── */
  .contact-link {
    padding:     1rem 0;
    align-items: center;
    min-height:  3.5rem; /* 56px comfortable tap row */
  }

  /* Stack value + copy on small screens */
  .contact-link .contact-link__value {
    flex-direction: row;
    flex-wrap:      wrap;
    gap:            0.5rem;
    font-size:      1rem;
  }

  .contact-link .contact-link__value a {
    font-size: 1rem;
  }

  /* 44pt copy button */
  .copy-btn {
    padding:    0.5rem 0.875rem;
    min-height: 2.75rem; /* 44px ✓ */
    font-size:  0.8125rem;
    border-radius: 6px;
  }

  /* Instagram row — full tap height */
  a.contact-link {
    min-height: 3.5rem;
  }

  /* ── FOOTER ─────────────────────────────────────────────────── */
  .footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    padding-left:   env(safe-area-inset-left, 0px);
    padding-right:  env(safe-area-inset-right, 0px);
  }

  .footer__inner {
    padding: 0 1rem;
  }

  .footer__back {
    min-height:  2.75rem;
    display:     flex;
    align-items: center;
  }

  /* ── Metadata ───────────────────────────────────────────────── */
  .metadata {
    gap: 1.25rem 1.75rem;
  }

  /* ── Reveal — halve delays on mobile for snappier feel ──────── */
  .reveal--delay-1 { transition-delay: 0.06s; }
  .reveal--delay-2 { transition-delay: 0.12s; }
  .reveal--delay-3 { transition-delay: 0.18s; }
}


/* ================================================================
   EXTRA SMALL — iPhone SE, Galaxy A, etc. (≤ 23em / 368px)
================================================================ */
@media (max-width: 23em) {
  .section__inner,
  .section__inner--hero,
  .nav__inner,
  .footer__inner {
    padding-left:  0.875rem;
    padding-right: 0.875rem;
  }

  .hero__headline  { font-size: 3.5rem; }
  .section__headline { font-size: 2rem; }
}
