:root {
  --ink: #27142d;
  --purple-dark: #3d104d;
  --purple: #75117e;
  --magenta: #9c0d86;
  --pink: #ed4b7d;
  --cyan: #52d4d8;
  --cream: #f8f2ed;
  --white: #fff;
  --muted: #7f7382;
  --heading: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100px;
  padding: 0 clamp(28px, 5vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-v {
  width: 41px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--purple);
  clip-path: polygon(0 0, 100% 0, 74% 100%, 27% 100%);
  font: 800 28px/1 var(--heading);
}
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font: 800 14px/1 var(--heading); }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.header-date { color: var(--purple); font-size: 10px; font-weight: 700; letter-spacing: .2em; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 145px clamp(28px, 8vw, 130px) 90px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 470px);
  gap: clamp(55px, 8vw, 130px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 26%, rgba(82, 212, 216, .18), transparent 25%),
    linear-gradient(135deg, #faf5f0 43%, #f1e3ef);
}

.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow-one { width: 410px; height: 410px; right: -190px; top: 10%; border: 1px solid rgba(117, 17, 126, .13); box-shadow: 0 0 0 80px rgba(117,17,126,.02); }
.glow-two { width: 180px; height: 180px; left: 45%; bottom: 8%; background: rgba(237,75,125,.12); filter: blur(55px); }
.outline-v { position: absolute; left: -50px; bottom: -155px; color: transparent; font: 800 600px/.8 var(--heading); -webkit-text-stroke: 1px rgba(117,17,126,.07); }

.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.overline { margin: 0 0 26px; display: flex; align-items: center; gap: 12px; color: var(--purple); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.overline span { width: 34px; height: 2px; background: var(--pink); }

h1 {
  margin: 0;
  font: 800 clamp(52px, 5.7vw, 86px)/.95 var(--heading);
  letter-spacing: -.065em;
}
h1 span { display: block; color: var(--purple); font-style: italic; font-weight: 700; }
.subtitle { margin: 22px 0 0; color: var(--pink); font: 700 clamp(18px, 2vw, 27px)/1 var(--heading); letter-spacing: -.02em; }

.event-date { margin-top: 42px; display: flex; align-items: center; gap: 18px; }
.date-numbers { color: var(--purple-dark); font: 800 clamp(42px, 5vw, 66px)/1 var(--heading); letter-spacing: -.07em; }
.date-numbers i { color: var(--pink); font-size: .45em; font-weight: 700; }
.date-detail { padding-left: 18px; display: flex; flex-direction: column; border-left: 1px solid rgba(39,20,45,.18); }
.date-detail strong { font: 700 16px/1.2 var(--heading); }
.date-detail span { margin-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: .14em; }

.location {
  width: fit-content;
  min-width: 420px;
  margin-top: 37px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(39,20,45,.1);
  border-radius: 12px;
  background: rgba(255,255,255,.5);
  transition: transform .3s, box-shadow .3s, background .3s;
}
.location:hover { transform: translateY(-4px); background: white; box-shadow: 0 20px 50px rgba(57,17,68,.1); }
.location-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--purple); background: rgba(117,17,126,.09); }
.location-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.location > span:nth-child(2) { display: flex; flex-direction: column; }
.location small { color: var(--pink); font-size: 8px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.location strong { margin-top: 3px; font: 700 14px var(--heading); }
.location em { margin-top: 2px; color: var(--muted); font-size: 10px; font-style: normal; }
.location-arrow { margin-left: auto; color: var(--pink); font-size: 19px; }

.hero-poster { position: relative; z-index: 2; justify-self: end; width: min(100%, 450px); }
.poster-backdrop { position: absolute; inset: 9% -8% -5% 10%; background: linear-gradient(150deg, var(--purple), var(--magenta)); transform: rotate(5deg); opacity: .15; filter: blur(2px); }
.poster-wrap { position: relative; padding: 11px; border: 1px solid rgba(255,255,255,.8); background: rgba(255,255,255,.48); box-shadow: 0 35px 90px rgba(60,16,70,.2); transform: rotate(2deg); backdrop-filter: blur(10px); }
.poster-wrap img { width: 100%; aspect-ratio: .8; object-fit: cover; }
.poster-caption { position: absolute; right: -30px; top: 38%; color: var(--purple); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; transform: rotate(90deg); }

.scroll-cue { position: absolute; left: clamp(28px, 5vw, 78px); bottom: 35px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue span { width: 38px; height: 1px; background: var(--pink); }

.countdown-section {
  position: relative;
  min-height: 700px;
  padding: 120px clamp(28px, 8vw, 130px);
  color: white;
  background: var(--purple-dark);
  overflow: hidden;
}
.countdown-section::before { content: "2027"; position: absolute; right: -30px; bottom: -50px; color: transparent; font: 800 clamp(150px, 22vw, 340px)/.8 var(--heading); -webkit-text-stroke: 1px rgba(255,255,255,.06); }
.countdown-heading { display: flex; align-items: flex-end; gap: 42px; }
.countdown-heading p { margin: 0 0 9px; color: var(--pink); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.countdown-heading h2 { margin: 0; font: 700 clamp(38px, 4.5vw, 66px)/1.05 var(--heading); letter-spacing: -.05em; }

.countdown { position: relative; margin-top: 90px; display: grid; grid-template-columns: 1.35fr auto 1fr auto 1fr auto 1fr; align-items: center; }
.countdown-unit { text-align: center; }
.countdown-unit strong { display: block; color: white; font: 700 clamp(52px, 8vw, 112px)/.9 var(--heading); letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.countdown-days strong { color: var(--cyan); }
.countdown-unit span { display: block; margin-top: 18px; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.countdown > i { color: rgba(255,255,255,.2); font: 400 clamp(30px, 5vw, 66px)/1 var(--body); font-style: normal; transform: translateY(-12px); }

.save-date { position: relative; margin-top: 90px; display: flex; align-items: center; justify-content: center; gap: 25px; }
.save-date p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }
.save-date strong { color: white; }
.save-line { width: 65px; height: 1px; background: rgba(255,255,255,.18); }

.event-card-section { padding: 130px clamp(28px, 8vw, 130px); background: white; }
.event-card { position: relative; min-height: 280px; padding: 50px 65px; display: grid; grid-template-columns: .8fr 1px 1.2fr; gap: 60px; align-items: center; color: white; background: linear-gradient(125deg, var(--purple), #97127f); overflow: hidden; box-shadow: 0 30px 70px rgba(79,15,88,.2); }
.event-card::after { content: ""; position: absolute; right: -60px; top: -120px; width: 350px; height: 350px; border: 1px solid rgba(82,212,216,.2); border-radius: 50%; box-shadow: 0 0 0 65px rgba(82,212,216,.025); }
.card-date, .card-place { position: relative; z-index: 2; display: flex; flex-direction: column; }
.card-date small, .card-place small { color: var(--cyan); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.card-date strong { margin-top: 13px; font: 800 clamp(48px, 7vw, 88px)/1 var(--heading); letter-spacing: -.08em; }
.card-divider { width: 1px; height: 120px; background: rgba(255,255,255,.2); }
.card-place strong { margin-top: 15px; font: 700 clamp(25px, 3vw, 40px)/1.1 var(--heading); letter-spacing: -.04em; }
.card-place span { margin-top: 7px; color: rgba(255,255,255,.6); font-size: 13px; }
.card-mark { position: absolute; right: 5%; bottom: -23%; color: rgba(255,255,255,.06); font: 800 260px/.8 var(--heading); }

.site-footer { padding: 55px clamp(28px, 8vw, 130px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 35px; color: white; background: #211027; }
.footer-organizer { display: flex; flex-direction: column; }
.footer-organizer span { color: var(--pink); font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.footer-organizer strong { margin-top: 9px; font: 700 17px var(--heading); }
.footer-organizer small { margin-top: 3px; color: rgba(255,255,255,.38); font-size: 9px; }
.back-top { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transition: background .25s; }
.back-top:hover { background: var(--purple); }
.site-footer > p { justify-self: end; margin: 0; color: rgba(255,255,255,.4); text-align: right; font-size: 9px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }

.reveal { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 140px; text-align: center; }
  .hero-copy { margin-inline: auto; }
  .overline, .event-date { justify-content: center; }
  .location { margin-inline: auto; text-align: left; }
  .hero-poster { width: min(70vw, 440px); justify-self: center; margin-top: 20px; }
  .scroll-cue { display: none; }
  .countdown { margin-top: 75px; }
  .event-card { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .card-divider { width: 80px; height: 1px; margin: auto; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
}

@media (max-width: 600px) {
  .site-header { height: 78px; padding-inline: 18px; }
  .brand-v { width: 35px; height: 40px; font-size: 23px; }
  .brand-text strong { font-size: 12px; }
  .header-date { font-size: 8px; }
  .hero { padding: 112px 20px 75px; gap: 50px; }
  h1 { font-size: clamp(43px, 13vw, 62px); }
  .subtitle { font-size: 19px; }
  .event-date { margin-top: 34px; }
  .date-numbers { font-size: 46px; }
  .location { min-width: 0; width: 100%; padding: 13px; }
  .location-arrow { display: none; }
  .hero-poster { width: 84vw; }
  .poster-caption { right: -35px; }
  .countdown-section { min-height: auto; padding: 85px 20px; }
  .countdown-heading { display: block; text-align: center; }
  .countdown-heading p { margin-bottom: 15px; }
  .countdown-heading h2 { font-size: 39px; }
  .countdown { margin-top: 65px; grid-template-columns: 1fr 1fr; gap: 42px 15px; }
  .countdown > i { display: none; }
  .countdown-unit strong { font-size: 58px; }
  .countdown-days strong { font-size: 68px; }
  .countdown-unit span { margin-top: 10px; }
  .save-date { margin-top: 70px; gap: 12px; text-align: center; }
  .save-date p { max-width: 210px; line-height: 1.6; }
  .save-line { width: 25px; }
  .event-card-section { padding: 70px 20px; }
  .event-card { min-height: 420px; padding: 45px 25px; }
  .card-date strong { font-size: 58px; }
  .site-footer { padding: 42px 20px; }
  .footer-organizer small { max-width: 230px; line-height: 1.4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
