/* =========================================================================
   MS INTERIOR — Commercial Interior Architecture
   Global Design System
   ------------------------------------------------------------------------
   Architectural / editorial visual language.
   Mostly monochromatic so photography carries the visual weight.
   ========================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Palette */
  --ivory:      #f4f1ec;   /* warm white / paper */
  --ivory-2:    #eae5dd;
  --stone:      #cfc7bb;
  --concrete:   #a29c92;
  --warm-grey:  #6f6a63;
  --charcoal:   #22201d;
  --ink:        #131211;   /* deep black */
  --accent:     #a8674b;   /* single restrained terracotta accent */

  --bg:         var(--ivory);
  --fg:         var(--ink);

  /* Typography */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid type scale */
  --step--1: clamp(0.72rem, 0.68rem + 0.2vw, 0.82rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --step-1:  clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  --step-2:  clamp(1.6rem, 1.2rem + 1.9vw, 2.6rem);
  --step-3:  clamp(2.1rem, 1.4rem + 3.4vw, 4rem);
  --step-4:  clamp(2.9rem, 1.3rem + 6.6vw, 7rem);
  --step-5:  clamp(3.4rem, 1rem + 10vw, 9.3rem);

  /* Spacing */
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section: clamp(5rem, 10vw, 11rem);
  --maxw: 1680px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --dur: 0.8s;

  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--ivory); }

/* ---------- Unified photographic art-direction ----------
   Every real photo carries data-fallback; treat them as one body of work:
   slightly warmer, a touch less saturated, crisper — so disparate sources
   read as a single, deliberately art-directed archive. */
img[data-fallback] {
  filter: saturate(0.88) contrast(1.045) sepia(0.05) brightness(0.985);
}
@media (prefers-reduced-motion: no-preference) {
  img[data-fallback] { transition: filter 0.6s var(--ease); }
}

/* ---------- Accessible focus ---------- */
:focus:not(:focus-visible) { outline: none; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: 1880px; }
.section { padding-block: var(--section); }
.rule { height: 1px; background: color-mix(in srgb, var(--charcoal) 22%, transparent); border: 0; }

/* Eyebrow / label */
.eyebrow {
  font-size: var(--step--1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--warm-grey);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--concrete);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

/* Serif display */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.italic { font-style: italic; }
.accent-text { color: var(--accent); }

/* ---------- Typography line-reveal ---------- */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease);
}
.in-view .reveal-line > span { transform: translateY(0); }
.in-view .reveal-line:nth-child(2) > span { transition-delay: 0.08s; }
.in-view .reveal-line:nth-child(3) > span { transition-delay: 0.16s; }
.in-view .reveal-line:nth-child(4) > span { transition-delay: 0.24s; }

/* Fade-up */
.fade-up { opacity: 0; transform: translateY(38px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.in-view.fade-up, .in-view .fade-up { opacity: 1; transform: none; }
.in-view .fade-up { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* Image clip reveal */
.img-reveal { position: relative; overflow: hidden; background: var(--ivory-2); }
.img-reveal img,
.img-reveal .ph {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease);
  will-change: transform;
}
.img-reveal::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--ivory);
  transform-origin: bottom;
  transition: transform 1.15s var(--ease-inout);
  z-index: 2;
}
.in-view.img-reveal::after, .in-view .img-reveal::after { transform: scaleY(0); }
.in-view.img-reveal img, .in-view .img-reveal img,
.in-view.img-reveal .ph, .in-view .img-reveal .ph { transform: scale(1); }

/* Generic placeholder (fallback if a photo fails to load) */
.ph {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, var(--stone) 0%, var(--ivory-2) 45%, var(--concrete) 100%);
  position: relative;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--step--1); letter-spacing: 0.25em; text-transform: uppercase;
  color: color-mix(in srgb, var(--charcoal) 55%, transparent);
}

/* Cover image pattern */
.cover { position: relative; overflow: hidden; }
.cover > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 1.05em 1.9em;
  border: 1px solid var(--ink);
  border-radius: 100px;
  color: var(--ink);
  overflow: hidden;
  transition: color 0.5s var(--ease);
  isolation: isolate;
}
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--ivory); }
.btn:hover::before { transform: translateY(0); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--solid { background: var(--ink); color: var(--ivory); }
.btn--solid::before { background: var(--ivory); }
.btn--solid:hover { color: var(--ink); }
.btn--light { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--ink); }
.btn--lg { padding: 1.25em 2.4em; }

/* Text link with animated underline */
.link {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: var(--step--1);
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.link::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.link .arrow { transition: transform 0.45s var(--ease); }
.link:hover .arrow { transform: translateX(5px); }

/* =========================================================================
   FLOATING ACTION DOCK — WhatsApp / Call / Back to top
   ========================================================================= */
.fab-dock {
  position: fixed; right: clamp(0.9rem, 2vw, 1.6rem); bottom: clamp(0.9rem, 2vw, 1.6rem);
  z-index: 880; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-end;
}
.fab {
  position: relative;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--ivory);
  box-shadow: 0 8px 24px rgba(19,18,17,0.22);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
  cursor: pointer; border: 0;
}
.fab svg { width: 24px; height: 24px; display: block; }
.fab:hover { transform: translateY(-3px); }
.fab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.fab--wa { background: #25D366; color: #fff; }
.fab--wa:hover { background: #1eb457; }
.fab--call { background: var(--ink); box-shadow: 0 0 0 1px rgba(244,241,236,0.22), 0 8px 24px rgba(19,18,17,0.22); }
.fab--top { background: var(--ivory); color: var(--ink); border: 1px solid rgba(19,18,17,0.10);
  box-shadow: 0 8px 24px rgba(19,18,17,0.20);
  opacity: 0; visibility: hidden; transform: translateY(8px); }
.fab--top.is-on { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: translateY(-3px); }

/* Label on hover (desktop) */
.fab__label {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--ink); color: var(--ivory);
  font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  padding: 0.5em 0.85em; border-radius: 100px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.fab:hover .fab__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 620px) {
  .fab { width: 48px; height: 48px; }
  .fab svg { width: 22px; height: 22px; }
  .fab__label { display: none; }
}
@media print { .fab-dock { display: none; } }

/* Inline WhatsApp link/button */
.wa-link { display: inline-flex; align-items: center; gap: 0.5em; }
.wa-link svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn--wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn--wa::before { background: #1eb457; }
.btn--wa:hover { color: #fff; border-color: #1eb457; }
.btn--wa svg { width: 18px; height: 18px; }
.btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.btn { white-space: nowrap; }
.btn--sm { padding: 0.85em 1.5em; font-size: 0.7rem; }
.btn--sm svg { width: 15px; height: 15px; }
.btn--ghost-light { border-color: rgba(240,238,233,0.35); color: var(--ivory); }
.btn--ghost-light::before { background: var(--ivory); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--ivory); }

/* Row of contact buttons (footer / contact page / CTA bands) */
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.contact-actions .btn { gap: 0.55em; }
.contact-actions--center { justify-content: center; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--ink); z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 1100;
    pointer-events: none; border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
  }
  .cursor-dot { width: 6px; height: 6px; background: #fff; }
  .cursor-ring {
    width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.7);
    transition: width 0.35s var(--ease), height 0.35s var(--ease),
                background 0.35s var(--ease), opacity 0.35s var(--ease);
  }
  .cursor-ring.is-hover { width: 74px; height: 74px; background: rgba(255,255,255,0.12); border-color: transparent; }
  .cursor-ring.is-view {
    width: 96px; height: 96px; background: #fff; border-color: transparent;
    mix-blend-mode: normal;
  }
  .cursor-ring .cursor-label {
    opacity: 0; font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--ink); font-weight: 700; transition: opacity 0.3s;
  }
  .cursor-ring.is-view .cursor-label { opacity: 1; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.5s var(--ease), height 0.5s var(--ease),
              box-shadow 0.5s var(--ease), color 0.5s var(--ease);
  color: var(--ink);
}
.nav__inner { width: 100%; max-width: 1880px; margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--sans); font-weight: 800; letter-spacing: 0.14em; font-size: 1.05rem; text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.6em; }
.nav__logo .mark { width: 26px; height: 26px; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 0.62rem; letter-spacing: 0; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.6rem); }
.nav__link { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; position: relative; padding-block: 6px; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: inline-flex; }
.nav__right { display: flex; align-items: center; gap: 1.6rem; }

/* Transparent-over-hero state (light text) */
.nav--on-dark { color: #fff; }
.nav--on-dark .nav__logo .mark { border-color: rgba(255,255,255,0.7); }
.nav--on-dark .nav__cta.btn { border-color: rgba(255,255,255,0.55); color: #fff; }
.nav--on-dark .nav__cta.btn::before { background: #fff; }
.nav--on-dark .nav__cta.btn:hover { color: var(--ink); }

/* Scrolled solid state */
.nav.is-scrolled {
  background: color-mix(in srgb, var(--ivory) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 66px;
  color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--charcoal) 12%, transparent);
}
.nav.is-scrolled .nav__logo .mark { border-color: var(--ink); }

.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { bottom: 15px; }

/* Mobile fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 950;
  background: var(--ink); color: var(--ivory);
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.7s var(--ease-inout);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  pointer-events: none;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); pointer-events: auto; }
.menu__list { display: flex; flex-direction: column; gap: 0.2em; }
.menu__list a {
  font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 4.5rem);
  font-weight: 500; line-height: 1.05; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.4s;
  display: inline-flex; align-items: baseline; gap: 0.5em;
}
.menu__list a .idx { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--concrete); font-weight: 600; }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list a:nth-child(1) { transition-delay: 0.12s; }
.menu.is-open .menu__list a:nth-child(2) { transition-delay: 0.17s; }
.menu.is-open .menu__list a:nth-child(3) { transition-delay: 0.22s; }
.menu.is-open .menu__list a:nth-child(4) { transition-delay: 0.27s; }
.menu.is-open .menu__list a:nth-child(5) { transition-delay: 0.32s; }
.menu.is-open .menu__list a:nth-child(6) { transition-delay: 0.37s; }
.menu.is-open .menu__list a:nth-child(7) { transition-delay: 0.42s; }
.menu.is-open .menu__list a:nth-child(8) { transition-delay: 0.47s; }
.menu__list a:hover { color: var(--accent); }
.menu__foot { position: absolute; bottom: var(--gutter); left: var(--gutter); right: var(--gutter);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: var(--step--1); letter-spacing: 0.08em; color: var(--concrete); }
.menu__close { position: absolute; top: 26px; right: var(--gutter); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; }

/* =========================================================================
   PRELOADER
   ========================================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink); color: var(--ivory);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease-inout);
}
.preloader.is-done { transform: translateY(-100%); }
.preloader__inner { text-align: center; width: min(560px, 82vw); }
.preloader__logo { font-weight: 800; letter-spacing: 0.34em; font-size: clamp(1.3rem, 4vw, 2rem); text-transform: uppercase;
  opacity: 0; transform: translateY(12px); animation: pl-fade 0.7s var(--ease) 0.1s forwards; }
.preloader__line { height: 1px; background: var(--concrete); margin: 1.6rem auto 1.4rem; width: 0; }
.preloader.run .preloader__line { animation: pl-line 0.7s var(--ease) 0.5s forwards; }
.preloader__sub { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--concrete);
  opacity: 0; animation: pl-fade 0.6s var(--ease) 0.95s forwards; }
.preloader__count { position: absolute; bottom: var(--gutter); right: var(--gutter); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--concrete); }
@keyframes pl-fade { to { opacity: 1; transform: none; } }
@keyframes pl-line { to { width: 100%; } }

/* Page-in fade */
.page-fade { opacity: 0; animation: page-in 0.9s var(--ease) forwards; }
@keyframes page-in { to { opacity: 1; } }

/* Page transition overlay (leaving) */
.page-curtain {
  position: fixed; inset: 0; z-index: 1500; background: var(--ink);
  transform: translateY(100%); pointer-events: none;
}
.page-curtain.is-active { animation: curtain-up 0.6s var(--ease-inout) forwards; }
@keyframes curtain-up { to { transform: translateY(0); } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--ink); color: var(--ivory); padding-block: clamp(3.5rem, 7vw, 6rem) 2.2rem; }
.footer a { color: var(--stone); transition: color 0.35s; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer__brand h3 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; }
.footer__brand p { color: var(--concrete); margin-top: 0.8rem; max-width: 26ch; }
.footer__col h4 { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--concrete); margin-bottom: 1.1rem; font-weight: 600; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a { font-size: 0.95rem; }
.footer__cta .display { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12);
  font-size: var(--step--1); letter-spacing: 0.06em; color: var(--concrete); }
.footer__bottom a { color: var(--concrete); }
.footer__socials { display: flex; gap: 1.4rem; }

/* Big pre-footer CTA band (shared) */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--ivory); }
.cta-band__bg { position: absolute; inset: -12% 0; z-index: 0; opacity: 0.35; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.cta-band__inner { position: relative; z-index: 1; padding-block: clamp(5rem, 12vw, 11rem); text-align: center; }
.cta-band__inner h2 { font-family: var(--serif); font-weight: 500; line-height: 0.98; font-size: var(--step-4); }
.cta-band__inner .btn { margin-top: 2.4rem; }

/* =========================================================================
   PAGE HEADER (interior pages)
   ========================================================================= */
.page-head { padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.page-head__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(2rem,5vw,3.5rem); }
.page-head h1 { font-family: var(--serif); font-weight: 500; line-height: 0.94; font-size: var(--step-5); letter-spacing: -0.015em; }
.page-head__sub { max-width: 46ch; color: var(--warm-grey); font-size: var(--step-1); margin-top: 1.6rem; }

/* Utility */
.mono { font-variant-numeric: tabular-nums; }
.count { font-family: var(--sans); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; color: var(--concrete); }
.center { text-align: center; }
.hide { display: none !important; }

/* =========================================================================
   RESPONSIVE — global
   ========================================================================= */
@media (max-width: 1023px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  :root { --nav-h: 72px; }
}
@media (max-width: 620px) {
  .footer__top { grid-template-columns: 1fr; }
  .btn { padding: 1em 1.6em; }
}

/* ---------- Project-page enquiry strip ---------- */
.pd-enquire { padding: clamp(3rem, 7vw, 6rem) var(--gutter); }
.pd-enquire__inner {
  display: flex; justify-content: space-between; align-items: flex-end; gap: clamp(1.6rem, 4vw, 3rem);
  flex-wrap: wrap; border-top: 1px solid color-mix(in srgb, var(--charcoal) 15%, transparent);
  padding-top: clamp(1.8rem, 4vw, 3rem);
}
.pd-enquire__title { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; font-size: var(--step-3); margin-top: 1rem; }
.pd-enquire .contact-actions { margin-top: 0; }
@media (max-width: 720px) { .pd-enquire .contact-actions .btn { flex: 1 1 auto; justify-content: center; } }
.menu__foot a:hover { color: var(--accent); }

/* Any element the JS hydrates with an icon: keep the glyph text-sized. */
[data-wa], [data-call] { display: inline-flex; align-items: center; gap: 0.5em; }
[data-wa] > svg, [data-call] > svg { width: 1em; height: 1em; flex: 0 0 auto; }
.btn[data-wa] > svg, .btn[data-call] > svg { width: 17px; height: 17px; }
.btn--sm[data-wa] > svg, .btn--sm[data-call] > svg { width: 15px; height: 15px; }
