/* =============================================
   ARKU — MASTER DESIGN SYSTEM v4
   Interior Design & Manufacturing — Saudi Arabia
   The Seasons + Roboto
   Warm Light Theme: Stone, Sand & Charcoal
   ============================================= */

/* ── FONTS ─────────────────────────────────── */
@import url('https://api.fontshare.com/v2/css?f[]=the-seasons@300,400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Space+Mono:wght@400;700&display=swap');

/* ── RESET ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ── CUSTOM PROPERTIES ─────────────────────── */
:root {
  /* ── WARM LIGHT PALETTE ────────────────────
     Not white. Not black. Warm stone in between.
     Inspiration: aged linen, honed travertine,
     sun-bleached sand, raw brass.
  ─────────────────────────────────────────── */

  /* Dark anchors (hero, CTA, footer) */
  --c-ink:         #1A1714;   /* Warm near-black — deepest tone */
  --c-charcoal:    #2C2825;   /* Rich warm dark */
  --c-dark:        #3A3530;   /* Mid dark, section backgrounds */

  /* Mid tones */
  --c-stone:       #6B6259;   /* Body text on light backgrounds */
  --c-stone-light: #9A9089;   /* Muted text, captions */
  --c-stone-pale:  #C4BBB2;   /* Borders, dividers */

  /* Light backgrounds (the theme) */
  --c-sand:        #E8E0D4;   /* Warm sand — second tier */
  --c-parchment:   #F0E9DE;   /* Primary content background */
  --c-cream:       #F5F0E8;   /* Hero-adjacent sections */
  --c-linen:       #FAF6F0;   /* Lightest — nav, top sections */

  /* Accent */
  --c-gold:        #B8925A;   /* Warm brass gold — used sparingly */
  --c-gold-light:  #D4AF7A;   /* Hover state gold */

  /* Aliases for backwards compat with inline styles */
  --c-black:       var(--c-ink);
  --c-white:       var(--c-linen);
  --c-dark:        #3A3530;
  --c-parchment:   #F0E9DE;   /* Legacy name — warm cream */
  --c-cream:       #F5F0E8;   /* Slightly lighter warm */
  --c-linen:       #FAF6F0;   /* Lightest warm — over dark */
  --c-sand:        #E8E0D4;   /* Warm mid-tone */

  /* Semantics — for easy reading */
  --c-bg:          var(--c-parchment);
  --c-bg-alt:      var(--c-cream);
  --c-bg-dark:     var(--c-charcoal);
  --c-text:        var(--c-charcoal);
  --c-text-muted:  var(--c-stone);
  --c-border:      rgba(44, 40, 37, 0.1);
  --c-border-dark: rgba(250, 246, 240, 0.1);

  /* Typography */
  --f-display:  'The Seasons', 'Cormorant Garamond', Georgia, serif;
  --f-body:     'Roboto', system-ui, -apple-system, sans-serif;
  --f-mono:     'Space Mono', monospace;

  /* Fluid type */
  --fs-xs:   clamp(0.6875rem, 0.65rem + 0.2vw, 0.75rem);
  --fs-sm:   clamp(0.8125rem, 0.78rem + 0.2vw, 0.875rem);
  --fs-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
  --fs-md:   clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --fs-lg:   clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  --fs-xl:   clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --fs-2xl:  clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --fs-3xl:  clamp(2.5rem, 1.8rem + 3.5vw, 5.5rem);
  --fs-4xl:  clamp(2.75rem, 2rem + 4.5vw, 6rem);

  /* Spacing */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   clamp(2rem, 4vw, 4rem);
  --sp-xl:   clamp(3rem, 6vw, 6rem);
  --sp-2xl:  clamp(4rem, 8vw, 9rem);
  --sp-3xl:  clamp(5rem, 10vw, 12rem);

  /* Layout */
  --max-w:   1440px;
  --gutter:  clamp(1.25rem, 4vw, 4rem);

  /* Motion */
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-reveal: cubic-bezier(0.25, 0.0, 0.0, 1.0);
  --dur-fast:    0.22s;
  --dur-med:     0.45s;
  --dur-slow:    0.85s;
  --dur-xslow:   1.35s;

  /* Borders */
  --border:       1px solid var(--c-border);
  --border-light: 1px solid var(--c-border-dark);
}

/* ── SCROLLBAR ────────────────────────────── */
::-webkit-scrollbar { width: 2px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-stone-pale); }

/* ── BODY ─────────────────────────────────── */
body {
  font-family: var(--f-body);
  font-size: var(--fs-base);
  color: var(--c-charcoal);
  background: var(--c-parchment);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── CSS NOISE — Warm paper texture ─────────
   z-index: 0 to avoid blocking clicks.
   pointer-events: none guaranteed.
   Only for dark sections / hero backgrounds.
─────────────────────────────────────────── */
.noise {
  position: relative;
}
.noise > * {
  position: relative;
  z-index: 1;
}
.noise::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  mix-blend-mode: overlay;
}

/* Grain on images */
.grain-img {
  position: relative;
  isolation: isolate;
}
.grain-img::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 96px 96px;
  mix-blend-mode: multiply;
}

/* ── TYPOGRAPHY UTILITIES ─────────────────── */
.t-display {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.015em;
}

.t-label {
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-stone);
}

.t-mono {
  font-family: var(--f-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
}

/* ── LAYOUT ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── NAVIGATION ───────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--dur-med) var(--ease-out),
              padding var(--dur-med) var(--ease-out),
              border-color var(--dur-med);
}

/* Default nav is over dark hero — white text */
.nav__logo img {
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--dur-med);
}

.nav__link {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.55);
  transition: color var(--dur-fast);
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width var(--dur-med) var(--ease-out);
}
.nav__link:hover { color: var(--c-linen); }
.nav__link:hover::after { width: 100%; }

.nav__lang {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(250,246,240,0.4);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.nav__lang span { cursor: pointer; transition: color var(--dur-fast); }
.nav__lang span:hover { color: var(--c-gold); }
.nav__lang-divider { opacity: 0.25; }

/* Nav CTA — ghost border button, matches site .btn style */
.nav__cta {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(250,246,240,0.85);
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(250,246,240,0.35);
  background: transparent;
  transition: color var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast);
}
.nav__cta:hover {
  color: var(--c-ink);
  background: var(--c-linen);
  border-color: var(--c-linen);
}

/* ── NAV SCROLLED STATE — warm light ─────── */
.nav--scrolled {
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: 0.9rem;
  border-bottom: 1px solid rgba(44, 40, 37, 0.08);
}
.nav--scrolled .nav__logo img {
  filter: brightness(0);       /* Black logo on light nav */
}
.nav--scrolled .nav__link {
  color: rgba(44, 40, 37, 0.5);
}
.nav--scrolled .nav__link:hover {
  color: var(--c-charcoal);
}
.nav--scrolled .nav__lang {
  color: rgba(44, 40, 37, 0.35);
}
.nav--scrolled .nav__cta {
  color: rgba(44, 40, 37, 0.75);
  border-color: rgba(44, 40, 37, 0.28);
}
.nav--scrolled .nav__cta:hover {
  color: var(--c-linen);
  background: var(--c-charcoal);
  border-color: var(--c-charcoal);
}

/* ── NAV LIGHT VARIANT (pages with light hero) */
.nav--light .nav__logo img { filter: brightness(0); }
.nav--light .nav__link { color: rgba(44,40,37,0.5); }
.nav--light .nav__link:hover { color: var(--c-charcoal); }
.nav--light .nav__lang { color: rgba(44,40,37,0.35); }
.nav--light .nav__cta {
  color: rgba(44,40,37,0.7);
  border-color: rgba(44,40,37,0.25);
}
.nav--light .nav__cta:hover {
  color: var(--c-linen);
  background: var(--c-charcoal);
  border-color: var(--c-charcoal);
}

/* Thin divider between lang and CTA */
.nav__sep {
  display: block;
  width: 1px;
  height: 14px;
  background: currentColor;
  opacity: 0.18;
  flex-shrink: 0;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.75rem);
}

/* ── HAMBURGER ────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 2;
}
.nav__hamburger span {
  display: block;
  width: 20px; height: 1px;
  background: var(--c-linen);
  transition: transform var(--dur-med), opacity var(--dur-fast), background var(--dur-med);
  transform-origin: center;
}
.nav--scrolled .nav__hamburger span,
.nav--light .nav__hamburger span { background: var(--c-charcoal); }
.nav__hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── MOBILE MENU ──────────────────────────── */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--c-ink);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out),
              visibility var(--dur-med);
}
.nav__mobile.open { opacity: 1; visibility: visible; }
.nav__mobile-close {
  position: absolute;
  top: 1.5rem; right: var(--gutter);
  font-size: 1.1rem;
  color: rgba(245,240,232,0.35);
  background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  transition: color var(--dur-fast);
  line-height: 1;
}
.nav__mobile-close:hover { color: var(--c-linen); }
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.nav__mobile-link {
  font-family: var(--f-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 300;
  color: rgba(245,240,232,0.6);
  letter-spacing: 0.01em;
  padding: 0.65rem 2rem;
  transition: color var(--dur-fast);
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.nav__mobile-link:hover { color: var(--c-linen); }
.nav__mobile-footer {
  position: absolute; bottom: 2.5rem;
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
}
.nav__mobile-cta {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.45);
  position: relative; padding-bottom: 2px;
  transition: color var(--dur-fast);
}
.nav__mobile-cta::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--c-gold); opacity: 0.4;
}
.nav__mobile-cta:hover { color: var(--c-linen); }
.nav__mobile-lang {
  font-size: var(--fs-xs);
  color: rgba(245,240,232,0.2);
  letter-spacing: 0.1em;
  display: flex; gap: 0.5rem;
}

/* ── BUTTONS ──────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 0.875rem 1.875rem;
  min-height: 44px;            /* touch target */
  transition: background var(--dur-med) var(--ease-out),
              color var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
}
/* Arrow nudge */
.btn svg { transition: transform var(--dur-fast) var(--ease-out); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

/* On dark backgrounds */
.btn-outline {
  border-color: rgba(245,240,232,0.35);
  color: var(--c-linen);
}
.btn-outline:hover {
  background: var(--c-linen);
  color: var(--c-charcoal);
  border-color: var(--c-linen);
}

/* On light backgrounds */
.btn-outline-dark {
  border-color: rgba(44, 40, 37, 0.3);
  color: var(--c-charcoal);
}
.btn-outline-dark:hover {
  background: var(--c-charcoal);
  color: var(--c-linen);
  border-color: var(--c-charcoal);
}

/* Text-only ghost on light */
.btn-ghost-dark {
  color: var(--c-charcoal);
  border-bottom: 1px solid rgba(44,40,37,0.2);
  padding: 0 0 0.2rem;
  letter-spacing: 0.11em;
  font-size: var(--fs-xs);
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
  transition: border-color var(--dur-fast), color var(--dur-fast);
}
.btn-ghost-dark:hover {
  border-bottom-color: var(--c-gold);
  color: var(--c-stone);
}

/* ── SCROLL REVEALS ───────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity var(--dur-slow) var(--ease-reveal),
                transform var(--dur-slow) var(--ease-reveal);
  }
  .reveal.revealed { opacity: 1; transform: translateY(0); }

  .reveal-left {
    opacity: 0; transform: translateX(-26px);
    transition: opacity var(--dur-slow) var(--ease-reveal),
                transform var(--dur-slow) var(--ease-reveal);
  }
  .reveal-left.revealed { opacity: 1; transform: translateX(0); }

  .reveal-right {
    opacity: 0; transform: translateX(26px);
    transition: opacity var(--dur-slow) var(--ease-reveal),
                transform var(--dur-slow) var(--ease-reveal);
  }
  .reveal-right.revealed { opacity: 1; transform: translateX(0); }

  .img-reveal-wrap { overflow: hidden; }
  .img-reveal-wrap img {
    transform: scale(1.055);
    transition: transform var(--dur-xslow) var(--ease-reveal);
  }
  .img-reveal-wrap.revealed img { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important; transform: none !important;
  }
  .img-reveal-wrap img { transform: none !important; }
}

/* Stagger delays */
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }
.reveal-d5 { transition-delay: 0.35s; }
.reveal-d6 { transition-delay: 0.42s; }

/* ── SCROLL PROGRESS ──────────────────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: transparent;
  z-index: 2000;
  pointer-events: none;
}
.progress-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: var(--c-gold);
  opacity: 0.6;
  transition: width 0.1s linear;
}

/* ── CURSOR DOT ─────────────────────────────
   CSS handles shape/size transitions.
   JS sets --cursor-w, --cursor-h, --cursor-bg
   via inline style for state changes.
─────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition:
    opacity 0.3s,
    width 0.18s var(--ease-out),
    height 0.18s var(--ease-out),
    background 0.18s,
    border-color 0.18s,
    border-radius 0.18s;
  width: 6px; height: 6px;
  background: var(--c-gold);
  border: 0px solid transparent;
  border-radius: 50%;
}

/* ── EDITORIAL FOOTER ─────────────────────── */
.footer {
  background: #0C0B0B;   /* Night — deepest brand black, consistent across all pages */
  color: var(--c-linen);
  overflow: hidden;
}

/* Big ghost wordmark row */
.footer__statement {
  padding: clamp(3rem, 6vw, 5.5rem) var(--gutter);
  border-bottom: var(--border-light);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__wordmark {
  height: clamp(44px, 7vw, 100px);
  width: auto;
  filter: invert(1);
  opacity: 0.32;
  user-select: none;
  pointer-events: none;
  flex-shrink: 0;
  display: block;
}
.footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(245,240,232,0.3);
  line-height: 1.7;
  max-width: 40ch;
  text-align: right;
}

/* Nav columns row */
.footer__top {
  display: grid;
  grid-template-columns: 0.5fr 1fr 1.1fr 1fr;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  border-bottom: var(--border-light);
}
.footer__col-title {
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.22);
  margin-bottom: 1rem;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__link {
  font-size: var(--fs-sm);
  color: rgba(245,240,232,0.45);
  transition: color var(--dur-fast);
}
.footer__link:hover { color: var(--c-linen); }
.footer__contact-item {
  font-size: var(--fs-sm);
  color: rgba(245,240,232,0.45);
  margin-bottom: 0.4rem;
}

/* Bottom bar */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
}
.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(245,240,232,0.18);
  letter-spacing: 0.04em;
}
.footer__legal {
  display: flex;
  gap: 2rem;
}
.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(245,240,232,0.18);
  letter-spacing: 0.04em;
  transition: color var(--dur-fast);
}
.footer__legal a:hover { color: rgba(245,240,232,0.55); }

/* ── LOADER ───────────────────────────────── */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--c-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}
.loader-screen__logo {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  width: clamp(140px, 18vw, 220px);
  opacity: 0;
  transform: scale(0.97);
  will-change: opacity, transform;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.loader-screen__logo img,
.loader-screen__logo svg { width: 100%; height: auto; display: block; }
.loader-screen.loader-enter .loader-screen__logo {
  opacity: 1; transform: scale(1);
}
.loader-screen.loader-exit-wordmark .loader-screen__logo {
  opacity: 0; transition: opacity 0.35s ease;
}
.loader-screen.loader-exit-bg {
  transform: translateY(-100%);
  pointer-events: none;
}

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__statement { flex-direction: column; align-items: flex-start; }
  .footer__tagline { text-align: left; }
}

@media (max-width: 768px) {
  .nav__links, .nav__right { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }
  /* Keep 3 content columns in one row — hide redundant logo cell */
  .footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
  .footer__top > div:first-child { display: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  /* Ensure full-width buttons can wrap on mobile */
  .btn { white-space: normal; }
  /* Nav CTA touch target */
  .nav__cta { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 480px) {
  /* 3 columns still — tighten gap and scale text */
  .footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .footer__link, .footer__contact-item { font-size: 0.72rem; }
  .footer__col-title { font-size: 0.55rem; letter-spacing: 0.12em; }
  /* Mobile nav menu links smaller on tiny phones */
  .nav__mobile-link { font-size: clamp(1.6rem, 7vw, 2.25rem); padding: 0.55rem 1.5rem; }
  /* Tighter button padding on small screens */
  .btn { padding: 0.75rem 1.5rem; }
  /* Footer wordmark scales with screen */
  .footer__wordmark { height: clamp(32px, 9vw, 52px); }
}

@media (max-width: 380px) {
  /* Very small phones — tightest layout */
  :root { --gutter: 1.1rem; }
  .footer__top { gap: 0.75rem; }
  .footer__bottom { font-size: 0.69rem; }
  .footer__tagline { font-size: 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-screen {
    transition: opacity 0.4s ease !important;
    transform: none !important;
  }
  .loader-screen__logo {
    transform: none !important;
    transition: opacity 0.4s ease !important;
  }
  .loader-screen.loader-exit-bg {
    opacity: 0;
    transform: none !important;
  }
}
