/* ==========================================================================
   SAMPURNAM — Revamped
   Premium editorial design system
   Palette: Sampurnam brand navy + emerald
   ========================================================================== */

/* ----- Design tokens ----- */
:root {
  /* Palette - no pure black anywhere */
  --ivory:#F5F8F7;
  --ivory-2:      #EAF0EE;
  --ivory-3:      #D9E3E0;
  --cream:        #FAFCFB;

  --burgundy:     #15305E;  /* deep wine — our anchor "dark" */
  --burgundy-2:   #0F2447;
  --burgundy-3:   #0A1A36;
  --maroon:       #1E4380;
  --maroon-2:     #2A5398;

  --crimson:      #0B5E3B;
  --crimson-2:    #12754A;
  --scarlet:      #2A9A68;

  --gold:         #2A9A68;
  --gold-2:       #7FBF9F;
  --gold-3:       #A9D8C0;

  --ink:          #0B1220;   /* rich brown body text, NOT black */
  --ink-2:        #1F2E45;
  --ink-mute:     #54627A;
  --ink-faint:    #9AA6B5;

  --line:         rgba(21, 48, 94, 0.12);
  --line-strong:  rgba(21, 48, 94, 0.24);

  /* Type */
  --ff-display:   "Fraunces", "Times New Roman", serif;
  --ff-body:      "Inter", system-ui, -apple-system, sans-serif;
  --ff-mono:      "JetBrains Mono", ui-monospace, monospace;

  /* Easing */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  font-family: var(--ff-body);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  cursor: none;
}
@media (max-width: 900px) { body { cursor: auto; } }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; font: inherit; color: inherit; cursor: none; }
@media (max-width: 900px) { button { cursor: pointer; } }
ul { list-style: none; }

::selection { background: var(--crimson); color: var(--cream); }

/* ----- Container ----- */
.container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem); }

/* ----- Grain overlay ----- */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9990;
  opacity: 0.06; mix-blend-mode: multiply;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--burgundy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s var(--ease-out), visibility 0.8s var(--ease-out);
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { position: relative; width: min(80vw, 720px); text-align: center; }
.preloader__svg { width: 100%; height: auto; overflow: visible; }
.preloader__text {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  font-weight: 600;
  font-style: italic;
  fill: none;
  stroke: var(--gold-3);
  stroke-width: 1.2;
  letter-spacing: -0.02em;
}
.preloader__bar {
  margin: 2.5rem auto 1rem; width: 100%; height: 1px;
  background: rgba(169, 216, 192, 0.2); position: relative; overflow: hidden;
}
.preloader__bar span {
  position: absolute; inset: 0 auto 0 0; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-3), var(--gold));
  transition: width 0.2s linear;
}
.preloader__count {
  font-family: var(--ff-mono); font-size: 0.75rem; letter-spacing: 0.3em;
  color: var(--gold-3); opacity: 0.7;
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor, .cursor-follower {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9995;
  border-radius: 50%;
  transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
              background 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  mix-blend-mode: difference;
}
.cursor {
  width: 8px; height: 8px; background: var(--cream);
  transform: translate(-50%, -50%);
}
.cursor-follower {
  width: 36px; height: 36px; border: 1px solid rgba(245, 248, 247, 0.6);
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-out), width 0.3s var(--ease-out),
              height 0.3s var(--ease-out), border-color 0.3s var(--ease-out),
              opacity 0.3s var(--ease-out);
}
.cursor.is-hover { width: 0; height: 0; }
.cursor-follower.is-hover {
  width: 64px; height: 64px;
  border-color: var(--gold-3);
  background: rgba(169, 216, 192, 0.08);
}
@media (max-width: 900px) { .cursor, .cursor-follower { display: none; } }

/* ==========================================================================
   SCROLL PROGRESS
   ========================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  z-index: 9994;
  transition: width 0.1s linear;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  background: white; position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(245, 248, 247, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 12px 32px -16px rgba(21, 48, 94, 0.12);
}
.nav__inner {
  max-width: 1480px; margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 4vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav__logo img {
  height:clamp(38px,4.4vw,52px);width:auto;
  transition: filter 0.4s var(--ease-out);
}

.nav__links {
  display: flex; gap: clamp(0.8rem, 2vw, 2rem);
}
.nav__links a {
  font-family: var(--ff-body); font-size: 0.78rem; font-weight: 500;
  color: var(--maroon); letter-spacing: 0.02em;
  display: flex; align-items: baseline; gap: 0.4rem;
  position: relative; padding: 0.5rem 0;
  transition: color 0.3s var(--ease-out);
}
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav__links a span {
  font-family: var(--ff-mono); font-size: 0.62rem; opacity: 0.5;
}
.nav__links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.2rem; border-radius: 100px;
  background: var(--cream); color: var(--burgundy);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
  border: 1px solid var(--line);
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.nav__cta svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease-out); }
.nav__cta:hover { background: var(--burgundy); color: var(--cream); transform: translateY(-1px); }
.nav__cta:hover svg { transform: translateX(3px); }
.nav.is-scrolled .nav__cta { background: var(--burgundy); color: var(--cream); border-color: var(--burgundy); }
.nav.is-scrolled .nav__cta:hover { background: var(--crimson); }

.nav__burger { display: none; width: 28px; height: 22px; position: relative; z-index: 101; }
.nav__burger span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: var(--burgundy);
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), background 0.3s var(--ease-out);
}
.nav__burger span:first-child { top: 4px; }
.nav__burger span:last-child { top: 16px; }
.nav__burger.is-open span:first-child { top: 10px; transform: rotate(45deg); background: var(--cream); }
.nav__burger.is-open span:last-child { top: 10px; transform: rotate(-45deg); background: var(--cream); }

.nav__mobile {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(85vw, 380px);
  background: var(--burgundy); color: var(--cream);
  padding: 6rem 2rem 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease-out);
  z-index: 99;
}
.nav__mobile.is-open { transform: translateX(0); }
.nav__mobile a {
  font-family: var(--ff-display); font-size: 1.75rem; font-weight: 500;
  color: var(--cream); display: flex; gap: 1rem; align-items: baseline;
}
.nav__mobile a span { font-family: var(--ff-mono); font-size: 0.7rem; opacity: 0.5; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
}

@media (max-width: 768px) {
  .hero__cloud img { object-position: center 30%; }
}
/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem 0 4rem; overflow: hidden;
  background: linear-gradient(170deg, var(--burgundy-3) 0%, var(--burgundy) 55%, var(--burgundy-2) 100%);
  color: var(--cream);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__cloud {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0.12; filter: saturate(0.5) brightness(1.5) contrast(1.05);
  will-change: transform;
  overflow: hidden;
}
.hero__cloud img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* Soft radial vignette behind headline for guaranteed legibility */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 30% 80%, rgba(10, 26, 54, 0.7) 0%, transparent 60%),
              linear-gradient(180deg, transparent 0%, transparent 50%, rgba(10, 26, 54, 0.5) 100%);
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
  will-change: transform;
}
.hero__glow--1 {
  top: 10%; left: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, var(--maroon) 0%, transparent 65%);
}
.hero__glow--2 {
  bottom: 5%; right: -15%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%);
  opacity: 0.18;
}

.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 4rem); }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--ff-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-3);
  padding: 0.5rem 1rem; border: 1px solid rgba(169, 216, 192, 0.3); border-radius: 100px;
  margin-bottom: 2.5rem;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-3);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.3); } }

.hero__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: 70px;
  line-height: 0.92; letter-spacing: -0.04em;
  margin-bottom: 3rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .word {
  display: inline-block; transform: translateY(110%); opacity: 0;
  margin-right: 0.15em;
}
.hero__title .word--amp {
  font-style: italic; color: var(--gold-3); font-weight: 300;
}
.hero__title .word--since {
  font-family: var(--ff-mono); font-style: normal; font-weight: 400;
  font-size: 0.3em; vertical-align: middle; color: var(--gold-3);
  letter-spacing: 0.05em; margin-left: 0.4em;
  border: 1px solid rgba(169, 216, 192, 0.4); padding: 0.4em 0.8em;
  border-radius: 100px;
}

.hero__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: 1.5rem;
  margin-top: 1rem;
}
.hero__lead {
  
  font-size: clamp(0.95rem, 1.2vw, 1.15rem); line-height: 1.6;
  max-width: 540px; color: rgba(250, 252, 251, 0.85);
  font-weight: 300;
}
.hero__lead strong { color: var(--gold-3); font-weight: 600; }

.hero__actions { flex: 0 0 auto; display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.6rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out), color 0.4s var(--ease-out);
  position: relative; overflow: hidden;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.btn--primary { background: var(--cream); color: var(--burgundy); }
.btn--primary:hover { background: var(--gold-3); transform: translateY(-2px); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: transparent; color: var(--cream);
  border: 1px solid rgba(250, 252, 251, 0.3);
}
.btn--ghost:hover { background: rgba(250, 252, 251, 0.08); border-color: var(--gold-3); color: var(--gold-3); }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-family: var(--ff-mono); font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold-3); z-index: 3;
}
.hero__scroll-line {
  width: 1px; height: 60px; background: rgba(169, 216, 192, 0.3); position: relative; overflow: hidden;
}
.hero__scroll-line i {
  position: absolute; top: -60px; left: 0; width: 100%; height: 60px;
  background: var(--gold-3);
  animation: scrollDown 2s var(--ease-in-out) infinite;
}
@keyframes scrollDown {
  0% { top: -60px; } 100% { top: 100%; }
}

.hero__corner {
  position: absolute; z-index: 3;
  font-family: var(--ff-mono); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(169, 216, 192, 0.5);
}
.hero__corner--tl { top: 6.5rem; left: clamp(1.25rem, 4vw, 4rem); }
.hero__corner--tr { top: 6.5rem; right: clamp(1.25rem, 4vw, 4rem); }
.hero__corner--bl { bottom: 2rem; left: clamp(1.25rem, 4vw, 4rem); }
.hero__corner--br { bottom: 2rem; right: clamp(1.25rem, 4vw, 4rem); }

@media (max-width: 768px) {
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 2rem; }
  .hero__corner { display: none; }
  .hero__corner--bl, .hero__corner--br { display: block; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  background: var(--burgundy); color: var(--cream);
  padding: 1.5rem 0; overflow: hidden;
  border-top: 1px solid rgba(169, 216, 192, 0.15);
  border-bottom: 1px solid rgba(169, 216, 192, 0.15);
}
.marquee__track {
  display: flex; gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__group {
  display: flex; align-items: center; gap: 2.5rem;
  padding-right: 2.5rem;
}
.marquee__group span {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 400;
  letter-spacing: -0.02em;
}
.marquee__group i {
  color: var(--gold-3); font-size: 0.8em; font-style: normal;
}
@keyframes marquee {
  0% { transform: translateX(0); } 100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION HEAD
   ========================================================================== */
.section-head {
  display: flex; align-items: center; gap: 1rem;
  padding-bottom: 2.5rem; margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.section-head__num {
  font-family: var(--ff-mono); font-size: 0.75rem; color: var(--crimson);
  letter-spacing: 0.15em;
}
.section-head__num span { color: var(--ink-faint); }
.section-head__label {
  font-family: var(--ff-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-mute);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ivory); position: relative; }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--burgundy);
}
.about__title em {
  font-style: italic; color: var(--crimson); font-weight: 500;
}
.about__tags {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.about__tags li {
  font-family: var(--ff-mono); font-size: 0.7rem;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  background: var(--ivory-2); border: 1px solid var(--line);
  color: var(--burgundy);
}

.about__lead {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.6;
  color: var(--ink); font-weight: 300;
}
.about__lead strong { color: var(--burgundy); font-weight: 600; }

.about__firms {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__firms-label {
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute);
  display: block; margin-bottom: 1.5rem;
}
.about__firms-list { display: flex; flex-direction: column; gap: 0.4rem; }
.firm {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease-out);
}
.firm:hover { padding-left: 1rem; }
.firm__num {
  font-family: var(--ff-mono); font-size: 0.7rem; color: var(--crimson);
}
.firm__name {
  font-family: var(--ff-display); font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 500; color: var(--burgundy); letter-spacing: -0.01em;
}

.about__pull {
  margin-top: 3rem; padding: 2rem; background: var(--ivory-2);
  border-left: 3px solid var(--gold); position: relative;
}
.about__pull-mark {
  width: 28px; height: 28px; color: var(--gold); opacity: 0.6;
  margin-bottom: 0.5rem;
}
.about__pull p {
  font-family: var(--ff-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5;
  color: var(--burgundy);
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--burgundy); color: var(--cream);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--maroon) 0%, transparent 60%);
  opacity: 0.6; pointer-events: none;
}
.stats .section-head { border-color: rgba(169, 216, 192, 0.2); }
.stats .section-head__num { color: var(--gold-3); }
.stats .section-head__num span { color: rgba(169, 216, 192, 0.4); }
.stats .section-head__label { color: var(--gold-3); }

.stats__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 4rem; position: relative; z-index: 1;
}
.stats__title em { font-style: italic; color: var(--gold-3); }

.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(169, 216, 192, 0.15);
  border: 1px solid rgba(169, 216, 192, 0.15);
  position: relative; z-index: 1;
}
.stat {
  position: relative;
  background: var(--burgundy); padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(140px, 18vw, 200px);
  transition: background 0.4s var(--ease-out);
}
.stat:hover { background: var(--burgundy-2); }
.stat__num {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1; color: var(--cream);
  display: flex; align-items: baseline; letter-spacing: -0.02em;
  padding-right: clamp(46px, 4.4vw, 62px); /* keep clear of the corner icon */
}
.stat__num i {
  font-style: normal; font-size: 0.5em; color: var(--gold-3);
  margin-left: 0.1em;
}
.stat__num svg { width: 1em; height: 1em; color: var(--gold-3); }
.stat__label {
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(169, 216, 192, 0.7);
  margin-top: 1rem;
}
.stat--wide {
  grid-column: span 2;
  flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.stat--wide .stat__label { margin-top: 0; }

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat--wide { grid-column: span 1; }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ivory); }
.services__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--burgundy); margin-bottom: 4rem;
}
.services__title em { font-style: italic; color: var(--crimson); }

.services__list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.service {
  position: relative; padding: 2.5rem; min-height: 360px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  display: flex; flex-direction: column; justify-content: space-between;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -20px rgba(21, 48, 94, 0.18);
}
.service__head { display: flex; align-items: baseline; gap: 1.5rem; }
.service__num {
  font-family: var(--ff-mono); font-size: 0.72rem; color: var(--crimson);
  letter-spacing: 0.12em;
  display: none;
}
.service__name {
  font-family: var(--ff-display); font-weight: 500;
  font-size: 30px; letter-spacing: -0.02em;
  color: var(--burgundy);
}
.service__body { margin-top: 10px; position: relative; z-index: 2; }
.service__body p {
  font-size: 1rem; line-height: 1.6; color: var(--ink-2);
  max-width: 460px; margin-bottom: 1.5rem;
}
.service__tag {
  display: inline-block; font-family: var(--ff-mono); font-size: 0.7rem;
  padding: 0.35rem 0.8rem; border-radius: 100px;
  background: var(--ivory-3); color: var(--burgundy);
}
.service__img {
  position: absolute; bottom: -20px; right: -20px;
  width: 130px; height: 130px;
  opacity: 0.12; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}
.service__img img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); }
.service:hover .service__img { opacity: 0.2; transform: scale(1.1) rotate(-5deg); }

@media (max-width: 768px) {
  .services__list { grid-template-columns: 1fr; }
  .service { min-height: auto; }
}

/* ==========================================================================
   PARTNERS — square cards with moving brands
   ========================================================================== */
.partners { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ivory-2); position: relative; }
.partners__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--burgundy); margin-bottom: 1.5rem;
}
.partners__title em { font-style: italic; color: var(--crimson); }
.partners__lead {
  font-size: 1.05rem; line-height: 1.6; color: var(--ink-2);
  max-width: 620px; margin-bottom: 3rem;
}
.partners__squares {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.pcard {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  background: var(--cream); border: 1px solid var(--line); border-radius: 6px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(21, 48, 94, 0.25); }
.pcard__name {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  padding: 1.1rem 1rem 2.2rem; text-align: center;
  font-family: var(--ff-body); font-weight: 700; text-transform: uppercase;
  font-size: clamp(0.72rem, 1.1vw, 0.95rem); letter-spacing: 0.04em; line-height: 1.2;
  color: var(--burgundy);
  background: linear-gradient(180deg, var(--cream) 55%, rgba(250, 252, 251, 0));
}
.pcard__stage { position: absolute; inset: 0; display: block; }
.pcard__stage img {
  position: absolute; left: 8%; right: 8%; bottom: 6%; top: 24%;
  width: 84%; height: 70%; object-fit: contain;
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.8s var(--ease-out), transform 1.2s var(--ease-out);
}
.pcard__stage img.is-on { opacity: 1; transform: scale(1); }
@media (max-width: 900px) { .partners__squares { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   LOCATIONS
   ========================================================================== */
.locations { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ivory); }
.locations__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--burgundy); margin-bottom: 1.5rem;
}
.locations__title em { font-style: italic; color: var(--crimson); }
.locations__lead {
  font-size: 1.05rem; line-height: 1.6; color: var(--ink-2);
  max-width: 620px; margin-bottom: 3rem;
}

.locations__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.loc {
  padding: 2rem; background: var(--cream); border: 1px solid var(--line);
  border-radius: 4px; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), background 0.5s var(--ease-out);
}
.loc::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.loc:hover {
  transform: translateY(-4px); background: var(--burgundy); color: var(--cream);
  box-shadow: 0 24px 48px -20px rgba(21, 48, 94, 0.25);
}
.loc:hover::before { transform: scaleX(1); }
.loc:hover .loc__num,
.loc:hover .loc__firm,
.loc:hover .loc__partner,
.loc:hover .loc__area,
.loc:hover .loc__addr { color: var(--cream); }
.loc:hover .loc__firm { color: var(--gold-3); }
.loc:hover .loc__phone { color: var(--gold-3); border-color: var(--gold-3); }

.loc__head { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 1.5rem; }
.loc__num {
  font-family: var(--ff-mono); font-size: 0.7rem; color: var(--crimson);
  letter-spacing: 0.1em;
}
.loc__firm {
  font-family: var(--ff-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-mute);
}
.loc__partner {
  font-family: var(--ff-display); font-weight: 500;
  font-size: 1.4rem; letter-spacing: -0.01em;
  color: var(--burgundy); margin-bottom: 0.4rem;
  transition: color 0.5s var(--ease-out);
}
.loc__area {
  font-size: 0.9rem; line-height: 1.4; color: var(--ink-2);
  margin-bottom: 1.5rem; min-height: 2.6em;
  transition: color 0.5s var(--ease-out);
}
.loc__addr {
  font-size: 0.85rem; line-height: 1.5; color: var(--ink-2);
  margin-bottom: 1.5rem;
  transition: color 0.5s var(--ease-out);
}
.loc__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono); font-size: 0.78rem;
  color: var(--burgundy); padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}
.loc__phone svg { width: 14px; height: 14px; }

@media (max-width: 1024px) { .locations__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .locations__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ivory-2); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.contact__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--burgundy); margin-bottom: 2.5rem;
}
.contact__title em { font-style: italic; color: var(--crimson); }

.contact__addr-label {
  display: block; font-family: var(--ff-mono); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 1rem;
}
.contact__addr p {
  font-size: 1rem; line-height: 1.7; color: var(--ink);
  margin-bottom: 1.5rem;
}
.contact__phone, .contact__mail {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--ff-mono); font-size: 0.85rem;
  color: var(--crimson); margin-right: 1.5rem;
}
.contact__phone svg { width: 14px; height: 14px; }

.contact__right {
  display: flex; flex-direction: column; gap: 2.5rem;
}

.contact__people { display: flex; flex-direction: column; gap: 1.5rem; }
.person {
  padding: 1.5rem; background: var(--cream); border: 1px solid var(--line);
  border-radius: 4px; display: grid; grid-template-columns: 1fr auto; gap: 1rem;
  align-items: center;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.person:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px -16px rgba(21, 48, 94, 0.18);
}
.person__head { display: flex; flex-direction: column; gap: 0.3rem; }
.person__num {
  font-family: var(--ff-mono); font-size: 0.65rem; color: var(--crimson);
  letter-spacing: 0.12em;
}
.person__role {
  font-family: var(--ff-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--ink-mute);
}
.person__name {
  font-family: var(--ff-display); font-weight: 500;
  font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.01em;
  color: var(--burgundy);
}
.person__links {
  display: flex; flex-direction: column; gap: 0.3rem; text-align: right;
}
.person__links a {
  font-family: var(--ff-mono); font-size: 0.78rem;    text-align: left;
  color: var(--burgundy); transition: color 0.3s var(--ease-out);
}
.person__links a:hover { color: var(--crimson); }

.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  padding: 2rem; background: var(--burgundy); color: var(--cream);
  border-radius: 6px;
}
.field { position: relative; }
.field--full { grid-column: span 2; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0;
  border-bottom: 1px solid rgba(169, 216, 192, 0.3);
  padding: 1.5rem 0 0.6rem; color: var(--cream);
  font-family: var(--ff-body); font-size: 0.95rem;
  outline: none; resize: none;
}
.field textarea { padding-top: 1.5rem; }
.field label {
  position: absolute; top: 1.5rem; left: 0;
  font-size: 0.95rem; color: rgba(169, 216, 192, 0.6);
  pointer-events: none; transition: transform 0.4s var(--ease-out), font-size 0.4s var(--ease-out), color 0.4s var(--ease-out);
  transform-origin: left;
}
.field input:focus + label,
.field input:valid + label,
.field textarea:focus + label,
.field textarea:valid + label {
  transform: translateY(-1.2rem) scale(0.75);
  color: var(--gold-3);
}
.field__line {
  position: absolute; bottom: 0; left: 0; width: 0%; height: 1px;
  background: var(--gold-3); transition: width 0.5s var(--ease-out);
}
.field input:focus ~ .field__line,
.field textarea:focus ~ .field__line { width: 100%; }

.contact__submit {
  grid-column: span 2; justify-self: start;
  background: var(--gold-3); color: var(--burgundy);
}
.contact__submit:hover { background: var(--cream); }
.contact__form-note {
  grid-column: span 2; font-family: var(--ff-mono); font-size: 0.75rem;
  color: var(--gold-3); min-height: 1em;
}

@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .field--full, .contact__submit, .contact__form-note { grid-column: span 1; }
}
@media (max-width: 600px) {
  .person { grid-template-columns: 1fr; }
  .person__links { text-align: left; flex-direction: row; flex-wrap: wrap; gap: 1rem; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--burgundy-3); color: var(--cream); padding: clamp(4rem, 8vw, 6rem) 0 2rem; overflow: hidden; }
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 2rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(169, 216, 192, 0.15);
}
.footer__brand img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer__brand p {
  font-size: 0.9rem; line-height: 1.6; color: rgba(250, 252, 251, 0.7);
  max-width: 360px;
}
.footer__col {
  display: flex; flex-direction: column; gap: 0.7rem;
  font-size: 0.9rem; color: rgba(250, 252, 251, 0.8);
}
.footer__label {
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold-3); margin-bottom: 0.5rem;
}
.footer__col a {
  color: rgba(250, 252, 251, 0.8); transition: color 0.3s var(--ease-out);
  width: fit-content;
}
.footer__col a:hover { color: var(--gold-3); }

.footer__big {
  text-align: center; padding: 2.5rem 0; overflow: hidden;
  user-select: none;
}
.footer__big span {
  font-family: var(--ff-display); font-style: italic; font-weight: 500;
  font-size: clamp(4rem, 18vw, 16rem); line-height: 0.85; letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(169, 216, 192, 0.18) 0%, rgba(169, 216, 192, 0.02) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid rgba(169, 216, 192, 0.15);
  font-family: var(--ff-mono); font-size: 0.7rem; letter-spacing: 0.05em;
  color: rgba(169, 216, 192, 0.5);
}

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ==========================================================================
   REVEAL ANIMATION BASE
   ========================================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor, .cursor-follower, .grain { display: none !important; }
}


/* ==========================================================================
   HERO MEDIA — brush-stroke video (CSS-only shape: no extra HTML needed)
   ========================================================================== */
.hero__media {
  position: absolute; z-index: 2;
  right: 1.5rem;
  top: 6.5rem;
  width: min(60vw, 1120px);
  aspect-ratio: 1.7 / 1;
  opacity: 0; transform: translateY(30px);   /* GSAP reveals it */
}

/* the video, clipped to the blob */
.hero__media-frame {
  position: absolute; inset: 0; z-index: 2;
  border-radius: 0; box-shadow: none; overflow: visible;
  background: var(--burgundy-3);
  -webkit-mask: url("hero-mask.png") center / 100% 100% no-repeat;
  mask: url("hero-mask.png") center / 100% 100% no-repeat;
}
.hero__video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* play / pause button (only appears if the button HTML is present) */
.hero__play {
  position: absolute; z-index: 5;
  top: 50%; left: 50%;
  width: 68px; height: 68px; margin: -34px 0 0 -34px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), background .3s var(--ease-out);
}
.hero__play svg { width: 26px; height: 26px; }
.hero__play .i-play { margin-left: 3px; }
.hero__play .i-pause { display: none; }
.hero__play:hover { background: rgba(255,255,255,.2); transform: scale(1.06); }
.hero__play.is-playing { opacity: 0; }
.hero__play.is-playing .i-play { display: none; }
.hero__play.is-playing .i-pause { display: block; }
.hero__media:hover .hero__play.is-playing,
.hero__play.is-playing:focus-visible { opacity: 1; }

/* text stays on the left */
.hero__bottom {
  max-width: 42%;
  flex-direction: column; align-items: flex-start; gap: 2rem;
}
@media (max-width: 1400px) { .hero__media { width: 54vw; } }

/* tablet and mobile: video moves above the headline */
@media (max-width: 1150px) {
  .hero { padding-top: 6.5rem; }
  .hero__media {
    position: relative; order: -1; top: auto; right: auto;
    width: calc(100% - 2 * clamp(2rem, 6vw, 4.5rem));
    margin: 1rem auto 3rem;
  }
  .hero__bottom { max-width: 100%; }
}

/* ==========================================================================
   CAPABILITIES — gold line icons (change #4)
   ========================================================================== */
.stat__icon {
  position: absolute; top: clamp(1rem, 2vw, 1.6rem); right: clamp(1rem, 2vw, 1.6rem);
  width: clamp(34px, 3.4vw, 48px); height: auto; color: var(--gold-3); opacity: 0.9;
  transition: transform 0.6s var(--ease-out), opacity 0.4s var(--ease-out);
}
.stat:hover .stat__icon { transform: translateY(-4px) scale(1.08); opacity: 1; }
.stat--wide .stat__num { padding-right: 0; }
.stat--wide .stat__icon { position: static; flex-shrink: 0; width: clamp(44px, 5vw, 68px); }
.stat__icons { display: flex; align-items: center; gap: clamp(0.6rem, 1.4vw, 1.2rem); flex-shrink: 0; }
.stat--wide { justify-content: flex-start; }
.stat--wide .stat__label { flex: 1; margin-top: 0; padding-left: clamp(0.5rem, 2vw, 1.5rem); font-size: clamp(0.62rem, 0.9vw, 0.78rem); }
.stat--wide .stat__icon--end { margin-left: auto; }
.stat__num .counter { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   PRODUCT CATEGORIES (change #2)
   ========================================================================== */
.categories { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ivory); }
.categories__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -0.03em;
  color: var(--burgundy); margin-bottom: 1.5rem;
}
.categories__title em { font-style: italic; color: var(--crimson); }
.categories__lead { font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); max-width: 620px; margin-bottom: 3rem; }
.categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cat {
  background: var(--cream); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.cat:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -20px rgba(21, 48, 94, 0.2); }
.cat__name {
  padding: 1rem 1rem 1.2rem; text-align: center; font-family: var(--ff-body); font-weight: 700;
  font-size: clamp(0.72rem, 1vw, 0.88rem); letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 1.25; color: var(--burgundy);
}
.cat__img {
  position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--ivory-2), var(--ivory-3));
}
.cat__img img { position: absolute; inset: 0; width: 100%; height: 100%;   transition: transform 0.8s var(--ease-out); }
.cat:hover .cat__img img { transform: scale(1.06); }
.cat__n { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3.2rem); color: rgba(21, 48, 94, 0.18); }
@media (max-width: 900px) { .categories__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .categories__grid { grid-template-columns: repeat(2, 1fr); } }



/* ==========================================================================
   CLIENT CHANGES (website_design_changes.pdf)
   ========================================================================== */

/* ---- Header: bigger 3D embossed logo in a contrast box on the left ---- */
.nav__logo{display:flex;align-items:center;

  padding:.35rem .8rem;border-radius:6px;box-shadow:none}
.nav__logo img{height:clamp(44px,5.6vw,64px);width:auto}
.nav__inner{padding-top:.8rem;padding-bottom:.8rem}

/* ---- Footer: logo bigger, like the home page ---- */
.footer__brand img{height:clamp(56px,6vw,84px);width:auto;margin-bottom:1.25rem}

/* ---- Anchors land below the fixed header ---- */
section[id]{scroll-margin-top:110px}

/* ---- Our story: bigger, noticeable tags ---- */
.about__tags{gap:.7rem}
.about__tags li{font-size:1.05rem;font-weight:600;padding:.65rem 1.4rem;color:var(--burgundy);border-color:var(--line-strong)}

/* ---- Capabilities: 12 identical squares, bolder labels ---- */
.stats__grid{grid-template-columns:repeat(4,1fr)}
.stat__label{font-weight:700;font-size:.78rem;color:rgba(169,216,192,.95)}
@media (max-width:900px){.stats__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:480px){.stats__grid{grid-template-columns:1fr}}

/* ---- What we do: On Time In Full ---- */
.otif{font-weight:900;font-style:normal;font-size:55px;color:var(--crimson);letter-spacing:-.01em}

/* ---- Categories: product shots fill the tile ---- */
.cat__img img{object-fit:cover}
.cat--plain .cat__img img{object-fit:cover}

/* ---- Leaflet inside our global reset ---- */
.leaflet-container img,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important}
.leaflet-container{cursor:grab}
.leaflet-container a{color:inherit}
#locations .container{max-width:1480px}


/* ==========================================================================
   LATEST CHANGES — KEEP AT THE VERY BOTTOM
   ========================================================================== */

/* ---- Header: same dark navy as the footer ---- */
.nav,
.nav.is-scrolled {
  background: var(--burgundy-3);          /* #0A1A36, same as .footer */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(169, 216, 192, 0.15);
}
.nav__links a,
.nav.is-scrolled .nav__links a { color: var(--cream); }
.nav__links a:hover,
.nav__links a.is-active { color: var(--gold-3); }
.nav__cta,
.nav.is-scrolled .nav__cta {
  background: var(--cream); color: var(--burgundy); border-color: var(--cream);
}
.nav__cta:hover,
.nav.is-scrolled .nav__cta:hover { background: var(--gold-3); color: var(--burgundy); }
.nav__burger span { background: var(--cream); }

/* ---- Banner: same solid navy as header + footer ---- */
.hero { background: var(--burgundy-3); }
.hero__glow--1 { top: 30%; }

/* ---- Menu: remove the 01 02 03 numbers (desktop + mobile) ---- */
.nav__links a span,
.nav__mobile a span { display: none; }


/* ---- Scroll to top button ---- */
.to-top {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--burgundy-3); color: var(--cream);
  border: 1px solid rgba(169, 216, 192, 0.4);
  box-shadow: 0 10px 24px -8px rgba(10, 26, 54, 0.5);
  z-index: 200;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out),
              visibility .4s, background .3s var(--ease-out), color .3s var(--ease-out);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-3); color: var(--burgundy-3); transform: translateY(-3px); }



/* ---- Tighter spacing between sections ---- */
.about,
.stats,
.services,
.categories,
.partners,
.locations,
.contact {
  padding: clamp(3rem, 6vw, 5rem) 0;      /* was up to 9rem top + bottom */
}

/* header row ("Our Story", "Capabilities" ...) */
.section-head {
  padding-bottom: 1.25rem;                /* was 2.5rem */
  margin-bottom: 1.75rem;                 /* was 3rem */
}

/* space under big section titles */
.stats__title,
.services__title { margin-bottom: 2.5rem; }          /* was 4rem */
.categories__title,
.partners__title,
.locations__title { margin-bottom: 1rem; }
.categories__lead,
.partners__lead,
.locations__lead { margin-bottom: 2rem; }            /* was 3rem */

/* footer top padding */
.footer { padding-top: clamp(2.5rem, 5vw, 4rem); }