/* Hope Investment Group: site styles */

:root {
  --navy-950: #0b1c2f;
  --navy-900: #10263f;
  --navy-800: #1d3a58;
  --navy-600: #5b7590;
  --navy-300: #afc0d2;
  --navy-100: #d5dee8;
  --navy-50: #e6ebf1;
  --gold: #d4a23a;
  --gold-soft: #e7c077;
  --gold-ink: #85600f;
  --gold-tint: #fbf4e4;
  --ink: #1b2430;
  --body: #2e3a48;
  --muted: #4a5563;
  --line: #e1e6ec;
  --bg: #f7f8fa;
  --white: #fff;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 32px);
  --header-h: 76px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 38, 63, 0.06), 0 10px 30px rgba(16, 38, 63, 0.08);
}

/* Base */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-900);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.06;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.3rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--navy-900);
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--gold-ink);
}

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

.on-dark :focus-visible {
  outline-color: var(--gold-soft);
}

main:focus {
  outline: none;
}

.icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.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: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin-inline: auto;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--navy-900);
}

.btn-ghost {
  border-color: var(--navy-600);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--white);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-800);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link .icon {
  width: 18px;
  height: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--gold);
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-300);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--gold-soft);
}

.nav-list a[aria-current="page"] {
  font-weight: 700;
  border-bottom-color: var(--gold);
}

.nav-cta {
  min-height: 44px;
  margin-left: 10px;
  padding: 10px 20px;
  font-size: 0.95rem;
}

.nav-cta[aria-current="page"] {
  box-shadow: 0 0 0 2px var(--navy-900), 0 0 0 4px var(--gold-soft);
}

.nav-toggle {
  display: none;
}

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav-list a {
    padding: 10px 10px;
  }

  .js .header-inner {
    flex-wrap: nowrap;
  }

  .js .nav-toggle {
    order: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--navy-600);
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 20px;
    height: 20px;
  }

  .nav-toggle .icon-close,
  .nav-toggle[aria-expanded="true"] .icon-open {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  .nav-cta {
    order: 1;
    margin-left: 0;
  }

  .js .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 30px rgba(11, 28, 47, 0.35);
  }

  .js .nav-open .nav-list {
    display: flex;
  }

  .js .nav-list a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
  }

  .js .nav-list a[aria-current="page"] {
    color: var(--gold-soft);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 3px 0 0 var(--gold);
    padding-left: 14px;
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }

  .nav-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .js .nav-toggle {
    padding: 8px 10px;
  }

  .nav-cta {
    padding: 10px 16px;
  }
}

/* Sections */

.section {
  padding-block: clamp(64px, 9vw, 104px);
}

.pt-0 {
  padding-top: 0;
}

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

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.on-dark .eyebrow {
  color: var(--gold-soft);
}

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.3rem);
  line-height: 1.6;
}

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

.section-head.compact {
  margin-bottom: 28px;
}

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

.section-head > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
}

.prose > * + * {
  margin-top: 18px;
}

.prose h2 + p {
  margin-top: 20px;
}

.intro {
  padding-block: clamp(64px, 8vw, 88px) clamp(48px, 6vw, 64px);
}

.section-title {
  margin-bottom: clamp(32px, 4vw, 40px);
  text-align: center;
}

.statement {
  max-width: 840px;
  margin-inline: auto;
  font-size: clamp(1.2rem, 2.1vw, 1.45rem);
  line-height: 1.6;
  color: var(--body);
  text-align: center;
}

.statement strong {
  color: var(--navy-900);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.split-top {
  align-items: start;
}

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

/* Arc motif behind dark bands */

.hero,
.page-hero,
.cta {
  background-color: var(--navy-900);
  background-image: url("/assets/img/arcs.svg");
  background-repeat: no-repeat;
}

/* Home hero */

.hero {
  padding-block: clamp(56px, 8vw, 96px) clamp(72px, 10vw, 112px);
  background-position: right -180px bottom -220px;
  background-size: 720px auto;
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

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

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5.6vw, 3.9rem);
}

.hero-lead {
  max-width: 28ch;
  margin-top: 22px;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--navy-100);
}

/* Hero service panel */

.hero-panel {
  position: relative;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: var(--navy-800);
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 420px;
  height: 340px;
  background: url("/assets/img/arcs.svg") no-repeat center / contain;
  opacity: 0.8;
  pointer-events: none;
}

.hero-panel-title {
  position: relative;
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-lines li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-lines li:last-child {
  border-bottom: 0;
}

.hero-line-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 162, 58, 0.14);
  color: var(--gold);
}

.hero-line-icon .icon {
  width: 22px;
  height: 22px;
}

/* Inner page hero */

.page-hero {
  padding-block: clamp(56px, 8vw, 96px);
  background-position: right -200px center;
  background-size: 620px auto;
  color: var(--white);
}

.page-hero h1 {
  max-width: 20ch;
  color: var(--white);
}

.page-hero .lead {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--navy-100);
}

/* Service cards (home) */

.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1100px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .service-cards {
    grid-template-columns: 1fr;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--body);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  color: var(--body);
}

@media (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    transform: translateY(-3px);
  }
}

.service-card .icon {
  width: 32px;
  height: 32px;
  color: var(--gold-ink);
}

.service-card h3 {
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Check list */

.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checks .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold-ink);
}

/* Panels and figures */

.panel {
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.panel-muted {
  background: var(--bg);
}

.figure {
  margin: 0;
}

.figure figcaption {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
}

.cycle svg {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.cycle-node {
  fill: var(--navy-900);
}

.cycle-num {
  fill: var(--gold-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cycle-label {
  fill: var(--white);
  font-size: 15px;
  font-weight: 700;
}

.cycle-ring {
  stroke: var(--navy-100);
}

.cycle-arc {
  stroke: var(--gold);
}

.cycle-centre {
  fill: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.cycle-centre-strong {
  fill: var(--navy-900);
  font-size: 15px;
  font-weight: 800;
}

/* Facts list */

.facts {
  display: grid;
  margin: 0;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.6fr) 1fr;
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--line);
}

.facts div:first-child {
  padding-top: 0;
}

.facts div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.facts dd {
  margin: 0;
  color: var(--navy-900);
  font-weight: 600;
}

@media (max-width: 420px) {
  .facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Feature cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1000px) {
  .feature-grid,
  .feature-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feature-grid,
  .feature-grid-4 {
    grid-template-columns: 1fr;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.section-white .feature {
  background: var(--bg);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold);
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Mission quote */

.mission {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission blockquote {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  text-wrap: balance;
}

.mission blockquote::before {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto 28px;
  background: var(--gold);
}

/* Services page */

.jump {
  position: relative;
  margin-top: -28px;
}

.jump ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 14px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.jump a:hover {
  background: var(--gold-tint);
  color: var(--navy-900);
}

.jump .icon {
  width: 18px;
  height: 18px;
  color: var(--gold-ink);
}

.service-detail {
  padding-block: clamp(56px, 8vw, 96px);
}

.service-detail:nth-of-type(odd) {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

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

.service-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.service-tag .feature-icon {
  width: 52px;
  height: 52px;
}

.service-num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
}

.service-detail .lead {
  margin-top: 16px;
  max-width: 46ch;
}

.list-title {
  margin: 30px 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.list-title.first {
  margin-top: 0;
}

.cover-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.service-detail:nth-of-type(odd) .cover-card {
  background: var(--bg);
}

.map-panel .map {
  max-width: 420px;
}

/* Steps */

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.steps li:first-child {
  padding-top: 0;
}

.steps li:last-child {
  border-bottom: 0;
}

.steps .feature-icon {
  width: 48px;
  height: 48px;
}

.steps h3 {
  font-size: 1.1rem;
}

.steps p {
  margin-top: 4px;
  color: var(--muted);
}

/* Contact page */

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
}

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

.map-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.map {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.map-land {
  fill: var(--navy-50);
  stroke: var(--navy-300);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.map-nile {
  fill: none;
  stroke: var(--navy-600);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-sea {
  fill: var(--muted);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.04em;
}

.map-pin {
  fill: var(--gold);
  stroke: var(--navy-900);
  stroke-width: 2;
}

.map-pulse {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.6;
}

.map-label {
  fill: var(--navy-900);
  font-size: 17px;
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .map-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: pulse 2.6s ease-out infinite;
  }
}

@keyframes pulse {
  from {
    transform: scale(0.6);
    opacity: 0.8;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

.address {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-style: normal;
}

.address .feature-icon {
  flex: none;
}

.address strong {
  display: block;
  color: var(--navy-900);
  font-size: 1.1rem;
}

.address span {
  color: var(--muted);
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--navy-100);
}

.status-card h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.status-card .checks .icon {
  color: var(--gold);
}

.status-card .checks {
  margin-top: 6px;
}

.contact-details {
  display: grid;
  margin: 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: start;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-details div:first-child {
  padding-top: 0;
}

.contact-details dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(212, 162, 58, 0.14);
  color: var(--gold);
}

.contact-icon .icon {
  width: 18px;
  height: 18px;
}

.contact-details dd {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding-top: 4px;
  overflow-wrap: anywhere;
}

.contact-details .pending {
  color: var(--navy-300);
  font-style: italic;
}

.contact-details .known {
  color: var(--white);
  font-weight: 600;
}

.contact-note {
  font-size: 0.93rem;
  color: var(--navy-300);
}

@media (max-width: 420px) {
  .contact-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-details dd {
    padding-top: 0;
  }
}

.enquiry-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: enq;
}

@media (max-width: 1100px) {
  .enquiry-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .enquiry-list {
    grid-template-columns: 1fr;
  }
}

.enquiry-list li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: enq;
}

.enquiry-list li::before {
  content: counter(enq, decimal-leading-zero);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
}

.enquiry-list h3 {
  font-size: 1.05rem;
}

.enquiry-list p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Call to action band */

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(44px, 6vw, 68px) clamp(24px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background-position: center bottom -260px;
  background-size: 760px auto;
  color: var(--navy-100);
  text-align: center;
}

.cta h2 {
  max-width: 24ch;
  color: var(--white);
}

.cta p {
  max-width: 56ch;
}

.cta .btn {
  margin-top: 10px;
}

.cta-narrow {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(44px, 6vw, 64px) clamp(24px, 5vw, 40px);
}

.cta-narrow h2 {
  max-width: none;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.25;
}

/* 404 */

.not-found .actions {
  margin-top: 36px;
}

/* Footer */

.site-footer {
  padding: 60px 0 32px;
  background: var(--navy-950);
  color: #c9d4e0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: 32px;
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

.footer-name {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-brand p:not(.footer-name) {
  max-width: 34ch;
  line-height: 1.6;
}

.footer-title {
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

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

.footer-links a,
.site-footer .to-top {
  display: inline-block;
  padding-block: 6px;
  color: #c9d4e0;
  text-decoration: none;
}

.footer-links a:hover,
.site-footer .to-top:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-contact .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--gold);
}

.footer-contact .pending {
  color: #9fb0c2;
  font-style: italic;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #23384f;
  font-size: 0.85rem;
  color: #9fb0c2;
}

.footer-bottom .to-top {
  padding-block: 0;
  color: #9fb0c2;
}

/* Motion preferences */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .skip-link,
  .cta {
    display: none;
  }

  .hero,
  .page-hero {
    background: none;
    color: var(--ink);
  }

  .hero h1,
  .page-hero h1 {
    color: var(--navy-900);
  }
}
