:root {
  --paper: #f3f0ea;
  --ink: #171615;
  --muted: #6f6960;
  --line: #d8d1c7;
  --accent: #8f2f2b;
  --pine: #263a32;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    linear-gradient(120deg, rgba(143, 47, 43, 0.08), transparent 42%),
    linear-gradient(320deg, rgba(38, 58, 50, 0.09), transparent 38%),
    var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100% - 48px, var(--max-width));
  min-height: calc(100vh - 116px);
  margin: 0 auto;
  padding: 34px 0 40px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-initials {
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  font-weight: 700;
  line-height: 0.9;
}

.brand-initials span:last-child {
  color: rgba(23, 22, 21, 0.22);
}

.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(64px, 7vw, 120px);
  padding: 74px 0 64px;
  isolation: isolate;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.lede {
  max-width: 610px;
  margin: 0;
  color: var(--pine);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-mark {
  container-type: inline-size;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(280px, 42vw, 520px);
  min-width: 0;
}

.hero-mark h1 {
  margin: 0;
  color: rgba(23, 22, 21, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5rem, 18cqw, 9rem);
  font-weight: 500;
  line-height: 0.82;
  text-align: right;
  white-space: nowrap;
}

.site-footer {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
  padding: 22px 0 30px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

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

.site-footer p:first-child {
  flex: 0 0 auto;
}

.site-footer p:last-child {
  max-width: none;
}

@media (min-width: 1040px) {
  .site-footer p:last-child {
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(100% - 32px, var(--max-width));
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 24px;
  }

  .site-header {
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    row-gap: clamp(52px, 10dvh, 92px);
    padding: clamp(44px, 8dvh, 80px) 0 clamp(72px, 12dvh, 118px);
  }

  .hero-mark {
    order: -1;
    min-height: 126px;
  }

  .hero-mark h1 {
    color: rgba(23, 22, 21, 0.2);
    font-size: clamp(4.2rem, 20cqw, 4.9rem);
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.72rem;
  }

  .site-footer {
    width: min(100% - 32px, var(--max-width));
    padding-top: 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    display: grid;
  }
}

@media (max-width: 470px) {
  .site-header {
    display: grid;
    gap: 18px;
  }

  .hero {
    padding-top: 36px;
  }
}
