@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #1d2328;
  --muted: #59636d;
  --line: #ded7cc;
  --accent: #b83a26;
  --accent-dark: #7d261c;
  --olive: #596549;
  --sky: #d9e6ea;
  --shadow: 0 18px 45px rgba(29, 35, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 42%, var(--ink) 42% 58%, transparent 58%),
    radial-gradient(circle at center, var(--accent) 0 28%, transparent 30%);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a {
  border-radius: 999px;
  padding: 9px 13px;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(89, 101, 73, 0.12);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 82px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #20262a;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(15, 18, 20, 0.84), rgba(15, 18, 20, 0.35) 52%, rgba(15, 18, 20, 0.08)),
    linear-gradient(0deg, rgba(15, 18, 20, 0.66), transparent 58%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(52px, 9vw, 100px);
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #f4b49b;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 10vw, 8.6rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 11px 17px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: #ffffff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
  outline: none;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

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

.feature {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--olive);
  font-size: 0.86rem;
  font-weight: 800;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.feature p,
.site-footer p,
.not-found-panel p {
  color: var(--muted);
}

.notes-band {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding: clamp(48px, 8vw, 82px) max(20px, calc((100vw - 1120px) / 2));
  background: var(--sky);
}

.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.note-list li {
  border-top: 1px solid rgba(29, 35, 40, 0.22);
  padding: 18px 0;
  color: #2d363d;
  font-size: 1.05rem;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
}

.site-footer p {
  margin: 6px 0 0;
}

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

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.not-found-panel {
  width: min(640px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(28px, 6vw, 54px);
  box-shadow: var(--shadow);
}

.not-found-panel .brand {
  margin-bottom: 52px;
}

.not-found-panel h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 8vw, 5.2rem);
}

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

  .site-header,
  .site-footer,
  .section-heading,
  .notes-band {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 680px;
  }

  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(15, 18, 20, 0.84), rgba(15, 18, 20, 0.42)),
      linear-gradient(0deg, rgba(15, 18, 20, 0.72), transparent 58%);
  }

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

  .feature {
    min-height: 0;
  }

  .feature-kicker {
    margin-bottom: 28px;
  }
}
