@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root {
  --cream: #f6f0e4;
  --gold: #e3b764;
  --rust: #d96f45;
  --ink: #10211d;
  --glass: rgba(9, 27, 23, .34);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
}
button { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.slides, .slide, .shade { position: absolute; inset: 0; }
.slides { z-index: -3; background: #17372f; }
.slide {
  opacity: 0;
  transform: scale(1.035);
  background-position: center;
  background-size: cover;
  transition: opacity 1.5s ease, transform 8s linear;
}
.slide.is-active { opacity: 1; transform: scale(1); }
.slide:nth-child(1) { background-position: center 62%; }
.slide:nth-child(2) { background-position: center 58%; }
.slide:nth-child(3) { background-position: center 48%; }
.slide:nth-child(4) { background-position: center 58%; }
.shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 22, 18, .86) 0%, rgba(7, 22, 18, .55) 48%, rgba(7, 22, 18, .18) 100%),
    linear-gradient(180deg, rgba(7, 22, 18, .2) 0%, rgba(7, 22, 18, .06) 50%, rgba(7, 22, 18, .74) 100%);
}
.shade::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
  pointer-events: none;
}

.site-header, .site-footer, .hero {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(1.2rem, 3vw, 2.4rem);
}
.logo-link { display: block; width: clamp(210px, 25vw, 318px); }
.logo-link img { display: block; width: 100%; height: auto; }
.site-header p {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero {
  align-self: center;
  padding-block: clamp(4rem, 8vh, 7rem);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.35rem;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span { width: 42px; height: 2px; background: currentColor; }
h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(4.1rem, 10.8vw, 9.4rem);
  font-weight: 700;
  line-height: .84;
  letter-spacing: -.065em;
  text-wrap: balance;
}
h1 em { color: var(--gold); font-weight: 600; }
.message {
  max-width: 640px;
  margin: 2rem 0 0;
  color: rgba(246, 240, 228, .82);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}
.message strong { color: var(--cream); }
.status {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.8rem;
  padding: .62rem .9rem;
  border: 1px solid rgba(246, 240, 228, .22);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 5px rgba(217, 111, 69, .14);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(1.4rem, 3vw, 2.5rem);
}
.site-footer p {
  margin: 0;
  color: rgba(246, 240, 228, .62);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer p span { padding-inline: .45rem; color: var(--gold); }
.slideshow-controls { display: flex; align-items: center; gap: 1rem; }
.pause {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(246, 240, 228, .25);
  border-radius: 50%;
  background: rgba(9, 27, 23, .25);
  color: var(--cream);
  cursor: pointer;
}
.pause:hover, .pause:focus-visible { background: rgba(246, 240, 228, .18); }
.pause-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.pause[aria-pressed="true"] .pause-icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.dots { display: flex; gap: .55rem; }
.dot {
  width: 28px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(246, 240, 228, .35);
  cursor: pointer;
  transition: background .25s, width .25s;
}
.dot.is-active { width: 46px; background: var(--gold); }

@media (max-width: 700px) {
  .site-header, .site-footer, .hero { width: min(100% - 2rem, 1180px); }
  .site-header { align-items: flex-start; }
  .site-header p { max-width: 110px; text-align: right; line-height: 1.5; }
  .hero { padding-block: 3rem; }
  h1 { font-size: clamp(3.8rem, 18vw, 6.2rem); }
  .message { line-height: 1.6; }
  .site-footer { align-items: flex-end; }
  .site-footer p { max-width: 170px; line-height: 1.6; }
  .site-footer p span { display: none; }
  .site-footer p { display: grid; }
  .dot { width: 18px; }
  .dot.is-active { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: opacity .3s ease; transform: none; }
}
