:root {
  --ink: #1f2733;
  --navy: #111827;
  --muted: #647184;
  --line: #e7ebf0;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --gold: #c9964a;
  --gold-dark: #9f6d27;
  --green: #587269;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

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

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

p {
  margin: 0 0 18px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
}

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

.topbar {
  background: var(--navy);
  color: #d9e0ea;
  font-size: 13px;
}

.topbar .wrap,
.header .wrap,
.section .wrap,
.footer .wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  gap: 18px;
}

.topbar strong {
  color: #fff;
  font-weight: 700;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header .wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #fff;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
  color: #2d3746;
}

.nav a {
  padding: 30px 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn.secondary {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.68);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.hero {
  position: relative;
  min-height: 610px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.75) 52%, rgba(17, 24, 39, 0.38) 100%),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero .wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(280px, 360px);
  align-items: center;
  gap: 48px;
  padding: 72px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: #e9c98f;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.16;
  letter-spacing: 0;
  color: inherit;
}

h1 {
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
}

.hero p {
  max-width: 650px;
  margin-top: 22px;
  color: #eef2f8;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  padding: 28px;
  border-top: 5px solid var(--gold);
}

.hero-panel p {
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 0;
}

.hero-stat {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.hero-stat strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--wash);
}

.section.dark {
  background: var(--navy);
  color: #fff;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-title.left {
  margin-left: 0;
  text-align: left;
}

.section-title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--navy);
}

.dark .section-title h2 {
  color: #fff;
}

.section-title p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.dark .section-title p,
.dark p {
  color: #d8e0ec;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 28px;
}

.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  margin: 14px 0 22px;
}

.read-more {
  color: var(--gold-dark);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 58px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
}

.split-image {
  min-height: 460px;
  background: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.split-image.documents {
  background-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1200&q=80");
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #344154;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--gold);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.number-item {
  padding: 34px;
  background: #151f2e;
}

.number-item span {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  margin-bottom: 18px;
}

.number-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-row h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 42px);
}

.kicker {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.stat {
  background: #fff;
  padding: 28px;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.team-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.team-card,
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}

.team-card h3,
.post-card h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.post-card .date {
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.cta {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.84)),
    url("https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  text-align: center;
  padding: 74px 0;
}

.cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
}

.cta p {
  max-width: 690px;
  margin: 16px auto 28px;
  color: #d8e0ec;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.58)),
    url("https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: #fff;
  padding: 92px 0;
}

.page-hero .wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 62px);
}

.page-hero p {
  max-width: 720px;
  color: #edf1f6;
  font-size: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.contact-note {
  background: var(--navy);
  color: #fff;
  padding: 34px;
}

.contact-note p {
  color: #d8e0ec;
}

.form {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--navy);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #cfd6df;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 800;
}

.footer {
  background: #0d1420;
  color: #d8e0ec;
  padding-top: 58px;
}

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

.footer h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 46px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aeb8c6;
  font-size: 14px;
}

@media (max-width: 920px) {
  .header .wrap {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--line);
  }

  .header .btn {
    display: none;
  }

  .hero .wrap,
  .split,
  .split.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    align-self: auto;
  }

  .cards,
  .number-grid,
  .team-grid,
  .post-grid,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .topbar .wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
    gap: 4px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero .wrap {
    min-height: auto;
    padding: 56px 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .cards,
  .number-grid,
  .team-grid,
  .post-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-body,
  .number-item,
  .team-card,
  .post-card,
  .stat,
  .form,
  .contact-note {
    padding: 24px;
  }
}

.li-counter { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
