:root {
  --ink: #233d66;
  --ink-soft: #314460;
  --gold: #c59b61;
  --gold-soft: rgba(197, 155, 97, 0.3);
  --cream: #fcf8f2;
  --white-soft: rgba(255, 255, 255, 0.8);
  --white-strong: rgba(255, 255, 255, 0.92);
}

html {
  scroll-behavior: smooth;
  -webkit-user-select: none; /* Safari */        
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: "Cormorant Garamond", serif;
}

.hero-page,
.hero-shell {
  min-height: 100vh;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(252, 248, 242, 0.74) 100%);
}

.hero-backdrop,
.hero-glow {
  position: absolute;
  inset: 0;
}

.hero-backdrop {
  background-image:

    url("assets/amalfi-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
}

.hero-glow {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.68) 18%, rgba(255, 255, 255, 0.18) 34%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.52) 18%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(252, 248, 242, 0.9) 100%);
}

.hero-content,
.farewell-band {
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-top: 2.25rem;
  padding-bottom: 12rem;
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto 0.5rem;
}

.hero-heart {
  color: var(--gold);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1;
}

.hero-eyebrow {
  margin-top: 0.6rem;
  color: #775d3f;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.title-lockup {
  display: block;
  width: min(100%, 700px);
  height: auto;
  margin: 1rem auto 0;
  filter: drop-shadow(0 12px 24px rgba(255, 255, 255, 0.2));
}

.title-lockup .amalfi-word {
  fill: var(--ink);
  font-family: "BJCree", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 150px;
  letter-spacing: 8px;
}

.title-lockup .italy-word {
  fill: var(--gold);
  font-family: "Allura", cursive;
  font-size: 128px;
}

.title-lockup .lockup-heart {
  fill: var(--gold);
  font-family: "Allura", cursive;
  font-size: 90px;
}

.hero-subtitle {
  margin-top: 1.2rem;
  color: #2f2f35;
  font-size: clamp(1.5rem, 2.1vw, 2rem);
  letter-spacing: 0.02em;
}

.countdown-shell {
  position: relative;
  max-width: 880px;
  padding: 2rem 1.8rem 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  box-shadow: 0 24px 64px rgba(84, 79, 76, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition:all 0.4s
}

.countdown-shell:hover{
  transform: scale(1.03);
}

.countdown-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.countdown-kicker,
.countdown-grid,
.countdown-divider {
  position: relative;
  z-index: 1;
}

.countdown-kicker {
  color: var(--ink);
  font-family: "BJCree", serif;
  font-weight: 400;
  font-style: normal;
  word-spacing: -0.7rem;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  text-align: center;
  -webkit-user-select: none; /* Safari */        
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* IE10+/Edge */
user-select: none; /* Standard */
}

.countdown-grid {
  margin-top: 1rem;
}

.time-block {
  padding: 0.85rem 1rem;
}

.time-value {
  color: var(--ink);
  font-family: "BJCree", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 0.92;
}

.time-label {
  color: var(--gold);
  font-size: clamp(1.8rem, 2vw, 2.1rem);
  letter-spacing: 0.14em;
  font-family: "Allura", cursive;
  font-weight: 500;
  font-style: bold;
}

.countdown-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
}

.countdown-divider span {
  width: min(17vw, 7.2rem);
  height: 1px;
  background: var(--gold-soft);
}

.countdown-divider .divider-heart {
  width: auto;
  height: auto;
  background: none;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.farewell-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5.25rem 1.5rem 2.75rem;
  background: linear-gradient(180deg, rgba(252, 248, 242, 0.12) 0%, rgba(252, 248, 242, 0.96) 38%, rgba(252, 248, 242, 1) 100%);
  border-top-left-radius: 50% 26%;
  border-top-right-radius: 50% 26%;
}

.farewell-script {
  color: var(--ink);
  font-family: "Allura", cursive;
  font-size: clamp(3rem, 4.8vw, 4.5rem);
  line-height: 1;
}

.launch-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.92rem 2.5rem;
  border-radius: 999px;
  background: rgba(243, 228, 208, 0.96);
  box-shadow: 0 12px 28px rgba(166, 136, 96, 0.18);
  color: #6b5637;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.launch-btn:hover,
.launch-btn:focus-visible {
  background: rgba(245, 233, 216, 1);
  color: #6b5637;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(166, 136, 96, 0.24);
}

.launch-btn:focus-visible {
  outline: 2px solid rgba(197, 155, 97, 0.55);
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .time-block + .time-block {
    border-left: 1px solid var(--gold-soft);
  }
}

@media (max-width: 991.98px) {
  .hero-content {
    padding-bottom: 11rem;
  }

  .countdown-shell {
    max-width: 700px;
  }

  .time-block:nth-child(even) {
    border-left: 1px solid var(--gold-soft);
  }

  .time-block:nth-child(n + 3) {
    margin-top: 0.7rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--gold-soft);
  }

  .farewell-band {
    padding-top: 4.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    padding-top: 1.35rem;
    padding-bottom: 9.5rem;
  }

  .hero-eyebrow {
    letter-spacing: 0.14em;
  }

  .title-lockup {
    width: min(100%, 520px);
  }
  
  .hero-subtitle {
    max-width: 17rem;
    margin: 0.95rem auto 0;
  }

  .countdown-shell {
    padding: 1.45rem 1rem 1.1rem;
    border-radius: 1.4rem;
  }

  .countdown-kicker {
    font-size: 1.45rem;
  }

  .time-label {
    font-size: 1rem;
    letter-spacing: 0.11em;
  }

  .farewell-band {
    padding: 4rem 1rem 2.25rem;
    border-top-left-radius: 50% 18%;
    border-top-right-radius: 50% 18%;
  }

  .launch-btn {
    width: min(100%, 22rem);
  }
}
