/* ==========================================================================
   ROPTIN SHIPPING (UK) LIMITED — stylesheet
   Design tokens: deep navy / oxblood maroon / burnished gold / chart cream
   Type: Fraunces (display) + Inter (body) + IBM Plex Mono (coordinates/labels)
   ========================================================================== */

:root {
  /* Colour tokens */
  --navy-950: #071522;
  --navy-900: #0B1F30;
  --navy-800: #12314A;
  --navy-700: #1B4467;
  --maroon-700: #6E1F2E;
  --maroon-600: #832639;
  --maroon-500: #9C2E45;
  --gold-500: #B7924F;
  --gold-300: #D9BE87;
  --gold-100: #F0E3C4;
  --cream-50: #F8F5EE;
  --cream-100: #F1EBDD;
  --cream-200: #E7DEC9;
  --ink-900: #171A1E;
  --ink-700: #33383E;
  --slate-500: #5B6472;
  --slate-300: #8B93A0;
  --white: #FFFFFF;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --edge: 1px solid rgba(11, 31, 48, 0.1);
  --edge-light: 1px solid rgba(247, 245, 238, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

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

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

@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

section { position: relative; }

/* ---------- Utility type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--maroon-600);
  display: inline-block;
}
.eyebrow--light { color: var(--gold-300); }
.eyebrow--light::before { background: var(--gold-300); }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-top: 14px;
  color: var(--navy-900);
}
.section-head p {
  margin-top: 16px;
  color: var(--slate-500);
  font-size: 17px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(23,26,30,0.14), transparent);
  border: none;
  margin: 0;
}
.rule--light {
  background: linear-gradient(90deg, transparent, rgba(247,245,238,0.2), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--maroon-600);
  color: var(--cream-50);
}
.btn--primary:hover { background: var(--maroon-700); }

.btn--ghost {
  border-color: rgba(247,245,238,0.4);
  color: var(--cream-50);
}
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-100); }

.btn--outline {
  border-color: rgba(23,26,30,0.22);
  color: var(--navy-900);
}
.btn--outline:hover { border-color: var(--maroon-600); color: var(--maroon-600); }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-950);
}
.btn--gold:hover { background: var(--gold-300); }

/* ---------- Top strip ---------- */
.topstrip {
  background: var(--navy-950);
  color: var(--cream-200);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.topstrip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 9px;
  padding-bottom: 9px;
  gap: 20px;
}
.topstrip a { opacity: 0.9; transition: opacity 0.2s; }
.topstrip a:hover { opacity: 1; color: var(--gold-300); }
.topstrip__left { display: flex; gap: 26px; }
.topstrip__right { display: flex; gap: 4px; align-items: center; color: var(--gold-300); }
.topstrip__dot { width: 6px; height: 6px; border-radius: 50%; background: #6FBE8C; display: inline-block; margin-right: 8px; animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (max-width: 760px) {
  .topstrip__left a:nth-child(2) { display: none; }
}
@media (max-width: 560px) {
  .topstrip .container { font-size: 10.5px; }
  .topstrip__left { gap: 14px; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 48, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: var(--edge-light);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-100);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-300);
  transition: right 0.3s var(--ease);
}
.nav__links a:hover { color: var(--gold-100); }
.nav__links a:hover::after { right: 0; }
.nav__links a.is-active { color: var(--gold-300); }
.nav__links a.is-active::after { right: 0; }

.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__phone { display: none; }
@media (min-width: 1080px) {
  .nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--cream-100); font-family: var(--font-mono); font-size: 13px; }
}

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(247,245,238,0.25);
  border-radius: var(--radius-sm);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__burger span {
  display: block; width: 18px; height: 1.5px; background: var(--cream-50);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy-900);
    border-bottom: var(--edge-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav__links.is-open { max-height: 420px; }
  .nav__links a { width: 100%; padding: 16px 32px; border-bottom: 1px solid rgba(247,245,238,0.08); }
  .nav__links a::after { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse 120% 90% at 18% 0%, #133251 0%, var(--navy-900) 46%, var(--navy-950) 100%);
  color: var(--cream-50);
  overflow: hidden;
  padding-top: 96px;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 32px 60px;
  position: relative;
  z-index: 2;
}
.hero__eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  color: var(--cream-50);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-300);
}
.hero__lede {
  margin-top: 22px;
  max-width: 480px;
  font-size: 17.5px;
  color: var(--cream-200);
}
.hero__actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta {
  display: flex;
  gap: 34px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: var(--edge-light);
  flex-wrap: wrap;
}
.hero__meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-300);
}
.hero__meta div span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-300);
}

/* Hero visual: animated voyage line + ship mark */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.hero__ring {
  position: absolute; inset: 0;
  border: 1px dashed rgba(217, 190, 135, 0.25);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero__ring--inner { inset: 13%; border-color: rgba(217,190,135,0.14); animation-duration: 90s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__ship {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -54%);
  width: 78%;
  filter: drop-shadow(0 26px 40px rgba(3, 10, 18, 0.55));
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, -54%) rotate(-0.6deg); }
  50% { transform: translate(-50%, -50%) rotate(0.6deg); }
}

.voyage-path {
  stroke-dasharray: 6 8;
  animation: dash 3.2s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -140; } }

.voyage-dot {
  offset-rotate: 0deg;
  animation: voyage 7s linear infinite;
}
@keyframes voyage {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.hero__waves {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  line-height: 0;
  z-index: 1;
}
.hero__waves svg { width: 100%; height: auto; }
.wave-layer-1 { animation: waveshift 18s linear infinite; }
.wave-layer-2 { animation: waveshift 26s linear infinite reverse; opacity: 0.5; }
@keyframes waveshift {
  from { transform: translateX(0); }
  to { transform: translateX(-270px); }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 44px; }
  .hero__visual { max-width: 380px; margin-top: 12px; }
  .hero__lede { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero__meta { gap: 22px 30px; }
}

/* ---------- Trust / stat strip ---------- */
.stats {
  background: var(--cream-100);
  border-bottom: var(--edge);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 34px 24px;
  border-left: var(--edge);
  text-align: left;
}
.stat:first-child { border-left: none; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--navy-900);
}
.stat span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}
@media (max-width: 760px) {
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: var(--edge); }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
}

/* ---------- Services ---------- */
.services { padding: 100px 0; background: var(--cream-50); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(23,26,30,0.1);
  border: var(--edge);
}
.service-card {
  background: var(--cream-50);
  padding: 38px 32px;
  transition: background 0.35s var(--ease);
  position: relative;
}
.service-card:hover { background: var(--white); }
.service-card__index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--maroon-600);
  letter-spacing: 0.08em;
}
.service-card__icon {
  width: 46px; height: 46px;
  margin: 20px 0 22px;
  color: var(--maroon-600);
}
.service-card h3 {
  font-size: 20px;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.service-card p { color: var(--slate-500); font-size: 15px; }
.service-card__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.service-card__link svg { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------- Ports / coverage map ---------- */
.coverage {
  background: var(--navy-950);
  color: var(--cream-100);
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}
.coverage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.coverage__map { position: relative; }
.coverage__map svg { width: 100%; height: auto; }
.port-dot { fill: var(--gold-300); }
.port-pulse {
  fill: none;
  stroke: var(--gold-300);
  stroke-width: 1;
  transform-origin: center;
  animation: portpulse 2.6s ease-out infinite;
}
@keyframes portpulse {
  0% { r: 3; opacity: 0.9; }
  100% { r: 14; opacity: 0; }
}
.coverage__route { stroke-dasharray: 5 7; animation: dash 4s linear infinite; }

.port-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.port-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(247,245,238,0.1);
  font-size: 14.5px;
}
.port-list li span:last-child {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-300);
}
@media (max-width: 900px) {
  .coverage__grid { grid-template-columns: 1fr; }
  .port-list { grid-template-columns: 1fr; }
}

/* ---------- Why us / split ---------- */
.split {
  padding: 110px 0;
  background: var(--cream-50);
}
.split__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.split__art {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  position: relative;
  overflow: hidden;
  border: var(--edge);
}
.split__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.value-list { margin-top: 32px; display: flex; flex-direction: column; gap: 26px; }
.value-item { display: flex; gap: 18px; }
.value-item__mark {
  width: 34px; height: 34px;
  border: 1px solid var(--maroon-600);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--maroon-600);
}
.value-item__mark svg { width: 15px; height: 15px; }
.value-item h4 { font-size: 17px; color: var(--navy-900); margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.value-item p { color: var(--slate-500); font-size: 15px; }

@media (max-width: 900px) {
  .split__grid { grid-template-columns: 1fr; }
  .split__art { aspect-ratio: 16/9; }
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 100px 0;
  background: var(--cream-100);
}
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.t-card {
  background: var(--cream-50);
  border: var(--edge);
  padding: 32px 28px;
  border-radius: var(--radius-md);
}
.t-card__stars { color: var(--gold-500); font-size: 14px; letter-spacing: 2px; margin-bottom: 18px; }
.t-card p.quote { font-size: 15.5px; color: var(--ink-700); font-style: italic; }
.t-card__who {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: var(--edge);
}
.t-card__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px;
}
.t-card__who strong { display: block; font-size: 14px; color: var(--navy-900); }
.t-card__who span { font-size: 12.5px; color: var(--slate-500); }

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

/* ---------- CTA banner ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--maroon-700), var(--maroon-600) 60%, var(--maroon-500));
  color: var(--cream-50);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-band__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); max-width: 560px; }
.cta-band p { margin-top: 10px; color: var(--gold-100); max-width: 480px; }
.cta-band__anchor {
  position: absolute;
  right: -40px; top: 50%; transform: translateY(-50%);
  width: 320px; opacity: 0.12;
}
@media (max-width: 700px) {
  .cta-band__anchor { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__brand img { height: 46px; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; max-width: 280px; color: var(--slate-300); }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(247,245,238,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, color 0.3s;
}
.footer__social a:hover { border-color: var(--gold-300); color: var(--gold-300); }
.footer__social svg { width: 14px; height: 14px; }

.footer h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-100);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 14.5px; transition: color 0.25s; }
.footer__links a:hover { color: var(--gold-300); }
.footer__contact li { font-size: 14.5px; margin-bottom: 14px; display: flex; gap: 10px; }
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold-300); }

.footer__bottom {
  border-top: var(--edge-light);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom a:hover { color: var(--gold-300); }

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

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(ellipse 120% 100% at 20% 0%, #133251 0%, var(--navy-900) 50%, var(--navy-950) 100%);
  color: var(--cream-50);
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 16px; max-width: 760px; }
.page-hero p { margin-top: 18px; max-width: 560px; color: var(--cream-200); font-size: 17px; }
.page-hero__breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--slate-300);
  margin-top: 26px;
  display: flex;
  gap: 8px;
}
.page-hero__breadcrumb a:hover { color: var(--gold-300); }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Generic content blocks (about/services/contact reuse) ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; color: var(--ink-700); font-size: 16.5px; }
.prose h3 { font-size: 22px; color: var(--navy-900); margin: 34px 0 14px; }

.timeline { margin-top: 50px; border-left: 1px solid rgba(23,26,30,0.14); }
.timeline-item { padding: 0 0 40px 30px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute; left: -5.5px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--maroon-600);
}
.timeline-item .eyebrow { margin-bottom: 8px; }
.timeline-item h4 { font-size: 18px; color: var(--navy-900); margin-bottom: 8px; }
.timeline-item p { color: var(--slate-500); font-size: 15px; }

.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 20px; }
.leader-card { text-align: left; }
.leader-card__photo {
  aspect-ratio: 4/5; border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--navy-700), var(--navy-950));
  margin-bottom: 18px; position: relative; overflow: hidden; border: var(--edge);
}
.leader-card__photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.leader-card h4 { font-size: 17px; color: var(--navy-900); }
.leader-card span { font-family: var(--font-mono); font-size: 12px; color: var(--maroon-600); text-transform: uppercase; letter-spacing: 0.06em; }
.leader-card p { margin-top: 10px; font-size: 14.5px; color: var(--slate-500); }
@media (max-width: 800px) { .leaders { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .leaders { grid-template-columns: 1fr; } }

/* ---------- Services page full listing ---------- */
.service-full {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 50px;
  padding: 56px 0;
  border-bottom: var(--edge);
  align-items: start;
}
.service-full:first-of-type { padding-top: 0; }
.service-full__num { font-family: var(--font-display); font-size: 44px; color: var(--cream-200); }
.service-full h3 { font-size: 25px; color: var(--navy-900); }
.service-full p { margin-top: 14px; color: var(--slate-500); font-size: 16px; max-width: 620px; }
.service-full__tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.service-full__tags span {
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 6px 12px; border: var(--edge); border-radius: 20px; color: var(--slate-500);
}
@media (max-width: 760px) {
  .service-full { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Process steps (services page) ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.process-step {
  border-top: 2px solid var(--maroon-600);
  padding-top: 20px;
}
.process-step__num { font-family: var(--font-mono); font-size: 12px; color: var(--maroon-600); }
.process-step h4 { margin-top: 12px; font-size: 17px; color: var(--navy-900); }
.process-step p { margin-top: 10px; font-size: 14.5px; color: var(--slate-500); }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.contact-card {
  border: var(--edge);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 18px;
  background: var(--white);
}
.contact-card h4 { font-size: 16px; color: var(--navy-900); margin-bottom: 10px; }
.contact-card p, .contact-card a { font-size: 15px; color: var(--slate-500); }
.contact-card a:hover { color: var(--maroon-600); }

.form-panel {
  background: var(--navy-950);
  color: var(--cream-50);
  border-radius: var(--radius-md);
  padding: 44px;
}
.form-panel h3 { font-size: 24px; margin-bottom: 8px; }
.form-panel > p { color: var(--slate-300); font-size: 15px; margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-300);
}
.form-field input, .form-field select, .form-field textarea {
  background: rgba(247,245,238,0.06);
  border: 1px solid rgba(247,245,238,0.18);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--cream-50);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.25s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold-300);
}
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(247,245,238,0.35); }
.form-panel .btn--gold { margin-top: 6px; width: 100%; justify-content: center; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--slate-300); }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(217,190,135,0.4);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gold-100);
  background: rgba(217,190,135,0.08);
}
.form-success.is-visible { display: block; }

@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-panel { padding: 28px 22px; }
}

.map-embed {
  margin-top: 20px;
  aspect-ratio: 16/10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--edge);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Media layer: real photo/video background with SVG fallback ---------- */
.media-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.media-layer img, .media-layer video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.media-layer img.is-active, .media-layer video.is-active { opacity: 0.5; }
.media-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,21,34,0.35), rgba(7,21,34,0.8) 58%, var(--navy-950) 100%);
}
.hero .media-layer::after {
  background: radial-gradient(ellipse 120% 90% at 18% 0%, rgba(19,50,81,0.35) 0%, rgba(11,31,48,0.72) 46%, rgba(7,21,34,0.94) 100%);
}

/* Photo slot: replaces an SVG illustration with a real photo when available */
.photo-slot { position: relative; }
.photo-slot .media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}
.photo-slot.has-media .media-photo { opacity: 1; }
.photo-slot.has-media > svg { opacity: 0; transition: opacity 0.6s ease; }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 90;
  border: 1px solid rgba(217,190,135,0.3);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 16px; height: 16px; }
