@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-400.ttf") format("truetype");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/cormorant-garamond-500.ttf") format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/jost-300.ttf") format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jost-400.ttf") format("truetype");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jost-500.ttf") format("truetype");
}

:root {
  --oyster: #ede8e0;
  --oyster-deep: #e3ddd5;
  --paper: #f7f4ef;
  --graphite: #2c2a27;
  --graphite-soft: rgba(44, 42, 39, 0.72);
  --divider: #c8c2b8;
  --lilac: #9b92a8;
  --stella-red: #9d1d20;
  --stella-red-deep: #6f0f14;
  --stella-gold: #d7aa4a;
  --stella-gold-light: #f3d985;
  --white: #fffaf3;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(157, 29, 32, 0.05) 1px, transparent 1px),
    linear-gradient(var(--oyster), var(--oyster));
  background-size: 84px 84px, auto;
  color: var(--graphite);
  font-family: "Jost", Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  min-height: 104px;
  padding: 18px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  background: rgba(237, 232, 224, 0.96);
  border-bottom: 1px solid var(--divider);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: block;
  width: 176px;
  flex: 0 0 auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  margin: 0 0 0 auto;
  padding: 0;
}

.nav-list a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--lilac);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(44, 42, 39, 0.28);
  background: transparent;
  color: var(--graphite);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only),
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 116px 24px 64px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--paper);
}

.hero-bg,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(111, 15, 20, 0.9), rgba(111, 15, 20, 0.68) 38%, rgba(44, 42, 39, 0.72)),
    url("assets/stella/stella-lager-hero.jpg") center / cover,
    linear-gradient(115deg, transparent 0 48%, rgba(255, 250, 243, 0.08) 48% 49%, transparent 49%),
    linear-gradient(135deg, var(--stella-red-deep) 0 42%, var(--stella-red) 42% 64%, var(--graphite) 64% 100%);
}

.hero-wash {
  background:
    repeating-linear-gradient(90deg, rgba(255, 250, 243, 0.07) 0 1px, transparent 1px 112px),
    repeating-linear-gradient(0deg, rgba(255, 250, 243, 0.05) 0 1px, transparent 1px 112px),
    linear-gradient(180deg, rgba(44, 42, 39, 0.08), rgba(44, 42, 39, 0.54));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(243, 217, 133, 0.5);
  pointer-events: none;
}

.hero::before {
  top: 154px;
  left: max(24px, 6vw);
  right: max(24px, 6vw);
  bottom: 58px;
}

.hero::after {
  width: min(520px, 64vw);
  height: min(520px, 64vw);
  border-width: 2px;
  transform: rotate(45deg);
  opacity: 0.24;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(920px, 100%);
  margin-right: min(18vw, 260px);
}

.eyebrow,
.section-label,
.match-card p,
.feature-panel span,
label,
.form-note {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow,
.section-label {
  color: var(--lilac);
}

.brand-lockup {
  width: min(760px, 100%);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.95fr) auto minmax(170px, 0.72fr);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
}

.hero-logo {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

.lockup-plus {
  color: var(--stella-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 1;
}

.stella-logo {
  position: relative;
  min-height: 132px;
  padding: 24px 28px 22px;
  display: grid;
  place-items: center;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.15), transparent 34%),
    linear-gradient(var(--stella-red), var(--stella-red-deep));
  border: 2px solid var(--stella-gold);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.stella-logo-img {
  width: min(260px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.34));
}

.hero-bottle {
  position: absolute;
  z-index: 4;
  right: max(42px, 7vw);
  bottom: 28px;
  width: min(130px, 10vw);
  max-height: min(430px, calc(100svh - 190px));
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.46));
  pointer-events: none;
}

.stella-logo::before,
.stella-logo::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--stella-gold-light);
}

.stella-logo::before {
  top: 15px;
}

.stella-logo::after {
  bottom: 15px;
}

.stella-top,
.stella-bottom {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.88;
  letter-spacing: 0;
}

.stella-top {
  font-size: clamp(46px, 6vw, 72px);
}

.stella-bottom {
  font-size: clamp(34px, 4.4vw, 54px);
  text-transform: uppercase;
}

.hero-rule {
  width: 54px;
  height: 1px;
  margin: 22px auto;
  background: var(--stella-gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(54px, 6.2vw, 94px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
}

h3 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}

.match-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.match-card h3 > span {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.flag {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 0.86em;
  line-height: 1;
  transform: translateY(-0.04em);
}

.versus {
  color: var(--stella-red);
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.match-card.featured .versus {
  color: var(--stella-gold);
}

.hero-copy {
  width: min(700px, 100%);
  margin: 22px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.85;
}

.hero-cta,
.rsvp-form button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--stella-gold);
  background: linear-gradient(90deg, var(--stella-gold), var(--stella-gold-light), var(--stella-gold));
  color: var(--graphite);
  cursor: pointer;
  font-family: "Jost", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-cta {
  margin-top: 26px;
  padding: 0 26px;
}

.hero-cta:hover,
.rsvp-form button:hover {
  background: transparent;
  color: var(--paper);
  transform: translateY(-1px);
}

.match-ribbon {
  position: absolute;
  z-index: 3;
  right: 170px;
  bottom: 86px;
  width: min(320px, calc(100% - 48px));
  padding: 18px 20px;
  border-left: 1px solid rgba(255, 250, 243, 0.5);
  background: rgba(44, 42, 39, 0.72);
  text-align: left;
}

@media (max-width: 1100px) {
  .hero-bottle {
    display: none;
  }

  .hero-content {
    margin-right: 0;
  }

  .match-ribbon {
    right: 48px;
  }
}

.match-ribbon span {
  display: block;
  color: rgba(247, 244, 239, 0.78);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.match-ribbon strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

section {
  padding: 108px 56px;
  scroll-margin-top: 96px;
}

.intro-section,
.stella-section,
.rsvp-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.intro-copy,
.stella-copy,
.rsvp-copy,
.section-kicker {
  max-width: 660px;
}

.intro-copy p:last-child,
.stella-copy p:last-child,
.rsvp-copy > p {
  max-width: 560px;
  color: var(--graphite-soft);
}

.feature-panel {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.feature-panel div {
  padding: 24px 0;
  border-bottom: 1px solid var(--divider);
}

.feature-panel div:last-child {
  border-bottom: 0;
}

.feature-panel span {
  display: block;
  color: var(--lilac);
}

.feature-panel strong {
  display: block;
  margin-top: 5px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.1;
}

.stella-section {
  background:
    linear-gradient(135deg, rgba(157, 29, 32, 0.72) 0 34%, transparent 34%),
    var(--graphite);
  color: var(--paper);
}

.stella-copy p:last-child {
  color: rgba(247, 244, 239, 0.72);
}

.stella-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(44, 42, 39, 0.44), rgba(44, 42, 39, 0.76)),
    url("assets/stella/stella-lager-hero.jpg") center / cover,
    repeating-linear-gradient(135deg, rgba(255, 250, 243, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, var(--stella-red-deep), var(--stella-red) 52%, var(--graphite) 52%);
}

.poster-card {
  width: min(430px, 84%);
  min-height: 500px;
  padding: 30px 34px 34px;
  display: grid;
  gap: 14px;
  justify-items: center;
  background: rgba(247, 244, 239, 0.95);
  color: var(--graphite);
  border: 1px solid rgba(243, 217, 133, 0.82);
  box-shadow: 0 34px 84px rgba(0, 0, 0, 0.38);
}

.poster-logo {
  width: min(260px, 100%);
  filter: invert(1);
}

.poster-bottle {
  width: min(150px, 42vw);
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(44, 42, 39, 0.28));
}

.poster-card p {
  margin: 4px 0 0;
  color: var(--stella-red);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.poster-card strong {
  color: var(--graphite);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 6vw, 62px);
  font-weight: 400;
  line-height: 0.95;
  text-align: center;
}

.matches-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(157, 29, 32, 0.05) 1px, transparent 1px),
    linear-gradient(var(--paper), var(--paper));
  background-size: 84px 84px, auto;
}

.section-kicker {
  margin-bottom: 44px;
  position: relative;
  z-index: 2;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.match-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(157, 29, 32, 0.24);
  background:
    linear-gradient(145deg, rgba(215, 170, 74, 0.16), transparent 42%),
    var(--oyster);
}

.match-card.featured {
  background:
    repeating-linear-gradient(135deg, rgba(255, 250, 243, 0.12) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, var(--stella-red), var(--graphite));
  color: var(--paper);
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(111, 15, 20, 0.24);
}

.match-card p {
  margin: 0 0 18px;
  color: var(--stella-red);
}

.match-card.featured p {
  color: var(--stella-gold);
}

.match-card span {
  display: block;
  margin-top: 18px;
  color: var(--graphite-soft);
}

.match-card.featured span {
  color: rgba(247, 244, 239, 0.78);
}

.rsvp-section {
  background: var(--oyster-deep);
}

.counter {
  width: min(360px, 100%);
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--divider);
}

.counter span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 92px;
  line-height: 0.9;
}

.counter p {
  margin: 12px 0 0;
  color: var(--graphite-soft);
}

.rsvp-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  background: var(--paper);
  border: 1px solid var(--divider);
}

label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
}

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.required-mark {
  flex: 0 0 auto;
  color: var(--stella-red);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--divider);
  border-radius: 0;
  background: transparent;
  color: var(--graphite);
  font: 400 16px/1.4 "Jost", Arial, sans-serif;
  padding: 12px 14px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(155, 146, 168, 0.45);
  outline-offset: 2px;
}

.rsvp-form button {
  width: 100%;
  margin-top: 8px;
}

.rsvp-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.rsvp-form button:disabled:hover {
  background: var(--stella-gold);
  color: var(--graphite);
  transform: none;
}

.form-note {
  margin: 0;
  color: var(--graphite-soft);
  letter-spacing: 0.12em;
}

.privacy-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--graphite-soft);
  border: 1px solid rgba(44, 42, 39, 0.16);
  background: rgba(247, 244, 239, 0.54);
  font-size: 13px;
  line-height: 1.6;
}

.thank-you-panel {
  padding: 26px;
  display: grid;
  gap: 14px;
  background:
    linear-gradient(135deg, rgba(157, 29, 32, 0.94), rgba(44, 42, 39, 0.96)),
    var(--graphite);
  border: 1px solid rgba(215, 170, 74, 0.6);
  color: var(--paper);
}

.thank-you-panel[hidden] {
  display: none;
}

.thank-you-panel .section-label {
  margin: 0;
  color: var(--stella-gold-light);
}

.thank-you-panel h3 {
  font-size: clamp(34px, 4vw, 48px);
}

.thank-you-panel p {
  margin: 0;
  color: rgba(247, 244, 239, 0.78);
}

.thank-you-panel a {
  min-height: 48px;
  margin-top: 6px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  border: 1px solid var(--stella-gold);
  background: var(--stella-gold);
  color: var(--graphite);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.confetti-piece {
  position: fixed;
  top: -16px;
  left: 50%;
  z-index: 1000;
  width: 9px;
  height: 15px;
  background: var(--stella-gold);
  border-radius: 1px;
  pointer-events: none;
  animation: confettiFall var(--fall-duration, 1.8s) ease-out forwards;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--fall-x, 0px), 100vh, 0) rotate(var(--fall-rotation, 360deg));
  }
}

.site-footer {
  padding: 42px 56px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--graphite);
  color: rgba(247, 244, 239, 0.72);
}

.site-footer-brand {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.site-footer-logo {
  width: 148px;
  filter: brightness(0) invert(1);
}

.site-footer-brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  text-align: left;
}

.designer-credit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(247, 244, 239, 0.55);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-align: right;
  text-transform: uppercase;
}

.designer-link {
  display: inline-flex;
  align-items: center;
}

.designer-link:focus-visible {
  outline: 1px solid rgba(247, 244, 239, 0.72);
  outline-offset: 6px;
}

.designer-mark {
  width: 46px;
  height: auto;
  object-fit: contain;
  opacity: 0.72;
}

@media (max-width: 980px) {
  .site-nav {
    position: sticky;
    min-height: 82px;
    padding: 16px 24px;
  }

  .nav-logo {
    width: 156px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 82px;
    left: 64px;
    right: 0;
    bottom: 0;
    width: auto;
    height: calc(100svh - 82px);
    margin: 0;
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--oyster);
    border-left: 1px solid var(--divider);
    box-shadow: -18px 0 42px rgba(44, 42, 39, 0.16);
    z-index: 40;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
  }

  body.nav-open .nav-list {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(44, 42, 39, 0.16);
  }

  .nav-list a {
    display: block;
    padding: 18px 0;
    text-align: left;
  }

  .hero {
    min-height: calc(100svh - 82px);
    padding-top: 78px;
  }

  .hero-content {
    margin-right: 0;
  }

  .hero-bottle {
    right: 18px;
    bottom: 4px;
    width: min(132px, 28vw);
    opacity: 0.9;
  }

  .match-ribbon {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  section {
    padding: 76px 24px;
  }

  .intro-section,
  .stella-section,
  .rsvp-section,
  .match-grid {
    grid-template-columns: 1fr;
  }

  .stella-visual {
    min-height: 460px;
    order: 2;
  }

  .stella-copy {
    order: 1;
  }

  .match-card {
    min-height: 220px;
  }

  .site-footer {
    padding: 42px 24px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer-brand {
    justify-items: center;
  }

  .site-footer-brand p {
    text-align: center;
  }

  .designer-credit {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }

  .nav-list {
    left: 58px;
    padding: 26px 22px;
  }

  .hero {
    min-height: calc(100svh - 82px);
    padding-top: 56px;
    padding-bottom: 34px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero::before {
    top: 24px;
    left: 18px;
    right: 18px;
    bottom: 24px;
  }

  .hero-logo {
    max-width: 250px;
  }

  .hero-rule {
    margin: 14px auto;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-cta {
    min-height: 50px;
    margin-top: 18px;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .match-ribbon {
    width: 100%;
    margin-top: 18px;
    padding: 14px 16px;
  }

  .match-ribbon strong {
    font-size: 27px;
  }

  .stella-visual {
    min-height: 390px;
  }

  .brand-lockup {
    width: min(330px, 100%);
    margin-top: 12px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lockup-plus {
    font-size: 34px;
  }

  .stella-logo {
    min-height: 104px;
    padding: 18px 20px 16px;
  }

  .stella-logo-img {
    width: min(190px, 72vw);
  }

  .hero-bottle {
    display: none;
  }

  .stella-top {
    font-size: 42px;
  }

  .stella-bottom {
    font-size: 31px;
  }

  .rsvp-form {
    padding: 24px 18px;
  }

  .counter span {
    font-size: 76px;
  }
}
