:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5e625d;
  --paper: #f7f4ec;
  --paper-strong: #fffaf0;
  --line: rgba(21, 21, 21, 0.14);
  --accent: #bf6f2f;
  --accent-dark: #8d4c1d;
  --dark: #111211;
  --dark-muted: rgba(255, 250, 240, 0.74);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px clamp(18px, 4vw, 56px);
  color: #fffaf0;
}

.site-header.solid {
  position: static;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.92);
}

.brand {
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 14px;
  font-weight: 650;
}

nav a {
  opacity: 0.86;
  transition: color 180ms ease, opacity 180ms ease;
}

nav a:hover,
nav a[aria-current="page"] {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #fffaf0;
}

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

.hero-image {
  object-fit: cover;
  transform: scale(1.03);
  animation: heroDrift 9s ease-out forwards;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.44) 42%, rgba(0, 0, 0, 0.12) 76%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 30%, rgba(0, 0, 0, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b070;
}

h1,
h2 {
  margin: 0;
  font-weight: 790;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(62px, 12vw, 148px);
}

h2 {
  font-size: clamp(34px, 5.5vw, 72px);
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 34px;
  color: var(--dark-muted);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.38;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 250, 240, 0.4);
  border-radius: 999px;
  background: #fffaf0;
  color: #171512;
  font-size: 15px;
  font-weight: 760;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: #fffaf0;
  background: #f0b070;
  color: #171512;
}

.button.secondary {
  border-color: rgba(21, 21, 21, 0.2);
  background: var(--ink);
  color: var(--paper-strong);
}

.button.secondary:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 11vw, 132px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
}

.text-stack p {
  margin-top: 0;
  color: var(--muted);
  font-size: 20px;
}

.service-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 680;
}

.band {
  background: var(--dark);
  color: var(--paper-strong);
}

.band-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 118px) 0;
}

.band p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--dark-muted);
  font-size: 22px;
}

.contact {
  max-width: 820px;
  margin-left: clamp(18px, 7vw, calc((100vw - var(--max)) / 2));
  margin-right: auto;
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 21px;
}

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

.site-footer span:last-child {
  display: flex;
  gap: 18px;
}

.legal-page {
  background: var(--paper-strong);
}

.legal {
  width: min(820px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(62px, 9vw, 104px) 0;
}

.legal h1 {
  margin-bottom: 54px;
  font-size: clamp(44px, 8vw, 92px);
}

.legal h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
}

.legal h3 {
  margin: 28px 0 10px;
  font-size: 21px;
  line-height: 1.22;
}

.legal h4 {
  margin: 22px 0 8px;
  font-size: 17px;
  line-height: 1.28;
}

.legal section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal p {
  margin: 0;
  color: var(--muted);
}

.legal p + p {
  margin-top: 14px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translateX(14px);
  }
  to {
    transform: scale(1.02) translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

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

  nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 14px;
    max-width: 230px;
    text-align: right;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-content {
    width: min(100% - 36px, 560px);
    margin: 0 auto;
    padding-top: 112px;
  }

  .hero-copy {
    margin-top: 20px;
  }

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

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