:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-muted: #eef1f4;
  --ink: #0f1722;
  --ink-soft: #4b5563;
  --line: rgba(15, 23, 34, 0.1);
  --brand: #0b3d5c;
  --brand-dark: #072a40;
  --accent: #d97706;
  --accent-soft: #fff4e5;
  --shadow: 0 18px 50px rgba(15, 23, 34, 0.12);
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  left: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 246, 248, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 61, 92, 0.18);
}

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

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.65rem 1rem;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.55rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 0.35rem 0;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.16), transparent 34%),
    linear-gradient(135deg, #0b3d5c 0%, #123f57 42%, #0f1722 100%);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.section .eyebrow,
.contact .eyebrow {
  color: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-lead {
  max-width: 42rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge {
  position: absolute;
  left: -1rem;
  bottom: -1rem;
  background: var(--surface);
  color: var(--ink);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 14rem;
}

.hero-badge-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.hero-badge-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.stats {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stats-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 30px rgba(15, 23, 34, 0.06);
}

.stats-grid strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
}

.stats-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-muted {
  background: var(--surface-muted);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading p:last-child {
  color: var(--ink-soft);
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-copy p {
  color: var(--ink-soft);
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-height: 100%;
}

.card-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery figure:nth-child(1) {
  grid-column: span 7;
}

.gallery figure:nth-child(2) {
  grid-column: span 5;
}

.gallery figure:nth-child(3) {
  grid-column: span 5;
}

.gallery figure:nth-child(4) {
  grid-column: span 7;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  transition: transform 0.35s ease;
}

.gallery figure:hover img {
  transform: scale(1.03);
}

.contact {
  background: linear-gradient(180deg, var(--surface) 0%, #e8edf2 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-grid > div > p:last-child {
  color: var(--ink-soft);
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  gap: 0.85rem;
}

.contact-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgba(11, 61, 92, 0.28);
  transform: translateY(-1px);
}

.contact-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand);
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-top {
  color: var(--brand);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .contact-grid,
  .cards,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    grid-column: auto !important;
  }

  .hero-badge {
    left: 1rem;
    bottom: 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header {
    position: relative;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
