:root {
  --navy: #0b2a4a;
  --navy-deep: #071c33;
  --ink: #1d2b3a;
  --muted: #5b6b7d;
  --teal: #19b5cc;
  --teal-soft: #7fe0ee;
  --blue: #0f6fb0;
  --tint: #f2f7fa;
  --line: #d9e3ec;
  --white: #ffffff;

  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(7, 28, 51, 0.08);
  --max: 1200px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute; 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: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 8px 14px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.9rem;
}
.eyebrow.light { color: var(--teal-soft); }

.accent-rule {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--teal);
  margin: 1.2rem 0 1.6rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: 500 0.95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-solid { background: var(--teal); color: var(--navy-deep); }
.btn-solid:hover { background: var(--teal-soft); }
.btn-outline { border-color: rgba(255, 255, 255, 0.7); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-small { padding: 0.7rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.header-cta { background: var(--navy); color: var(--white); }
.header-cta:hover { background: var(--blue); }

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.3rem;
}
.lang-switch a:hover { color: var(--teal); }
.lang-switch a[aria-current="page"] { color: var(--navy); }

.center { text-align: center; }

.legal { max-width: 760px; }
.legal h1 { margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.draft-banner {
  border: 1px solid #d9a441;
  background: #fff8ea;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--white);
  flex: none;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-text small {
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}
.site-nav a,
.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover,
.footer-nav a:hover { color: var(--teal); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 28, 51, 0.94) 0%, rgba(7, 28, 51, 0.7) 50%, rgba(7, 28, 51, 0.35) 100%),
    url("../assets/hero-seahorse.jpg") center / cover no-repeat;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(7, 28, 51, 0.5));
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--teal-soft);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.hero-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-logo {
  width: min(320px, 80%);
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.12);
}
.values {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.6rem 2.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* Strip */
.strip {
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.strip-item:first-child { border-left: 0; }
.strip-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.5;
}

/* Sections */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section-tint { background: var(--tint); }
.section-dark {
  background:
    linear-gradient(180deg, rgba(7, 28, 51, 0.92), rgba(7, 28, 51, 0.96)),
    linear-gradient(135deg, #0a3d63, #072a48);
  color: rgba(255, 255, 255, 0.86);
}
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--teal-soft); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.section-head h2 { margin-bottom: 0; }
.section-lead { color: var(--muted); margin: 0; }
.section-dark .section-lead { color: rgba(255, 255, 255, 0.78); }

/* Mission */
.mission-figure {
  margin: 0;
  min-height: 360px;
  border-radius: var(--radius);
  background: url("../assets/mission-bay.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 2rem;
  box-shadow: var(--shadow);
}
.mission-quote {
  background: var(--navy);
  color: var(--white);
  padding: 1.6rem 2rem;
  border-radius: var(--radius);
  max-width: 300px;
}
.mission-quote p {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1.25;
  margin: 0 0 0.8rem;
}
.mission-quote span {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-soft);
}

/* Expertise cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 2rem 1.6rem;
  border: 1px solid rgba(127, 224, 238, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}
.step-num {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal-soft);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step h3 { color: var(--white); }
.step p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }

/* People */
.people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.person {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.8rem;
  align-items: start;
}
.person-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--white);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-body h3 { margin-bottom: 0.2rem; }
.person-role {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.person-body > p { color: var(--muted); font-size: 0.95rem; }

details { margin: 1rem 0; }
summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 500;
  font-size: 0.92rem;
}
details[open] summary { margin-bottom: 0.8rem; }
details p,
details li { font-size: 0.92rem; color: var(--muted); }
details ul { padding-left: 1.2rem; }
details li { margin-bottom: 0.5rem; }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
}
.contact-list li { margin-bottom: 0.4rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Recognition */
.badges {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.badges li {
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
}
.badges strong { font-weight: 700; }

.quotes { display: grid; gap: 1.4rem; }
.quote {
  margin: 0;
  background: var(--white);
  border-left: 3px solid var(--teal);
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote p {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 0.8rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, rgba(7, 28, 51, 0.88), rgba(7, 28, 51, 0.96)),
    url("../assets/contact-skyline.jpg") center / cover no-repeat;
  color: rgba(255, 255, 255, 0.85);
}
.section-contact h2 { color: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.offices {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.office-label { font-weight: 600; color: var(--white); }
.office-detail { display: block; font-size: 0.92rem; margin: 0.2rem 0 0.4rem; }
.offices a { color: var(--teal-soft); }

.contact-form {
  background: var(--white);
  color: var(--ink);
  padding: 2.4rem;
  border-radius: var(--radius);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.field input,
.field textarea {
  width: 100%;
  font: 400 0.95rem/1.5 var(--sans);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field select {
  width: 100%;
  font: 400 0.95rem/1.5 var(--sans);
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form-status { color: var(--navy); font-size: 0.9rem; margin: 0 0 1rem; }
.form-error { color: #c0392b; font-size: 0.9rem; margin: 0 0 1rem; }
.form-note { font-size: 0.78rem; color: var(--muted); margin: 1rem 0 0; }
.contact-form .btn-block { background: var(--navy); color: var(--white); }
.contact-form .btn-block:hover { background: var(--blue); }

/* Footer */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #04121f 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: 4.5rem 0 2rem;
  border-top: 3px solid var(--teal);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer .brand { color: var(--white); }
.site-footer .brand-text small { color: rgba(255, 255, 255, 0.6); }
.footer-tagline {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--teal-soft);
  margin: 1.6rem 0 0;
  max-width: 20rem;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1.3rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--teal-soft); }
.footer-offices li {
  font-size: 0.92rem;
  line-height: 1.5;
}
.footer-offices strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.6rem;
}
.copyright {
  margin: 0;
  font-size: 0.82rem;
}
.back-to-top {
  color: var(--teal-soft);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.back-to-top:hover { color: var(--white); }
.legal-links { display: flex; gap: 1.2rem; }
.legal-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; text-decoration: none; }
.legal-links a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 1040px) {
  .section-head { grid-template-columns: 1fr; gap: 1rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.9rem 24px;
    border-top: 1px solid var(--line);
  }
  .header-cta { display: none; }
  .header-inner { position: relative; }

  .hero-inner,
  .split,
  .contact-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo { width: 220px; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .cards,
  .steps { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person-photo { max-width: 240px; }
  .footer-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .contact-form { padding: 1.6rem; }
  .brand-text strong { font-size: 1.4rem; }
  .brand-logo { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
