:root {
  --forest: #10180f;
  --forest-deep: #070a07;
  --charcoal: #11100d;
  --brick: #5d2419;
  --sand: #d8c29c;
  --sand-soft: #f2e6cf;
  --warm-white: #fff8ec;
  --muted: rgba(255, 248, 236, 0.74);
  --line: rgba(255, 248, 236, 0.2);
  --red: #a92620;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: var(--forest-deep);
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--warm-white);
  background:
    radial-gradient(circle at 12% 16%, rgba(93, 36, 25, 0.34), transparent 30rem),
    radial-gradient(circle at 84% 8%, rgba(216, 194, 156, 0.1), transparent 24rem),
    linear-gradient(135deg, #060806 0%, var(--forest) 46%, #0a0b08 100%);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
  padding: 22px 18px 16px;
  isolation: isolate;
}

.ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 10, 7, 0.18), rgba(7, 10, 7, 0.82)),
    repeating-linear-gradient(90deg, rgba(255, 248, 236, 0.018) 0 1px, transparent 1px 80px);
}

.hero__grid {
  align-self: center;
  display: grid;
  gap: 22px;
  width: min(100%, 1160px);
  margin: 0 auto;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  text-align: center;
}

.brand {
  display: inline-flex;
  justify-content: center;
  width: min(100%, 240px);
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 248, 236, 0.16);
  border-radius: 18px;
  background: rgba(255, 248, 236, 0.93);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  text-decoration: none;
}

.brand__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0 auto;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.2rem, 12vw, 5.2rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero__statement {
  margin: 12px 0 0;
  color: var(--sand-soft);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(21px, 5.8vw, 34px);
  line-height: 1.1;
}

.hero__lead,
.hero__note {
  max-width: 600px;
  margin: 14px auto 0;
  color: rgba(255, 248, 236, 0.88);
  font-size: clamp(16px, 4.1vw, 20px);
  line-height: 1.58;
  text-wrap: pretty;
}

.hero__note {
  max-width: 540px;
  margin-top: 8px;
  color: var(--muted);
  font-size: clamp(14px, 3.6vw, 16px);
}

.actions {
  display: grid;
  gap: 10px;
  width: min(100%, 330px);
  margin: 22px auto 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--warm-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  background: rgba(255, 248, 236, 0.06);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(216, 194, 156, 0.72);
  background: rgba(255, 248, 236, 0.11);
  transform: translateY(-2px);
}

.button--primary {
  border-color: rgba(242, 230, 207, 0.72);
  color: var(--charcoal);
  background: var(--sand-soft);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: var(--charcoal);
  background: #fff0d4;
}

.hero__media {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.18);
  border-radius: 28px;
  background: #130d09;
  box-shadow: var(--shadow);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 248, 236, 0.08), transparent 38%),
    linear-gradient(0deg, rgba(7, 10, 7, 0.28), transparent 34%);
}

.hero__media img {
  width: 100%;
  height: clamp(360px, 68vh, 620px);
  object-fit: cover;
  object-position: center;
}

.footer {
  align-self: end;
  display: grid;
  gap: 6px;
  width: min(100%, 1040px);
  margin: 24px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 248, 236, 0.14);
  color: rgba(255, 248, 236, 0.72);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.footer a {
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--sand-soft);
}

.fade-target {
  opacity: 0;
  transform: translateY(14px);
}

.is-loaded .fade-target {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 900ms ease, transform 900ms ease;
}

.is-loaded .footer {
  transition-delay: 160ms;
}

@media (min-width: 560px) {
  .brand {
    width: min(100%, 280px);
  }

  .actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 420px);
  }
}

@media (min-width: 900px) {
  .hero {
    height: 100svh;
    min-height: 100svh;
    padding: 24px 38px 16px;
    overflow: hidden;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 48%) minmax(340px, 44%);
    align-items: center;
    gap: clamp(28px, 4vw, 52px);
  }

  .hero__content {
    align-items: flex-start;
    text-align: left;
  }

  .brand {
    width: min(100%, 300px);
    margin-bottom: 20px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(3.2rem, 6vw, 5.8rem);
  }

  .hero__statement {
    margin-top: 12px;
  }

  .hero__lead {
    margin-top: 14px;
    line-height: 1.48;
  }

  .hero__note {
    margin-top: 8px;
    line-height: 1.45;
  }

  h1,
  .hero__lead,
  .hero__note {
    margin-left: 0;
    margin-right: 0;
  }

  .actions {
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
  }

  .hero__media {
    width: min(34vw, 440px);
    min-width: 340px;
    justify-self: end;
    border-radius: 32px;
  }

  .hero__media img {
    height: min(68vh, 650px);
  }

  .footer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    padding-top: 10px;
    text-align: left;
  }

  .footer p:nth-child(2) {
    text-align: center;
  }

  .footer p:nth-child(3) {
    text-align: right;
  }
}

@media (min-width: 1366px) {
  .hero__grid {
    width: min(100%, 1160px);
  }

  .hero__media {
    width: 430px;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .hero__grid {
    gap: clamp(24px, 3.2vw, 44px);
  }

  .brand {
    width: min(100%, 276px);
    margin-bottom: 14px;
    padding: 8px 10px;
  }

  .eyebrow {
    margin-bottom: 7px;
  }

  h1 {
    font-size: clamp(3rem, 5.4vw, 5rem);
  }

  .hero__statement {
    margin-top: 9px;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  }

  .hero__lead {
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.42;
  }

  .hero__note {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.42;
  }

  .actions {
    margin-top: 16px;
  }

  .button {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .hero__media img {
    height: min(62vh, 520px);
  }

  .footer {
    margin-top: 10px;
    padding-top: 8px;
  }

  .footer p {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand {
    width: min(100%, 244px);
    padding: 10px 12px;
  }

  .button {
    letter-spacing: 0.1em;
  }

  .hero__media img {
    height: 360px;
  }
}

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

  .fade-target {
    opacity: 1;
    transform: none;
  }
}
