:root {
  --cream: #f6f1e7;
  --cream-soft: rgba(246, 241, 231, 0.74);
  --green: #10271f;
  --green-light: #1b3a2f;
  --gold: #c7a56a;
  --line: rgba(255, 255, 255, 0.24);
  --glass: rgba(13, 30, 24, 0.28);
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--green);
  color: var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

a { color: inherit; }

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  z-index: 20;
  left: 1rem;
  top: 1rem;
  padding: 0.75rem 1rem;
  background: var(--cream);
  color: var(--green);
  border-radius: 999px;
}

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

.hero-media,
.hero-slide,
.hero-overlay,
.hero-noise {
  position: absolute;
  inset: 0;
}

.hero-media { z-index: -2; background: #08140f; }

.hero-slide {
  background-image: var(--image);
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease, transform 8s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 20, 15, 0.9) 0%, rgba(7, 20, 15, 0.69) 42%, rgba(7, 20, 15, 0.28) 72%, rgba(7, 20, 15, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.02) 50%, rgba(0, 0, 0, 0.42) 100%);
}

.hero-noise {
  z-index: 3;
  opacity: 0.11;
  pointer-events: none;
  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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.site-header,
.site-footer,
.hero-content {
  width: min(100% - 3rem, 1440px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: clamp(1.4rem, 3vw, 2.5rem);
  z-index: 4;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.brand-copy {
  display: grid;
  line-height: 1;
  letter-spacing: 0.28em;
}

.brand-copy strong {
  font-size: 0.96rem;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 0.42rem;
  color: var(--cream-soft);
  font-size: 0.58rem;
  letter-spacing: 0.52em;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.8rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease;
}

.header-link:hover { background: rgba(18, 47, 36, 0.54); border-color: rgba(255,255,255,.42); }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(199, 165, 106, 0.13);
}

.hero-content {
  z-index: 4;
  align-self: center;
  padding-block: clamp(3.5rem, 9vh, 8rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(246, 241, 231, 0.8);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

h1 {
  max-width: 960px;
  margin: clamp(1.25rem, 3vh, 2rem) 0 1.25rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.3rem, 7.7vw, 7.9rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-shadow: 0 10px 60px rgba(0,0,0,.28);
}

h1 em {
  color: #e4c38b;
  font-weight: 500;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: rgba(246, 241, 231, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.notify-form {
  position: relative;
  display: flex;
  width: min(100%, 580px);
  margin-top: clamp(1.7rem, 4vh, 2.6rem);
  gap: 0.65rem;
}

.input-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: rgba(246, 241, 231, 0.68);
  transition: border-color 180ms ease, background 180ms ease;
}

.input-wrap:focus-within {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.14);
}

.input-wrap input {
  width: 100%;
  min-height: 56px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cream);
  font-size: 0.96rem;
}

.input-wrap input::placeholder { color: rgba(246, 241, 231, 0.58); }

.notify-form button {
  min-height: 56px;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 4px;
  background: var(--gold);
  color: #15251f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.notify-form button:hover { transform: translateY(-2px); background: #d4b47b; }
.notify-form button:active { transform: translateY(0); }

.form-message {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  margin: 0;
  min-height: 1.2rem;
  color: var(--cream);
  font-size: 0.82rem;
}

.form-message.is-error { color: #ffd0c8; }
.form-message.is-success { color: #e5d4b4; }

.experience-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: clamp(2.4rem, 6vh, 4.7rem);
  color: rgba(246, 241, 231, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.experience-list i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.site-footer {
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-bottom: clamp(1.2rem, 2.5vw, 2.1rem);
  color: rgba(246, 241, 231, 0.58);
  font-size: 0.75rem;
}

.site-footer p { margin: 0; }
.domain { justify-self: end; text-decoration: none; }
.domain:hover { color: var(--cream); }

.slide-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.slide-control {
  width: 26px;
  height: 2px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.slide-control.is-active { width: 44px; background: var(--gold); }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.8s cubic-bezier(.2,.7,.2,1) forwards;
}
.reveal-1 { animation-delay: .12s; }
.reveal-2 { animation-delay: .24s; }
.reveal-3 { animation-delay: .38s; }
.reveal-4 { animation-delay: .50s; }
.reveal-5 { animation-delay: .62s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .hero-content { width: min(100% - 2rem, 1440px); }

  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 0.82rem; }
  .header-link { padding: 0.65rem 0.8rem; font-size: 0.68rem; }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(7,20,15,.62) 0%, rgba(7,20,15,.72) 48%, rgba(7,20,15,.9) 100%),
      linear-gradient(90deg, rgba(7,20,15,.55), rgba(7,20,15,.22));
  }

  .hero-content { padding-block: 3.2rem 4.6rem; }
  h1 { font-size: clamp(3.05rem, 15.5vw, 5.2rem); line-height: .98; }
  .hero-copy { line-height: 1.65; }

  .notify-form { flex-direction: column; }
  .notify-form button { width: 100%; }
  .form-message { position: static; width: 100%; margin-top: -0.1rem; }

  .experience-list { margin-top: 2rem; gap: 0.65rem; font-size: 0.67rem; }

  .site-footer {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "controls domain"
      "copyright copyright";
    row-gap: 0.85rem;
  }
  .slide-controls { grid-area: controls; }
  .domain { grid-area: domain; }
  .site-footer p { grid-area: copyright; }
}

@media (max-height: 720px) and (min-width: 761px) {
  .hero-content { padding-block: 2.2rem; }
  h1 { font-size: clamp(3.6rem, 7vw, 6rem); }
  .experience-list { margin-top: 2rem; }
}

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