:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #5f6763;
  --line: #d9ded7;
  --accent: #176b5c;
  --accent-dark: #0e4339;
  --amber: #d59f37;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  color: var(--accent);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 750;
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
}

.brand-legal {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  display: grid;
  align-items: center;
  min-height: clamp(500px, 72vh, 720px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(23, 107, 92, 0.12), rgba(213, 159, 55, 0.12)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
    url("data:image/svg+xml,%3Csvg width='1200' height='720' viewBox='0 0 1200 720' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23171717' stroke-opacity='.08'%3E%3Cpath d='M0 540 C180 470 260 590 420 520 S700 360 900 420 1080 500 1200 430'/%3E%3Cpath d='M0 270 C220 160 300 330 520 230 S850 110 1200 180'/%3E%3Cpath d='M120 720 C280 560 410 680 560 530 S830 290 1200 310'/%3E%3C/g%3E%3Cg fill='%23176b5c' fill-opacity='.12'%3E%3Crect x='790' y='120' width='170' height='170' rx='8'/%3E%3Crect x='970' y='300' width='95' height='95' rx='8'/%3E%3Crect x='690' y='420' width='130' height='130' rx='8'/%3E%3C/g%3E%3Cg fill='%23d59f37' fill-opacity='.14'%3E%3Ccircle cx='1030' cy='150' r='70'/%3E%3Ccircle cx='870' cy='520' r='44'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-size: cover;
}

.hero-content,
.page-hero,
.section,
.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  padding: 72px 0;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy,
.page-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 34px 0 0;
}

.trust-list div {
  padding: 16px;
  border: 1px solid rgba(23, 23, 23, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.trust-list dt,
.company-record dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trust-list dd,
.company-record dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--surface);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
}

.section {
  padding: 88px 0;
}

.intro,
.split,
.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: start;
}

.intro > p,
.split p,
.contact-band h2 {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service,
.values article,
.contact-details article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
}

.service p,
.values p,
.contact-details p,
.legal-content p {
  color: var(--muted);
}

.contact-band {
  align-items: center;
  border-top: 1px solid var(--line);
}

.email-link {
  color: var(--accent-dark);
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 850;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.page-hero {
  padding: 90px 0 72px;
  border-top: 1px solid var(--line);
}

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

.stack {
  display: grid;
  gap: 10px;
}

.values,
.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.contact-details {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.contact-details .email-link {
  font-size: clamp(1.15rem, 2.8vw, 1.8rem);
  white-space: nowrap;
}

.company-record {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.company-record dl {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
}

.company-record p {
  margin-bottom: 0;
  color: var(--muted);
}

.company-record a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-action-section {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 56px;
  align-items: start;
  padding-top: 0;
}

.contact-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.contact-card p {
  margin-bottom: 6px;
  color: var(--muted);
}

.legal .page-hero {
  padding-bottom: 42px;
}

.legal-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 24px;
}

.legal-content h2 {
  margin-top: 36px;
  font-size: 1.45rem;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  display: grid;
  grid-template-columns: 1.25fr auto auto;
  align-items: start;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

.footer-company {
  display: grid;
  gap: 4px;
}

.footer-company strong {
  color: var(--ink);
}

.footer-company a {
  color: var(--accent-dark);
  font-weight: 750;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .intro,
  .split,
  .contact-band,
  .service-grid,
  .values,
  .contact-details,
  .contact-action-section,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .page-hero {
    padding: 68px 0 48px;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero-content,
  .page-hero,
  .section,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .brand-logo {
    width: 145px;
  }

  .brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .brand-legal {
    padding-left: 0;
    border-left: 0;
  }

  .button {
    width: 100%;
  }

  .service,
  .values article,
  .contact-details article {
    min-height: auto;
    padding: 22px;
  }
}
