/* =================================================================
   Ascend Title — Landing Page
   ================================================================= */

@font-face {
  font-family: 'Larken';
  src: url('Logo/Fonts/headline.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Novia';
  src: url('Logo/Fonts/logotype.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #06192b;
  --navy-800: #0e293e;
  --navy-700: #153452;
  --navy-600: #1c4063;
  --navy-500: #234e78;
  --navy-400: #2b5b8a;
  --navy-300: #4477a9;

  --blue-mid: #234e78;
  --blue-deep: #0e293e;
  --silver: #c9d6e5;

  --ink: #0e293e;
  --ink-80: #2a3f5f;
  --ink-60: #5d6f89;
  --ink-40: #94a3b8;

  --paper: #ffffff;
  --paper-warm: #f5f4f0;
  --paper-gray: #efefec;
  --line: rgba(14, 41, 62, 0.12);
  --line-light: rgba(14, 41, 62, 0.06);
  --line-white: rgba(255, 255, 255, 0.14);

  --serif: 'Larken', 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --logotype: 'Novia', 'Larken', serif;

  --max-w: 1280px;
  --pad-x: clamp(24px, 5vw, 80px);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

/* -----------------------------------------------------------------
   Reset / base
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.005em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; letter-spacing: -0.02em; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Eyebrow (section label) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-80);
  margin-bottom: 28px;
}
.eyebrow-dash {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow-light { color: rgba(255,255,255,0.82); }


/* -----------------------------------------------------------------
   Reusable arrow
   ----------------------------------------------------------------- */
.arrow-ic {
  width: 22px;
  height: 10px;
  flex-shrink: 0;
  display: inline-block;
}

/* -----------------------------------------------------------------
   Chevron watermarks
   ----------------------------------------------------------------- */
.chevron-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.06;
  z-index: 0;
}
.chevron-hero {
  right: -10%;
  bottom: -30%;
  width: 95vh;
  height: 95vh;
  max-width: 1000px;
  max-height: 1000px;
}
.chevron-uw {
  left: -10%;
  top: 5%;
  width: 60vh;
  height: 60vh;
  opacity: 0.05;
}
.chevron-cta {
  right: -8%;
  top: -20%;
  width: 80vh;
  height: 80vh;
  opacity: 0.05;
}

/* -----------------------------------------------------------------
   Custom cursor
   ----------------------------------------------------------------- */
.cursor, .cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.3s ease;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-dot { opacity: 1; }
body.cursor-hover .cursor {
  width: 64px;
  height: 64px;
  border-color: rgba(255,255,255,0.9);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* -----------------------------------------------------------------
   Scroll cursor — big white disk with "SCROLL" text
   Shows only when hovering the hero.
   ----------------------------------------------------------------- */
.scroll-cursor-wrap {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
}
.scroll-cursor {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  color: #10293D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s var(--ease-expo);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.scroll-cursor-wrap.is-visible .scroll-cursor {
  transform: translate(-50%, -50%) scale(1);
}
/* Hide the default small cursor when the scroll cursor is out */
body.has-scroll-cursor .cursor,
body.has-scroll-cursor .cursor-dot { opacity: 0 !important; }

@media (hover: none), (pointer: coarse) {
  .scroll-cursor-wrap { display: none; }
}

/* -----------------------------------------------------------------
   BUTTON — fixed width, smooth label shift + arrow crossfade
   ----------------------------------------------------------------- */
.btn {
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,0.5);
  --btn-ease: cubic-bezier(0.33, 1, 0.68, 1);
  --btn-dur: 0.6s;
  --btn-pad-y: 16px;
  --btn-pad-short: 26px;
  --btn-pad-long: 58px;

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-pad-y) var(--btn-pad-long) var(--btn-pad-y) var(--btn-pad-short);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: transparent;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: padding var(--btn-dur) var(--btn-ease),
              border-color var(--btn-dur) var(--btn-ease);
}
.btn:hover {
  padding-left: var(--btn-pad-long);
  padding-right: var(--btn-pad-short);
  border-color: var(--btn-fg);
}

.btn-label {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  z-index: 1;
}

/* Arrows are absolute so they never influence button width */
.btn-arrow {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 10px;
  overflow: hidden;
  transform: translateY(-50%);
  pointer-events: none;
}
.btn-arrow-right { right: 22px; }
.btn-arrow-left  { left: 22px; }
.btn-arrow .arrow-ic {
  width: 22px;
  height: 10px;
  display: block;
  transition: transform var(--btn-dur) var(--btn-ease);
}
/* Resting: right arrow visible; left arrow parked off-screen left */
.btn-arrow-right .arrow-ic { transform: translateX(0); }
.btn-arrow-left  .arrow-ic { transform: translateX(-140%); }
/* Hover: right exits right, left comes in from left — SIMULTANEOUSLY for smooth flow */
.btn:hover .btn-arrow-right .arrow-ic { transform: translateX(140%); }
.btn:hover .btn-arrow-left  .arrow-ic { transform: translateX(0); }

/* Variants — border + text color, no fill swap */
.btn-ghost   { --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.45); }
.btn-outline { --btn-fg: var(--navy-800); --btn-bd: rgba(14,41,62,0.22); }
.btn-outline.btn-dark { --btn-bd: rgba(14,41,62,0.22); }
.btn-sm {
  --btn-pad-y: 12px;
  --btn-pad-short: 22px;
  --btn-pad-long: 50px;
  font-size: 11px;
}
.btn-sm .btn-arrow-right { right: 18px; }
.btn-sm .btn-arrow-left  { left: 18px; }

/* -----------------------------------------------------------------
   Nav — absolutely positioned over the hero, fully transparent
   ----------------------------------------------------------------- */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 26px var(--pad-x);
  background: transparent !important;
  pointer-events: auto;
}
.nav-inner { background: transparent; }
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  gap: 40px;
}
.nav-links { justify-self: center; }
.menu-btn { justify-self: end; }
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.logo:hover { opacity: 0.85; }
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}
.nav-link {
  position: relative;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  padding: 6px 0;
  transition: color 0.4s var(--ease-out);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: #fff;
  transition: width 0.55s var(--ease-expo);
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger — icon only, transparent container */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.menu-btn:hover {
  opacity: 0.75;
}
.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;   /* right-align the lines */
  gap: 6px;
  width: 24px;
  height: 20px;
}
.menu-icon span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: width 0.4s var(--ease-out);
}
.menu-icon span:nth-child(1) { width: 100%; }
.menu-icon span:nth-child(2) { width: 70%; }
.menu-icon span:nth-child(3) { width: 45%; }
.menu-btn:hover .menu-icon span { width: 100%; }

/* -----------------------------------------------------------------
   Side Drawer
   ----------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.7s;
}
.drawer.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 25, 43, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: none;
  cursor: pointer;
  transition: background 0.6s var(--ease-out), backdrop-filter 0.6s var(--ease-out);
  padding: 0;
}
.drawer.is-open .drawer-backdrop {
  background: rgba(6, 25, 43, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  /* Content area + slant + small safety buffer */
  width: calc(480px + 40.4vh);
  max-width: 94vw;
  height: 100%;
  background: var(--navy-900);
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.75s var(--ease-expo);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Slanted left edge at EXACTLY 22° (same as the hero parallelogram) */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40.4vh 100%);
}
.drawer.is-open .drawer-panel { transform: translateX(0); }

/* Slanted watermark echoing the hero shape and the drawer's slanted left edge */
.drawer-watermark {
  position: absolute;
  top: -10%;
  left: -25%;
  width: 85%;
  height: 120%;
  background: #10293D;
  opacity: 0.45;
  transform: skewX(22deg);
  transform-origin: center;
  pointer-events: none;
  z-index: 0;
}

.drawer-top {
  position: relative;
  z-index: 2;
  width: 460px;
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 40px 0 0;
}
.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.4s var(--ease-out), color 0.3s, border-color 0.3s;
}
.drawer-close:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.close-x {
  position: relative;
  width: 20px; height: 20px;
  display: inline-block;
  flex-shrink: 0;
}
.close-x span {
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.2px;
  background: currentColor;
}
.close-x span:first-child  { transform: translate(-50%, -50%) rotate(45deg); }
.close-x span:last-child   { transform: translate(-50%, -50%) rotate(-45deg); }

.drawer-body {
  position: relative;
  z-index: 2;
  width: 460px;
  margin-left: auto;
  padding: 40px 40px 40px 0;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 44px;
  text-align: right;
}
.drawer-body .drawer-title,
.drawer-body .drawer-contacts,
.drawer-body .drawer-value,
.drawer-body .drawer-value-static {
  text-align: right;
}
.drawer-contacts li {
  position: relative;
  align-self: stretch;
  text-align: right;
}
.drawer-value { justify-content: flex-end; }
.drawer-title {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.drawer-title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--silver) 10%, #fff 60%, var(--silver) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.drawer-contacts {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.drawer-contacts li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.drawer-value {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.3;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: block;
  transition: color 0.3s;
}
/* Arrow absolutely positioned on the LEFT of each link row, out of the text flow */
a.drawer-value .arrow-ic {
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 10px;
  transform: translateY(-50%);
  opacity: 0;
  color: var(--silver);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-expo);
  pointer-events: none;
}
a.drawer-value:hover { color: var(--silver); }
.drawer-contacts li:hover a.drawer-value .arrow-ic {
  opacity: 1;
  transform: translate(6px, -50%);
}
.drawer-value-static {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0;
}

.drawer-foot {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.drawer-mini {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.drawer-socials {
  display: flex;
  gap: 18px;
}
.drawer-socials a {
  position: relative;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.drawer-socials a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: var(--silver);
  transition: width 0.4s var(--ease-expo);
}
.drawer-socials a:hover { color: #fff; }
.drawer-socials a:hover::after { width: 100%; }

/* Stagger reveal when drawer opens */
.drawer.is-open .drawer-title,
.drawer.is-open .drawer-contacts li,
.drawer.is-open .drawer-foot {
  opacity: 1;
  transform: translateY(0);
}
.drawer.is-open .drawer-title     { transition-delay: 0.35s; }
.drawer.is-open .drawer-contacts li:nth-child(1) { transition-delay: 0.45s; }
.drawer.is-open .drawer-contacts li:nth-child(2) { transition-delay: 0.5s; }
.drawer.is-open .drawer-contacts li:nth-child(3) { transition-delay: 0.55s; }
.drawer.is-open .drawer-contacts li:nth-child(4) { transition-delay: 0.6s; }
.drawer.is-open .drawer-foot      { transition-delay: 0.7s; }

/* Lock page scroll when drawer open */
body.drawer-open { overflow: hidden; }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding: 20px var(--pad-x); }
  .menu-label { display: none; }
  .drawer-panel { width: 100%; clip-path: none; }
  .drawer-top { width: 100%; margin-left: 0; padding: 22px 26px; }
  .drawer-body { width: 100%; margin-left: 0; padding: 30px 26px; gap: 30px; }
}

/* -----------------------------------------------------------------
   HERO — Scroll-Morph Parallelogram
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  height: 280vh;
  background: #2B4E75;
  isolation: isolate;
}
.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #2B4E75;
  isolation: isolate;
}

/* Solid navy base layer */
.hero-navy {
  position: absolute;
  inset: 0;
  background: #2B4E75;
  z-index: 0;
}

/* Image layer, fixed in place, clipped to a growing parallelogram.
   As --s grows, more of the image is revealed. */
.hero-image {
  --s: 1;
  position: absolute;
  inset: 0;
  background: url('background.jpg') center / cover no-repeat;
  background-color: #10293D;
  z-index: 1;
  /* Parallelogram, forward-slash slant, centered, grows with --s */
  clip-path: polygon(
    calc(50% - 2.5vw * var(--s) - 11.7vh * var(--s)) calc(50% - 29vh * var(--s)),
    calc(50% + 2.5vw * var(--s) - 11.7vh * var(--s)) calc(50% - 29vh * var(--s)),
    calc(50% + 2.5vw * var(--s) + 11.7vh * var(--s)) calc(50% + 29vh * var(--s)),
    calc(50% - 2.5vw * var(--s) + 11.7vh * var(--s)) calc(50% + 29vh * var(--s))
  );
  will-change: clip-path;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 40px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 60px;
  align-items: center;
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(56px, 9.2vw, 150px);
  line-height: 0.96;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
  mix-blend-mode: difference;
}
.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  align-self: center;
  padding-top: 8vh; /* nudges paragraph + button to middle-vertical of title */
}
.hero-sub {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 300px;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.hero-sticky.show-sub .hero-sub {
  opacity: 1;
  transform: translateY(0);
}
.hero-content .btn {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out),
              padding var(--btn-dur) var(--btn-ease),
              border-color var(--btn-dur) var(--btn-ease);
  transition-delay: 0.1s;
}
.hero-sticky.show-btn .hero-content .btn {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 100px var(--pad-x) 60px;
  }
  .hero-side { padding-top: 0; }
}

@keyframes slow-drift {
  0%   { transform: translate(0, 0) scale(1.04); }
  100% { transform: translate(-1%, -2%) scale(1.08); }
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

@media (max-width: 960px) {
  .hero { height: 240vh; }
  .hero-shape { width: 12vw; height: 55vh; }
  .hero-title { font-size: clamp(48px, 13vw, 90px); }
}

/* -----------------------------------------------------------------
   ABOUT
   ----------------------------------------------------------------- */
.about {
  padding: clamp(120px, 18vh, 220px) 0 20px;
  background: var(--paper);
  position: relative;
}
.about-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1.28;
  font-weight: 400;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.015em;
  color: rgba(14, 41, 62, 0.08);
}
[data-split-fill] .word {
  display: inline-block;
  white-space: nowrap;
}
[data-split-fill] .char {
  display: inline-block;
  color: rgba(14, 41, 62, 0.15);
  transition: color 0.2s ease;
}
[data-split-fill] .char.filled {
  color: var(--ink);
}

/* -----------------------------------------------------------------
   SERVICES
   ----------------------------------------------------------------- */
.services {
  padding: 40px 0 clamp(100px, 14vh, 140px);
  background: var(--paper);
}
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  position: relative;
  display: block;
  padding: 36px 80px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-800);
  clip-path: polygon(45% 0, 45% 0, 55% 100%, 55% 100%);
  transition: clip-path 0.8s var(--ease-expo);
  z-index: 0;
}
.service-row > * { position: relative; z-index: 1; transition: color 0.5s var(--ease-out); }
.service-row:hover::before {
  clip-path: polygon(-20% 0, 110% 0, 120% 100%, -10% 100%);
}
.service-row:hover > * { color: #fff; }
.service-row:hover .service-title { color: #fff; }
.service-row:hover .service-desc { color: rgba(255,255,255,0.82); }
.service-row:hover .service-arrow { transform: translate(8px, -50%); opacity: 1; color: #fff; }

.service-num { display: none; }
.service-body { max-width: none; }
.service-title {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 400;
  margin-bottom: 0;
  letter-spacing: -0.018em;
  line-height: 1.15;
  color: var(--navy-300);
  transition: color 0.5s var(--ease-out);
}
.service-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-60);
  margin: 14px auto 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.7s var(--ease-out), opacity 0.4s ease, margin-top 0.5s var(--ease-out);
  max-width: 640px;
}
.service-row:hover .service-desc {
  max-height: 260px;
  opacity: 1;
}
.service-arrow {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translate(0, -50%);
  display: inline-flex;
  color: var(--ink-40);
  opacity: 0.5;
  transition: transform 0.6s var(--ease-out), opacity 0.4s ease, color 0.5s var(--ease-out);
  z-index: 1;
}

.services-cta {
  margin-top: 80px;
  text-align: center;
}

/* -----------------------------------------------------------------
   Angular section transitions
   ----------------------------------------------------------------- */
.angle-top {
  position: relative;
  margin-top: 0;
  padding-top: calc(clamp(120px, 18vh, 200px) + 60px) !important;
}

/* -----------------------------------------------------------------
   UNDERWRITERS — marquee of names with a center circle overlay
   ----------------------------------------------------------------- */
.underwriters {
  position: relative;
  background: var(--paper-warm);
  overflow: hidden;
  padding: 0 0 clamp(160px, 20vh, 240px);
  isolation: isolate;
  min-height: clamp(520px, 60vh, 680px);
  display: flex;
  align-items: center;
}
.underwriters > .uw-marquee { width: 100%; }
.uw-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.uw-marquee .marquee-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  align-items: center;
  animation: marquee 12s linear infinite;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 72px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.025em;
  padding: 40px 0;
}
.uw-dot {
  color: var(--ink-40);
  font-size: 0.4em;
}
.uw-slash {
  display: inline-block;
  width: 10px;
  height: 0.95em;
  background: var(--navy-300);
  transform: skewX(-22deg);
  flex-shrink: 0;
}
.uw-logo {
  height: clamp(40px, 5vw, 72px);
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

/* Centered circle overlaying the marquee */
.uw-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  --mx: 0px;
  --my: 0px;
  transform: translate(calc(-50% + var(--mx)), calc(-50% + var(--my)));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  width: clamp(240px, 28vw, 360px);
  height: clamp(240px, 28vw, 360px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: none;
  box-shadow: 0 20px 60px -20px rgba(14, 41, 62, 0.2);
  z-index: 2;
}
.uw-text {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.uw-pill {
  display: inline;
  padding: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  vertical-align: baseline;
  margin: 0 2px;
}

/* -----------------------------------------------------------------
   EXCELLENCE
   ----------------------------------------------------------------- */
.excellence {
  padding: clamp(100px, 14vh, 160px) 0;
  background: var(--navy-900);
  position: relative;
}
.excellence .excellence-title { color: #fff; }
.excellence .eyebrow { color: rgba(255, 255, 255, 0.7); }
.excellence .eyebrow-dash { background: rgba(255, 255, 255, 0.5); }
.excellence [data-split-fill] .char { color: rgba(255, 255, 255, 0.2); }
.excellence [data-split-fill] .char.filled { color: #fff; }
.excellence-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.excellence-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.022em;
}
.ex-pin {
  position: relative;
  height: 250vh;
}
.ex-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: 40px;
}
.ex-sticky > .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ex-accordion {
  display: flex;
  gap: 10px;
  height: clamp(440px, 60vh, 560px);
  --ex-slant: 80px;
}
.ex-panel {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.85s var(--ease-expo);
  /* Parallelogram, forward-slash slant */
  clip-path: polygon(var(--ex-slant) 0, 100% 0, calc(100% - var(--ex-slant)) 100%, 0 100%);
}
.ex-panel.is-active {
  flex: 4.5;
}
.ex-panel--light { background: var(--blue-mid); color: #fff; }
.ex-panel--mid { background: var(--paper-gray); color: var(--ink); }
.ex-panel--dark { background: var(--paper); color: var(--ink); }

.ex-panel-inner {
  position: absolute;
  inset: 0;
  padding: 44px 64px 44px 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
}
.ex-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  opacity: 0.6;
  margin-bottom: auto;
}
.ex-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.ex-desc {
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 360px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.ex-panel--light .ex-desc { color: rgba(255,255,255,0.82); }
.ex-panel--mid  .ex-desc { color: var(--ink-60); }
.ex-panel--dark .ex-desc { color: var(--ink-60); }

.ex-panel.is-active .ex-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.ex-panel.is-active .ex-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

@media (max-width: 960px) {
  .ex-pin { height: auto; }
  .ex-sticky { position: static; height: auto; display: block; }
  .ex-accordion { flex-direction: column; height: auto; --ex-slant: 0px; }
  .ex-panel { clip-path: none; min-height: 220px; flex: 1; }
  .ex-panel.is-active { flex: 1; }
  .ex-panel .ex-title, .ex-panel .ex-desc { opacity: 1; transform: none; }
  .ex-title { white-space: normal; }
}

/* -----------------------------------------------------------------
   TEAM
   ----------------------------------------------------------------- */
.team {
  padding: clamp(100px, 14vh, 160px) 0;
  background: var(--paper-warm);
  position: relative;
}
.team-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.team-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  max-width: 520px;
  letter-spacing: -0.02em;
  margin: 30px 0 60px;
}
.team-stats {
  display: grid;
  gap: 0;
  max-width: 480px;
  border-top: 1px solid var(--line);
}
.team-stats li {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-80);
  font-weight: 500;
}
.stat-num {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
  letter-spacing: 0;
  font-weight: 400;
}
.stat-plus {
  color: var(--ink);
  font-weight: 400;
}
.team-right { position: relative; }
.team-right .btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  background: #fff;
}
.team-image {
  position: relative;
  margin-top: 90px;
  height: 480px;
  overflow: hidden;
  isolation: isolate;
}
.team-image-bg {
  position: absolute; inset: 0;
  background: url('background.jpg') center / cover no-repeat;
  background-color: var(--navy-800);
  --team-rot: 0deg;
  transform: scale(1.08) rotate(var(--team-rot));
  transition: transform 0.9s var(--ease-out-soft);
}
.team-image-shine {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 7s ease-in-out infinite;
  animation-delay: 3s;
  z-index: 2;
}
.team-chevron {
  position: absolute;
  width: 140px; height: 140px;
  right: 24px; bottom: 24px;
  opacity: 0.35;
  z-index: 3;
}
.team-stats li[data-team-idx] { cursor: default; transition: opacity 0.3s ease; }
.team-stats:hover li[data-team-idx]:not(:hover) { opacity: 0.45; }

/* -----------------------------------------------------------------
   SERVE
   ----------------------------------------------------------------- */
.serve {
  padding: clamp(100px, 14vh, 140px) 0 0;
  background: var(--paper);
}
.serve-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.serve-title {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  max-width: 440px;
  letter-spacing: -0.022em;
  margin-top: 20px;
}
.serve-list {
  border-top: 1px solid var(--line);
}
.serve-list li {
  display: grid;
  grid-template-columns: 60px 1fr 30px;
  gap: 24px;
  align-items: center;
  padding: 28px 0 28px 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: padding-left 0.5s var(--ease-out), color 0.5s var(--ease-out);
}
.serve-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 100%;
  background: var(--navy-800);
  z-index: -1;
  transition: width 0.6s var(--ease-expo);
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
}
.serve-list li:hover { padding-left: 24px; color: #fff; }
.serve-list li:hover::before { width: calc(100% + 20px); }
.serve-list li:hover .serve-marker { color: rgba(255,255,255,0.55); }
.serve-list li:hover .serve-arrow { color: #fff; opacity: 1; transform: translateX(0); }
.serve-marker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-40);
  font-weight: 500;
  transition: color 0.5s var(--ease-out);
}
.serve-text { transition: transform 0.5s var(--ease-out); }
.serve-list li:hover .serve-text { transform: translateX(6px); }
.serve-arrow {
  color: var(--ink);
  opacity: 0;
  transform: translateX(-10px);
  transition: transform 0.5s var(--ease-out), opacity 0.4s ease, color 0.5s;
}

/* -----------------------------------------------------------------
   CTA
   ----------------------------------------------------------------- */
.cta {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  isolation: isolate;
  background: var(--paper);
  padding: 0;
}
.cta-pin { background: var(--paper); }
.cta-pin {
  position: relative;
  height: 260vh;
}
.cta-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
  --s: 0;
}
.cta-base {
  position: absolute; inset: 0; z-index: 0;
  background: var(--paper);
}
.cta-reveal {
  position: absolute; inset: 0; z-index: 3;
  clip-path: polygon(
    calc(50% - 2.5vw * var(--s) - 11.7vh * var(--s)) calc(50% - 29vh * var(--s)),
    calc(50% + 2.5vw * var(--s) - 11.7vh * var(--s)) calc(50% - 29vh * var(--s)),
    calc(50% + 2.5vw * var(--s) + 11.7vh * var(--s)) calc(50% + 29vh * var(--s)),
    calc(50% - 2.5vw * var(--s) + 11.7vh * var(--s)) calc(50% + 29vh * var(--s))
  );
  will-change: clip-path;
}
.cta-reveal .cta-bg { position: absolute; inset: 0; }
.cta-bg .bg-image {
  position: absolute; inset: -5%;
  background: url('background.jpg') center / cover no-repeat;
  background-color: var(--navy-800);
  animation: slow-drift 28s ease-in-out infinite alternate;
}
.cta-bg .bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(68, 119, 169, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(6,25,43,0.3), rgba(6,25,43,0.55));
}
.cta-bg .bg-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 52%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 10s ease-in-out infinite;
  animation-delay: 1s;
}
.cta-intro {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: var(--intro-a, 1);
}
.cta-intro--under { z-index: 2; }
.cta-intro--over {
  z-index: 4;
  clip-path: polygon(
    calc(50% - 2.5vw * var(--s, 0) - 11.7vh * var(--s, 0)) calc(50% - 29vh * var(--s, 0)),
    calc(50% + 2.5vw * var(--s, 0) - 11.7vh * var(--s, 0)) calc(50% - 29vh * var(--s, 0)),
    calc(50% + 2.5vw * var(--s, 0) + 11.7vh * var(--s, 0)) calc(50% + 29vh * var(--s, 0)),
    calc(50% - 2.5vw * var(--s, 0) + 11.7vh * var(--s, 0)) calc(50% + 29vh * var(--s, 0))
  );
}
.cta-intro--under span { color: var(--ink); }
.cta-intro--over span { color: #fff; }
.cta-intro span {
  display: block;
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 140px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  transform: translate(var(--intro-x, 0), 0) scale(var(--intro-s, 1));
  will-change: transform;
}
.cta-final {
  position: absolute; inset: 0; z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}
.cta-final > .container { width: 100%; }
.cta-final { pointer-events: auto; z-index: 5; }
.cta-final .cta-title,
.cta-final .cta-sub,
.cta-final .btn {
  opacity: 0;
  transform: translateY(70vh);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-final .btn {
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              padding var(--btn-dur) var(--btn-ease),
              border-color var(--btn-dur) var(--btn-ease);
}
.cta-final .cta-title.show,
.cta-final .cta-sub.show,
.cta-final .btn.show {
  opacity: 1;
  transform: translateY(0);
}
.cta .eyebrow { justify-content: center; margin-bottom: 28px; }
@media (max-width: 960px) {
  .cta-pin { height: auto; }
  .cta-sticky { position: static; height: auto; overflow: visible; padding: 120px 0; background: var(--navy-900); }
  .cta-intro { display: none; }
  .cta-reveal { display: none; }
  .cta-base { display: none; }
  .cta-final { position: static; pointer-events: auto; }
  .cta-final .cta-title,
  .cta-final .cta-sub,
  .cta-final .btn { opacity: 1; transform: none; }
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 74px);
  line-height: 1.1;
  font-weight: 400;
  max-width: 950px;
  margin: 0 auto 28px;
  letter-spacing: -0.028em;
}
.cta-sub {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto 48px;
}
.cta .btn { display: inline-flex; }

/* -----------------------------------------------------------------
   FOOTER — fixed at viewport bottom. CTA (above) slides up to reveal it.
   ----------------------------------------------------------------- */
body { padding-bottom: 0; }  /* JS sets this to footer.offsetHeight for pixel-perfect reveal */
body > header.hero,
body > section { position: relative; z-index: 2; }

.footer {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100%;
  z-index: 0;
  background: #2B4E75;
  padding-top: 120px;
  overflow: hidden;
}

/* Footer content — pushed down, sits just above the giant word */
.footer-content {
  padding: 40px var(--pad-x) 60px;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  flex-shrink: 0;
}

/* Main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-col--intro { display: flex; flex-direction: column; gap: 24px; }
.footer-heading {
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.02;
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: -0.025em;
}
.footer-brief {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  padding-bottom: 4px;
  position: relative;
  margin-top: 8px;
}
.footer-brief::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.35);
}
.footer-brief .arrow-ic {
  width: 18px; height: 8px;
  transition: transform 0.45s var(--ease-out);
}
.footer-brief:hover .arrow-ic { transform: translateX(4px); }
.footer-email {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--silver);
  letter-spacing: -0.01em;
  transition: color 0.3s;
  margin-top: 4px;
}
.footer-email:hover { color: #fff; }

.footer-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.footer-col a {
  display: block;
  padding: 6px 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  color: #fff;
  letter-spacing: -0.005em;
  transition: color 0.3s, transform 0.4s var(--ease-out);
}
.footer-col a:hover {
  color: var(--silver);
  transform: translateX(4px);
}
.footer-col--intro a { padding: 0; }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}
.footer-bottom a { color: inherit; transition: color 0.3s; }
.footer-bottom a:hover { color: #fff; }
.footer-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.footer-logo-link:hover { opacity: 1; }
.footer-logo { height: 22px; width: auto; display: block; }

/* Giant brand word — static at the bottom of the footer */
.footer-brand {
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: center;
}
.footer-brand-word {
  display: block;
  font-family: var(--serif);
  font-size: clamp(120px, 26vw, 420px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: -6%;  /* clip the descenders like Lento */
  white-space: nowrap;
}

@media (max-width: 960px) {
  .footer { height: 180vh; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .footer-brand-word { font-size: 30vw; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding-bottom: 40px; }
}

/* -----------------------------------------------------------------
   Reveal
   ----------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.btn.reveal {
  transition: opacity 0.9s var(--ease-out),
              transform 0.9s var(--ease-out),
              padding var(--btn-dur) var(--btn-ease),
              border-color var(--btn-dur) var(--btn-ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 50px; }
  .footer-hero { grid-template-columns: 1fr; gap: 40px; }
  .excellence-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 60px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 8px;
  }
  .nav-toggle span { display: block; width: 22px; height: 1px; background: #fff; }
  .nav-phone { display: none; }
  .hero-sub { margin-left: 0; }
  .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-right .btn { position: static; margin-bottom: 30px; }
  .team-image { margin-top: 0; height: 320px; }
  .serve-grid { grid-template-columns: 1fr; gap: 40px; }
  .uw-grid { grid-template-columns: 1fr; }
  .uw-cell { border-right: none; }
  .service-row { grid-template-columns: 60px 1fr 40px; padding: 26px 10px; }
  .service-row:hover { padding-left: 20px; padding-right: 20px; }
  .hero-title { font-size: clamp(48px, 13vw, 88px); }
  .title-rule { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .uw-head { align-items: flex-start; }
  .hero-scroll { display: none; }
}
@media (max-width: 600px) {
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-hero { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word { opacity: 1; transform: none; }
}
