:root {
  --ink: #101713;
  --paper: #f5f2e9;
  --muted: #c9cec7;
  --line: rgba(245, 242, 233, 0.2);
  --red: #d20a35;
  color-scheme: dark;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0.2rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.8rem;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  grid-template-rows: auto 1fr auto;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -2;
  background: #273329 url("hero-alpine.jpg") 54% 52% / cover no-repeat;
  animation: reveal 1.4s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 13, 10, 0.48) 0%, rgba(7, 13, 10, 0.08) 34%, rgba(7, 13, 10, 0.14) 58%, rgba(7, 13, 10, 0.75) 100%),
    linear-gradient(90deg, rgba(7, 13, 10, 0.7) 0%, rgba(7, 13, 10, 0.3) 42%, rgba(7, 13, 10, 0.02) 74%);
}

.site-header,
.home-footer {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-inline: clamp(1.4rem, 5vw, 5.5rem);
}

.site-header {
  padding-top: clamp(1.4rem, 4vh, 3rem);
}

.brand {
  display: inline-flex;
  width: max-content;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  filter:
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.62))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.62))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.62))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.62))
    drop-shadow(0 0.5rem 1.2rem rgba(0, 0, 0, 0.3));
}

.brand-image {
  display: block;
  width: clamp(10.5rem, 15vw, 13.5rem);
  height: auto;
}

.eyebrow,
.home-footer {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-copy {
  align-self: center;
  min-width: 0;
  width: min(48rem, calc(100% - 2.8rem));
  margin-left: clamp(1.4rem, 9vw, 10rem);
  padding-block: 7vh;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 7.4vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.9;
  text-shadow: 0 0.1rem 2rem rgba(0, 0, 0, 0.2);
}

.intro {
  max-width: 31rem;
  margin: clamp(1.7rem, 3.8vw, 2.8rem) 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.96rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

.home-footer {
  align-items: center;
  padding-bottom: clamp(1.3rem, 3.5vh, 2.4rem);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.12em;
}

.home-footer p {
  margin: 0;
}

.home-footer nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.home-footer a {
  text-decoration-color: transparent;
  text-underline-offset: 0.28rem;
  transition: text-decoration-color 160ms ease, color 160ms ease;
}

.home-footer a:hover,
.home-footer a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

/* Legal pages */
.legal-page {
  background:
    radial-gradient(circle at 88% 4%, rgba(75, 94, 77, 0.3), transparent 32rem),
    var(--ink);
}

.legal-shell {
  width: min(72rem, calc(100% - 2.8rem));
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3rem) 0 2.5rem;
}

.legal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(3.5rem, 9vw, 7.5rem);
}

.back-link {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover,
.back-link:focus-visible {
  color: #fff;
}

.legal-content {
  width: min(45rem, 100%);
  margin-left: clamp(0rem, 8vw, 8rem);
}

.legal-kicker {
  margin: 0 0 0.85rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.legal-section {
  padding: 0 0 clamp(2rem, 5vw, 3.5rem);
}

.legal-section + .legal-section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-section h3 {
  margin: 1.6rem 0 0.7rem;
  font-size: 0.95rem;
  font-weight: 650;
}

.legal-section p,
.legal-section li,
address {
  color: var(--muted);
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.75;
}

.legal-section p {
  margin: 0.7rem 0 0;
}

.legal-section ul {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.legal-section a {
  color: var(--paper);
  text-decoration-color: rgba(245, 242, 233, 0.45);
  text-underline-offset: 0.22rem;
}

.legal-section a:hover,
.legal-section a:focus-visible {
  text-decoration-color: var(--red);
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #9da49e;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-footer p {
  margin: 0;
}

.legal-footer nav {
  display: flex;
  gap: 1.2rem;
}

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

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .hero-image {
    background-position: 60% center;
  }

  .hero-copy {
    align-self: end;
    width: auto;
    margin: 0;
    padding: 12vh 1.4rem 3.5rem;
  }

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

  .intro {
    max-width: 24rem;
  }

  .home-footer {
    align-items: flex-end;
  }

  .home-footer nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
  }

  .legal-content {
    margin-left: 0;
  }

  .legal-header {
    padding-bottom: 4.5rem;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-image {
    animation: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  :root {
    color-scheme: light;
  }

  body,
  .legal-page {
    background: #fff;
    color: #111;
  }

  .legal-section p,
  .legal-section li,
  address,
  .back-link,
  .legal-footer {
    color: #333;
  }

}
