:root {
  --green: #193e34;
  --deep: #12342b;
  --ink: #263d35;
  --gold: #dfc185;
  --gold-soft: #e0c88f;
  --paper: #faf9f5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--deep);
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  min-height: 100svh;
}

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

button, input { font: inherit; }

button { cursor: pointer; }

[hidden] { display: none !important; }

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #f2daa7;
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: #fff;
  color: var(--deep);
  padding: 12px 16px;
  border-radius: 4px;
}

.skip:focus { top: 14px; }

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

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

/* ---------- Top bar ---------- */

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 6.5%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand svg {
  width: 32px;
  height: 42px;
  color: var(--gold);
  flex: none;
}

.brand span {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: -.045em;
  line-height: 1.05;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .24em;
  margin-top: 8px;
  color: #cdd8ce;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid #ffffff2e;
  border-radius: 999px;
  background: #0f2c24a6;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #e7efe6;
  backdrop-filter: blur(4px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 #dfc18580;
  animation: pulse 2.8s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 #dfc18580; }
  70% { box-shadow: 0 0 0 9px #dfc18500; }
  100% { box-shadow: 0 0 0 0 #dfc18500; }
}

/* ---------- Hero / art ---------- */

.hero {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 130px;
}

.hero ::selection { background: var(--gold); color: var(--deep); }

.art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.scene-frame { position: absolute; inset: 0; }

.scene-motion {
  position: absolute;
  inset: -65px -28px;
  will-change: transform;
}

.scene-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 60% center;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #12342bf2 0%, #12342bdd 22%, #12342ba1 39%, #12342b26 58%, #12342b00 74%),
    linear-gradient(0deg, #12342b8c, #12342b00 30%);
}

.foliage-frame {
  position: absolute;
  top: -18px;
  right: -24px;
  width: clamp(380px, 44vw, 680px);
  aspect-ratio: 3 / 2;
}

.foliage-motion { position: absolute; inset: 0; will-change: transform; }

.foliage-image { display: block; width: 100%; height: auto; max-width: none; }

/* ---------- Content ---------- */

.content {
  position: relative;
  width: 100%;
  padding: 0 6.5%;
}

.location {
  color: #d8c99f;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.6;
  margin: 0 0 25px;
}

.heading {
  margin: 0;
  max-width: 740px;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5.3vw, 5.3rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.heading em { color: var(--gold-soft); font-weight: 400; }

.description {
  margin: 29px 0 0;
  max-width: 540px;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #e1e6df;
}

/* ---------- Notify form ---------- */

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 33px;
  max-width: 560px;
}

.notify input[type="email"] {
  flex: 1 1 260px;
  min-width: 0;
  min-height: 53px;
  padding: 15px 18px;
  border: 1px solid #ffffff38;
  border-radius: 5px;
  background: #ffffff12;
  color: #fff;
  font-size: .92rem;
}

.notify input[type="email"]::placeholder { color: #b7c5bb; }

.notify input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px #dfc18545;
}

.primary-action {
  min-height: 53px;
  padding: 15px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 5px;
  background: var(--gold);
  color: #17392f;
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.3;
  white-space: nowrap;
  transition: background .2s;
}

.primary-action:hover { background: #ecd39d; }

.form-feedback {
  margin: 16px 0 0;
  max-width: 540px;
  font-size: .85rem;
  line-height: 1.7;
  color: #d8e4d9;
}

.form-feedback.is-error { color: #f3d2a6; }

.note {
  font-size: .82rem;
  color: #ccd6cb;
  margin-top: 21px;
}

.note a {
  color: #e7d3a0;
  border-bottom: 1px solid #e7d3a066;
  padding-bottom: 1px;
}

.note a:hover { border-color: currentColor; }

/* ---------- Decorative notes ---------- */

.photo-note {
  position: absolute;
  right: 6.5%;
  bottom: 55px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.32rem;
  line-height: 1.35;
  text-shadow: 0 2px 7px var(--deep);
}

.photo-note svg { width: 40px; height: 48px; color: #e7c983; flex: none; }

.photo-note strong { font-weight: 400; font-style: italic; }

.art-label {
  position: absolute;
  right: 20px;
  bottom: 13px;
  font-size: .75rem;
  color: #fff;
  background: #12342be0;
  padding: 2px 8px;
  border-radius: 3px;
}

/* ---------- Footer ---------- */

.footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 6.5% 22px;
  font-size: .8rem;
  color: #c3cfc6;
  background: linear-gradient(0deg, #0e2a22cc, #0e2a2200);
}

.footer p { margin: 0; }

.footer-note { color: #9fb0a6; font-size: .74rem; text-align: right; }

/* ---------- Entrance ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal .9s cubic-bezier(.22, .61, .36, 1) forwards;
}

.reveal--1 { animation-delay: .05s; }
.reveal--2 { animation-delay: .16s; }
.reveal--3 { animation-delay: .27s; }
.reveal--4 { animation-delay: .38s; }
.reveal--5 { animation-delay: .49s; }

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (min-width: 1600px) {
  .hero { padding: 170px 0 150px; }
  .content { padding-left: max(6.5%, calc((100vw - 1350px) / 2)); }
  .heading { font-size: 5.5rem; }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .topbar { padding: 22px 5%; }
  .hero { padding: 140px 0 120px; }
  .content { padding: 0 5%; }
  .heading { font-size: 4rem; }
  .primary-action { padding: 15px 20px; font-size: .86rem; }
  .shade {
    background:
      linear-gradient(90deg, #12342bf5, #12342bd9 28%, #12342b80 52%, #12342b00 82%),
      linear-gradient(0deg, #12342b8c, transparent 30%);
  }
}

@media (max-width: 800px) {
  .topbar { padding: 20px 6%; }
  .brand svg { width: 28px; height: 37px; }
  .brand span { font-size: 1.35rem; }
  .brand small { font-size: .54rem; }
  .status { padding: 7px 12px; font-size: .62rem; }
  .status-dot { width: 6px; height: 6px; }

  .hero {
    align-items: flex-start;
    padding: 120px 0 280px;
  }
  .content { padding: 0 6%; }
  .heading { font-size: clamp(2.55rem, 7.9vw, 3.7rem); }
  .description { margin-top: 25px; max-width: 430px; font-size: 1rem; }

  .scene-frame {
    top: auto;
    height: 62%;
    bottom: 0;
    mask-image: linear-gradient(180deg, transparent 0%, #00000008 8%, #00000025 19%, #00000070 34%, #000000c9 50%, #000 68%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #00000008 8%, #00000025 19%, #00000070 34%, #000000c9 50%, #000 68%);
  }
  .scene-motion { inset: -32px -20px; }
  .scene-image { object-position: 76% center; }
  .shade {
    background:
      linear-gradient(180deg, #12342b00 18%, #12342b96 39%, #12342b38 60%, #12342b00 78%),
      linear-gradient(0deg, #12342b80, transparent 18%);
  }
  .foliage-frame { top: -14px; right: -32px; width: clamp(180px, 30vw, 250px); }

  .notify { gap: 11px; }
  .notify input[type="email"] { flex: 1 1 100%; }
  .primary-action { width: 100%; }
  .note { max-width: 320px; line-height: 1.75; }

  .photo-note {
    left: 6%;
    right: auto;
    bottom: 78px;
    font-size: 1.2rem;
  }
  .art-label { right: 12px; }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 6%;
  }
  .footer-note { text-align: left; }
}

@media (max-width: 480px) {
  .topbar { padding: 18px 6%; gap: 12px; }
  .brand span { font-size: 1.2rem; }
  .brand small { letter-spacing: .18em; }
  .status { font-size: .56rem; letter-spacing: .1em; padding: 6px 10px; }

  .hero { padding: 108px 0 300px; }
  .location { font-size: .65rem; letter-spacing: .13em; margin-bottom: 22px; }
  .heading { font-size: clamp(2.35rem, 10.6vw, 3.17rem); line-height: 1.1; }
  .description { font-size: .97rem; margin-top: 24px; max-width: 330px; }
  .desktop-break { display: none; }

  .notify input[type="email"] { min-height: 52px; font-size: .87rem; }
  .primary-action { font-size: .84rem; min-height: 52px; }

  .scene-frame { height: 56%; }
  .scene-image { object-position: 77% center; }
  .photo-note { font-size: 1.05rem; gap: 8px; bottom: 84px; }
  .photo-note svg { width: 32px; height: 40px; }
  .art-label { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scene-motion, .foliage-motion { transform: none !important; will-change: auto; }
  .primary-action { transition: none; }
  .status-dot { animation: none; }
  .reveal { opacity: 1; transform: none; animation: none; }
}
