:root {
  --ink: #18212a;
  --muted-ink: #526171;
  --soft-ink: #6d7885;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #dfe5e2;
  --teal: #0f6b6f;
  --teal-dark: #0a4d50;
  --moss: #6f7f4f;
  --clay: #b76545;
  --mist: #eef5f2;
  --shadow: 0 18px 42px rgba(24, 33, 42, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(24, 33, 42, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(190px, 24vw, 260px);
  height: 56px;
  object-fit: contain;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted-ink);
  font-size: 0.96rem;
  font-weight: 650;
}

.site-nav a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 18, 22, 0.78), rgba(11, 18, 22, 0.42) 48%, rgba(11, 18, 22, 0.08)),
    linear-gradient(0deg, rgba(11, 18, 22, 0.45), rgba(11, 18, 22, 0.04) 58%);
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: clamp(88px, 15vw, 150px) clamp(22px, 7vw, 86px) clamp(62px, 10vw, 92px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffc29d;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 6.9rem);
  font-weight: 820;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  font-weight: 780;
}

h3 {
  font-size: 1.13rem;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2.2vw, 1.36rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
  text-align: center;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 4vw, 54px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.intro-band,
.feature-band {
  background: var(--ink);
  color: var(--white);
}

.intro-band p,
.feature-band p {
  color: rgba(255, 255, 255, 0.78);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.two-column > p,
.stacked-copy,
.details-list {
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.04rem, 1.8vw, 1.22rem);
}

.intro-band .two-column > p {
  color: rgba(255, 255, 255, 0.78);
}

.stacked-copy p,
.details-list p {
  margin: 0 0 18px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid,
.list-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.contact-card,
.list-grid > div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
}

.service-card p,
.list-grid p,
.contact-card p {
  margin: 12px 0 0;
  color: var(--muted-ink);
}

.muted-band {
  background: var(--mist);
}

.image-section {
  background: var(--paper);
}

.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.image-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-feature p:not(.eyebrow) {
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.feature > div {
  max-width: 760px;
}

.feature p {
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--clay);
}

.text-link.alt {
  color: rgba(255, 255, 255, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.42);
}

.inline-link {
  color: var(--teal-dark);
  font-weight: 750;
}

.intro-band .inline-link,
.feature-band .inline-link {
  color: #ffe1c8;
}

.feature-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.page-hero {
  padding: clamp(78px, 12vw, 132px) clamp(18px, 4vw, 54px) clamp(54px, 8vw, 88px);
  background: linear-gradient(135deg, var(--mist), #fff7ef);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted-ink);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.single-contact {
  grid-template-columns: minmax(0, 640px);
}

.contact-card {
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.contact-card .button {
  width: 100%;
  margin-top: 24px;
  font-size: clamp(0.82rem, 1.8vw, 0.98rem);
}

.legal-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.aias-figure {
  margin: 0;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.aias-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.aias-figure figcaption {
  margin-top: 14px;
  color: var(--muted-ink);
  font-size: 0.98rem;
}

.aias-figure a {
  color: var(--teal-dark);
  font-weight: 750;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 28px;
  padding: 38px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.76);
  background: #11191f;
}

.site-footer strong {
  display: block;
  color: var(--white);
}

.site-footer p {
  max-width: 560px;
  margin: 8px 0 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .site-header,
  .site-footer,
  .two-column,
  .feature {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: grid;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

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

  .image-feature {
    grid-template-columns: 1fr;
  }

  .single-contact {
    grid-template-columns: minmax(0, 640px);
  }

  .footer-links {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: 170px;
    height: 50px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.91rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(11, 18, 22, 0.86), rgba(11, 18, 22, 0.58)),
      linear-gradient(0deg, rgba(11, 18, 22, 0.56), rgba(11, 18, 22, 0.12));
  }

  h1 {
    max-width: 10ch;
  }

  .service-grid,
  .list-grid,
  .contact-grid,
  .single-contact {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
