/* ==========================================================================
   Starfleet India Capital Advisors — site.css
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2-variations"),
       url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --void: #03070D;          /* primary background */
  --midnight: #08172F;      /* alternate surface */
  --cyan: #63C9F2;          /* interactive accent */
  --cyan-hover: #8FD9F6;
  --gold: #D2AE4C;          /* numerals and marks of record */
  --ink: #F1EDE4;           /* warm white, primary text */
  --ink-soft: rgba(241, 237, 228, 0.78);
  --mist: #93A3B8;          /* secondary copy */
  --mist-light: #B8C3D1;    /* secondary copy over imagery */
  --line: rgba(147, 163, 184, 0.16);
  --line-strong: rgba(147, 163, 184, 0.28);

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --header-h: 104px;
  --radius: 2px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection { background: var(--cyan); color: var(--void); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--cyan);
  color: var(--void);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(1320px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 3rem;
  padding: 0 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn__arrow {
  width: 1rem; height: 1rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.25s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary { background: var(--cyan); color: var(--void); }
.btn--primary:hover { background: var(--cyan-hover); }

.btn--ghost { border-color: rgba(241, 237, 228, 0.34); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(241, 237, 228, 0.06); }

.btn--outline { border-color: rgba(99, 201, 242, 0.55); color: var(--cyan); }
.btn--outline:hover { background: var(--cyan); border-color: var(--cyan); color: var(--void); }

.btn--sm { min-height: 2.75rem; padding: 0 1.25rem; font-size: 0.875rem; gap: 0.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(3, 7, 13, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
/* backdrop-filter would make the header the containing block for the fixed menu; drop it while open */
.site-header.menu-open {
  background: var(--void);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 108px; height: 92px; }
.brand__word {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}
.brand__india { color: var(--gold); }

.site-nav__list {
  display: flex;
  gap: 1.9rem;
  margin: 0; padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="true"] { color: var(--ink); }
.site-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1rem;
  height: 1px;
  background: var(--cyan);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 2.75rem; height: 2.75rem;
  margin-right: -0.5rem;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 50%;
  width: 1.375rem; height: 1.5px;
  margin-left: -0.6875rem;
  background: currentColor;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.menu-toggle__bars { top: 50%; }
.menu-toggle__bars::before,
.menu-toggle__bars::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle__bars::before { transform: translateY(-6px); }
.menu-toggle__bars::after { transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: rotate(45deg); background: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: rotate(-45deg); background: var(--ink); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  padding: 2.5rem var(--gutter) 3rem;
  background: var(--void);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list {
  margin: 0 0 2.5rem; padding: 0;
  list-style: none;
}
.mobile-menu__list a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto auto auto;
  overflow: hidden;
  background: var(--void);
  text-align: center;
}

/* the brand artwork sits at the top and dissolves into the page */
.hero__art {
  position: relative;
  margin-top: var(--header-h);       /* the emblem must clear the fixed header */
  height: clamp(20rem, 40vw, 38rem);  /* tall enough to show the whole lockup, tagline included */
}
.hero__art picture,
.hero__art img { display: block; width: 100%; height: 100%; }
.hero__art img {
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.04);
  transition: transform 3.4s var(--ease-out);
}
.hero.is-lit .hero__art img { transform: scale(1); }

/* the dawn: a night layer lifts once the artwork is ready */
.hero__night {
  position: absolute; inset: 0;
  background: var(--void);
  opacity: 0;
  transition: opacity 2.4s cubic-bezier(0.35, 0.1, 0.25, 1) 0.1s;
}
html.js .hero:not(.is-lit) .hero__night { opacity: 0.94; }

.hero__fade {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 20%;
  background: linear-gradient(180deg,
    rgba(3, 7, 13, 0) 0%,
    rgba(3, 7, 13, 0.3) 45%,
    rgba(3, 7, 13, 0.85) 80%,
    var(--void) 100%);
}

.hero__content {
  position: relative;
  margin-top: -1.25rem;               /* the headline sits just under the horizon */
  padding-top: 0;
  padding-bottom: clamp(2rem, 5svh, 3.25rem);
}
.hero__text { max-width: 54rem; margin-inline: auto; }

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.05rem + 2.3vw, 3.125rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__subtitle {
  max-width: 44ch;
  margin: 1.6rem auto 0;
  font-family: var(--serif);
  font-size: clamp(1.375rem, 1.05rem + 1.25vw, 2.25rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.005em;
  color: var(--mist-light);
  text-wrap: balance;
}
.hero__tech { font-weight: 600; white-space: nowrap; }
.hero__tech--space { color: var(--cyan); }
.hero__tech--defence { color: var(--gold); }
.hero__tech--frontier { color: var(--ink); }
.hero__lede {
  max-width: 52ch;
  margin: 1.5rem auto 0;
  color: var(--mist-light);
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.125rem);
  line-height: 1.75;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero__sectors { padding-bottom: 1.75rem; }
.sector-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 0.4rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
  color: rgba(241, 237, 228, 0.64);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.sector-line li { white-space: nowrap; }
.sector-line li:not(:last-child)::after {
  content: "\00B7";
  margin: 0 0.95em;
  color: var(--gold);
}

/* hero entrance (only when JS is running, and only once) */
.hero__text > *,
.hero__sectors {
  transition: opacity 1s ease, transform 1.1s var(--ease-out);
}
html.js .hero:not(.is-lit) .hero__text > *,
html.js .hero:not(.is-lit) .hero__sectors { opacity: 0; transform: translateY(16px); }
.hero__text > :nth-child(1) { transition-delay: 0.55s; }
.hero__text > :nth-child(2) { transition-delay: 0.68s; }
.hero__text > :nth-child(3) { transition-delay: 0.8s; }
.hero__text > :nth-child(4) { transition-delay: 0.94s; }
.hero__sectors { transition-delay: 1.15s; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(5.5rem, 3rem + 8vw, 10rem); }
.section--midnight { background: var(--midnight); }
.section--compact { padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.section--compact .section-head { margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.section--compact .h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.25rem); }
.section--compact .section-head__sub { max-width: 44rem; margin-top: 0.8rem; }

.section-head {
  max-width: 54rem;
  margin-bottom: clamp(2.75rem, 2rem + 3vw, 4.75rem);
}
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  max-width: none;
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.section-head__sub {
  max-width: 36rem;
  margin-top: 1.1rem;
  color: var(--mist);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
}

.label {
  margin-bottom: 1.5rem;
  color: rgba(241, 237, 228, 0.62);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------- Disclosure (dropdowns) ---------- */
.dd {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(3, 7, 13, 0.55);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
.dd:hover,
.dd:focus-visible { border-color: var(--accent, var(--gold)); background: rgba(3, 7, 13, 0.75); }
.dd:focus-visible { outline: 2px solid var(--accent, var(--gold)); outline-offset: 2px; }
.dd__label { flex: 1; }
.dd__chev {
  flex: none;
  fill: none;
  stroke: var(--accent, var(--gold));
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease-out);
}
[data-disclosure].is-open .dd__chev { transform: rotate(180deg); }
[data-disclosure].is-open .dd { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

.dd-panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s var(--ease-out);
}
html.js .dd-panel { grid-template-rows: 0fr; }
html.js [data-disclosure].is-open .dd-panel { grid-template-rows: 1fr; }
.dd-panel__inner { overflow: hidden; min-height: 0; }
html:not(.js) .dd { display: none; }

/* the list that drops out of a .dd button */
.dd-list {
  margin: 0;
  padding: 0.3rem 1rem;
  list-style: none;
  background: rgba(3, 7, 13, 0.45);
  border: 1px solid var(--line-strong);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}
html:not(.js) .dd-list { border-top: 1px solid var(--line-strong); border-radius: var(--radius); }
.dd-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.7rem 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.dd-list li + li { border-top: 1px solid var(--line); }
.dd-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--accent, var(--gold));
  transform: rotate(45deg);
}

/* ---------- Pillars (three towers) ---------- */
.towers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tower {
  --accent: var(--gold);
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.3rem;
  background: var(--midnight);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
}
.tower__label {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--gold);
}
.tower__statement {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.625rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.tower__dd { margin-top: 1.1rem; }

html.js .tower[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 1s var(--ease-out);
}
html.js .tower[data-reveal].is-visible { opacity: 1; transform: none; }
.tower[data-reveal]:nth-child(2) { transition-delay: 0.12s; }
.tower[data-reveal]:nth-child(3) { transition-delay: 0.24s; }

/* ---------- Focus sectors ---------- */
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;               /* an open dropdown extends only its own card */
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sector {
  --accent: var(--cyan);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(241, 237, 228, 0.05) 0%, rgba(241, 237, 228, 0.015) 100%);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}
.sector:hover { border-color: var(--line-strong); border-top-color: var(--accent); }
.sector--defence { --accent: var(--gold); }
.sector--aviation { --accent: var(--mist-light); }

.sector__art {
  position: relative;
  aspect-ratio: 1000 / 545;
  overflow: hidden;
  background: #071733;
  border-bottom: 1px solid var(--line);
}
.sector__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease-out);
}
.sector:hover .sector__art img { transform: scale(1.06); }
.sector__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.6rem;
}
.sector__name {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.875rem, 1.4rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}
.sector__line {
  margin: 0.8rem 0 0;
  color: var(--mist-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.sector__toggle { margin-top: 1.4rem; }
.sector__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}
.sector__cta:hover { text-decoration: underline; text-underline-offset: 4px; }
.sector__cta:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Services ---------- */
.practices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}
.practice {
  --accent: var(--gold);
  background: var(--midnight);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(210, 174, 76, 0.12),
    0 0 48px -20px rgba(210, 174, 76, 0.45),
    inset 0 1px 0 rgba(210, 174, 76, 0.25);
}
.practice__head {
  padding: 1.5rem 1.75rem 1.5rem;
  border-bottom: 1px solid rgba(210, 174, 76, 0.4);
  background: linear-gradient(180deg, rgba(210, 174, 76, 0.1) 0%, rgba(210, 174, 76, 0.03) 100%);
  border-radius: var(--radius) var(--radius) 0 0;
}
.practice__name {
  margin: 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.practice__line {
  min-height: 3.3rem;               /* two lines, so all three headers match */
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.55;
}
.practice__services { padding: 0.9rem 0.9rem 0.9rem; }
.svc + .svc { margin-top: 0.9rem; }

/* a service row: thumbnail, number + name, chevron; the list drops out beneath */
.svc__title { margin: 0; font: inherit; }
.svc__toggle {
  align-items: center;
  gap: 1.1rem;
  min-height: 9rem;                 /* three-line names still keep the rows level */
  padding: 1rem 1.1rem 1rem 1rem;
  background: rgba(3, 7, 13, 0.35);
  border-color: var(--line);
}
.svc__toggle:hover,
.svc__toggle:focus-visible { border-color: var(--gold); }
.svc__toggle .dd__chev { width: 22px; height: 22px; }
.svc__thumb {
  flex: none;
  width: 6.75rem;
  height: 3.7rem;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.svc__heading { flex: 1; min-width: 0; }
.svc__num {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}
.svc__name {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.15;
}
.svc__list { padding-left: 1.1rem; padding-right: 1.1rem; }
.svc__list li { padding: 0.8rem 0; font-size: 1.0625rem; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(7rem, 4rem + 10vw, 13rem);
  background: var(--void);
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.cta__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.92) 0%, rgba(3, 7, 13, 0.62) 42%, rgba(3, 7, 13, 0.1) 100%),
    linear-gradient(0deg, rgba(3, 7, 13, 0.7) 0%, rgba(3, 7, 13, 0) 40%),
    linear-gradient(180deg, rgba(8, 23, 47, 0.6) 0%, rgba(3, 7, 13, 0) 30%);
}
.cta__title {
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}
.cta__copy {
  max-width: 44ch;
  margin: 1.5rem 0 2.25rem;
  color: var(--mist-light);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.6;
}
.cta__email {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 500;
}
.cta__email a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(99, 201, 242, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
  transition: color 0.2s ease;
}
.cta__email a:hover { color: var(--cyan); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 4.5rem 0 2rem;
  background: var(--void);
  border-top: 1px solid var(--line);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.5rem;
}
.footer__mark { width: 40px; height: auto; margin-bottom: 1.25rem; }
.footer__name {
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer__tag {
  margin-top: 0.6rem;
  color: var(--mist);
  font-size: 0.875rem;
}
.footer__nav ul {
  display: grid;
  gap: 0.55rem;
  margin: 0; padding: 0;
  list-style: none;
}
.footer__nav a,
.footer__contact a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__nav a:hover,
.footer__contact a:hover { color: var(--cyan); }
.footer__contact p {
  margin-top: 0.55rem;
  color: var(--mist);
  font-size: 0.9375rem;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: rgba(147, 163, 184, 0.85);
  font-size: 0.8125rem;
}
.footer__legal ul {
  display: flex;
  margin: 0; padding: 0;
  list-style: none;
}
.footer__legal li + li::before { content: "\00B7"; margin: 0 0.75em; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { color: var(--ink); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .site-nav,
  .site-header__cta { display: none; }
  .menu-toggle { display: block; }
}

@media (min-width: 961px) {
  .sector__line { min-height: 4.6rem; }   /* keeps the three dropdown buttons level */
}

@media (max-width: 1080px) {
  .practices { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 960px) {
  .sectors__grid { grid-template-columns: 1fr; }
  .sector { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .sector__art { aspect-ratio: auto; height: 100%; min-height: 13rem; border-bottom: 0; border-right: 1px solid var(--line); }

  .towers { grid-template-columns: 1fr; gap: 1rem; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 80px; }
  .brand__mark { width: 78px; height: 66px; }
  .brand__word { font-size: 0.8125rem; }

}

@media (max-width: 640px) {
  .hero__art { height: clamp(18rem, 50svh, 27rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .sector-line { font-size: 0.625rem; letter-spacing: 0.18em; }
  .sector-line li:not(:last-child)::after { margin: 0 0.7em; }

  .sector { grid-template-columns: 1fr; }
  .sector__art { aspect-ratio: 1000 / 545; height: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .svc__thumb { width: 5.5rem; height: 3rem; }
  .svc__toggle { min-height: 0; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
  }
  html.js .hero:not(.is-lit) .hero__night { opacity: 0; }
  html.js .hero:not(.is-lit) .hero__text > *,
  html.js .hero:not(.is-lit) .hero__sectors { opacity: 1; transform: none; }
  .hero__art img { transform: none; }
  html.js .tower[data-reveal] { opacity: 1; transform: none; }
  .sector__art img,
  .sector:hover .sector__art img { transform: none; }
  .dd__chev { transition: none; }
}
