:root {
  --navy: #0a1628;
  --dark: #060e1a;
  --cream: #f4ede2;
  --gold: #c5a059;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy);
  color: var(--cream);
  font-family: "DM Sans", sans-serif;
}

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

button,
input,
select {
  font: inherit;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-background,
.closing-background {
  position: absolute;
  inset: 0;
}

.hero-background img,
.closing-background img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(23,40,59,.45) 0%,
      rgba(23,40,59,.35) 45%,
      rgba(23,40,59,.62) 100%
    ),
    rgba(0,0,0,.04);
}

.hero-content::before {
    content: "";
    position: absolute;
    inset: -40px -80px;
    background: radial-gradient(
        ellipse at center,
        rgba(10, 18, 22, 0.38) 0%,
        rgba(10, 18, 22, 0.22) 40%,
        rgba(10, 18, 22, 0.08) 65%,
        transparent 82%
    );
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content::before {
    content: "";
    position: absolute;
    inset: -35px -70px;
    background: radial-gradient(
        ellipse at center,
        rgba(8, 16, 22, 0.38) 0%,
        rgba(8, 16, 22, 0.22) 40%,
        rgba(8, 16, 22, 0.07) 68%,
        transparent 85%
    );
    z-index: -1;
    pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 90%);
  padding: 80px 20px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--cream);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.045em;
}

.hero h1 span {
  display: block;
}

.hero h1 span:first-child {
  font-size: clamp(4rem, 8vw, 7rem);
}

.hero h1 span:last-child {
  font-size: clamp(4.5rem, 10vw, 9rem);
}

.hero-location {
  margin-top: 20px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px auto;
}

.hero-tags .line {
  width: 40px;
  height: 1px;
  background: rgba(197,160,89,.5);
}

.hero-tags p {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero-tags b {
  color: var(--gold);
  margin: 0 6px;
}

.hero-intro {
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-style: italic;
}

.hero-description {
  max-width: 580px;
  margin: auto;
  color: rgba(244,237,226,.8);
  line-height: 1.7;
}

.primary-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 100px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.primary-button {
  margin-top: 32px;
  padding: 16px 34px;
}

.primary-button:hover,
.form-submit:hover {
  background: #d9b872;
}

.validation-note {
  max-width: 470px;
  margin: 22px auto 0;
  color: rgba(244,237,226,.58);
  font-size: 12px;
  line-height: 1.6;
}

.scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  width: 20px;
  height: 36px;
  transform: translateX(-50%);
  border: 1px solid rgba(244,237,226,.3);
  border-radius: 20px;
}

.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto;
  border-radius: 10px;
  background: var(--gold);
}

/* FEATURES */

.features {
  padding: 110px 6%;
  background: #F4F0E8;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 65px;
  text-align: center;
}

.section-heading .eyebrow {
  color: #B79A62;
}

.section-heading h2 {
  color: #17283B;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
}

.section-heading h2 span {
  color: transparent;
  -webkit-text-stroke: 1px #B79A62;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1200px;
  margin: auto;
}

.feature {
  padding: 15px;
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid rgba(183, 154, 98, .45);
  border-radius: 50%;
  color: #B79A62;
  font-size: 24px;
}

.feature h3 {
  min-height: 40px;
  margin-bottom: 10px;
  color: #17283B;
  font-size: 12px;
  letter-spacing: .12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.feature p {
  color: rgba(23, 40, 59, .65);
  font-size: 12px;
  line-height: 1.6;
}

/* REGISTRATION */

.registration-section {
  padding: 90px 5%;
  background: #17283B;
}

.registration-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1150px;
  margin: auto;
  overflow: hidden;
  border-radius: 28px;
}

.registration-image {
  position: relative;
  min-height: 750px;
}

.registration-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% center;
}

.registration-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    transparent,
    rgba(6,14,26,.65)
  );
}

.image-caption {
  position: absolute;
  z-index: 2;
  left: 35px;
  right: 35px;
  bottom: 35px;
}

.image-caption p {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.image-caption h3 {
  margin-top: 8px;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 500;
}

.registration-panel {
  padding: 55px 50px;
  background: var(--cream);
  color: var(--navy);
}

.form-eyebrow {
  margin-bottom: 8px;
  color: rgba(10,22,40,.55);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin-bottom: 14px;
  font-family: "Playfair Display", serif;
  font-size: 42px;
  line-height: 1.05;
}

.form-heading h2 span {
  color: #a8862b;
}

.form-heading > p:last-child {
  margin-bottom: 30px;
  color: rgba(10,22,40,.7);
  font-size: 14px;
  line-height: 1.65;
}

.form-field {
  margin-top: 20px;
}

.form-field label,
.interest-options legend {
  display: block;
  margin-bottom: 7px;
  color: rgba(10,22,40,.62);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(10,22,40,.2);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--navy);
}

.interest-options {
  margin-top: 28px;
  border: 0;
}

.interest-options > p {
  margin-bottom: 14px;
  color: rgba(10,22,40,.45);
  font-size: 11px;
  font-style: italic;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-grid label,
.marketing-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-grid label {
  font-size: 13px;
}

input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--navy);
}

.marketing-consent {
  align-items: flex-start;
  margin-top: 25px;
  padding: 14px;
  border: 1px solid rgba(10,22,40,.1);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  margin-top: 28px;
  padding: 16px;
}

.form-note {
  margin-top: 18px;
  color: rgba(10,22,40,.55);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.privacy-note {
  margin-top: 10px;
  color: rgba(10,22,40,.45);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.privacy-note a {
  color: inherit;
}

/* CLOSING */

.closing-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.closing-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6,14,26,.22) 0%,
      rgba(10,22,40,.16) 45%,
      rgba(6,14,26,.32) 100%
    ),
    rgba(0,0,0,.04);
}

.closing-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.closing-content h2 {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  line-height: .95;
}

.closing-content h2 {
  text-shadow: 0 3px 18px rgba(6, 14, 26, .65);
}

.closing-background {
  position: absolute;
  inset: 0;
}

.closing-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.closing-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 30px;
}

.closing-location span {
  width: 55px;
  height: 2px;
  background: rgba(197,160,89,.85);
}

.closing-location p {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(6, 14, 26, .75);
}

/* FOOTER */

footer {
  padding: 45px 20px;
  background: var(--navy);
  text-align: center;
}

.footer-name {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
}

.footer-location {
  margin-top: 5px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

footer a {
  display: inline-block;
  margin-top: 22px;
  color: rgba(244,237,226,.65);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.copyright {
  margin-top: 20px;
  color: rgba(244,237,226,.35);
  font-size: 10px;
}

/* REVEALS */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 35px 0;
  }

  .registration-wrapper {
    grid-template-columns: 1fr;
  }

  .registration-image {
    min-height: 450px;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 70px 5px;
  }

  .hero h1 span:first-child {
    font-size: 3.6rem;
  }

  .hero h1 span:last-child {
    font-size: 4.1rem;
  }

  .hero-tags .line {
    display: none;
  }

  .hero-tags p {
    font-size: 9px;
    letter-spacing: .12em;
  }

  .features {
  padding: 70px 20px;
  overflow: visible;
}

.section-heading {
  padding: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px 20px;
  padding: 0;
  overflow: visible;
}

.feature {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

  .registration-section {
    padding: 55px 16px;
  }

  .registration-wrapper {
    border-radius: 20px;
  }

  .registration-image {
    min-height: 330px;
  }

  .registration-panel {
    padding: 40px 25px;
  }

  .form-heading h2 {
    font-size: 34px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .closing-section {
    min-height: 500px;
  }

  .closing-location span {
    width: 25px;
  }

  .closing-location p {
    font-size: 9px;
  }
}

.hero-logo {
  width: 130px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

/* =========================
   PRIVACY POLICY
========================= */

.privacy-section {
  padding: 100px 6%;
  background: var(--cream);
  color: var(--navy);
}

.privacy-content {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-section .eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
}

.privacy-content h2 {
  margin-bottom: 35px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
}

.privacy-content h3 {
  margin: 32px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
}

.privacy-content p {
  color: rgba(10, 22, 40, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.privacy-content .privacy-updated {
  margin-top: 40px;
  color: rgba(10, 22, 40, 0.45);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   FORM SUCCESS
========================= */

.form-success {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.success-tick {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 24px;
}

.form-success .form-eyebrow {
  margin-bottom: 10px;
}

.form-success h2 {
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--navy);
}

.form-success h2 span {
  color: #a8862b;
}

.form-success > p:last-child {
  max-width: 460px;
  color: rgba(10, 22, 40, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.privacy-back {
  display: inline-block;
  margin-bottom: 40px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.privacy-back:hover {
  color: var(--navy);
}

footer a {
  text-decoration: none;
}