/* ==========================================================================
   Ushera Private Limited — Website stylesheet
   Palette derived from the Ushera company introduction deck.
   ========================================================================== */

/* 1. Design tokens -------------------------------------------------------- */

:root {
  color-scheme: light;

  /* Logo colours, sampled from the supplied mark */
  --logo-navy: #0d3454;
  --logo-blue: #1b80b7;

  /* Brand */
  --brand-blue: #1668c4;
  --brand-blue-strong: #0f4e96;
  --brand-mint: #0e9c78;
  --brand-amber: #b96a00;

  /* Surfaces */
  --bg: #f2f6f9;
  --bg-alt: #e8f0f7;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --surface-3: #eaf1f7;
  --overlay: rgba(242, 246, 249, 0.82);

  /* Text */
  --text: #0b1a2b;
  --text-strong: #061220;
  --text-muted: #4a5f73;
  --text-faint: #6b7f93;
  --text-on-accent: #ffffff;

  /* Lines */
  --border: #d7e3ee;
  --border-strong: #bfd2e2;

  /* Accents */
  --accent: var(--brand-blue);
  --accent-hover: var(--brand-blue-strong);
  --accent-soft: rgba(22, 104, 196, 0.09);
  --accent-ring: rgba(22, 104, 196, 0.32);
  --mint: var(--brand-mint);
  --mint-soft: rgba(14, 156, 120, 0.11);
  --amber: var(--brand-amber);
  --amber-soft: rgba(185, 106, 0, 0.11);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11, 26, 43, 0.06), 0 1px 3px rgba(11, 26, 43, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 26, 43, 0.07), 0 12px 28px rgba(11, 26, 43, 0.06);
  --shadow-lg: 0 18px 48px rgba(11, 26, 43, 0.12);
  --hero-glow-1: rgba(22, 104, 196, 0.30);
  --hero-glow-2: rgba(27, 128, 183, 0.20);
  --head-bg: #dfeafa;
  --grid-line: rgba(11, 26, 43, 0.05);

  /* Geometry */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --container: 1180px;
  --header-h: 72px;

  /* Type */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue",
    Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas,
    monospace;
}

[data-theme="dark"] {
  color-scheme: dark;

  --logo-navy: #ffffff;
  --logo-blue: #3fa5da;

  --brand-blue: #4c91ff;
  --brand-blue-strong: #7fb0ff;
  --brand-mint: #2dd3a7;
  --brand-amber: #ffae52;

  --bg: #081220;
  --bg-alt: #0b1928;
  --surface: #101f31;
  --surface-2: #0d1b2b;
  --surface-3: #16283d;
  --overlay: rgba(8, 18, 32, 0.78);

  --text: #f2f6f9;
  --text-strong: #ffffff;
  --text-muted: #acbecc;
  --text-faint: #8ba0b3;
  --text-on-accent: #05101d;

  --border: #22374d;
  --border-strong: #2f4a66;

  --accent: var(--brand-blue);
  --accent-hover: var(--brand-blue-strong);
  --accent-soft: rgba(76, 145, 255, 0.14);
  --accent-ring: rgba(76, 145, 255, 0.45);
  --mint: var(--brand-mint);
  --mint-soft: rgba(45, 211, 167, 0.14);
  --amber: var(--brand-amber);
  --amber-soft: rgba(255, 174, 82, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.38), 0 16px 40px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --hero-glow-1: rgba(76, 145, 255, 0.22);
  --hero-glow-2: rgba(45, 211, 167, 0.14);
  --head-bg: #0b1928;
  --grid-line: rgba(172, 190, 204, 0.07);
}

/* 2. Reset & base --------------------------------------------------------- */

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

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

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.021em;
}

h1 {
  font-size: clamp(2.15rem, 1.35rem + 3.2vw, 3.6rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.45rem);
}

h3 {
  font-size: 1.2rem;
}

h4 {
  font-size: 1.02rem;
}

strong {
  color: var(--text-strong);
  font-weight: 650;
}

hr {
  height: 1px;
  margin: 0;
  border: 0;
  background: var(--border);
}

::selection {
  background: var(--accent);
  color: var(--text-on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--text-on-accent);
}

/* 3. Layout --------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

.section {
  padding: clamp(56px, 7vw, 104px) 0;
}

.section-tight {
  padding: clamp(40px, 5vw, 68px) 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head.center .eyebrow::before {
  display: none;
}

.lead {
  color: var(--text-muted);
  font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.19rem);
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 4. Header & navigation -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--overlay);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text-strong);
  font-weight: 700;
}

.brand:hover {
  color: var(--text-strong);
}

.brand-mark {
  width: auto;
  height: 34px;
  flex: none;
}

/* The mark ships in two versions: navy on light backgrounds, white on dark. */
.brand-mark--dark { display: none; }
[data-theme="dark"] .brand-mark--light { display: none; }
[data-theme="dark"] .brand-mark--dark { display: block; }

.brand-word {
  font-size: 1.16rem;
  white-space: nowrap;
  letter-spacing: 0.16em;
  color: var(--logo-navy);
}

.brand-word span {
  color: var(--logo-blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.93rem;
  font-weight: 550;
  white-space: nowrap;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--text-strong);
}

.nav a.is-active {
  color: var(--accent);
  font-weight: 650;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.icon-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-strong);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle { display: none; }

/* 5. Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease,
    border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 6px 18px var(--accent-ring);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text-on-accent);
}

.btn-outline {
  border-color: var(--border-strong);
  background: var(--surface);
  color: var(--text-strong);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  padding-inline: 4px;
  color: var(--accent);
}

.btn-ghost:hover { gap: 13px; }

.btn-sm {
  padding: 9px 17px;
  font-size: 0.88rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* 6. Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--border);
  /* Same blue band as the interior page heads, fading into the page. */
  background: linear-gradient(180deg, var(--head-bg) 0%, var(--bg) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero::before {
  top: -160px;
  right: -80px;
  width: 620px;
  height: 620px;
  background: var(--hero-glow-1);
}

.hero::after {
  bottom: -260px;
  left: -140px;
  width: 520px;
  height: 520px;
  background: var(--hero-glow-2);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero .lead {
  max-width: 44ch;
}

/* 7. Page header (interior pages) ---------------------------------------- */

.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 82px) 0 clamp(36px, 4.5vw, 58px);
  border-bottom: 1px solid var(--border);
  background: var(--head-bg);
}

.page-head::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--hero-glow-1);
  filter: blur(100px);
  pointer-events: none;
}

.page-head .container {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.page-head h1 {
  margin-bottom: 18px;
  text-wrap: balance;
}

/* 8. Cards ---------------------------------------------------------------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card h3 { margin-bottom: 10px; }

.card p:last-child,
.card ul:last-child { margin-bottom: 0; }

.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card-num {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* Checklist */

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  margin-bottom: 9px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231668c4' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 10px 10px no-repeat;
}

[data-theme="dark"] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c91ff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* 9. Process timeline ---------------------------------------------------- */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--mint));
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  padding: 0 0 30px 66px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.timeline-item h3 { margin-bottom: 6px; }

.timeline-item p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* 11. Pillars,
stats {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--surface);
}

/* 10. Split feature ------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

/* 11. People -------------------------------------------------------------- */

.person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--mint));
  color: #fff;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.person h3 { margin-bottom: 2px; }

.person .role {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 650;
}

.person p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.person-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 550;
}

.person-links a:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.person-links svg { width: 15px; height: 15px; }

/* 12. CTA ----------------------------------------------------------------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 76px) clamp(24px, 5vw, 64px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface), var(--surface-3));
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 400px;
  background: radial-gradient(closest-side, var(--hero-glow-1), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.cta > * { position: relative; z-index: 1; }

.cta h2 {
  max-width: 20ch;
  margin-inline: auto;
  text-wrap: balance;
}

.cta p {
  max-width: 60ch;
  margin-inline: auto;
  color: var(--text-muted);
}

.cta .btn-row { justify-content: center; margin-top: 26px; }

/* 13. Forms --------------------------------------------------------------- */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 7px; }

.field.full { grid-column: 1 / -1; }

.field label {
  color: var(--text-strong);
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.field textarea { min-height: 132px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.form-note {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.form-status {
  display: none;
  padding: 12px 16px;
  border: 1px solid var(--mint);
  border-radius: var(--radius-sm);
  background: var(--mint-soft);
  color: var(--text-strong);
  font-size: 0.9rem;
}

.form-status.is-visible { display: block; }

.form-status p { margin: 0 0 14px; }

.form-copy {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
}

.contact-aside {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  color: var(--accent);
}

.contact-list b {
  display: block;
  color: var(--text-strong);
  font-size: 0.9rem;
}

.contact-list span {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* 14. Footer -------------------------------------------------------------- */

.site-footer {
  padding: clamp(46px, 5vw, 68px) 0 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .brand { margin-bottom: 16px; }

.footer-brand p {
  max-width: 34ch;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.footer-col h4 {
  margin-bottom: 14px;
  color: var(--text-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li { margin-bottom: 9px; }

.footer-col a {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  color: var(--text-faint);
  font-size: 0.85rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--accent); }

/* Hero content, section headings with a trailing link, link cards ---------- */

.hero-content {
  max-width: 780px;
}

/* Caps line length without centring the block. */
.measure {
  max-width: 760px;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 32px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-head-row .section-head {
  margin-bottom: 0;
}

a.card,
a.card:hover {
  color: inherit;
}

.card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 620;
}

a.card:hover .card-link {
  color: var(--accent-hover);
}

.card-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.card-row h3 {
  margin: 0;
}

.card-row .arrow {
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Sits at the foot of a card regardless of how tall its siblings are. */
.card-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cta .eyebrow::before {
  display: none;
}

/* Positioning statement inside a problem context ------------------------- */

/* Reads as a statement of position rather than another block of body copy:
   set in italic, a size up, against an accent rule. */
.highlight {
  margin-top: 30px;
  padding: 6px 0 6px 26px;
  border-left: 4px solid var(--accent);
}

.highlight p {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Company information pairs ----------------------------------------------- */

.info-list {
  margin: 26px 0 34px;
}

.info-list > div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.info-list > div:last-child {
  border-bottom: 0;
}

.info-list dt {
  color: var(--text-strong);
  font-size: 0.92rem;
  font-weight: 600;
}

.info-list dd {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .info-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* 16. Motion -------------------------------------------------------------- */

/* Hidden only when scripting is available, so the page is complete without JS. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* 17. Responsive ---------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: 0.89rem; }
  .brand-word { font-size: 1.05rem; letter-spacing: 0.12em; }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .split { grid-template-columns: minmax(0, 1fr); }

}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: var(--bg);
    border-bottom: 1px solid transparent;
    transition: max-height 0.28s ease, padding 0.28s ease, border-color 0.2s ease;
  }

  .nav.is-open {
    max-height: 70vh;
    padding: 12px 20px 20px;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }

  .nav a {
    padding: 13px 12px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .hide-sm { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2,
.grid-3,
.grid-4,
.form-grid { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card { padding: 22px; }
  .timeline-item { padding-left: 56px; }
  .timeline::before { left: 18px; }
  .timeline-item::before { width: 38px; height: 38px; font-size: 0.85rem; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}

/* 18. Print --------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .cta, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
