:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #66635e;
  --line: #dedbd2;
  --paper: #f7f4ed;
  --panel: #fffdfa;
  --accent: #24584b;
  --accent-strong: #123d34;
  --blue: #315f7d;
  --gold: #b98530;
  --shadow: 0 18px 60px rgba(36, 33, 28, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  color: #fffdfa;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.solid,
.site-header.is-scrolled {
  background: rgba(255, 253, 250, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  letter-spacing: 0;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 30px);
  align-items: center;
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
  opacity: 0.86;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #1e251f;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 9, 0.24) 0%, rgba(8, 10, 9, 0.44) 52%, rgba(8, 10, 9, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 10, 9, 0.68) 0%, rgba(8, 10, 9, 0.24) 58%, rgba(8, 10, 9, 0.4) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100% - 40px));
  margin: 0 auto;
  padding: 160px 0 clamp(70px, 11vh, 120px);
  color: #fffdfa;
}

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

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 253, 250, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.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: 0 18px;
  border: 1px solid rgba(255, 253, 250, 0.72);
  text-decoration: none;
  font-weight: 750;
}

.button.primary {
  background: #fffdfa;
  color: var(--ink);
  border-color: #fffdfa;
}

.button.secondary {
  color: #fffdfa;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 0;
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 18px 0 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
}

.intro > p,
.contact-panel p {
  margin-top: 0;
  font-size: 1.08rem;
}

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

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

.card {
  min-height: 260px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(23, 23, 23, 0.03);
}

.card-number {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.card p {
  margin: 0;
}

.statement {
  background: var(--accent-strong);
  color: #fffdfa;
}

.statement-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 126px) 0;
}

.statement h2 {
  max-width: 860px;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 253, 250, 0.22);
}

.principle-list li {
  min-height: 120px;
  padding: 24px;
  background: var(--accent-strong);
  color: rgba(255, 253, 250, 0.88);
  font-size: 1.05rem;
}

.contact-panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.text-link {
  display: block;
  margin-top: 14px;
  color: var(--accent);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

.legal-page {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 80px;
}

.legal {
  padding: clamp(30px, 6vw, 56px);
  background: var(--panel);
  border: 1px solid var(--line);
}

.legal h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.98;
}

.legal h2 {
  margin-top: 32px;
  font-size: 1.25rem;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .site-header.solid {
    position: sticky;
  }

  nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.8rem);
  }

  .intro,
  .contact,
  .grid,
  .principle-list {
    grid-template-columns: 1fr;
  }

  .card,
  .principle-list li {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
