/* =========================================================
   Chavan Udyog Samuh — Landing page (editorial / cinematic)
   Brand: navy + gold on ivory · Building trust, driving excellence
   ========================================================= */

:root {
  --navy-950: #050c1c;
  --navy-900: #0a1733;
  --navy-800: #0e224a;
  --navy-700: #0f2b5c;

  --gold-200: #f6e2b0;
  --gold-300: #efcd84;
  --gold-400: #e2b04f;
  --gold-500: #d4a02e;
  --gold-600: #b6801d;
  --gold-700: #8a5f12;

  --paper: #f8f4ec;
  --paper-2: #f0e9dc;
  --ink: #0b1834;
  --ink-soft: #4a5470;
  --ink-faint: rgba(11, 24, 52, .45);
  --line-ink: rgba(11, 24, 52, .12);

  --text: #f5f0e6;
  --text-dim: rgba(245, 240, 230, .72);
  --text-faint: rgba(245, 240, 230, .45);
  --line-soft: rgba(245, 240, 230, .14);

  --gold-grad: linear-gradient(120deg, #f6e2b0 0%, #e2b04f 32%, #c48b22 62%, #efcd84 100%);

  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --nav-h: 84px;
  --radius: 4px;
  --hairline: rgba(239, 205, 132, .6);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
.js:not(.is-ready) body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold-500); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 4px; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: clamp(96px, 12vw, 170px); }


/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow--light { color: var(--gold-300); }
.eyebrow__line {
  width: 42px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) .25s;
}

.display {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.03;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 400; color: var(--gold-600); }
[data-dark] .display { color: var(--text); }
[data-dark] .display em { color: var(--gold-400); }

.lead { margin: 0 0 20px; max-width: 54ch; font-size: clamp(1.04rem, 1.3vw, 1.16rem); line-height: 1.75; color: var(--ink-soft); }
[data-dark] .lead { color: var(--text-dim); }
p { text-wrap: pretty; }


/* ---------- Reveal system ---------- */
[data-reveal] { --d: calc(var(--i, 0) * 110ms); }
.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  transition: opacity 1.1s var(--ease-out) var(--d), translate 1.3s var(--ease-out) var(--d);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }
.js [data-reveal] .eyebrow__line, .js .eyebrow[data-reveal] .eyebrow__line { transform: scaleX(0); }
.js [data-reveal].is-in .eyebrow__line { transform: none; }

[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .06em .14em;
  margin: 0 -.06em -.14em;
}
[data-split] .w > span {
  display: inline-block;
  translate: 0 108%;
  transition: translate 1.25s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 50ms);
}
[data-split].is-in .w > span { translate: none; }

/* Image curtain reveal */
.js [data-img-reveal] { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease-io) var(--d, 0s); }
.js [data-img-reveal] > img { scale: 1.28; transition: scale 2.2s var(--ease-out) var(--d, 0s); }
.js [data-img-reveal].is-in { clip-path: inset(0 0 0 0); }
.js [data-img-reveal].is-in > img { scale: 1; }

.no-anim [data-reveal], .no-anim [data-split] .w > span { opacity: 1 !important; translate: none !important; }
.no-anim [data-img-reveal] { clip-path: none !important; }
.no-anim [data-img-reveal] > img { scale: 1 !important; }

/* ---------- Buttons ---------- */
.btn {
  --pad-x: 30px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 var(--pad-x);
  border: 0;
  border-radius: 999px;
  font: 600 .76rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease-out), border-color .5s, box-shadow .6s var(--ease-out), background-position .9s var(--ease-out), translate .6s var(--ease-out);
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--navy-950); box-shadow: 0 14px 34px -16px rgba(212, 160, 46, .8); }
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  transform: skewX(-20deg);
  transition: left 1s var(--ease-out);
}
.btn--gold:hover { background-position: 100% 0; }
.btn--gold:hover::after { left: 130%; }

.btn--glass, .btn--ink { color: var(--text); }
.btn--glass { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ink { background: var(--ink); }
.btn--glass::before, .btn--ink::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform .65s var(--ease-out);
}
.btn--glass:hover, .btn--ink:hover { color: var(--navy-950); border-color: transparent; }
.btn--glass:hover::before, .btn--ink:hover::before { transform: none; }
.btn--sm { --pad-x: 22px; height: 44px; font-size: .7rem; }


/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; animation: loaderSafety 1ms 6.5s forwards; }
html:not(.js) .loader { display: none; }

/* ---------- Progress + cursor ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold-grad); transform: scaleX(var(--p, 0)); transform-origin: left; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width .5s var(--ease-out), height .5s var(--ease-out), margin .5s var(--ease-out), background-color .4s, border-color .4s, opacity .4s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(212, 160, 46, .14); }
.cursor.has-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold-400); border-color: var(--gold-400); }
.cursor__label { font: 700 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy-950); opacity: 0; transition: opacity .3s; }
.cursor.has-label .cursor__label { opacity: 1; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: transform .7s var(--ease-out), background-color .5s, color .5s, border-color .5s, opacity 1s var(--ease-out) .3s, translate 1.2s var(--ease-out) .3s;
}
.js .nav { opacity: 0; translate: 0 -24px; }
.is-ready .nav { opacity: 1; translate: none; }
.nav.is-scrolled {
  color: var(--ink);
  background: rgba(248, 244, 236, .86);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-color: var(--line-ink);
}
.nav.is-hidden { transform: translateY(-101%); }
.menu-open .nav { color: var(--ink); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: var(--nav-h);
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  transition: height .6s var(--ease-out);
}
.nav.is-scrolled .nav__inner { height: 70px; }

.nav__brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.nav__logo { position: relative; display: block; height: 34px; aspect-ratio: 168 / 117; }
.nav__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .5s; }
.nav__logo--dark { opacity: 0; }
.nav.is-scrolled .nav__logo--light, .menu-open .nav__logo--light { opacity: 0; }
.nav.is-scrolled .nav__logo--dark, .menu-open .nav__logo--dark { opacity: 1; }
.nav__name { display: flex; flex-direction: column; gap: 6px; font: 600 1.22rem/1 var(--serif); letter-spacing: .02em; }
.nav__name small { font: 600 .54rem/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); }
.nav.is-scrolled .nav__name small, .menu-open .nav__name small { color: var(--gold-700); }

.nav__links { display: flex; gap: 38px; }
.nav__links a { position: relative; padding: 6px 0; font-size: .86rem; font-weight: 500; letter-spacing: .04em; opacity: .82; transition: opacity .3s; }
.nav__links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; opacity: .9; }
.nav__toggle span { position: absolute; left: 14px; right: 14px; height: 1px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__toggle span:first-child { top: 19px; }
.nav__toggle span:last-child { top: 26px; }
.menu-open .nav__toggle span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:last-child { top: 22.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: var(--paper);
  color: var(--ink);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__links { display: grid; gap: 4px; }
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-ink);
  font: 500 clamp(2.2rem, 10vw, 3.4rem)/1.15 var(--serif);
  opacity: 0;
  translate: 0 30px;
  transition: opacity .6s var(--ease-out), translate .8s var(--ease-out);
}
.menu__links small { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-700); }
.menu-open .menu__links a { opacity: 1; translate: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .36s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .42s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .48s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .54s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .6s; }
.menu__foot { margin: 40px 0 0; font: italic 400 1.2rem/1.4 var(--serif); color: var(--gold-700); }

/* ---------- Entrance: group gateway ---------- */
.gate {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 680px;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--navy-950);
}
.gate__bg { position: absolute; inset: 0; z-index: -2; }
.gate__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.6s var(--ease-out), transform 1.6s var(--ease-out);
}
.gate__bg img.is-active {
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 1.6s var(--ease-out), transform 9s cubic-bezier(.25, .46, .45, .94);
}
.gate__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 56% at 50% 44%, rgba(5, 12, 28, .66) 0%, rgba(5, 12, 28, .3) 70%, rgba(5, 12, 28, .12) 100%),
    linear-gradient(0deg, rgba(5, 12, 28, .96) 0%, rgba(5, 12, 28, .3) 30%, rgba(5, 12, 28, 0) 52%),
    linear-gradient(180deg, rgba(5, 12, 28, .72) 0%, rgba(5, 12, 28, 0) 24%),
    rgba(5, 12, 28, .2);
}

.gate__center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 16px);
  padding-bottom: 20px;
  text-align: center;
}
.gate__emblem { width: clamp(84px, 7.5vw, 112px); height: auto; margin-bottom: 26px; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .55)); }
.gate__eyebrow { margin-bottom: 22px; }
.eyebrow__line--r { transform-origin: right; }
.gate__title {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 6.4vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.02em;
}
.gate__title .line { display: block; overflow: hidden; padding: 0 .06em .1em; margin-bottom: -.1em; }
.gate__title .line > span { display: inline-block; }
.gate__title em {
  font-style: italic;
  font-weight: 400;
  padding-right: .04em;
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite alternate;
}
.gate__lead { max-width: 54ch; margin: 0 auto 34px; font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: rgba(255, 255, 255, .82); }
.gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }


/* Entrance choreography */
.js .gate__bg { scale: 1.1; transition: scale 2.8s var(--ease-out); }
.js .gate__emblem { opacity: 0; scale: .8; transition: opacity 1.2s var(--ease-out) .1s, scale 1.6s var(--ease-out) .1s; }
.js .gate__eyebrow, .js .gate__lead, .js .gate__actions {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 1.1s var(--ease-out), translate 1.3s var(--ease-out);
}
.js .gate__title .line > span { translate: 0 112%; transition: translate 1.5s var(--ease-out); }
.is-ready .gate__bg { scale: 1; }
.is-ready .gate__emblem { opacity: 1; scale: 1; }
.is-ready .gate__eyebrow,
.is-ready .gate__lead,
.is-ready .gate__actions,
.is-ready .gate__title .line > span{ opacity: 1; translate: none; }
.gate__eyebrow { transition-delay: .3s !important; }
.gate__title .line:nth-child(1) > span { transition-delay: .4s; }
.gate__title .line:nth-child(2) > span { transition-delay: .52s; }
.gate__lead { transition-delay: .8s !important; }
.gate__actions { transition-delay: .95s !important; }

/* ---------- Intro / legacy ---------- */
.intro { background: var(--paper-2); }

.frame { position: absolute; margin: 0; overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }

/* Gallery-mount hairline: a thin gold rule set inside the photograph */
.journey__media::before,
.contact__media::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.2vw, 16px);
  z-index: 3;
  border: 1px solid var(--hairline);
  pointer-events: none;
}



/* ---------- Group companies strip ----------
   A slim navy band under the hero: a fixed label on the left and the company
   names drifting slowly past on the right (display only; hovering pauses it).
   Without JS, or with reduced motion, the names sit still. */
.group {
  padding-block: 0;
  overflow: hidden;
  border-block: 1px solid rgba(212, 160, 46, .3);
  background: var(--navy-950);
  color: var(--text);
}
.group__strip { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; min-height: clamp(64px, 5.8vw, 82px); }
.group__title {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  margin: 0;
  padding-inline: var(--gutter) clamp(18px, 2.4vw, 32px);
  border-right: 1px solid rgba(212, 160, 46, .32);
  font: 600 .66rem/1.2 var(--sans);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-300);
  white-space: nowrap;
}
.group__title::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--gold-500); transform: rotate(45deg); }
.group__marquee { padding-inline: clamp(18px, 2.4vw, 32px); }
.group__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; margin: 0; padding: 0; list-style: none; }
.group__list li { display: flex; align-items: center; font: 500 clamp(1.15rem, 1.6vw, 1.5rem)/1.1 var(--serif); color: var(--text); white-space: nowrap; }
.group__list em { margin-left: .26em; font-style: italic; color: var(--gold-300); }
.group__list li + li::before,
.group__marquee.is-moving .group__list li::after {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin: 0 clamp(18px, 2.6vw, 40px);
  background: var(--gold-500);
  transform: rotate(45deg);
}
/* Moving strip (main.js adds .is-moving after repeating the names to fill the width) */
.group__marquee.is-moving {
  padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.group__marquee.is-moving .group__track { display: flex; width: max-content; animation: groupDrift var(--dur, 45s) linear infinite; }
.group__marquee.is-moving:hover .group__track { animation-play-state: paused; }
.group__marquee.is-moving .group__list { flex-wrap: nowrap; gap: 0; }
.group__marquee.is-moving .group__list li::before { display: none; } /* a diamond after every name instead, so the loop joins seamlessly */
@keyframes groupDrift { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .group__title { gap: 8px; padding-inline: var(--gutter) 14px; font-size: .58rem; letter-spacing: .18em; }
  .group__title-more { display: none; }
  .group__list li { font-size: 1.1rem; }
}

/* ---------- Businesses: expanding panels ---------- */
.biz { background: var(--paper-2); }
.journey__head{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.journey__head .display{ margin-bottom: 0; }
.journey__head .lead{ margin: 0; }

.panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: #fff;
  cursor: pointer;
  isolation: isolate;
  transition: flex-grow 1s var(--ease-io);
}
.panel.is-active { flex-grow: 3.3; cursor: default; }
.panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.12);
  filter: saturate(.75) brightness(.78);
  transition: transform 1.6s var(--ease-out), filter 1s var(--ease-out);
}
.panel.is-active img { transform: scale(1); filter: none; }
.panel:not(.is-active):hover img { transform: scale(1.06); filter: saturate(.9) brightness(.9); }

.panel h3 { margin: 0 0 12px; font: 500 clamp(2rem, 3vw, 2.8rem)/1.05 var(--serif); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 7px 13px;
  border: 1px solid rgba(239, 205, 132, .4);
  border-radius: 999px;
  background: rgba(5, 12, 28, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: .72rem;
  color: var(--gold-200);
}

/* ---------- Brands ---------- */
.brands { background: var(--paper); }
.brands__head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(32px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.brands__head .display { margin-bottom: 0; }
.brands__head .lead { margin: 0; }

.brand-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.brand-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line-ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .4s, color .4s, border-color .4s;
}
.brand-filter__btn span { font-size: .66rem; color: var(--gold-700); transition: color .4s; }
.brand-filter__btn:hover { border-color: var(--gold-500); color: var(--ink); }
.brand-filter__btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.brand-filter__btn.is-active span { color: var(--gold-300); }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-ink);
  border-left: 1px solid var(--line-ink);
}
.brand-item { border-right: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); transition: opacity .4s var(--ease-out), scale .4s var(--ease-out); }
.brand-item.is-out { opacity: 0; scale: .97; }
.brand-item[hidden] { display: none; }

.brand {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 248px;
  padding: 26px 26px 24px;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);
  transition: color .5s var(--ease-out);
}
.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy-900);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease-io);
}
.brand:hover, .brand:focus-visible { color: #fff; }
.brand:hover::before, .brand:focus-visible::before { transform: none; transform-origin: top; }
.brand__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 600 .62rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-700);
  transition: color .5s;
}
.brand__top span:last-child { color: var(--ink-faint); transition: color .5s; }
.brand:hover .brand__top, .brand:focus-visible .brand__top { color: var(--gold-300); }
.brand:hover .brand__top span:last-child, .brand:focus-visible .brand__top span:last-child { color: rgba(255, 255, 255, .55); }
.brand__name {
  margin: auto 0 10px;
  padding-top: 36px;
  font: 700 clamp(1.15rem, 1.6vw, 1.45rem)/1.15 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand__line { font-size: .92rem; color: var(--ink-soft); transition: color .5s; }
.brand:hover .brand__line, .brand:focus-visible .brand__line { color: rgba(255, 255, 255, .72); }
.brand__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font: 600 .68rem/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-700);
  transition: color .5s;
}
.brand__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.brand:hover .brand__cta, .brand:focus-visible .brand__cta { color: var(--gold-300); }
.brand:hover .brand__cta svg, .brand:focus-visible .brand__cta svg { transform: translateX(5px); }

/* Brand buttons inside the business panels */

/* ---------- Brand drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 28, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(520px, 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  box-shadow: -40px 0 80px -40px rgba(5, 12, 28, .6);
  transform: translateX(100%);
  transition: transform .7s var(--ease-io);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }

.drawer__head {
  position: relative;
  padding: clamp(64px, 9vh, 96px) clamp(28px, 4vw, 44px) 40px;
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(212, 160, 46, .18), transparent 60%),
    var(--navy-900);
  color: #fff;
}
.drawer__head::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--hairline);
  pointer-events: none;
}
.drawer__close {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.drawer__close:hover { background: var(--gold-400); border-color: var(--gold-400); color: var(--navy-950); }
.drawer__meta { display: flex; gap: 16px; margin: 0 0 18px; font: 600 .64rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); }
.drawer__meta span + span { color: rgba(255, 255, 255, .55); }
.drawer__name { margin: 0 0 12px; font: 700 clamp(1.7rem, 4vw, 2.3rem)/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.drawer__line { margin: 0; font: italic 400 1.3rem/1.3 var(--serif); color: rgba(255, 255, 255, .78); }

.drawer__body { padding: 34px clamp(28px, 4vw, 44px) 40px; }
.drawer__desc { margin: 0 0 30px; font-size: 1.04rem; line-height: 1.75; color: var(--ink-soft); }
.drawer__label { margin: 0 0 14px; font: 600 .64rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700); }
.drawer__points { display: grid; gap: 0; margin: 0 0 34px; padding: 0; list-style: none; border-top: 1px solid var(--line-ink); }
.drawer__label[hidden], .drawer__points[hidden] { display: none; }
.drawer__points li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-ink);
  font: 500 1.2rem/1.3 var(--serif);
  color: var(--ink);
}
.drawer__points li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold-500); transform: rotate(45deg) translateY(-2px); }
.drawer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.drawer__site {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.drawer__site::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--gold-500); transform-origin: left; transition: transform .5s var(--ease-out); }
.drawer__site:hover::after { transform: scaleX(.3); }
.drawer__site svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.drawer__site:hover svg { transform: translate(2px, -2px); }
.drawer__fine { margin: 18px 0 0; font-size: .8rem; color: var(--ink-faint); }

/* Stagger the drawer content in */
.drawer__meta, .drawer__name, .drawer__line, .drawer__body > * {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .6s var(--ease-out), translate .8s var(--ease-out);
}
.drawer.is-open .drawer__meta { transition-delay: .25s; }
.drawer.is-open .drawer__name { transition-delay: .32s; }
.drawer.is-open .drawer__line { transition-delay: .39s; }
.drawer.is-open .drawer__body > *:nth-child(1) { transition-delay: .46s; }
.drawer.is-open .drawer__body > *:nth-child(2) { transition-delay: .52s; }
.drawer.is-open .drawer__body > *:nth-child(3) { transition-delay: .58s; }
.drawer.is-open .drawer__body > *:nth-child(4) { transition-delay: .64s; }
.drawer.is-open .drawer__body > *:nth-child(5) { transition-delay: .7s; }
.drawer.is-open .drawer__meta, .drawer.is-open .drawer__name, .drawer.is-open .drawer__line,
.drawer.is-open .drawer__body > * { opacity: 1; translate: none; }

/* ---------- Form: request type ---------- */
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; padding: 0; border: 0; }
.choices legend { width: 100%; margin-bottom: 14px; padding: 0; font: 600 .66rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(11, 24, 52, .2);
  border-radius: 999px;
  font-size: .86rem;
  color: var(--ink-soft);
  transition: background-color .35s, color .35s, border-color .35s;
}
.choice:hover span { border-color: var(--gold-500); color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* Footer brand links (buttons that open the drawer) */
.footer__cols button {
  display: block;
  padding: 5px 0;
  border: 0;
  background: none;
  font: 400 .95rem/1.7 var(--sans);
  color: var(--text-dim);
  text-align: left;
  cursor: pointer;
  transition: color .35s, translate .5s var(--ease-out);
}
.footer__cols button:hover { color: var(--gold-300); translate: 6px 0; }

/* ---------- Journey: sticky image timeline ---------- */
.journey { background: var(--navy-950); color: var(--text); }
.journey__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.journey__sticky { position: sticky; top: calc(var(--nav-h) + 8px); height: calc(100vh - var(--nav-h) - 40px); min-height: 460px; }
.journey__media { position: relative; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--navy-900); }
.journey__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  opacity: 0;
  scale: 1.12;
  transition: opacity 1.5s var(--ease-out), scale 2.8s var(--ease-out); /* a slow, gentle cross-fade */
}
.journey__media img.is-active { opacity: 1; scale: 1; }
.journey__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 12, 28, .88) 0%, rgba(5, 12, 28, .2) 45%, rgba(5, 12, 28, 0) 70%);
}
.journey__caption { position: absolute; left: clamp(24px, 3vw, 40px); right: 24px; bottom: clamp(24px, 3vw, 40px); z-index: 2; display: grid; gap: 2px; }
.journey__year { display: block; padding-bottom: .22em; font: 500 clamp(4.4rem, 8vw, 7.5rem)/.82 var(--serif); letter-spacing: -.03em; color: #fff; }
.journey__cat { font: 600 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-300); }

.journey__list { position: relative; padding-left: 40px; }
.journey__rail { position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
.journey__rail span { position: absolute; inset: 0; background: var(--gold-grad); transform: scaleY(var(--p, 0)); transform-origin: top; }
.timeline { margin: 0; padding: 0; list-style: none; }
.milestone {
  position: relative;
  display: grid;
  grid-template-columns: clamp(110px, 11vw, 150px) 1fr;
  gap: 20px;
  align-items: baseline;
  /* generous rows: each year gets a calm stretch of scrolling */
  --m-pad: clamp(44px, 8.5vh, 88px);
  padding: var(--m-pad) 0;
  border-bottom: 1px solid var(--line-soft);
  opacity: .38;
  transition: opacity .6s var(--ease-out);
}
.milestone::before {
  content: "";
  position: absolute;
  left: -40px;
  top: calc(var(--m-pad) + 18px);
  width: 11px;
  height: 11px;
  border: 1px solid var(--gold-500);
  border-radius: 50%;
  background: var(--navy-950);
  transition: background-color .5s, box-shadow .6s, scale .6s var(--ease-out);
}
.milestone.is-past { opacity: .7; }
.milestone.is-past::before { background: var(--gold-500); }
.milestone.is-active { opacity: 1; }
.milestone.is-active::before { background: var(--gold-300); scale: 1.35; box-shadow: 0 0 0 6px rgba(226, 176, 79, .14), 0 0 24px rgba(226, 176, 79, .7); }
.milestone__year { font: 500 clamp(2.4rem, 3.6vw, 3.4rem)/1 var(--serif); color: var(--text); transition: color .5s; }
.milestone.is-active .milestone__year { color: var(--gold-300); }
.milestone__tag { display: block; margin-bottom: 8px; font: 600 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-400); }
.milestone p { margin: 0; font-size: 1.1rem; line-height: 1.5; color: var(--text-dim); }

/* ---------- Leadership ---------- */
.leaders { background: var(--paper); }
.leaders__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.leaders__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.people { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-ink); }
.person {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: clamp(18px, 2.4vw, 32px);
  padding: 32px 0;
  border-bottom: 1px solid var(--line-ink);
}
.person::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease-out);
}
.person:hover::after { transform: scaleX(1); }
.person h3 { margin: 0 0 8px; font: 500 clamp(1.6rem, 2.2vw, 2rem)/1.15 var(--serif); }
.person p:last-child { margin: 0; color: var(--ink-soft); }

/* ---------- Presence ---------- */
.presence { background: var(--paper-2); overflow-x: clip; } /* the tilted map projects past the edges on phones */
.presence__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.states { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.state { padding-top: 24px; border-top: 1px solid var(--line-ink); }
.state__name { margin: 0 0 18px; font: 600 .7rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-700); }
.state ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.state li { display: block; }
.district {
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 4px 0 4px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: padding-left .5s var(--ease-out);
}
.district span { position: relative; }
.district span::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 55%;
  width: 14px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.district span { font: 500 clamp(1.8rem, 2.6vw, 2.4rem)/1.05 var(--serif); color: var(--ink); transition: color .4s; }
.district small { font: 600 .62rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.district:hover span, .district.is-active span { color: var(--gold-600); }
.district.is-active { padding-left: 24px; }
.district.is-active span::before { transform: scaleX(1); }

/* Map model: a tilted 3D relief of the region with our districts raised */
@property --tilt { syntax: '<angle>'; inherits: true; initial-value: 42deg; }
@property --lift { syntax: '<length>'; inherits: true; initial-value: 0px; }

.atlas { position: relative; margin: 0; }
.atlas__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.atlas__stage {
  position: relative;
  margin: -6% 0 -8%;
  padding: 0;
  perspective: 1700px;
  perspective-origin: 50% 25%;
}
.atlas__plane {
  --tilt: 42deg;
  --turn: 24deg;
  --tx: 0deg;
  --ty: 0deg;
  position: relative;
  width: 88%;
  margin: 0 auto;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt) + var(--tx))) rotateZ(calc(var(--turn) + var(--ty)));
}
.atlas__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

.atlas__shadow { transform: translateZ(-34px); filter: blur(22px); opacity: .32; }
.atlas__shadow use { fill: var(--navy-900); }

.atlas__base {
  filter:
    drop-shadow(0 2px 0 #e6dcc7) drop-shadow(0 2px 0 #ddd0b6)
    drop-shadow(0 2px 0 #d3c3a4) drop-shadow(0 2px 0 #c8b693);
}
.atlas__land { fill: #fcfaf5; stroke: rgba(11, 24, 52, .17); stroke-width: 1.6; stroke-linejoin: round; }
.atlas__border { fill: none; stroke: var(--navy-700); stroke-opacity: .55; stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.atlas__state { font: 600 16px var(--sans); letter-spacing: .34em; fill: rgba(11, 24, 52, .38); }

.atlas__district {
  --lift: 14px;
  transform: translateZ(var(--lift));
  transition: --lift .9s var(--ease-out), opacity .6s, filter .6s;
  filter:
    drop-shadow(0 2px 0 #c9922a) drop-shadow(0 2px 0 #b6801d) drop-shadow(0 2px 0 #a6741a)
    drop-shadow(0 2px 0 #966817) drop-shadow(0 2px 0 #8a5f12) drop-shadow(0 2px 0 #7d5510)
    drop-shadow(0 2px 0 #714d0f) drop-shadow(0 2px 0 #66450d) drop-shadow(0 10px 14px rgba(11, 24, 52, .28));
}
.atlas__district use { fill: url(#cus-gold); stroke: #fff4d6; stroke-width: 2; stroke-opacity: .7; stroke-linejoin: round; }

/* Pins stand upright: the post counter-rotates against the plane */
.atlas__pin { position: absolute; width: 0; height: 0; transform-style: preserve-3d; transform: translateZ(15px); }
.atlas__ripple {
  position: absolute;
  left: -16px;
  top: -16px;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--navy-900);
  border-radius: 50%;
  opacity: 0;
  animation: ripple 3.2s var(--ease-out) infinite;
  animation-delay: calc(var(--i) * .5s + 1.6s);
}
.atlas__post {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 40px;
  transform-origin: 0 100%;
  transform: rotateZ(calc(-1 * (var(--turn) + var(--ty)))) rotateX(calc(-1 * (var(--tilt) + var(--tx))));
}
.atlas__pin--hq .atlas__post { height: 52px; }
.atlas__stem { position: absolute; left: -1px; bottom: 0; width: 2px; height: 100%; background: linear-gradient(to top, rgba(11, 24, 52, .2), var(--navy-900)); transform-origin: bottom; }
.atlas__head {
  position: absolute;
  left: -8px;
  top: -8px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--navy-900);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(11, 24, 52, .35);
}
.atlas__pin--hq .atlas__head { left: -11px; top: -11px; width: 22px; height: 22px; border-width: 5px; border-color: var(--navy-900); background: var(--gold-400); }
.atlas__label {
  position: absolute;
  top: -16px;
  display: grid;
  gap: 3px;
  padding: 8px 12px 9px;
  border-radius: var(--radius);
  background: rgba(11, 24, 52, .92);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 10px 24px -8px rgba(11, 24, 52, .5);
  transition: background-color .4s, transform .5s var(--ease-out);
}
.atlas__pin[data-side="right"] .atlas__label { left: 18px; }
.atlas__pin[data-side="left"] .atlas__label { right: 18px; text-align: right; }
.atlas__pin--hq .atlas__label { top: -20px; }
.atlas__label b { font: 500 1.12rem/1 var(--serif); letter-spacing: .01em; }
.atlas__label small { font: 600 .56rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-300); }

/* Focus a district (from the list or a pin) */
.atlas[data-active] .atlas__district { opacity: .55; }
.atlas[data-active] .atlas__district.is-active { --lift: 30px; opacity: 1; }
.atlas[data-active] .atlas__pin.is-active { transform: translateZ(31px); }
.atlas__pin.is-active .atlas__label { background: var(--gold-500); color: var(--navy-950); transform: scale(1.06); }
.atlas__pin.is-active .atlas__label small { color: var(--navy-800); }
.atlas__pin { transition: transform .9s var(--ease-out); }

.atlas__legend { position: relative; z-index: 2; display: flex; justify-content: center; gap: 28px; margin-top: 0; font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.atlas__legend span { display: inline-flex; align-items: center; gap: 10px; }
.atlas__key { display: inline-block; }
.atlas__key--ours { width: 14px; height: 14px; border-radius: 2px; background: linear-gradient(135deg, #f6e2b0, #e2b04f 45%, #c48b22); box-shadow: 0 2px 0 #8a5f12; }
.atlas__key--border { width: 26px; height: 0; border-top: 2px dotted rgba(15, 43, 92, .7); }

/* Entrance: the model lies flat, then tilts up while districts rise and pins drop in */
.js .atlas .atlas__plane { --tilt: 4deg; opacity: 0; scale: .9; transition: --tilt 2s var(--ease-out), opacity 1.2s var(--ease-out), scale 2s var(--ease-out); }
.js .atlas .atlas__district { --lift: 0px; transition: --lift 1.2s var(--ease-out) calc(.9s + var(--i) * .14s), opacity .6s, filter .6s; }
.js .atlas .atlas__post { opacity: 0; translate: 0 -24px; transition: opacity .8s var(--ease-out) calc(1.5s + var(--i) * .12s), translate 1s var(--ease-out) calc(1.5s + var(--i) * .12s); }
.js .atlas.is-in .atlas__plane { --tilt: 42deg; opacity: 1; scale: 1; }
.js .atlas.is-in .atlas__district { --lift: 14px; }
.js .atlas.is-in[data-active] .atlas__district.is-active { --lift: 30px; transition-delay: 0s; }
.js .atlas.is-in .atlas__post { opacity: 1; translate: none; }
.no-anim .atlas .atlas__plane { --tilt: 42deg; opacity: 1; scale: 1; }
.no-anim .atlas .atlas__district { --lift: 14px; }
.no-anim .atlas .atlas__post { opacity: 1; translate: none; }

@keyframes ripple { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(2.2); opacity: 0; } }



/* ---------- Vision (as in design H) ----------
   One navy card with two fine gold frames inside its edge and a soft gold glow
   in the corner. A compass emblem sits beside the vision statement, whose words
   brighten one by one as the card scrolls up (js/main.js). Below: the three
   values, then a closing quote with the motto. */
.vm { background: var(--paper-2); }
.vision {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6.4vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: 36px;
  background: radial-gradient(ellipse at 85% 0%, #1a3a78 0%, #0a1d40 52%, #061430 100%);
  box-shadow: 0 50px 100px -50px rgba(6, 20, 48, .9);
  color: #f5f1ea;
}
.vision__frame { position: absolute; inset: 14px; border: 1px solid rgba(201, 164, 92, .35); border-radius: 28px; pointer-events: none; }
.vision__frame--inner { inset: 22px; border-color: rgba(201, 164, 92, .15); border-radius: 22px; }
.vision__glow { position: absolute; left: -96px; top: -96px; width: 288px; height: 288px; border-radius: 50%; background: rgba(201, 164, 92, .08); filter: blur(64px); pointer-events: none; }

.vision__top {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "mark eyebrow" "mark text";
  grid-template-rows: auto 1fr;
  column-gap: 64px;
}
.vision__emblem { grid-area: mark; align-self: start; width: 112px; height: 112px; margin-top: 8px; }
.vision__eyebrow {
  grid-area: eyebrow;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font: 600 .68rem/1.5 var(--sans);
  letter-spacing: .36em;
  text-transform: uppercase;
  color: #c9a45c;
}
.vision__eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.vision__text { grid-area: text; margin: 24px 0 0; font: 400 clamp(1.8rem, 3.3vw, 3.1rem)/1.22 var(--serif); letter-spacing: -.012em; text-wrap: pretty; }
.vision__text em { font-style: italic; color: #e4c98f; }
/* the three values are underlined word by word (the spaces between stay clear) */
.vision__u .w { text-decoration: underline; text-decoration-color: rgba(201, 164, 92, .6); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.vision__u:not(:has(.w)) { text-decoration: underline; text-decoration-color: rgba(201, 164, 92, .6); text-underline-offset: .18em; }
.vision__text .w { transition: opacity .2s linear; }

.vision__values {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); /* --cols: how many values there are (js/render.js) */
  margin: 64px 0 0;
  padding: 48px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  list-style: none;
}
.vision__value { padding: 0 32px; }
.vision__value:first-child { padding-left: 0; }
.vision__value:last-child { padding-right: 0; }
.vision__value + .vision__value { border-left: 1px solid rgba(255, 255, 255, .1); }
.vision__num { display: flex; align-items: baseline; gap: 12px; margin: 0; font: italic 400 1.4rem/1.5 var(--serif); color: #c9a45c; }
.vision__num::after { content: ""; width: 32px; height: 1px; background: rgba(201, 164, 92, .5); }
.vision__value h3 { margin: 12px 0 0; font: 400 2rem/1.25 var(--serif); letter-spacing: -.012em; color: #f5f1ea; }
.vision__value p:last-child { margin: 8px 0 0; font-size: .875rem; line-height: 1.625; color: rgba(245, 241, 234, .65); }

.vision__close { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 56px; text-align: center; }
.vision__diamond { width: 8px; height: 8px; background: #c9a45c; rotate: 45deg; }
.vision__quote { max-width: 46ch; margin: 0; font: italic 400 1.3rem/1.375 var(--serif); color: rgba(245, 241, 234, .75); }
.vision__motto { margin: 0; font: 600 .625rem/1.5 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: #e4c98f; }

@media (max-width: 1023px) {
  /* the emblem and the label share a row above the statement */
  .vision__top { grid-template-areas: "mark eyebrow" "text text"; grid-template-rows: auto auto; column-gap: 20px; align-items: center; }
  .vision__emblem { width: 80px; height: 80px; margin-top: 0; }
  .vision__text { margin-top: 40px; }
}
@media (max-width: 767px) {
  .vision { border-radius: 28px; }
  .vision__frame { inset: 10px; border-radius: 22px; }
  .vision__frame--inner { inset: 17px; border-radius: 17px; }
  .vision__values { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 48px; padding-top: 40px; }
  .vision__value, .vision__value:first-child, .vision__value:last-child { padding: 0; }
  .vision__value + .vision__value { border-left: 0; }
  .vision__value h3 { font-size: 1.75rem; }
  .vision__close { margin-top: 48px; }
  .vision__quote { font-size: 1.15rem; }
}

/* ---------- Gallery (after design H, without the family album) ----------
   A navy section: filter pills, one large photo, and beside it the counter,
   arrows, caption and thumbnails. Tap a thumbnail (or swipe the photo) to change
   it; "View" opens it full screen. js/main.js runs it; without JS the first photo
   and all the thumbnails still show. */
.gallery { background: var(--navy-950); color: var(--text); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.gallery__head .eyebrow { margin-bottom: 22px; }
.gallery__head .display { margin: 0; }
.gallery__filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 640px; }
.gallery__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: transparent;
  font: 600 .66rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  cursor: pointer;
  transition: background-color .35s, border-color .35s, color .35s;
}
.gallery__filter span { letter-spacing: .06em; color: var(--gold-300); transition: color .35s; }
.gallery__filter:hover { border-color: var(--gold-400); }
.gallery__filter:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }
.gallery__filter.is-active { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); }
.gallery__filter.is-active span { color: inherit; opacity: .65; }

.gallery__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: stretch; }

/* The large photo */
.gallery__stage {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 26px;
  background: var(--navy-900);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .85);
  cursor: zoom-in;
  touch-action: pan-y; /* sideways swipes change the photo */
  user-select: none;
}
.gallery__stage::after { /* a fine inner frame, as in H */
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  pointer-events: none;
}
.gallery__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.04;
  transition: opacity .7s var(--ease-out), scale 1.4s var(--ease-out);
  -webkit-user-drag: none;
}
.gallery__slide.is-active { opacity: 1; scale: 1; }
.gallery__demo,
.gallery__view { position: absolute; z-index: 2; border-radius: 999px; font: 600 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.gallery__demo { top: 26px; left: 26px; display: none; padding: 7px 11px; border: 1px solid rgba(228, 201, 143, .5); background: rgba(6, 20, 48, .6); color: var(--gold-300); pointer-events: none; }
.gallery.is-demo .gallery__demo { display: block; }
.gallery__view {
  right: 26px;
  bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(6, 20, 48, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.gallery__view svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gallery__view:hover, .gallery__view:focus-visible { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); outline: none; }

/* Beside it: counter, arrows, caption, thumbnails */
.gallery__side { display: flex; flex-direction: column; min-width: 0; } /* thumbnails line up with the photo's bottom edge */
.gallery__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.gallery__count { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.gallery__count b { font: 400 clamp(3rem, 4.6vw, 4.2rem)/1 var(--serif); color: var(--gold-300); font-variant-numeric: lining-nums tabular-nums; }
.gallery__count > span { font: 400 1.35rem/1 var(--serif); color: var(--text-faint); font-variant-numeric: lining-nums; }
.gallery__arrows { display: flex; gap: 10px; }
.gallery__arrow {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.gallery__arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gallery__arrow:hover, .gallery__arrow:focus-visible { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); outline: none; }
.gallery__info { min-height: 168px; }
.gallery__cat { margin: 26px 0 10px; font: 600 .66rem/1.5 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-400); }
.gallery__title { margin: 0 0 10px; font: 400 clamp(1.8rem, 2.5vw, 2.35rem)/1.15 var(--serif); letter-spacing: -.01em; color: var(--text); }
.gallery__caption { margin: 0 0 26px; font-size: .94rem; line-height: 1.6; color: var(--text-dim); }
.gallery__info.is-changing > * { animation: galText .55s var(--ease-out) both; }
.gallery__info.is-changing > :nth-child(2) { animation-delay: .05s; }
.gallery__info.is-changing > :nth-child(3) { animation-delay: .1s; }
@keyframes galText { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: none; } }

.gallery__thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: auto 0 0; padding: 0; list-style: none; }
@media (max-width: 1200px) { .gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__thumbs li[hidden] { display: none; }
.gallery__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--navy-900);
  cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(.6); transition: opacity .4s, filter .4s, scale .7s var(--ease-out); }
.gallery__thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: box-shadow .35s; pointer-events: none; }
.gallery__thumb:hover img { opacity: .85; filter: none; scale: 1.05; }
.gallery__thumb.is-active img { opacity: 1; filter: none; }
.gallery__thumb.is-active::after { box-shadow: inset 0 0 0 2px var(--gold-400); }
.gallery__thumb:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }

/* Full-screen viewer */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 72px clamp(16px, 7vw, 110px);
  border: 0;
  background: rgba(4, 10, 24, .95);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: lbIn .35s var(--ease-out); }
.lightbox::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { display: grid; justify-items: center; gap: 16px; margin: 0; max-width: 1400px; }
.lightbox__img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); border-radius: 12px; }
.lightbox__caption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 14px; text-align: center; }
.lightbox__caption span { font: 600 .62rem/1.5 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-400); }
.lightbox__caption b { font: italic 400 1.35rem/1.3 var(--serif); color: rgba(255, 255, 255, .9); }
.lightbox__count { position: absolute; top: 28px; left: 28px; margin: 0; font: 600 .7rem/1 var(--sans); letter-spacing: .24em; color: rgba(255, 255, 255, .7); font-variant-numeric: lining-nums tabular-nums; }
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(6, 20, 48, .5);
  color: #fff;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s;
}
.lightbox__close svg, .lightbox__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close:hover, .lightbox__arrow:hover, .lightbox__close:focus-visible, .lightbox__arrow:focus-visible { border-color: var(--gold-500); background: var(--gold-500); color: var(--navy-950); outline: none; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__arrow { top: 50%; translate: 0 -50%; }
.lightbox__arrow--prev { left: clamp(10px, 2vw, 32px); }
.lightbox__arrow--next { right: clamp(10px, 2vw, 32px); }
html.lb-open { overflow: hidden; }

@media (max-width: 900px) {
  .gallery__head { align-items: flex-start; flex-direction: column; }
  /* the filters become one row that scrolls sideways */
  .gallery__filters { flex-wrap: nowrap; justify-content: flex-start; max-width: none; width: calc(100% + var(--gutter)); margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .gallery__filters::-webkit-scrollbar { display: none; }
  .gallery__filter { flex: none; }
  .gallery__body { grid-template-columns: minmax(0, 1fr); }
  .gallery__stage { border-radius: 20px; }
  .gallery__stage::after { inset: 9px; border-radius: 13px; }
  .gallery__demo { top: 20px; left: 20px; }
  .gallery__view { right: 20px; bottom: 20px; }
  .gallery__info { min-height: 0; }
  .gallery__count b { font-size: 2.6rem; }
  /* thumbnails become a strip you can swipe */
  .gallery__thumbs { display: flex; width: calc(100% + var(--gutter)); margin: 0 calc(var(--gutter) * -1) 0 0; padding: 3px var(--gutter) 3px 3px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .gallery__thumbs::-webkit-scrollbar { display: none; }
  .gallery__thumbs li { flex: 0 0 116px; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 96px; }
  .lightbox__arrow { top: auto; bottom: 22px; translate: none; }
  .lightbox__arrow--prev { left: calc(50% - 64px); }
  .lightbox__arrow--next { right: calc(50% - 64px); }
}

/* ---------- Looking ahead (parallax band) ---------- */
.ahead { position: relative; overflow: hidden; color: #fff; padding-block: clamp(120px, 15vw, 210px); background: var(--navy-950); }
.ahead__bg { position: absolute; inset: -14% 0; }
.ahead__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; filter: saturate(.9); }
.ahead__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 12, 28, .9) 0%, rgba(5, 12, 28, .66) 45%, rgba(5, 12, 28, .28) 100%), linear-gradient(0deg, rgba(5, 12, 28, .6) 0%, rgba(5, 12, 28, 0) 50%); }
.ahead__inner { position: relative; }
.ahead__words { display: flex; flex-direction: column; margin: 8px 0 clamp(48px, 6vw, 80px); font: 500 clamp(2.4rem, 9vw, 8.6rem)/.98 var(--serif); letter-spacing: -.03em; }
[data-fill-text] {
  --fill: 100%;
  display: block;
  width: fit-content;
  padding-right: .06em;
  background: linear-gradient(90deg, var(--gold-200) 0%, var(--gold-500) 44%, rgba(255, 255, 255, .16) 56%, rgba(255, 255, 255, .16) 100%);
  background-size: 230% 100%;
  background-position: var(--fill) 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.no-scrub [data-fill-text], .no-anim [data-fill-text], html:not(.js) [data-fill-text] { --fill: 0%; }
.ahead__words span:nth-child(2) { margin-left: clamp(28px, 11vw, 200px); font-style: italic; font-weight: 400; }
.ahead__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.ahead .lead { color: rgba(255, 255, 255, .82); }
.pillars { margin: 0; padding: 0; list-style: none; }
.pillars li { display: flex; align-items: baseline; gap: 22px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .2); font: 500 clamp(1.5rem, 2.2vw, 2rem)/1.2 var(--serif); }
.pillars li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.pillars span { font: 600 .7rem/1 var(--sans); letter-spacing: .2em; color: var(--gold-300); }

/* ---------- Contact ---------- */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: stretch; }
.contact__media { position: relative; margin: 0; min-height: 560px; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.contact__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.contact__media figcaption {
  position: absolute;
  left: clamp(26px, 2.6vw, 36px);
  right: clamp(26px, 2.6vw, 36px);
  bottom: clamp(26px, 2.6vw, 36px);
  z-index: 4;
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(5, 12, 28, .76);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font: italic 400 1.35rem/1.3 var(--serif);
}
.contact__media figcaption span { font: 600 .64rem/1 var(--sans); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-300); }

.form { margin-top: 36px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.field { position: relative; margin-bottom: 24px; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  padding: 28px 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(11, 24, 52, .22);
  border-radius: 0;
  background: transparent;
  font: 400 1.04rem/1.4 var(--sans);
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 72px; }
.field select { cursor: pointer; padding-right: 28px; }
.field--select::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 34px;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold-600);
  border-bottom: 1px solid var(--gold-600);
  transform: rotate(45deg);
  pointer-events: none;
}
.field::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid::after { transform: scaleX(1); background: #c8553d; }
.field label {
  position: absolute;
  top: 28px;
  left: 0;
  font-size: 1.04rem;
  color: var(--ink-faint);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .55s var(--ease-out), color .35s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-24px) scale(.72); color: var(--gold-700); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 8px; }
.form__note { margin: 0; font-size: .92rem; color: var(--gold-700); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* a hidden box only spam robots tick */
.form button[type="submit"]:disabled { opacity: .7; cursor: progress; }

.contact__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--line-ink); }
.contact__info li { display: grid; gap: 8px; font: 500 1.3rem/1.3 var(--serif); }
.contact__info a { color: inherit; text-decoration: underline; text-decoration-color: rgba(201, 164, 92, .55); text-underline-offset: 4px; transition: color .3s; }
.contact__info a:hover { color: var(--gold-700); }
.form__consent { margin: 14px 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.form__consent a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp and call buttons, always to hand in the lower right corner (shown once a number is set in the admin) */
.quick-contact { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: grid; gap: 12px; }
.quick-contact[hidden] { display: none; }
.quick-contact__btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(6, 20, 48, .6);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.quick-contact__btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(6, 20, 48, .7); }
.quick-contact__btn:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.quick-contact__btn svg { width: 26px; height: 26px; fill: currentColor; }
.quick-contact__btn--wa { background: #25d366; }
.quick-contact__btn--call { background: var(--navy-900); border: 1px solid rgba(201, 164, 92, .6); }
.quick-contact__btn--call svg { width: 22px; height: 22px; color: var(--gold-300); }
.menu-open .quick-contact { display: none; }
@media (max-width: 640px) { .quick-contact__btn { width: 50px; height: 50px; } }
.contact__info span { font: 600 .64rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-700); }

/* ---------- Footer ---------- */
.footer { overflow: hidden; padding-top: clamp(72px, 9vw, 120px); background: var(--navy-950); color: var(--text); }
.footer__top { display: grid; grid-template-columns: auto 1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.footer__brand { width: clamp(170px, 17vw, 230px); }
.footer__brand img { width: 100%; height: auto; }
/* The motto under the logo (set as text, so it stays sharp and easy to change) */
.footer__motto { margin: 12px 0 0; font: italic 400 clamp(.9rem, 1.15vw, 1.06rem)/1.35 var(--serif); letter-spacing: .02em; text-align: center; text-wrap: balance; color: var(--gold-300); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__title { margin: 0 0 18px; font: 600 .66rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-400); }
.footer__cols a, .footer__cols span { display: block; width: fit-content; padding: 5px 0; font-size: .95rem; color: var(--text-dim); transition: color .35s, translate .5s var(--ease-out); }
.footer__cols a:hover { color: var(--gold-300); translate: 6px 0; }
.footer__word {
  margin-top: clamp(64px, 8vw, 110px);
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  font: 500 clamp(2.6rem, 10vw, 11rem)/.86 var(--serif);
  letter-spacing: -.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(226, 176, 79, .32);
  user-select: none;
}
.footer__word span { display: inline-block; padding-bottom: .2em; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 32px;
  padding-block: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: .82rem;
  color: var(--text-faint);
}
.footer__bottom p { margin: 0; }
.footer__link { color: inherit; text-decoration: underline; text-decoration-color: rgba(201, 164, 92, .45); text-underline-offset: 3px; }
.footer__link:hover { color: var(--gold-300); }
.footer__note a { color: var(--text-dim); text-decoration: underline; text-decoration-color: rgba(226, 176, 79, .4); text-underline-offset: 3px; }
.footer__note a:hover { color: var(--gold-300); }
.footer__top-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); transition: color .3s; }
.footer__top-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease-out); }
.footer__top-link:hover { color: var(--gold-300); }
.footer__top-link:hover svg { transform: translateY(-4px); }

/* ---------- Keyframes ---------- */
@keyframes rise { to { opacity: 1; translate: none; } }
@keyframes loaderSafety { to { visibility: hidden; opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { gap: 26px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 72px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .gate { height: auto; min-height: 100vh; min-height: 100svh; }
  .gate__center { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 36px; }

  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brands__head,
.journey__head,
.journey__grid,
.presence__grid,
  .leaders__grid,
.ahead__body,
.contact__grid { grid-template-columns: 1fr; }
  .leaders__intro { position: static; }

  /* Panels become stacked image cards */
  .panel, .panel.is-active { flex: none; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; cursor: default; }
  .panel img { transform: none; filter: none; }

  /* Journey: compact sticky image on top of the list */
  .journey__grid { gap: 28px; }
  .journey__sticky { top: calc(var(--nav-h) + 8px); z-index: 2; height: 34vh; min-height: 220px; }
  .journey__media { box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); }
  .journey__year { font-size: 3.6rem; }
  .milestone { grid-template-columns: 1fr; gap: 6px; }
  .milestone::before { top: calc(var(--m-pad) + 14px); }

  .contact__media { min-height: 380px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form__row, .contact__info { grid-template-columns: 1fr; }
  .brand { min-height: 0; padding: 22px 18px 20px; }
  .brand__name { padding-top: 24px; font-size: 1rem; letter-spacing: .08em; }
  .brand__top { flex-direction: column; gap: 6px; }
  .brand__line { font-size: .84rem; }
  .brand-filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .brand-filter::-webkit-scrollbar { display: none; }
  .brand-filter__btn { flex: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .gate__actions { width: 100%; }
  .gate__actions .btn { flex: 1 1 100%; justify-content: center; }
  .atlas__stage { margin: -4% -4% -6%; }
  .atlas__plane { width: 94%; }
  .atlas__post { height: 26px; }
  .atlas__pin--hq .atlas__post { height: 34px; }
  .atlas__head { left: -6px; top: -6px; width: 12px; height: 12px; border-width: 2px; }
  .atlas__pin--hq .atlas__head { left: -8px; top: -8px; width: 16px; height: 16px; border-width: 4px; }
  .atlas__label { top: -12px; gap: 2px; padding: 5px 8px 6px; }
  .atlas__pin[data-side="right"] .atlas__label { left: 12px; }
  .atlas__pin[data-side="left"] .atlas__label { right: 12px; }
  .atlas__label b { font-size: .86rem; }
  .atlas__label small { font-size: .46rem; letter-spacing: .14em; }
  .atlas__legend { gap: 18px; font-size: .58rem; }
  .nav__name { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}
