
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Libre+Baskerville:wght@400;700&display=swap");

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

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

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

@font-face {
  font-family: "WastedVindey-Regular";
  src: url("assets/fonts/wasted-vindey.regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/*
Wedding site styles
Autumn & Robert
Last updated: 2026-01-17
*/

/* =========================
   Color system (RGB tokens)
   Use as:
     rgb(var(--Name))
     rgb(var(--Name) / 0.25)
   ========================= */
:root {
  /* Palette (named like your swatches) - stored as "R G B" */
  --Stones_Throw: 143 148 130;       /* #8F9482 */
  --Mossy_Olives: 136 144 99;        /* #889063 */
  --Unkept_Ivy: 53 64 36;            /* #354024 */
  --Five_Golden_Rings: 211 175 55;   /* #D3AF37 */
  --Rusty_Bed_Frame: 147 58 22;      /* #933A16 */

  --Down_n_Dirty: 115 70 45;         /* #73462D */
  --I_Love_You_A_Latte: 169 128 98;  /* #A98062 */
  --Lacey_Underpants: 255 245 235;   /* #EBDAD1 */

  /* Alpha controls */
  --hairline-alpha: 0.40;     /* was Stones_Throw @ 40% */
  --overlay-alpha: 0.10;      /* tint over photo */
  --names-box-alpha: 0.80;    /* header glass opacity */
  --tile-box-alpha: 0.60;     /* countdown tile opacity */
  --shadow-alpha: 0.16;       /* text shadow strength */

  /* Divider (pick a color + alpha) */
  --divider-alpha: 0.35;      /* how strong the divider line is */

  /* Typography */
  --serif: "Miama", "Times New Roman", serif;
  --ui-serif: "Miama", "Times New Roman", serif;
  --sans: "Miama", "Times New Roman", serif;
  --sans2: "Miama", "Times New Roman", serif;
  --script: "Miama", "Times New Roman", serif;
  --tracking-wide: 0.28em;
  --tracking-mid: 0.22em;
  --tracking-tight: 0.12em;
  --font-size-large: clamp(4.35rem, 4.8vw, 6.45rem);
  --font-size-small: clamp(2.2rem, 2.3vw, 3.2rem);
  --font-size-details: clamp(1.85rem, 1.95vw, 2.7rem);

  /* Background image */
  --bg-image: url("assets/images/Background.png");

  /* ONE set of box settings for everything */
  --box-alpha: 0.78;          /* all boxes use this */
  --box-radius: 0.4rem;
  --box-blur: 0.5rem;         /* backdrop blur strength */
  --box-border-alpha: 0.22;   /* border strength */
  --box-shadow-alpha: 0.24;   /* shadow strength */
  --card-gap: 2rem;
  --desktop-card-height: min(78vh, 54.75rem, calc((min(81.25rem, 96vw) - var(--card-gap)) * 3 / 5));

}

.box {
  border-radius: var(--box-radius);
  border: none;
  background: rgb(255 255 255 / var(--box-alpha));
  box-shadow: -0.25rem 0.3rem 0.75rem rgb(0 0 0 / var(--box-shadow-alpha));
  backdrop-filter: blur(var(--box-blur));
  -webkit-backdrop-filter: blur(var(--box-blur));
}

* { box-sizing: border-box; }
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
html, body { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  color: rgb(var(--Unkept_Ivy));
  font-family: var(--serif);
  letter-spacing: 0.02em;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;

  background-color: rgb(var(--Lacey_Underpants));
  background-image: none;
}

/* Soft overlay to keep text readable on busy backgrounds */
body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: 0;
}

.page {
  width: min(81.25rem, 96%);
  min-height: 100vh;
  padding: clamp(2.5rem, 6vh, 6.5rem) 0 clamp(3rem, 7vh, 7.5rem) 0;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  text-align: center;
  margin: auto 0;
  z-index: 1;
}

.card-row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--card-gap);
}

.aside {
  margin: 0.25rem 0 0;
  font-size: var(--font-size-small);
  letter-spacing: 0.06em;
  font-family: var(--script);
  line-height: 1.05;
  color: rgb(var(--Unkept_Ivy));
  text-align: left;
  padding: 0 0 clamp(0.25rem, 0.6vw, 0.75rem) clamp(1.25rem, 1.9vw, 2.75rem);
}

.photo-card {
  width: var(--desktop-card-height);
  height: var(--desktop-card-height);
  overflow: hidden;
  flex: 0 0 auto;
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: clamp(0.5rem, 0.7vw, 0.8rem) 1rem clamp(0.7rem, 0.95vw, 1rem);
  width: calc(var(--desktop-card-height) * 2 / 3);
  height: var(--desktop-card-height);
  justify-content: center;
  justify-self: center;
  text-align: center;
  overflow: hidden;
  flex: 0 0 auto;
}

.invite-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.1rem;
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.card-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: none;
  outline: none;
  box-shadow: none;
}


.names {
  font-size: var(--font-size-large);
  text-shadow: -0.14rem 0.14rem 0.38rem rgb(var(--Unkept_Ivy) / var(--shadow-alpha));
  font-weight: 400;
  letter-spacing: -0.05px;
  text-transform: none;
  font-family: var(--script);
  line-height: 1.02;
  margin: 0;
  color: rgb(var(--Unkept_Ivy));
}

.names:not(.ampersand) {
  margin-bottom: clamp(0.08rem, 0.2vw, 0.22rem);
}

.ampersand {
  font-size: var(--font-size-large);
  line-height: 0.92;
  font-weight: 400;
  opacity: 0.75;
  margin: 0;
  position: relative;
  top: -0.12rem;
}

.subline {
  font-size: var(--font-size-details);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--ui-serif);
  line-height: 1.08;
  margin: 0;
  color: rgb(var(--Unkept_Ivy));
  opacity: 1;
}

.subline + .subline {
  margin-top: clamp(0.15rem, 0.25vw, 0.3rem);
}

.invite-copy {
  margin: 0.1rem 0 0;
  font-size: var(--font-size-small);
  letter-spacing: 0.06em;
  font-family: var(--script);
  line-height: 1.05;
  color: rgb(var(--Unkept_Ivy));
  padding-bottom: clamp(0.2rem, 0.45vw, 0.5rem);
}

.invite-error {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
  font-size: var(--font-size-small);
  letter-spacing: 0.06em;
  font-family: var(--script);
  line-height: 0.95;
  text-transform: none;
  color: rgb(var(--Rusty_Bed_Frame));
}

.site-body .invite-error {
  min-height: 1.5rem;
  margin: 0;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.45;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  letter-spacing: 0;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.125rem;
  padding-top: 0.375rem;
}

nav a {
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: capitalize;
  color: rgb(var(--Unkept_Ivy));
  opacity: 1;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 999rem;
  transition: color 140ms ease, background 140ms ease, opacity 140ms ease;
}

nav a[aria-current="page"],
nav a:hover {
  color: rgb(var(--Unkept_Ivy));
  opacity: 1;
  background: rgb(var(--Five_Golden_Rings) / 0.12);
}

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

.invite-form {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  margin-top: 1.25rem;
}

.invite-site-panel {
  justify-items: center;
  text-align: center;
}

.text-input {
  width: min(22rem, 85%);
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: clamp(2.2rem, 2.4vw, 3.1rem);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  border: 0.125rem solid rgb(var(--Stones_Throw) / 0.5);
  border-radius: 0.6rem;
  background: rgb(255 255 255 / 0.85);
  color: rgb(var(--Unkept_Ivy));
}

.text-input::placeholder {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.text-input:focus {
  outline: 0.2rem solid rgb(var(--Five_Golden_Rings) / 0.55);
  border-color: rgb(var(--Five_Golden_Rings));
}

.invite-form button,
.link-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  border-radius: 999rem;
  border: 0.125rem solid rgb(var(--Rusty_Bed_Frame));
  color: rgb(var(--Lacey_Underpants));
  background: rgb(var(--Rusty_Bed_Frame));
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: clamp(1.1rem, 1.15vw, 1.4rem);
  font-weight: 500;
  font-family: "WastedVindey-Regular", "Times New Roman", serif;
  line-height: 1;
  text-transform: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.invite-form button:hover {
  background: rgb(255 255 255 / 0.2);
  color: rgb(var(--Unkept_Ivy));
  border-color: rgb(var(--Rusty_Bed_Frame));
}

.invite-form button {
  font-size: clamp(2.2rem, 2.4vw, 3.1rem);
  font-family: "WastedVindey-Regular", "Times New Roman", serif;
}

.site-body .invite-form button {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-width: 11.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  line-height: 1.1;
}

.invite-link-button {
  font-size: clamp(2.2rem, 2.4vw, 3.1rem);
  padding: 0.35rem 1rem;
  font-family: "WastedVindey-Regular", "Times New Roman", serif;
}

.not-you {
  margin-top: 0.75rem;
}

.link-button:hover {
  background: rgb(255 255 255 / 0.2);
  color: rgb(var(--Unkept_Ivy));
  border-color: rgb(var(--Rusty_Bed_Frame));
}

.outside-card {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.invite-code {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.code-input {
  width: 3.25rem;
  height: 3.75rem;
  text-align: center;
  font-size: clamp(1.75rem, 1.95vw, 2.35rem);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  border: 0.125rem solid rgb(var(--Stones_Throw) / 0.5);
  border-radius: 0.5rem;
  background: rgb(255 255 255 / 0.75);
  color: rgb(var(--Unkept_Ivy));
}

.code-input:focus {
  outline: 0.2rem solid rgb(var(--Five_Golden_Rings) / 0.55);
  border-color: rgb(var(--Five_Golden_Rings));
}

.code-input:disabled {
  background: rgb(0 0 0 / 0.08);
  border-color: rgb(var(--Stones_Throw) / 0.35);
  color: rgb(var(--Unkept_Ivy) / 0.5);
  cursor: not-allowed;
}

.countdown {
  padding: 0.85rem 1rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  column-gap: clamp(0.75rem, 1.1vw, 1.2rem);
}

.countdown-item {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 0.08rem;
  text-transform: none;
  overflow: visible;
}

.countdown-item:not(:last-child)::after {
  content: ":";
  position: absolute;
  right: clamp(-0.75rem, -0.8vw, -0.55rem);
  top: 0;
  font-size: clamp(1.85rem, 2.05vw, 2.55rem);
  line-height: 1;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  color: rgb(var(--Unkept_Ivy));
  opacity: 0.9;
}

.countdown-value {
  display: inline-block;
  min-width: 2.9ch;
  padding: 0.06em 0.22em 0.08em;
  font-size: clamp(2.05rem, 2.3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 1;
  background: rgb(255 255 255 / 0.48);
  border: 1px solid rgb(0 0 0 / 0.03);
  border-radius: 0.06rem;
  color: rgb(var(--Unkept_Ivy));
  text-shadow: 0 0.05rem 0.2rem rgb(0 0 0 / 0.04);
}

.countdown-label {
  font-size: clamp(0.86rem, 0.92vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  line-height: 1.05;
  text-transform: uppercase;
  color: rgb(var(--Unkept_Ivy));
  opacity: 0.86;
}

.rsvp-note {
  margin: clamp(0.7rem, 0.9vw, 1rem) 0 0;
  font-size: var(--font-size-details);
  line-height: 1.08;
  letter-spacing: 0.02em;
  font-family: var(--script);
  font-weight: 700;
  color: rgb(var(--Unkept_Ivy));
  text-align: center;
  padding-bottom: 0.12em;
}

.rsvp-button {
  display: inline-flex;
  justify-content: center;
  padding: 1.125rem 3.25rem;
  border-radius: 999rem;
  border: 0.125rem solid rgb(var(--Rusty_Bed_Frame));
  color: rgb(var(--Lacey_Underpants));
  background: rgb(var(--Rusty_Bed_Frame));
  text-decoration: none;
  letter-spacing: 0.14em;
  font-size: var(--font-size-small);
  font-weight: 700;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  backdrop-filter: blur(0.125rem);
  -webkit-backdrop-filter: blur(0.125rem);
}

.rsvp-button:hover {
  background: rgb(255 255 255 / 0.28);
  color: rgb(var(--Unkept_Ivy));
  border-color: rgb(var(--Rusty_Bed_Frame));
}

@media (max-width: 45rem) {
  :root {
    --font-size-large: clamp(4.2rem, 14.8vw, 5.95rem);
    --font-size-small: clamp(2.7rem, 8.5vw, 3.45rem);
    --font-size-details: clamp(2.25rem, 6.95vw, 2.95rem);
  }

  body {
    align-items: stretch;
  }

  .page {
    width: min(61.25rem, 94%);
    min-height: auto;
    align-content: start;
    gap: 0.9rem;
    margin: 0 auto;
    padding: clamp(0.75rem, 3vh, 1.5rem) 0 clamp(1.5rem, 5vh, 2.5rem) 0;
  }

  .card-row {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .photo-card,
  .hero-card {
    width: min(26rem, 100%);
    max-width: 100%;
    margin-inline: auto;
  }

  .photo-card {
    width: min(26rem, 100%);
    height: auto;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    justify-self: center;
    border-radius: var(--box-radius);
  }

  .card-photo {
    width: 100%;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .hero-card {
    height: auto;
    aspect-ratio: auto;
    min-height: auto;
    justify-content: flex-start;
    padding: 0.55rem 0.8rem 0.8rem;
  }

  .aside {
    font-size: clamp(2.8rem, 8.7vw, 3.5rem);
    line-height: 1.08;
    padding-left: clamp(0.5rem, 2.5vw, 1rem);
    padding-bottom: clamp(0.35rem, 1.2vw, 0.7rem);
  }

  .invite-copy {
    font-size: clamp(2.6rem, 8vw, 3.3rem);
    line-height: 1.08;
    padding-bottom: clamp(0.35rem, 1.2vw, 0.65rem);
  }

  .subline {
    font-size: clamp(2.3rem, 7.1vw, 2.95rem);
    line-height: 1.12;
  }

  .rsvp-note {
    font-size: clamp(2.3rem, 7.05vw, 2.95rem);
    line-height: 1.12;
    margin-top: clamp(0.9rem, 3vw, 1.35rem);
  }

  .text-input {
    font-size: clamp(2rem, 7.25vw, 2.7rem);
  }

  .invite-form button,
  .link-button {
    font-size: clamp(1.45rem, 5.3vw, 2rem);
  }

  .invite-form button {
    font-size: clamp(2rem, 7.25vw, 2.7rem);
  }

  .code-input {
    width: clamp(2.2rem, 11vw, 2.8rem);
    height: clamp(2.7rem, 13vw, 3.4rem);
    font-size: clamp(1.45rem, 5.2vw, 1.95rem);
  }

  .countdown {
    column-gap: clamp(0.5rem, 3.5vw, 1rem);
  }

  .countdown-item:not(:last-child)::after {
    right: clamp(-1rem, -4vw, -0.55rem);
    font-size: clamp(2.05rem, 8vw, 3.2rem);
  }

  .countdown-value {
    min-width: 2.5ch;
    font-size: clamp(2.25rem, 8.8vw, 3.65rem);
  }

  .countdown-label {
    font-size: clamp(1.32rem, 4.55vw, 1.72rem);
  }

  .card-actions {
    justify-content: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
  }
}

@media (max-width: 32.5rem) {
  .countdown {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    row-gap: 0.6rem;
    column-gap: 1.1rem;
  }

  .countdown-item:not(:last-child)::after {
    content: none;
  }

  .countdown-item:nth-child(1)::after,
  .countdown-item:nth-child(3)::after {
    content: ":";
    right: clamp(-0.7rem, -2vw, -0.42rem);
    top: 0;
    font-size: clamp(1.85rem, 4.8vw, 2.45rem);
  }

  body {
    background-attachment: scroll;
  }
}

@media (max-width: 60rem) and (max-height: 34rem) and (orientation: landscape) {
  :root {
    --font-size-large: clamp(4rem, 10.5vw, 5.4rem);
    --font-size-small: clamp(2.35rem, 6vw, 3.05rem);
    --font-size-details: clamp(2rem, 5.15vw, 2.55rem);
  }

  .page {
    width: 100vw;
    min-height: auto;
    align-content: start;
    padding: 0.35rem 0 0.9rem;
    gap: 0.75rem;
  }

  .card-row {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .photo-card,
  .hero-card {
    width: min(32rem, 98vw, calc(100vh - 1.5rem));
    max-width: 100%;
    margin-inline: auto;
  }

  .photo-card {
    height: auto;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    justify-self: center;
  }

  .hero-card {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-self: auto;
    padding: 0.65rem 0.95rem 0.95rem;
    gap: 0.1rem;
    overflow: hidden;
  }

  .invite-panel {
    width: 100%;
    gap: 0.1rem;
  }

  .aside {
    font-size: clamp(2.45rem, 6.35vw, 3.2rem);
    line-height: 1.08;
    padding-left: clamp(0.5rem, 2vw, 0.95rem);
    padding-bottom: clamp(0.3rem, 0.9vw, 0.55rem);
  }

  .names {
    line-height: 0.96;
  }

  .ampersand {
    top: -0.08rem;
  }

  .invite-copy {
    font-size: clamp(2.2rem, 5.65vw, 2.9rem);
    line-height: 1.06;
    padding-bottom: clamp(0.22rem, 0.8vw, 0.45rem);
  }

  .subline {
    font-size: clamp(1.95rem, 4.95vw, 2.45rem);
    line-height: 1.1;
  }

  .subline + .subline {
    margin-top: 0.08rem;
  }

  .countdown {
    padding: 0.55rem 0.2rem 0;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    row-gap: 0.6rem;
    column-gap: clamp(0.55rem, 1.8vw, 0.95rem);
  }

  .countdown-item:not(:last-child)::after {
    content: none;
  }

  .countdown-item:nth-child(1)::after,
  .countdown-item:nth-child(3)::after {
    content: ":";
    right: clamp(-0.7rem, -2vw, -0.42rem);
    top: 0;
    font-size: clamp(1.85rem, 4.8vw, 2.45rem);
  }

  .countdown-value {
    min-width: 2.45ch;
    font-size: clamp(1.95rem, 5.4vw, 2.8rem);
  }

  .countdown-label {
    font-size: clamp(1.12rem, 3vw, 1.42rem);
  }

  .rsvp-note {
    font-size: clamp(2rem, 5.1vw, 2.55rem);
    line-height: 1.1;
    margin-top: 0.65rem;
  }

  .outside-card {
    margin-top: 0.25rem;
  }

  .link-button {
    font-size: clamp(1.28rem, 3.3vw, 1.6rem);
    padding: 0.28rem 0.85rem;
  }
}

.invite-extra-link {
  margin-top: 1rem;
}

.site-body {
  background:
    radial-gradient(circle at top, rgb(var(--Five_Golden_Rings) / 0.12), transparent 28rem),
    radial-gradient(circle at bottom, rgb(var(--Mossy_Olives) / 0.08), transparent 34rem),
    linear-gradient(180deg, rgb(255 251 246), rgb(250 242 234) 48%, rgb(var(--Lacey_Underpants)));
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.site-body::before {
  background:
    linear-gradient(rgb(255 255 255 / 0.12), rgb(var(--Lacey_Underpants) / 0.18));
}

.stag-doe-page {
  background:
    linear-gradient(rgb(250 244 236 / 0.28), rgb(239 226 214 / 0.32)),
    url("assets/images/Animals party harder.png") center / cover fixed;
  background-repeat: no-repeat;
}

.stag-doe-page::before {
  background:
    linear-gradient(rgb(255 248 240 / 0.04), rgb(var(--Lacey_Underpants) / 0.08));
}

.site-page {
  width: min(72rem, 94%);
  min-height: auto;
  align-content: start;
  gap: 1.25rem;
  padding: clamp(1.5rem, 5vh, 4rem) 0 clamp(2rem, 6vh, 4.5rem);
}

.site-compact-page {
  width: min(56rem, 94%);
}

.site-shell {
  display: grid;
  gap: 1.25rem;
}

.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: var(--card-gap);
  align-items: stretch;
}

.site-panel {
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.1rem, 1.8vw, 1.7rem);
  text-align: left;
}

.site-focus-panel {
  text-align: center;
  justify-items: center;
}

.site-hero-copy {
  align-content: center;
  justify-items: center;
  text-align: center;
}

.site-photo-card {
  overflow: hidden;
  min-height: 100%;
}

.site-photo-card .card-photo {
  height: 100%;
  min-height: 28rem;
}

.site-kicker {
  margin: 0;
  font-size: clamp(1.15rem, 1.3vw, 1.15rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  color: rgb(var(--Rusty_Bed_Frame));
}

.site-title {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(3.5rem, 6.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.92;
  text-transform: uppercase;
  color: rgb(var(--Unkept_Ivy));
}

.site-title-small {
  font-size: clamp(2.8rem, 4.7vw, 4.3rem);
}

.site-subtitle {
  margin: 0;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: clamp(1rem, 1.12vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgb(var(--Down_n_Dirty));
}

.site-lead {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  font-weight: 600;
  line-height: 1.12;
  color: rgb(var(--Unkept_Ivy));
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.3rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(var(--Unkept_Ivy));
  background: rgb(255 255 255 / 0.46);
  border: 1px solid rgb(var(--Stones_Throw) / 0.3);
}

.site-nav a:hover {
  background: rgb(var(--Five_Golden_Rings) / 0.16);
  border-color: rgb(var(--Five_Golden_Rings) / 0.4);
}

.site-cta-row,
.site-footer-links,
.choice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

[hidden] {
  display: none !important;
}

.site-body .link-button,
.site-body .rsvp-button,
.site-body .rsvp-button-submit {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11.5rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  font-size: clamp(1rem, 1.05vw, 1.15rem);
  letter-spacing: 0.12em;
  line-height: 1.1;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(var(--Lacey_Underpants));
  border-radius: 999rem;
  border: 0.125rem solid rgb(var(--Rusty_Bed_Frame));
  background: rgb(var(--Rusty_Bed_Frame));
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  backdrop-filter: blur(0.125rem);
  -webkit-backdrop-filter: blur(0.125rem);
  cursor: pointer;
}

.site-body .site-primary-action {
  min-width: 14rem;
  min-height: 3.85rem;
  padding: 1rem 1.9rem;
  font-size: clamp(1.15rem, 1.25vw, 1.35rem);
}

.site-cta-row:has(.site-primary-action) {
  justify-content: center;
}

.site-hero-framed-action {
  position: relative;
  width: 100%;
  justify-content: center;
  margin-top: 1.1rem;
  padding: 1rem 0;
}

.site-hero-framed-action::before,
.site-hero-framed-action::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgb(var(--Rusty_Bed_Frame) / 0),
    rgb(var(--Rusty_Bed_Frame) / 0.45),
    rgb(var(--Rusty_Bed_Frame) / 0)
    );
}

.site-hero-framed-action::before {
  top: 0;
}

.site-hero-framed-action::after {
  bottom: 0;
}

.site-body .link-button:hover,
.site-body .rsvp-button:hover,
.site-body .rsvp-button-submit:hover {
  background: rgb(255 255 255 / 0.28);
  color: rgb(var(--Unkept_Ivy));
  border-color: rgb(var(--Rusty_Bed_Frame));
}

.site-countdown-panel {
  justify-items: center;
  text-align: center;
}

.site-countdown-panel .site-kicker {
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.site-countdown-panel .countdown {
  padding: 0;
}

.site-grid,
.rsvp-choice-grid,
.site-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.wide-section {
  grid-column: 1 / -1;
}

.site-section {
  align-content: start;
}

.site-centered-panel {
  justify-items: center;
  text-align: center;
}

.site-section-title,
.choice-title {
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 2.7vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  color: rgb(var(--Unkept_Ivy));
}

.site-section-copy,
.choice-copy,
.site-answer,
.site-placeholder {
  margin: 0;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.18vw, 1.22rem);
  line-height: 1.65;
  color: rgb(var(--Down_n_Dirty));
}

.site-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
  line-height: 1.55;
  color: rgb(var(--Down_n_Dirty));
}

.site-list li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.purchase-email {
  margin: 0;
  color: rgb(var(--Unkept_Ivy));
  word-break: break-word;
}

.stag-doe-contact-line {
  margin: 0;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.3vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.stag-doe-payment-contact {
  display: grid;
  gap: 0;
}

.stag-doe-transfer-label {
  margin-bottom: 0;
}

.purchase-email a {
  color: inherit;
  text-decoration-color: rgb(var(--Unkept_Ivy) / 0.45);
}

.site-section-copy a {
  color: rgb(var(--Unkept_Ivy));
  text-decoration-color: rgb(var(--Unkept_Ivy) / 0.45);
}

.site-question {
  margin: 0 0 0.3rem;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.3vw, 1.15rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--Rusty_Bed_Frame));
}

.stag-doe-feature-line {
  text-align: center;
}

.stag-doe-feature-sep {
  margin-inline: 0.45em;
}

.stag-doe-feature-sep-desktop {
  display: inline;
}

.stag-doe-feature-break {
  display: none;
}

.stag-doe-prize-strip {
  display: grid;
  grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: 42rem;
  gap: 1.1rem;
  padding-inline: 0.5rem;
}

.stag-doe-prize-image {
  display: block;
  width: 100%;
  max-width: 16rem;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  justify-self: center;
  align-self: start;
}

.stag-doe-prize-details {
  display: grid;
  gap: 0.45rem;
  text-align: left;
}

.stag-doe-prize-details strong {
  color: rgb(var(--Down_n_Dirty));
}

.stag-doe-venue-link {
  color: rgb(var(--Down_n_Dirty));
  text-decoration-color: rgb(var(--Down_n_Dirty) / 0.4);
}

.stag-doe-home-button {
  font-size: clamp(1.15rem, 1.25vw, 1.35rem);
}

.choice-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.2rem 1.15rem;
  border-radius: var(--box-radius);
  box-shadow: -0.25rem 0.3rem 0.75rem rgb(0 0 0 / var(--box-shadow-alpha));
  backdrop-filter: blur(var(--box-blur));
  -webkit-backdrop-filter: blur(var(--box-blur));
}

.choice-option {
  cursor: pointer;
}

.choice-submit {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: center;
  border: 0.125rem solid transparent;
  justify-items: center;
}

.choice-submit:hover,
.choice-submit:focus-visible {
  transform: translateY(-0.12rem);
}

.choice-submit:focus-visible {
  outline: 0.18rem solid rgb(var(--Five_Golden_Rings) / 0.75);
  outline-offset: 0.15rem;
}

.choice-submit .choice-title,
.choice-submit .choice-copy {
  color: inherit;
}

.choice-submit-yes {
  color: rgb(var(--Unkept_Ivy));
  background: rgb(var(--Mossy_Olives) / 0.18);
  border-color: rgb(var(--Mossy_Olives) / 0.45);
}

.choice-submit-no {
  color: rgb(var(--Rusty_Bed_Frame));
  background: rgb(var(--Rusty_Bed_Frame) / 0.1);
  border-color: rgb(var(--Rusty_Bed_Frame) / 0.3);
}

.choice-option input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: rgb(var(--Rusty_Bed_Frame));
}

.rsvp-details-form {
  display: grid;
  gap: 1.1rem;
}

.rsvp-choice-section {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rsvp-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.7rem;
}

.rsvp-legend,
.rsvp-label {
  margin: 0;
  font-family: "WastedVindey-Regular", "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.45vw, 1.45rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--Rusty_Bed_Frame));
}

.rsvp-label {
  display: block;
}

.song-request-label {
  font-size: clamp(1.35rem, 1.65vw, 1.6rem);
}

.song-request-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: center;
}

.song-request-row .song-request-label {
  margin-bottom: 0;
  text-align: right;
}

.song-request-actions {
  justify-content: center;
}

.centered-actions {
  justify-content: center;
}

.site-body .light-button {
  color: rgb(var(--Unkept_Ivy));
  background: rgb(255 255 255 / 0.82);
  border-color: rgb(var(--Rusty_Bed_Frame) / 0.38);
}

.site-body .light-button:hover {
  background: rgb(var(--Rusty_Bed_Frame));
  color: rgb(var(--Lacey_Underpants));
  border-color: rgb(var(--Rusty_Bed_Frame));
}

.rsvp-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.rsvp-option {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  border-radius: 0.55rem;
  border: 1px solid rgb(var(--Stones_Throw) / 0.35);
  background: rgb(255 255 255 / 0.56);
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: 1rem;
  color: rgb(var(--Down_n_Dirty));
}

.rsvp-button-grid {
  gap: 1rem;
}

.rsvp-choice-button {
  position: relative;
  justify-content: center;
  padding: 1.1rem 1rem;
  border-width: 0.125rem;
  border-color: rgb(var(--Stones_Throw) / 0.35);
  background: rgb(255 255 255 / 0.72);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  text-align: center;
}

.rsvp-choice-button:hover {
  transform: translateY(-0.08rem);
}

.rsvp-choice-button input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.rsvp-choice-text {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.2vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
}

.rsvp-choice-positive:has(input:checked) {
  color: rgb(var(--Unkept_Ivy));
  background: rgb(var(--Mossy_Olives) / 0.18);
  border-color: rgb(var(--Mossy_Olives) / 0.5);
  box-shadow: 0 0 0 0.14rem rgb(var(--Mossy_Olives) / 0.18);
}

.rsvp-choice-negative:has(input:checked) {
  color: rgb(var(--Rusty_Bed_Frame));
  background: rgb(var(--Rusty_Bed_Frame) / 0.12);
  border-color: rgb(var(--Rusty_Bed_Frame) / 0.38);
  box-shadow: 0 0 0 0.14rem rgb(var(--Rusty_Bed_Frame) / 0.14);
}

.rsvp-choice-positive:has(input:checked) .rsvp-choice-text,
.rsvp-choice-negative:has(input:checked) .rsvp-choice-text {
  color: inherit;
}

.rsvp-choice-button input:focus-visible + .rsvp-choice-text {
  text-decoration: underline;
}

.rsvp-option input {
  width: 1rem;
  height: 1rem;
  accent-color: rgb(var(--Rusty_Bed_Frame));
}

.rsvp-input,
.rsvp-textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.55rem;
  border: 0.125rem solid rgb(var(--Stones_Throw) / 0.35);
  background: rgb(255 255 255 / 0.82);
  color: rgb(var(--Down_n_Dirty));
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.5;
}

.rsvp-input:focus,
.rsvp-textarea:focus {
  outline: 0.2rem solid rgb(var(--Five_Golden_Rings) / 0.45);
  border-color: rgb(var(--Five_Golden_Rings));
}

.rsvp-textarea {
  resize: vertical;
  min-height: 9rem;
}

.rsvp-button-submit {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: "WastedVindey-Regular", "Times New Roman", serif;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  font-family: "Libre Baskerville", "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgb(var(--Rusty_Bed_Frame));
}

.form-message:empty {
  display: none;
}

.site-placeholder {
  padding: 0.9rem 1rem;
  border: 1px dashed rgb(var(--Five_Golden_Rings) / 0.65);
  border-radius: 0.55rem;
  background: rgb(255 255 255 / 0.48);
}

.text-link {
  color: rgb(var(--Rusty_Bed_Frame));
}

@media (max-width: 45rem) {
  .site-page,
  .site-compact-page {
    width: min(94vw, 40rem);
  }

  .stag-doe-page {
    background:
      linear-gradient(rgb(250 244 236 / 0.28), rgb(239 226 214 / 0.32)),
      url("assets/images/Animals party harder.png") center top / cover scroll;
    background-repeat: no-repeat;
  }

  .site-hero,
  .site-grid,
  .rsvp-choice-grid,
  .site-faq-grid {
    grid-template-columns: 1fr;
  }

  .site-panel {
    padding: 1rem 0.95rem;
  }

  .site-photo-card .card-photo {
    min-height: 20rem;
  }

  .site-title {
    font-size: clamp(3rem, 13vw, 4.3rem);
  }

  .site-title-small {
    font-size: clamp(2.45rem, 10.5vw, 3.55rem);
  }

  .site-subtitle {
    font-size: clamp(1rem, 4vw, 1.12rem);
    letter-spacing: 0.14em;
  }

  .site-lead {
    font-size: clamp(1.45rem, 5.2vw, 1.8rem);
    line-height: 1.18;
  }

  .stag-doe-feature-break {
    display: block;
  }

  .stag-doe-feature-sep-desktop {
    display: none;
  }

  .stag-doe-prize-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
    padding-inline: 0;
  }

  .stag-doe-prize-details {
    text-align: center;
  }

  .stag-doe-prize-image {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .site-nav {
    gap: 0.55rem;
  }

  .song-request-row {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.4rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .rsvp-option-grid {
    grid-template-columns: 1fr;
  }

  .site-cta-row,
  .site-footer-links,
  .choice-actions {
    justify-content: center;
  }

  .site-countdown-panel .countdown {
    grid-template-columns: repeat(2, max-content);
    row-gap: 0.6rem;
  }
}

@media (max-width: 60rem) and (max-height: 34rem) and (orientation: landscape) {
  .site-page,
  .site-compact-page {
    width: min(94vw, 40rem);
  }

  .site-hero,
  .site-grid,
  .rsvp-choice-grid,
  .site-faq-grid {
    grid-template-columns: 1fr;
  }

  .site-panel {
    padding: 1rem 0.95rem;
  }

  .site-photo-card {
    min-height: auto;
  }

  .site-photo-card .card-photo {
    width: 100% !important;
    height: auto !important;
    min-height: 20rem;
    max-height: none;
    object-fit: contain !important;
    object-position: center !important;
  }

  .site-title-small {
    font-size: clamp(2.45rem, 10.5vw, 3.55rem);
  }

  .stag-doe-prize-strip {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
    padding-inline: 0;
  }

  .stag-doe-prize-details {
    text-align: center;
  }

  .stag-doe-prize-image {
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}
