/* ---------- Shared ---------- */
.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  margin: 0 0 var(--space-3);
  font-family: var(--font-caps);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-muted);
}
.eyebrow-num { font-variant-numeric: tabular-nums; color: var(--color-text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary { background: var(--color-accent); color: var(--color-on-accent); }
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-primary:disabled { opacity: 0.7; cursor: progress; }
.btn-ghost { border-color: currentColor; color: var(--color-text); background: transparent; }
.btn-ghost:hover { background: var(--color-text); color: var(--color-bg); border-color: var(--color-text); }

/* Text link with an underline that redraws on hover */
.link-line {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 500;
  text-decoration: none;
}
.link-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.link-line:hover::after { transform: scaleX(0); }

/* ---------- Header ---------- */
/*
 * Always fixed. Transparent over the top of the hero; frosted once the page scrolls (.is-scrolled).
 * The frosted glass is the ::before layer, not the header itself: transform, filter or backdrop-filter
 * on .site-header would make it the containing block of the fixed overlay menu inside it.
 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(var(--light-rgb) / 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: rgb(var(--dark-rgb) / 0.08); }
.site-header.is-scrolled::before { opacity: 1; }
/* No backdrop blur support: a solid bar instead */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::before { background: var(--color-bg); }
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-height);
}

/* Lockup: logo mark | AYYANAAR / CONSTRUCTION (two lines of spaced caps). Phones: mark only. */
.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.85rem;
  min-height: 2.75rem;
  text-decoration: none;
}
.brand-mark { width: auto; height: 1.25rem; }
.brand-mark--light { display: none; }
.brand-text {
  display: none;
  flex-direction: column;
  padding-left: 0.85rem;
  border-left: 1px solid currentColor;
  font-family: var(--font-caps);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.35;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .brand-mark { height: 1.5rem; }
  .brand-text { display: flex; }
}

.nav-toggle { display: none; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-4); }
.site-nav a { text-decoration: none; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0;
  font-weight: 500;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-links { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-3); }
/* Laptop: links sit at the right edge of the bar, opposite the logo */
@media (min-width: 1024px) {
  .nav-links { gap: var(--space-4); }
}

/*
 * Phones and tablets: floating menu card (2026-10-21, docs/specs/2026-10-21-mobile-menu.md).
 * #site-nav is a full-screen layer: clear over the header bar, a dimmed and blurred scrim below it,
 * and the cream card (.nav-links) under the toggle. Tapping the scrim closes the menu (main.js).
 * JS only; without JS the nav stays inline and wraps.
 */
@media (max-width: 1023px) {
  .js .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0 1.1rem;
    border: 1px solid var(--color-text);
    border-radius: var(--radius-pill);
    font: inherit;
    font-weight: 500;
    color: var(--color-text);
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle-bar,
  .nav-toggle-bar::before {
    display: block;
    width: 1rem;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
  }
  .nav-toggle-bar { position: relative; transform: translateY(-3px); }
  .nav-toggle-bar::before { content: ""; position: absolute; left: 0; top: 6px; }
  .nav-open .nav-toggle-bar { transform: translateY(0) rotate(45deg); }
  .nav-open .nav-toggle-bar::before { transform: translateY(-6px) rotate(-90deg); }

  .js .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: block;
    padding: calc(var(--header-height) + 0.25rem) var(--gutter) var(--space-3);
    overflow-y: auto;
    visibility: hidden;
    transition: visibility 0s linear 0.35s;
  }
  .js .site-nav::before {
    content: "";
    position: fixed;
    inset: var(--header-height) 0 0;
    background: rgb(var(--dark-rgb) / 0.15);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
  }
  .js .nav-open .site-nav { visibility: visible; transition: none; }
  .js .nav-open .site-nav::before { opacity: 1; }

  /*
   * The card: liquid glass (2026-10-21 revision). Translucent white over a strong blur that also
   * brightens what is behind it, a bright top rim and a curved sheen (::before). Pops from the toggle's corner.
   */
  .js .nav-links {
    position: relative;
    z-index: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    max-width: 24rem;
    margin-left: auto;
    padding: 0.375rem 0.5rem;
    color: var(--color-text);
    background: linear-gradient(160deg, rgb(255 255 255 / 0.55), rgb(var(--light-rgb) / 0.35));
    -webkit-backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    backdrop-filter: blur(20px) saturate(180%) brightness(1.1);
    border: 1px solid rgb(255 255 255 / 0.55);
    border-radius: 1.5rem;
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.85),
      inset 1px 0 0 rgb(255 255 255 / 0.25),
      inset 0 -1px 0 rgb(255 255 255 / 0.15),
      0 1.25rem 2.5rem -0.75rem rgb(var(--dark-rgb) / 0.3);
    transform-origin: top right;
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.92);
    transition: opacity 0.25s var(--ease), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .js .nav-links::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 60% at 50% -10%, rgb(255 255 255 / 0.5), transparent 60%);
    pointer-events: none;
  }
  .js .nav-open .nav-links { opacity: 1; transform: none; }
  /* No backdrop blur support: a solid cream card instead */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .js .nav-links { background: var(--color-bg); }
  }

  /* Rows: regular-weight Inter Tight, hairline dividers, wine arrow on the right; 52px tap height */
  .js .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.875rem;
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgb(255 255 255 / 0.35);
    opacity: 0;
    transform: translateY(0.5rem);
    transition: color 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
    transition-delay: 0s, 0s, calc(var(--i, 0) * 50ms + 80ms), calc(var(--i, 0) * 50ms + 80ms);
  }
  /* Stagger index per link (set here, not in style attributes, so the CSP needs no 'unsafe-inline') */
  .nav-link:nth-child(2) { --i: 1; }
  .nav-link:nth-child(3) { --i: 2; }
  /* Hairline dividers inset to the text; a pressed row lights up as a glass pill */
  .js .nav-link + .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0.75rem;
    right: 0.75rem;
    height: 1px;
    background: rgb(var(--dark-rgb) / 0.12);
  }
  .js .nav-link::after {
    content: "\2192";
    position: static;
    height: auto;
    font-size: 1rem;
    color: var(--color-accent);
    background: none;
    transform: none;
    transition: transform 0.3s var(--ease-out);
  }
  .js .nav-link:hover::after,
  .js .nav-link:focus-visible::after { transform: translateX(0.25rem); }
  .js .nav-link:active { color: var(--color-accent); background-color: rgb(255 255 255 / 0.35); }
  .js .nav-open .nav-link { opacity: 1; transform: none; }

  /* Scroll progress: a wine line along the header's bottom edge; motion.js sets --scroll-progress (0 to 1) */
  .site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(var(--scroll-progress, 0));
    transform-origin: left;
    pointer-events: none;
  }

  /* Header stays cream (frosted) above the scrim while the menu is open */
  .nav-open { overflow: hidden; }
  .nav-open .site-header { border-bottom-color: rgb(var(--dark-rgb) / 0.08); }
  .nav-open .site-header::before { opacity: 1; }
}
/* Short landscape phones: shorter rows so the card fits without scrolling */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 520px) {
  .js .nav-link { min-height: 2.75rem; padding: 0.25rem 0.75rem; } /* 44px tap rows */
}

/* ---------- Forms ---------- */
/* Labels in spaced caps (like the letterhead); inputs 17px (16px+ so iOS does not zoom) with a quiet underline */
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-caps);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.req { color: var(--color-accent); }
.optional { font-weight: 400; letter-spacing: 0.02em; text-transform: none; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0;
  border: 0;
  border-bottom: 1px solid var(--color-input-border);
  border-radius: 0;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--color-text);
  background: transparent;
  transition: border-color 0.3s var(--ease);
}
/* Slim chevron in the muted colour */
.field select {
  appearance: none;
  padding-right: 1.75rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23655f54' stroke-width='1.5'/%3E%3C/svg%3E") right 0.15rem center / 0.75rem 0.5rem no-repeat;
}
.field textarea { resize: vertical; min-height: 7rem; }

/*
 * Custom dropdowns (js/select.js, 2026-10-24): the trigger looks like the other fields (underline, 17px); the panel
 * is a small white card with soft-shadowed rounded options, a sand highlight and a wine tick on the chosen one.
 * The native <select> stays inside, visually hidden, and keeps the value.
 */
.select { position: relative; }
.field .select-native {
  position: absolute;
  inset: auto auto 0 0;
  width: 1px;
  min-height: 0;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-input-border);
  font-size: 1.0625rem;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.3s var(--ease);
}
.select-trigger.is-placeholder { color: var(--color-muted); }
.select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-chevron { flex: none; width: 0.75rem; height: 0.5rem; color: var(--color-muted); transition: transform 0.3s var(--ease-out), color 0.3s var(--ease); }
.select-trigger:hover .select-chevron { color: var(--color-accent); }
.select-trigger:focus-visible,
.select.is-open .select-trigger { outline: none; border-bottom: 2px solid var(--color-accent); padding-bottom: calc(0.55rem - 1px); }
.select.is-open .select-chevron { transform: rotate(180deg); color: var(--color-accent); }

.select-list {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 16rem;
  margin: 0;
  padding: 0.375rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgb(var(--dark-rgb) / 0.04), 0 18px 40px -16px rgb(var(--dark-rgb) / 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.375rem) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.18s var(--ease), transform 0.22s var(--ease-out), visibility 0s linear 0.22s;
}
.select.is-up .select-list { top: auto; bottom: calc(100% + 0.5rem); transform: translateY(0.375rem) scale(0.98); transform-origin: bottom center; }
.select.is-open .select-list { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s var(--ease), transform 0.22s var(--ease-out), visibility 0s; }
.select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}
.select-option.is-active { background: var(--color-surface); }
.select-option[aria-selected="true"] { font-weight: 500; color: var(--color-accent); }
.select-check { flex: none; width: 1rem; height: 1rem; opacity: 0; transform: scale(0.6); transition: opacity 0.2s var(--ease), transform 0.25s var(--ease-out); }
.select-option[aria-selected="true"] .select-check { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .select-list, .select.is-open .select-list, .select-chevron, .select-check, .select-option { transition: none; }
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; border-bottom: 2px solid var(--color-accent); }
.field [aria-invalid="true"] { border-bottom: 2px solid var(--color-error); }

.field-error { min-height: 1.25rem; margin: 0.35rem 0 0; font-size: var(--text-xs); color: var(--color-error); }
.field-error:empty { min-height: 0; margin: 0; } /* no stray gap, so fields in a row line up (2026-10-24) */

.form-note { margin: 0; font-size: var(--text-xs); color: var(--color-muted); }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--color-success); }
.form-status.is-error { color: var(--color-error); }

/* Honeypot: off-screen, not display:none, so simple bots still fill it */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Map ---------- */
.map-block h2 { margin-bottom: var(--space-3); font-size: var(--text-xl); letter-spacing: -0.02em; line-height: 1.15; } /* h3 look, h2 level */
/* Own section after PEB (2026-10-24): no top padding, so the gap after PEB is one section padding, as before. */
.locations { padding-top: 0; }
.project-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 360px;
  overflow: hidden;
  background: var(--color-surface);
}
@media (min-width: 1024px) { .project-map { height: 480px; } }
.project-map .leaflet-tile-pane { filter: grayscale(1) sepia(0.18) contrast(0.95) brightness(1.02); }
/* Place buttons under the map (main.js setupMap): a click flies the map to that pin */
.map-places { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.map-place {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-caps);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  background: var(--color-paper);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
@media (hover: hover) { .map-place:hover:not(:disabled) { border-color: var(--color-accent); color: var(--color-accent); } }
.map-place[aria-pressed="true"],
.map-place[aria-pressed="true"]:hover { border-color: var(--color-accent); color: var(--color-on-accent); background: var(--color-accent); }
.map-place:disabled { cursor: default; }
.map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  padding: var(--space-3);
  text-align: center;
  color: var(--color-muted);
}

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--space-6) var(--space-2); overflow: hidden; color: var(--color-on-dark-muted); background: var(--color-dark); }
/* The wine focus colour disappears on charcoal; use the light sand instead */
.site-footer :focus-visible { outline-color: var(--color-highlight); }
.site-footer .container { container-type: inline-size; }
.site-footer p { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-on-dark); text-decoration: none; }
.site-footer :focus-visible { outline-color: var(--color-on-dark); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgb(var(--light-rgb) / 0.2);
}
.footer-cta { font-family: var(--font-display); font-size: var(--text-xl); letter-spacing: -0.02em; line-height: 1.25; color: var(--color-on-dark); }
/* Email in the top row, opposite the CTA: spaced-caps label over the address */
.footer-mail { display: grid; gap: 0.25rem; justify-items: start; }
.footer-mail-label {
  font-family: var(--font-caps);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.footer-mail a { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: -0.01em; }
.footer-mail a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
@media (min-width: 768px) { .footer-mail { justify-items: end; } }
/* WhatsApp QR above "Write to us" and the email (user, 2026-10-24): QR on a cream plate (scanners need a light quiet zone), then a left-aligned text block
   (caps label like "Write to us", a title like the email, a one-line muted hint), centred on the QR. Phones: QR then
   text, left-aligned like the email (user, 2026-10-24: tidier than a wrapped caption). */
.footer-mail .footer-qr {
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  letter-spacing: 0;
  text-align: left;
}
.footer-qr-text { display: grid; gap: 0.35rem; }
.footer-qr-label {
  font-family: var(--font-caps);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
}
.footer-qr-title { font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: -0.01em; color: var(--color-on-dark); }
.footer-qr-hint { line-height: 1.5; white-space: nowrap; color: var(--color-on-dark-muted); }
.footer-qr img {
  flex: none;
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.35rem;
  border-radius: 0.75rem;
  background: var(--color-bg);
  transition: transform 0.3s var(--ease);
}
.footer-mail .footer-qr:hover { text-decoration: none; }
.footer-qr:hover .footer-qr-title { text-decoration: underline; text-underline-offset: 0.25em; }
.footer-qr:hover img { transform: scale(1.03); }
/* 768px+: text to the left of the QR and right-aligned, so the QR's right edge lines up with the email below */
@media (min-width: 768px) { .footer-mail .footer-qr { flex-direction: row-reverse; text-align: right; } }
@media (prefers-reduced-motion: reduce) { .footer-qr img { transition: none; } }

/* Studio credit, bottom-right (the classic spot): a compact burgundy pill, "Designed by" beside the studio name */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
}
.footer-credit-label { color: var(--color-on-dark-muted); }
.footer-credit-name {
  position: relative;
  padding-left: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-on-dark);
}
/* Small sand dot between the label and the name */
.footer-credit-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.3rem;
  height: 0.3rem;
  margin-top: -0.15rem;
  border-radius: 50%;
  background: var(--color-highlight);
}

/* Oversized wordmark (Oswald caps): font size fills the container width from the character count (--chars, set by main.js). */
.footer-wordmark {
  margin: var(--space-4) 0 var(--space-2) !important;
  overflow: hidden;
  font-family: var(--font-condensed);
  font-size: calc(100cqi / (var(--chars, 8) * 0.5));
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 0.9;
  white-space: nowrap;
  color: var(--color-on-dark);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-1) var(--space-3);
  font-family: var(--font-caps);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.footer-bottom a { text-transform: none; letter-spacing: 0.02em; }

/* ---------- Scroll reveal (JS adds .is-visible; reduced motion shows all at once) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.project-grid > .reveal { --stagger: 0s; transition-delay: var(--stagger); }
.project-grid > .reveal:nth-child(3n + 2) { --stagger: 0.1s; }
.project-grid > .reveal:nth-child(3n + 3) { --stagger: 0.2s; }
