:root {
  --evergreen: #061b16;
  --evergreen-deep: #02110d;
  --ivory: #f7edda;
  --ivory-muted: rgba(247, 237, 218, 0.78);
  --gold: #d5a44d;
  --gold-light: #edcd88;
  --burgundy: #731b21;
  --burgundy-light: #9f3437;
  --content-width: 760px;
  --display: "Bodoni Moda", Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--evergreen-deep);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ivory);
  background:
    radial-gradient(circle at 12% 66%, rgba(255,255,255,0.055) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 80%, rgba(255,255,255,0.045) 0 1px, transparent 2px),
    linear-gradient(180deg, #08251e 0%, var(--evergreen-deep) 72%);
  font-family: var(--sans);
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; }

.snow-canvas {
  position: fixed;
  z-index: 8;
  inset: 0;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(760px, 100svh, 980px);
  padding: clamp(96px, 11vw, 142px) 24px 80px;
  align-items: flex-start;
  justify-content: center;
  background-image:
    linear-gradient(90deg, rgba(2, 18, 14, 0.9) 0%, rgba(2, 18, 14, 0.62) 39%, rgba(2, 18, 14, 0.05) 68%),
    linear-gradient(180deg, rgba(3, 20, 16, 0.2) 0%, rgba(3, 20, 16, 0.02) 66%, var(--evergreen) 100%),
    url("assets/sleigh-banner.jpg");
  background-position: center, center, center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-copy {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: left;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold-light);
  font-size: clamp(0.78rem, 1.5vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 660px;
  margin: 0;
  color: var(--ivory);
  font-family: var(--display);
  font-size: clamp(4rem, 8.5vw, 7.7rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.42);
}

.hero-intro {
  margin: 26px 0 0;
  color: rgba(247, 237, 218, 0.9);
  font-size: clamp(1rem, 2.1vw, 1.3rem);
  line-height: 1.55;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.65);
}

.social-links {
  display: flex;
  margin-top: 26px;
  gap: 14px;
}

.social-link {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(2, 18, 14, 0.66);
  box-shadow: 0 9px 24px rgba(0,0,0,0.22);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.social-link:hover {
  background: var(--gold);
  transform: translateY(-3px);
}

.social-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.content-wrap {
  position: relative;
  width: min(calc(100% - 32px), var(--content-width));
  margin: clamp(-72px, -6vw, -48px) auto 0;
  padding: 0 0 80px;
}

.countdown {
  display: grid;
  min-height: 150px;
  padding: 28px clamp(22px, 5vw, 42px);
  grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
  align-items: center;
  gap: 20px;
  border: 1px solid var(--gold);
  border-radius: 34px;
  background: rgba(1, 22, 17, 0.92);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.countdown[hidden] { display: none; }

.countdown-label {
  grid-column: 1 / -1;
  margin: 0 0 -4px;
  color: var(--ivory);
  font-size: clamp(0.7rem, 1.5vw, 0.88rem);
  font-weight: 700;
  letter-spacing: 0.31em;
  line-height: 1.5;
  text-transform: uppercase;
}

.countdown-rule {
  width: 100%;
  height: 1px;
  background: var(--gold);
}

.countdown-days {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--display);
  font-size: clamp(1.9rem, 5.7vw, 3rem);
  line-height: 1;
  white-space: nowrap;
}

.link-section { margin-top: 46px; }
.enquiries { margin-top: 30px; }

.link-list {
  display: grid;
  gap: 16px;
}

.link-card {
  position: relative;
  display: flex;
  min-height: 86px;
  padding: 20px 28px 20px clamp(28px, 6vw, 54px);
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(247, 237, 218, 0.8);
  border-radius: 999px;
  outline: none;
  color: var(--ivory);
  background: rgba(2, 25, 19, 0.72);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.link-card:hover {
  border-color: var(--gold-light);
  background: rgba(8, 50, 38, 0.9);
  box-shadow: 0 18px 36px rgba(0,0,0,0.22);
  transform: translateY(-3px);
}

.link-card--featured {
  border-color: rgba(247, 237, 218, 0.92);
  background: linear-gradient(100deg, var(--burgundy) 0%, var(--burgundy-light) 52%, var(--burgundy) 100%);
}

.link-card--featured:hover { background: #8b272c; }

.link-title {
  min-width: 0;
  flex: 1;
  font-family: var(--display);
  font-size: clamp(1.24rem, 3.2vw, 1.78rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.link-arrow {
  flex: none;
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 180ms ease;
}

.link-card:hover .link-arrow { transform: translateX(4px); }

.link-card--whatsapp {
  min-height: 96px;
  border-color: var(--gold-light);
  color: #16130c;
  background: linear-gradient(105deg, #c8943e 0%, #f0d18c 42%, #d2a34f 100%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}

.link-card--whatsapp:hover {
  color: #16130c;
  background: #e4bc6b;
}

.link-card--whatsapp .link-title { font-weight: 700; }

.link-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  filter: brightness(0) saturate(100%);
}

.footer {
  display: flex;
  margin-top: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(247, 237, 218, 0.56);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-align: center;
}

.footer p { margin: 0; }
.footer a { color: rgba(247, 237, 218, 0.7); text-underline-offset: 3px; }

.mobile-whatsapp {
  position: fixed;
  z-index: 20;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: none;
  min-height: 50px;
  padding: 12px 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(2, 17, 13, 0.18);
  border-radius: 999px;
  color: #06140c;
  background: var(--gold-light);
  box-shadow: 0 14px 34px rgba(0,0,0,0.36);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-whatsapp img { filter: brightness(0) saturate(100%); }

.noscript-message {
  position: fixed;
  z-index: 30;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 560px;
  margin: auto;
  padding: 14px 18px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: var(--evergreen-deep);
  color: var(--ivory);
  text-align: center;
}

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

.social-link:focus-visible,
.link-card:focus-visible,
.mobile-whatsapp:focus-visible,
.footer a:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .hero {
    min-height: 760px;
    padding: 72px 22px 120px;
    background-image:
      linear-gradient(180deg, rgba(2, 18, 14, 0.5) 0%, rgba(2, 18, 14, 0.06) 42%, rgba(2, 18, 14, 0.16) 66%, var(--evergreen) 100%),
      url("assets/sleigh-banner.jpg");
    background-position: center, 58% center;
  }

  .hero-copy { text-align: left; }
  h1 { max-width: 470px; font-size: clamp(3.6rem, 17vw, 5.6rem); }
  .hero-intro { max-width: 430px; }
  .content-wrap { margin-top: -90px; }
  .mobile-whatsapp { display: flex; }
  .footer { padding-bottom: 54px; flex-direction: column; gap: 4px; }
}

@media (max-width: 520px) {
  .hero { min-height: 720px; padding-top: 58px; background-position: center, 62% center; }
  .eyebrow { margin-bottom: 16px; font-size: 0.69rem; letter-spacing: 0.22em; }
  .hero-intro { margin-top: 20px; font-size: 0.95rem; }
  .social-links { margin-top: 22px; gap: 11px; }
  .social-link { width: 47px; height: 47px; }
  .social-link img { width: 21px; height: 21px; }
  .content-wrap { width: min(calc(100% - 24px), var(--content-width)); }
  .countdown { min-height: 132px; padding: 24px 18px; gap: 12px; border-radius: 28px; }
  .countdown-label { font-size: 0.61rem; letter-spacing: 0.24em; }
  .countdown-days { font-size: clamp(1.55rem, 7.8vw, 2.25rem); }
  .link-section { margin-top: 34px; }
  .link-list { gap: 12px; }
  .link-card { min-height: 74px; padding: 17px 20px 17px 25px; gap: 12px; }
  .link-title { font-size: clamp(1.02rem, 5.1vw, 1.3rem); }
  .link-arrow { font-size: 1.6rem; }
  .link-card--whatsapp { min-height: 82px; }
  .link-icon { width: 27px; height: 27px; flex-basis: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .snow-canvas { display: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
