:root {
  color-scheme: dark;
  --bg: #080707;
  --panel: rgba(255, 246, 215, 0.055);
  --panel-strong: rgba(255, 208, 92, 0.16);
  --line: rgba(255, 208, 92, 0.42);
  --gold: #ffd05c;
  --gold-strong: #ffeb9b;
  --text: #fff8df;
  --muted: rgba(255, 248, 223, 0.72);
  --black: #111;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 208, 92, 0.22), transparent 27rem),
    radial-gradient(circle at 90% 0%, rgba(174, 28, 48, 0.18), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3.8vw, 3.5rem);
  background: rgba(255, 255, 255, 0.94);
  color: var(--black);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.site-header__title {
  max-width: 60vw;
  color: var(--black);
  font-size: clamp(0.94rem, 1.9vw, 1.3rem);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.5rem);
  color: var(--black);
  font-size: clamp(0.78rem, 1.3vw, 0.95rem);
  font-weight: 800;
  white-space: nowrap;
}

.site-header__nav a {
  text-decoration: none;
}

.gl-event {
  overflow: clip;
}

.hero,
.section,
.countdown {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2rem, 7vw, 5.5rem);
}

.hero__shine {
  position: absolute;
  inset: 8% auto auto 46%;
  width: 16rem;
  aspect-ratio: 1;
  background: rgba(255, 208, 92, 0.16);
  filter: blur(4rem);
  pointer-events: none;
}

.hero__poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__body {
  position: relative;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(2.2rem, 6.6vw, 5rem);
}

.hero__facts {
  display: grid;
  gap: 0.65rem;
  margin: 1.7rem 0;
}

.hero__facts div,
.details__list div {
  display: grid;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 208, 92, 0.28);
  border-radius: var(--radius);
  background: var(--panel);
}

.hero__facts dt,
.details__list span {
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__facts dd {
  margin: 0;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.25rem;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.button--primary {
  background: var(--gold);
  color: var(--black);
}

.countdown {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--panel-strong), rgba(255, 246, 215, 0.04));
}

.countdown p {
  margin: 0;
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.countdown__grid span {
  display: grid;
  place-items: center;
  min-height: 5.2rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.countdown__grid strong {
  color: var(--text);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.9rem, 5.4vw, 3.5rem);
  font-weight: 400;
  line-height: 1;
}

.section {
  padding-block: clamp(3rem, 7vw, 5.5rem) 0;
}

.intro p,
.organizer p,
.section-note,
.ticket-note {
  max-width: 760px;
  color: var(--muted);
}

.details__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.details__list strong {
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.map__frame {
  overflow: hidden;
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
}

.map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ticket-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.ticket,
.split-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 208, 92, 0.12), rgba(255, 246, 215, 0.035));
}

.ticket {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  padding: 1.25rem;
}

.ticket > span {
  color: var(--gold-strong);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.8rem, 5vw, 3.35rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.ticket > strong {
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.ticket p {
  margin: 0;
  color: var(--muted);
}

.ticket--vip {
  background: linear-gradient(155deg, rgba(255, 208, 92, 0.2), rgba(174, 28, 48, 0.12));
}

.split-card {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.25rem;
}

.split-card .ticket {
  border: 0;
  background: transparent;
  padding: 0;
}

.gift-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 246, 215, 0.04);
}

.gift-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.split-card--rose .gift-image img {
  object-fit: cover;
}

.faq details {
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 208, 92, 0.28);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq summary {
  cursor: pointer;
  padding: 1rem;
  color: var(--gold-strong);
  font-weight: 900;
}

.faq details p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.organizer {
  padding-bottom: 6rem;
}

.sticky-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9;
}

.sticky-cta .button {
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

@media (min-width: 760px) {
  .hero {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  }

  .ticket-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-card {
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1fr);
    align-items: center;
  }

  .split-card--rose {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  }

  .split-card--rose .gift-image {
    order: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    padding: 0.85rem 1rem;
  }

  .site-header__nav {
    gap: 0.55rem;
  }

  .countdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-cta {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .sticky-cta .button {
    width: 100%;
  }
}


.form-page,
.admin-page {
  min-height: 100vh;
  padding-bottom: 5rem;
}

.form-page h1,
.admin-page h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 8vw, 6rem);
  overflow-wrap: anywhere;
}

.reservation-form {
  display: grid;
  gap: 1rem;
  width: min(720px, 100%);
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 208, 92, 0.12), rgba(255, 246, 215, 0.035));
}

.reservation-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--gold-strong);
  font-weight: 900;
}

.reservation-form input,
.reservation-form select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(255, 208, 92, 0.36);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.32);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.85rem;
}

.reservation-form button {
  cursor: pointer;
  font: inherit;
}

.admin-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 208, 92, 0.22);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--gold);
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Edgar visual refresh: match the hero artwork's paper, black, and muted mauve palette. */
:root {
  color-scheme: light;
  --bg: #f3f0ea;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(142, 104, 118, 0.16);
  --line: rgba(32, 32, 32, 0.18);
  --gold: #8e6876;
  --gold-strong: #202020;
  --text: #202020;
  --muted: rgba(32, 32, 32, 0.68);
  --black: #111111;
}

body {
  background:
    radial-gradient(circle at 12% 4%, rgba(142, 104, 118, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 10%, rgba(17, 17, 17, 0.07), transparent 20rem),
    linear-gradient(180deg, #faf8f3 0%, #eee9e1 48%, #f8f5ef 100%);
  color: var(--text);
}

.site-header {
  background: rgba(250, 248, 243, 0.94);
  border-bottom: 1px solid rgba(32, 32, 32, 0.12);
  box-shadow: 0 12px 28px rgba(32, 32, 32, 0.08);
}

.hero__shine {
  background: rgba(142, 104, 118, 0.18);
}

.hero__poster {
  border-color: rgba(32, 32, 32, 0.2);
  background: #f8f5ef;
  box-shadow: 0 26px 64px rgba(32, 32, 32, 0.18);
}

.eyebrow,
.hero__facts dt,
.details__list span,
.countdown p,
.admin-table th {
  color: #8e6876;
}

h1,
h2,
.ticket > span,
.ticket > strong {
  color: #202020;
}

.hero__facts div,
.details__list div,
.faq details {
  border-color: rgba(32, 32, 32, 0.14);
  background: rgba(255, 255, 255, 0.64);
}

.button {
  border-color: #202020;
}

.button--primary {
  background: #202020;
  color: #fbf8f1;
}

.countdown,
.ticket,
.split-card,
.reservation-form {
  border-color: rgba(32, 32, 32, 0.16);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.76), rgba(142, 104, 118, 0.1));
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.countdown__grid span {
  background: rgba(255, 255, 255, 0.72);
  color: rgba(32, 32, 32, 0.62);
  border: 1px solid rgba(32, 32, 32, 0.1);
}

.countdown__grid strong,
.faq summary,
.reservation-form label {
  color: #202020;
}

.ticket--vip {
  background: linear-gradient(155deg, rgba(142, 104, 118, 0.18), rgba(255, 255, 255, 0.78));
}

.gift-image {
  background: rgba(255, 255, 255, 0.58);
}

.reservation-form input,
.reservation-form select {
  border-color: rgba(32, 32, 32, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #202020;
}

.admin-table-wrap {
  border-color: rgba(32, 32, 32, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.admin-table th,
.admin-table td {
  border-bottom-color: rgba(32, 32, 32, 0.12);
}

.after-party-tickets {
  display: grid;
  gap: 1rem;
}

.split-card--after-party .ticket {
  border: 1px solid rgba(32, 32, 32, 0.16);
  background: rgba(255, 255, 255, 0.66);
  padding: 1.25rem;
}

.split-card--after-party .ticket--vip {
  background: linear-gradient(155deg, rgba(142, 104, 118, 0.18), rgba(255, 255, 255, 0.78));
}

@media (min-width: 760px) {
  .after-party-tickets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.after-party-box {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.76), rgba(142, 104, 118, 0.1));
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.after-party-box .ticket {
  box-shadow: none;
}


/* Fine tuning: smaller prices and aligned party cards. */
.ticket > strong {
  font-size: clamp(1.45rem, 4vw, 2.75rem);
}

.after-party-box .ticket {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.after-party-box .ticket p {
  flex: 1;
}

.after-party-box .button {
  width: 100%;
  margin-top: auto;
}

.after-party-tickets {
  align-items: stretch;
}

.after-party-tickets .ticket > strong {
  font-size: clamp(1.35rem, 3.6vw, 2.35rem);
}


/* Hero schedule: editorial timeline instead of boxed facts. */
.hero__schedule {
  margin: 1.8rem 0;
  padding-block: 0.25rem;
  border-top: 2px solid rgba(32, 32, 32, 0.88);
  border-bottom: 2px solid rgba(32, 32, 32, 0.88);
}

.hero__date {
  margin: 0;
  padding: 0.8rem 0;
  color: #202020;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.55rem, 3.6vw, 3rem);
  letter-spacing: 0.06em;
  line-height: 1;
}

.hero__party-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(32, 32, 32, 0.22);
}

.hero__party {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(32, 32, 32, 0.22);
}

.hero__party:last-child {
  border-bottom: 0;
}

.hero__party span {
  color: #8e6876;
  font-family: Anton, Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__party strong {
  color: #202020;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 900;
  line-height: 1.25;
}

.hero__party small {
  color: rgba(32, 32, 32, 0.72);
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: 0.05em;
}

@media (min-width: 860px) {
  .hero__party {
    grid-template-columns: 8rem minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 1.1rem;
  }
}


/* Countdown inside the hero artwork. */
.hero__poster {
  position: relative;
}

.hero-countdown {
  position: absolute;
  right: clamp(0.75rem, 3vw, 1.2rem);
  bottom: clamp(0.75rem, 3vw, 1.2rem);
  width: min(88%, 25rem);
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: var(--radius);
  background: rgba(18, 18, 18, 0.82);
  color: #fbf8f1;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.hero-countdown p {
  margin: 0 0 0.5rem;
  color: rgba(251, 248, 241, 0.78);
  font-family: Anton, Impact, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}

.hero-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.hero-countdown__grid span {
  display: grid;
  gap: 0.2rem;
  place-items: center;
  min-height: 3.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(251, 248, 241, 0.74);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-countdown__grid strong {
  color: #fff;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.35rem, 3.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 640px) {
  .hero-countdown {
    right: 0.65rem;
    bottom: 0.65rem;
    left: 0.65rem;
    width: auto;
    padding: 0.65rem;
  }

  .hero-countdown__grid {
    gap: 0.32rem;
  }

  .hero-countdown__grid span {
    min-height: 3rem;
  }
}

/* Countdown refinement: frameless numbers centered near the bottom of the hero image. */
.hero-countdown {
  right: 50%;
  bottom: clamp(1rem, 5vw, 2.25rem);
  left: auto;
  width: min(86%, 30rem);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(50%);
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.58), 0 1px 2px rgba(0, 0, 0, 0.68);
}

.hero-countdown p {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.72rem, 1.5vw, 0.9rem);
}

.hero-countdown__grid {
  gap: clamp(0.35rem, 1.2vw, 0.8rem);
}

.hero-countdown__grid span {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(0.56rem, 1.3vw, 0.72rem);
  letter-spacing: 0.08em;
}

.hero-countdown__grid strong {
  color: #fff;
  font-size: clamp(1.65rem, 5.6vw, 3.45rem);
}

@media (max-width: 640px) {
  .hero-countdown {
    right: 50%;
    bottom: 0.9rem;
    left: auto;
    width: 90%;
    padding: 0;
    transform: translateX(50%);
  }
}

/* New lighter hero artwork: use larger black countdown text. */
.hero-countdown {
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.72), 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-countdown p {
  color: rgba(32, 32, 32, 0.78);
  font-size: clamp(0.86rem, 1.8vw, 1.05rem);
}

.hero-countdown__grid span {
  color: rgba(32, 32, 32, 0.72);
  font-size: clamp(0.68rem, 1.5vw, 0.86rem);
}

.hero-countdown__grid strong {
  color: #202020;
  font-size: clamp(2.05rem, 6.8vw, 4.25rem);
}

/* Wide hero: keep countdown below the poster typography. */
@media (min-width: 760px) {
  .hero__poster {
    margin-bottom: 6.25rem;
  }

  .hero-countdown {
    top: calc(100% + 0.85rem);
    bottom: auto;
    width: min(94%, 32rem);
    text-shadow: none;
  }

  .hero-countdown p,
  .hero-countdown__grid span,
  .hero-countdown__grid strong {
    color: #202020;
  }
}

/* Keep the poster rounded, but allow the below-poster countdown to show. */
.hero__poster {
  overflow: visible;
}

.hero__poster > img {
  overflow: hidden;
  border-radius: var(--radius);
}

@media (min-width: 760px) {
  .hero-countdown {
    z-index: 2;
  }
}

/* Put countdown back inside the poster without covering the Birthday Party text. */
@media (min-width: 760px) {
  .hero__poster {
    margin-bottom: 0;
    overflow: hidden;
  }

  .hero-countdown {
    top: auto;
    right: 50%;
    bottom: 2.15rem;
    width: min(82%, 28rem);
    transform: translateX(50%);
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.74), 0 1px 2px rgba(255, 255, 255, 0.86);
  }

  .hero-countdown p {
    margin-bottom: 0.15rem;
    color: rgba(32, 32, 32, 0.74);
    font-size: clamp(0.68rem, 1.2vw, 0.82rem);
  }

  .hero-countdown__grid strong {
    font-size: clamp(1.65rem, 4.4vw, 2.8rem);
  }

  .hero-countdown__grid span {
    font-size: clamp(0.54rem, 1vw, 0.68rem);
  }
}

/* Micro adjustment: nudge hero countdown slightly lower. */
@media (min-width: 760px) {
  .hero-countdown {
    bottom: 1.55rem;
  }
}

@media (max-width: 640px) {
  .hero-countdown {
    bottom: 0.55rem;
  }
}

/* Mobile portrait: make the in-poster countdown more prominent. */
@media (max-width: 640px) {
  .hero-countdown p {
    font-size: clamp(0.95rem, 3.4vw, 1.15rem);
    margin-bottom: 0.3rem;
  }

  .hero-countdown__grid strong {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .hero-countdown__grid span {
    font-size: clamp(0.78rem, 3vw, 1rem);
    letter-spacing: 0.09em;
  }
}

/* Mobile portrait: one more step larger for countdown impact. */
@media (max-width: 640px) {
  .hero-countdown p {
    font-size: clamp(1.05rem, 3.9vw, 1.3rem);
  }

  .hero-countdown__grid strong {
    font-size: clamp(3.55rem, 16vw, 5.15rem);
  }

  .hero-countdown__grid span {
    font-size: clamp(0.86rem, 3.35vw, 1.12rem);
  }
}

/* Mobile portrait: larger countdown, same position. */
@media (max-width: 640px) {
  .hero-countdown p {
    font-size: clamp(1.16rem, 4.35vw, 1.42rem);
  }

  .hero-countdown__grid strong {
    font-size: clamp(4rem, 18vw, 5.75rem);
  }

  .hero-countdown__grid span {
    font-size: clamp(0.95rem, 3.7vw, 1.22rem);
  }
}

/* Mobile portrait: make countdown a bold hero element. */
@media (max-width: 640px) {
  .hero-countdown p {
    font-size: clamp(1.28rem, 4.9vw, 1.62rem);
  }

  .hero-countdown__grid strong {
    font-size: clamp(4.75rem, 21vw, 6.8rem);
  }

  .hero-countdown__grid span {
    font-size: clamp(1.02rem, 4vw, 1.34rem);
  }
}


/* Access: show both party venues in one map section. */
.map-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.map-card {
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.76), rgba(142, 104, 118, 0.1));
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.map-card__body {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.map-card__body span {
  color: #8e6876;
  font-family: Anton, Impact, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-card__body strong {
  color: #202020;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 900;
}

.map-card__body p {
  margin: 0;
  color: rgba(32, 32, 32, 0.68);
  font-weight: 700;
}

.map-card .map__frame {
  margin-top: 0;
  border: 0;
  border-top: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

@media (min-width: 820px) {
  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Hero follow-up copy: keep the wide hero layout fixed, then stage the message below it. */
.intro--hero-copy {
  padding-block: clamp(1.7rem, 4vw, 3.2rem) 0;
  text-align: left;
}

.intro--mobile {
  display: none;
}

.intro__eyebrow {
  margin: 0 0 0.85rem;
  color: #8e6876;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro--hero-copy h2 {
  max-width: 920px;
  margin: 0;
  color: #202020;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.75rem, 4.2vw, 3.55rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: none;
}



.intro__event-title {
  display: none;
}

.intro--hero-copy h3 {
  max-width: 920px;
  margin: 0;
  color: #202020;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.75rem, 4.2vw, 3.55rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: none;
}

.intro__body {
  max-width: 820px;
  margin: 1rem 0 0;
  color: rgba(32, 32, 32, 0.72);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 600;
  line-height: 2;
}

@media (max-width: 759px) {
  .intro--desktop {
    display: none;
  }

  .intro--mobile {
    display: block;
    width: 100%;
    padding-block-start: 1.45rem;
    padding-inline: 0.75rem;
  }

  .intro__eyebrow {
    font-size: 0.9rem;
  }

  .intro--hero-copy h2 {
    font-size: clamp(1.55rem, 7vw, 2.45rem);
    letter-spacing: 0.02em;
  }

  .intro__body {
    font-size: 0.95rem;
    line-height: 1.9;
  }
}


.intro--desktop h3 {
  display: none;
}

@media (max-width: 759px) {
  .hero__body {
    display: none;
  }

  .intro__event-title {
    display: block;
    max-width: 9.8ch;
    margin: 0 0 1.25rem;
    color: #202020;
    font-family: Anton, Impact, sans-serif;
    font-size: clamp(3.2rem, 15vw, 5.6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }

  .intro--mobile h3 {
    font-size: clamp(1.55rem, 7vw, 2.45rem);
    letter-spacing: 0.02em;
  }
}


/* Mobile title restore: keep EDGAR title in the original bold display face. */
@media (max-width: 759px) {
  .intro--mobile .intro__event-title {
    display: block;
    max-width: 9.8ch;
    margin: 0 0 3.1rem;
    color: #202020;
    font-family: Anton, Impact, sans-serif;
    font-size: clamp(3.2rem, 15vw, 5.6rem);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
  }
}


/* Wide layout: tighten the space between hero and the intro copy only on desktop. */
@media (min-width: 760px) {
  .hero {
    padding-block-end: clamp(0.8rem, 2vw, 1.55rem);
  }

  .intro--desktop {
    padding-block-start: 0.35rem;
  }
}


/* Party detail cards: show both parties with venue, map, social, contents, and payment. */
.party-detail-list {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  margin-top: 1.4rem;
}

.party-detail {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  padding: clamp(1.1rem, 2.8vw, 1.8rem);
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.82), rgba(142, 104, 118, 0.09));
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.party-detail__head {
  display: grid;
  gap: 0.3rem;
}

.party-detail__head span,
.party-detail__meta dt {
  color: #8e6876;
  font-family: Anton, Impact, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.party-detail__head span {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.party-detail__head h3 {
  margin: 0;
  color: #202020;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.15rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.party-detail__description {
  max-width: 820px;
  margin: 0;
  color: rgba(32, 32, 32, 0.72);
  font-weight: 700;
  line-height: 1.95;
}

.party-detail__meta {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.party-detail__meta div {
  display: grid;
  gap: 0.2rem;
  padding-block: 0.2rem;
  border-bottom: 1px solid rgba(32, 32, 32, 0.12);
}

.party-detail__meta dt,
.party-detail__meta dd {
  margin: 0;
}

.party-detail__meta dd {
  color: #202020;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  font-weight: 900;
}

.party-detail__meta a {
  color: #202020;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.party-detail__mini-map {
  overflow: hidden;
  border: 1px solid rgba(32, 32, 32, 0.14);
  border-radius: var(--radius);
  aspect-ratio: 16 / 7;
  background: rgba(255, 255, 255, 0.68);
}

.party-detail__mini-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.party-detail__chips,
.party-detail__price,
.party-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.party-detail__chips span,
.party-detail__price strong {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(32, 32, 32, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #202020;
  font-size: 0.92rem;
  font-weight: 900;
}

.party-detail__price strong {
  background: rgba(32, 32, 32, 0.92);
  color: #fbf8f1;
}

.party-detail__actions .button {
  min-height: 3rem;
  padding-inline: 1.1rem;
}

@media (min-width: 900px) {
  .party-detail {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    align-items: start;
  }

  .party-detail__head,
  .party-detail__description,
  .party-detail__chips,
  .party-detail__price,
  .party-detail__actions {
    grid-column: 1;
  }

  .party-detail__meta,
  .party-detail__mini-map {
    grid-column: 2;
  }

  .party-detail__mini-map {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .party-detail__head h3 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .party-detail__mini-map {
    aspect-ratio: 16 / 10;
  }

  .party-detail__actions .button {
    width: 100%;
  }
}


/* Party meta list: keep details as text rows instead of rounded chips. */
.party-detail__chips,
.party-detail__price {
  display: none;
}

.party-detail__meta {
  gap: 0.55rem;
}

.party-detail__meta div {
  grid-template-columns: minmax(6.5rem, 0.36fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 0.8rem;
}

.party-detail__meta dt {
  font-size: 0.92rem;
}

.party-detail__meta dd {
  font-size: clamp(0.95rem, 1.45vw, 1.04rem);
}

@media (max-width: 640px) {
  .party-detail__meta div {
    grid-template-columns: 1fr;
    gap: 0.12rem;
  }
}


/* Wide party cards: keep all text/details on the left and reserve the right side for the map. */
@media (min-width: 900px) {
  .party-detail {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.72fr);
    gap: clamp(1.5rem, 3vw, 2.4rem);
    align-items: stretch;
  }

  .party-detail__head,
  .party-detail__description,
  .party-detail__meta,
  .party-detail__actions {
    grid-column: 1;
  }

  .party-detail__mini-map {
    grid-column: 2;
    grid-row: 1 / span 4;
    min-height: 430px;
    height: 100%;
    aspect-ratio: auto;
  }

  .party-detail__head h3 {
    font-size: clamp(3.4rem, 5.4vw, 5.2rem);
  }

  .party-detail__description {
    max-width: 620px;
  }
}


/* Wide party cards: size the map to the meta-list area, not the whole card. */
@media (min-width: 900px) {
  .party-detail__mini-map {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: start;
    min-height: 0;
    height: clamp(300px, 24vw, 390px);
    aspect-ratio: auto;
  }
}


/* Wide party copy fit: make titles cleaner and let descriptions use the full text column. */
@media (min-width: 900px) {
  .party-detail {
    grid-template-columns: minmax(680px, 1fr) minmax(340px, 0.58fr);
  }

  .party-detail__head h3 {
    max-width: 12.8ch;
    font-size: clamp(3.1rem, 4.45vw, 4.4rem);
    line-height: 1;
  }

  .party-detail__description {
    max-width: none;
    width: 100%;
  }
}


/* Wide party layout: title and intro span across, details stay compact beside the map. */
@media (min-width: 900px) {
  .party-detail {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
    gap: clamp(1.2rem, 2.4vw, 2rem);
    align-items: start;
  }

  .party-detail__head,
  .party-detail__description {
    grid-column: 1 / -1;
  }

  .party-detail__head h3 {
    max-width: 18ch;
    font-size: clamp(3.1rem, 4.7vw, 4.8rem);
    line-height: 1;
  }

  .party-detail__description {
    max-width: none;
    width: 100%;
  }

  .party-detail__meta,
  .party-detail__actions {
    grid-column: 1;
  }

  .party-detail__mini-map {
    grid-column: 2;
    grid-row: 3 / span 2;
    align-self: start;
    min-height: 0;
    height: clamp(300px, 24vw, 390px);
    aspect-ratio: auto;
  }
}


/* Keep CELEBRATION DINNER PARTY together on wide screens. */
@media (min-width: 900px) {
  .party-detail__nowrap {
    white-space: nowrap;
  }

  .party-detail__head h3 {
    max-width: 24ch;
  }
}


/* Restore the 1st Party title to the original display style, split into two clean lines. */
.party-detail__head h3 .party-detail__title-line {
  display: block;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

@media (min-width: 900px) {
  .party-detail__head h3 {
    max-width: none;
  }

  .party-detail__head h3 .party-detail__title-line {
    white-space: nowrap;
  }
}


/* FAQ / Information headings: bold, polished Japanese display style. */
.faq h2,
.organizer h2 {
  color: #202020;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.9rem, 7.6vw, 2.65rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (min-width: 760px) {
  .faq h2,
  .organizer h2 {
    font-size: clamp(2.1rem, 3.1vw, 2.65rem);
  }
}


/* FAQ / Information headings: corporate-style bold sans typography. */
.faq h2,
.organizer h2 {
  color: #202020;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(1.65rem, 6.4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-transform: none;
}

@media (min-width: 760px) {
  .faq h2,
  .organizer h2 {
    font-size: clamp(1.75rem, 2.15vw, 2.2rem);
  }
}

/* Mobile portrait: reduce the poster countdown to about half size. */
@media (max-width: 759px) {
  .hero-countdown p {
    font-size: clamp(0.42rem, 1.8vw, 0.58rem);
    letter-spacing: 0.12em;
  }

  .hero-countdown__grid {
    gap: 0.28rem;
  }

  .hero-countdown__grid strong {
    font-size: clamp(1.35rem, 8vw, 2.45rem);
  }

  .hero-countdown__grid span {
    font-size: clamp(0.42rem, 1.8vw, 0.58rem);
  }
}


/* Final heading/countdown adjustment. */
@media (min-width: 760px) {
  .faq h2,
  .organizer h2 {
    font-size: clamp(2rem, 2.65vw, 2.65rem);
  }
}

@media (max-width: 759px) {
  .hero-countdown {
    left: 50%;
    right: auto;
    bottom: 1.15rem;
    width: min(72%, 22rem);
    transform: translateX(-50%);
    text-align: center;
  }

  .hero-countdown p {
    font-size: clamp(0.72rem, 2.8vw, 0.96rem);
    margin-bottom: 0.18rem;
    letter-spacing: 0.14em;
  }

  .hero-countdown__grid {
    justify-content: center;
    gap: 0.1rem;
  }

  .hero-countdown__grid span {
    font-size: clamp(0.5rem, 2.1vw, 0.68rem);
    letter-spacing: 0.08em;
  }

  .hero-countdown__grid strong {
    font-size: clamp(1.7rem, 10vw, 3.05rem);
  }
}


/* Flower gift section and mobile title spacing. */
.gl-flower-section .section-note {
  max-width: 820px;
}

.gl-flower-section .split-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.84), rgba(142, 104, 118, 0.1));
  border-color: rgba(32, 32, 32, 0.16);
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.gl-flower-section .ticket > span {
  color: #8e6876;
}

@media (max-width: 759px) {
  .intro--mobile {
    padding-block-start: 2.25rem;
  }
}


/* Mobile portrait: nudge countdown upward slightly. */
@media (max-width: 759px) {
  .hero-countdown {
    bottom: 1.85rem;
  }
}


/* Peyling-style flower gifts: dark cards with gold display type. */
.gift-section--dark {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--radius);
  background: #050504;
  color: #fff8dd;
}

.gift-section--dark .eyebrow {
  color: #e7c25f;
  letter-spacing: 0.22em;
}

.gift-section--dark h2 {
  max-width: 880px;
  color: #fff8dd;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(2.2rem, 6.2vw, 4.8rem);
  font-weight: 900;
  line-height: 1.12;
  text-transform: none;
}

.gift-section--dark .section-note {
  max-width: 820px;
  color: rgba(255, 248, 221, 0.72);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 2;
}

.flower-gift-list {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(1.4rem, 3vw, 2rem);
}

.flower-gift-card {
  display: grid;
  gap: clamp(1.1rem, 2.2vw, 1.5rem);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(231, 194, 95, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(231, 194, 95, 0.12), rgba(9, 8, 5, 0.94));
}

.flower-gift-card__image {
  overflow: hidden;
  border-radius: var(--radius);
  background: #030303;
}

.flower-gift-card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flower-gift-card__body {
  display: grid;
  gap: 0.9rem;
}

.flower-gift-card h3 {
  margin: 0;
  color: #ffd76a;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.4rem, 9vw, 5.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flower-gift-card strong {
  color: #ffd76a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.flower-gift-card p {
  margin: 0;
  color: rgba(255, 248, 221, 0.68);
  font-size: clamp(0.98rem, 2.2vw, 1.18rem);
  line-height: 2;
}

.flower-gift-card .button {
  width: 100%;
  min-height: clamp(3.5rem, 8vw, 4.8rem);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff0a0 0%, #c69032 100%);
  color: #050504;
  font-size: clamp(1rem, 3.3vw, 1.45rem);
  font-weight: 900;
}

@media (min-width: 860px) {
  .flower-gift-card {
    grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
    align-items: center;
  }

  .flower-gift-card__image img {
    height: 100%;
    min-height: 360px;
  }
}


/* Flower gifts: keep Peyling-like order/structure but use the EDGAR light palette. */
.gift-section--dark {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.84), rgba(142, 104, 118, 0.08));
  color: #202020;
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.gift-section--dark .eyebrow {
  color: #8e6876;
  letter-spacing: 0.16em;
}

.gift-section--dark h2 {
  max-width: 880px;
  color: #202020;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(2rem, 5.8vw, 4.4rem);
  font-weight: 900;
  line-height: 1.14;
  text-transform: none;
}

.gift-section--dark .section-note {
  max-width: 820px;
  color: rgba(32, 32, 32, 0.68);
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 2;
}

.flower-gift-card {
  border-color: rgba(32, 32, 32, 0.16);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(32, 32, 32, 0.07);
}

.flower-gift-card__image {
  background: #f8f5ef;
}

.flower-gift-card h3 {
  color: #202020;
}

.flower-gift-card strong {
  color: #202020;
  font-family: Georgia, "Times New Roman", serif;
}

.flower-gift-card p {
  color: rgba(32, 32, 32, 0.68);
}

.flower-gift-card .button {
  border: 2px solid #202020;
  background: #202020;
  color: #fbf8f1;
}


/* Flower frames: keep only the outer section frame and add breathing room between sections. */
.party-details + .gift-section--dark,
.gift-section--dark + .gift-section--dark {
  margin-top: clamp(1rem, 2.4vw, 1.6rem);
}

.flower-gift-list {
  gap: clamp(1.6rem, 3vw, 2.4rem);
}

.flower-gift-card {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.flower-gift-card__image {
  border: 1px solid rgba(32, 32, 32, 0.12);
  background: #f8f5ef;
}

@media (min-width: 860px) {
  .flower-gift-card + .flower-gift-card {
    padding-top: clamp(1.4rem, 2.4vw, 2rem);
    border-top: 1px solid rgba(32, 32, 32, 0.12);
  }
}

@media (max-width: 859px) {
  .flower-gift-card + .flower-gift-card {
    padding-top: 1.4rem;
    border-top: 1px solid rgba(32, 32, 32, 0.12);
  }
}


/* Flower gift prices: slightly smaller for better balance. */
.flower-gift-card strong {
  font-size: clamp(1.55rem, 4.8vw, 2.75rem);
}


/* Gift headers outside the frame; product list keeps the single outer frame. */
.gift-section--dark {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gift-section__frame {
  margin-top: clamp(1.2rem, 2.6vw, 1.8rem);
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.84), rgba(142, 104, 118, 0.08));
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.gift-section--dark .section-note {
  white-space: pre-line;
}

/* Flower gift image fitting: keep full products visible in requested layouts. */
.gl-rose-section .flower-gift-card__image,
.gl-flower-section .flower-gift-card__image {
  display: grid;
  place-items: center;
  background: #f8f5ef;
}

.gl-rose-section .flower-gift-card__image img,
.gl-flower-section .flower-gift-card__image img {
  object-fit: contain;
  background: #f8f5ef;
}

@media (min-width: 860px) {
  .gl-rose-section .flower-gift-card__image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 859px) {
  .gl-flower-section .flower-gift-card__image img {
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 4;
  }
}

/* Flower gift frames: let the border follow the actual image instead of an empty ratio box. */
.gl-rose-section .flower-gift-card__image,
.gl-flower-section .flower-gift-card__image {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gl-rose-section .flower-gift-card__image img,
.gl-flower-section .flower-gift-card__image img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: var(--radius);
  background: #f8f5ef;
}

@media (min-width: 860px) {
  .gl-rose-section .flower-gift-card__image img {
    max-height: 420px;
  }
}

@media (max-width: 859px) {
  .gl-flower-section .flower-gift-card__image img {
    max-height: 70vh;
  }
}

/* WordPress chrome cleanup: hide the duplicate checkout/cart page title above the LP header. */
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-cart .wp-block-post-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-cart h1.entry-title {
  display: none !important;
}

/* WordPress footer cleanup: hide default theme footer blocks on the LP/cart/checkout flow. */
body footer,
body .wp-site-blocks > footer,
body .wp-block-template-part:has(footer),
body .site-footer,
body #colophon {
  display: none !important;
}

/* EDGER v3 WordPress cleanup: remove duplicate titles and default theme footer/navigation blocks. */
body.woocommerce-checkout .wp-block-post-title,
body.woocommerce-cart .wp-block-post-title,
body.page .entry-header,
body.woocommerce-checkout .entry-header,
body.woocommerce-cart .entry-header,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout h1.entry-title,
body.woocommerce-cart h1.entry-title,
body.woocommerce-checkout main > h1:first-child,
body.woocommerce-cart main > h1:first-child {
  display: none !important;
}

body footer,
body .wp-site-blocks > footer,
body .wp-block-template-part:has(footer),
body .wp-block-template-part:has(.wp-block-navigation),
body .site-footer,
body #colophon,
body .footer,
body .wp-block-navigation__responsive-container-content:has(a[href*="blog"]),
body .wp-block-navigation__responsive-container-content:has(a[href*="event"]),
body .wp-block-navigation__responsive-container-content:has(a[href*="about"]) {
  display: none !important;
}

/* EDGER WooCommerce cart/checkout polish. */
.edger-wc-chrome {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 2.6rem) clamp(1rem, 4vw, 2.5rem) 0;
}

.edger-wc-header {
  position: static;
  margin: 0 0 clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 18px 44px rgba(32, 32, 32, 0.08);
}

.edger-wc-title {
  margin: 0 0 clamp(1.2rem, 3vw, 2rem);
  color: #202020;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
}

body.woocommerce-cart .wp-site-blocks,
body.woocommerce-checkout .wp-site-blocks {
  padding-top: 0 !important;
}

body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-coupon-form-block,
body.woocommerce-cart .wc-block-components-totals-coupon,
body.woocommerce-cart .woocommerce-form-coupon-toggle,
body.woocommerce-cart .coupon,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
body.woocommerce-checkout .wc-block-components-totals-coupon,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .coupon {
  display: none !important;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

@media (max-width: 720px) {
  .edger-wc-header {
    gap: 1rem;
  }

  .edger-wc-title {
    font-size: clamp(3rem, 18vw, 5rem);
  }
}



/* Cart product list: EDGAR prepayment items below the cart. */
.edger-cart-products {
  max-width: 1120px;
  margin: clamp(2rem, 5vw, 4rem) auto clamp(3rem, 6vw, 5rem);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.edger-cart-products__eyebrow {
  margin: 0 0 0.4rem;
  color: #9a7484;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.edger-cart-products h2 {
  margin: 0;
  color: #202020;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
}

.edger-cart-products__note {
  margin: 0.8rem 0 clamp(1.2rem, 3vw, 2rem);
  color: #62605d;
  font-weight: 700;
}

.edger-cart-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 2vw, 1.2rem);
  align-items: stretch;
}

.edger-cart-product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(32, 32, 32, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(32, 32, 32, 0.06);
}

.edger-cart-product-card h3 {
  min-height: 3.3em;
  margin: 0;
  color: #202020;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.edger-cart-product-card__price {
  margin: 0.8rem 0 0;
  color: #202020;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1;
}

.edger-cart-product-card__text {
  min-height: 4.8em;
  margin: 0.8rem 0 0;
  color: #62605d;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.65;
}

.edger-cart-product-card__button {
  display: flex;
  width: 100%;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 980px) {
  .edger-cart-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .edger-cart-products__grid {
    grid-template-columns: 1fr;
  }

  .edger-cart-product-card h3,
  .edger-cart-product-card__text {
    min-height: 0;
  }
}


/* Mobile intro title: keep the special-night line on one row. */
@media (max-width: 759px) {
  .intro--mobile h3 {
    white-space: nowrap;
    font-size: clamp(1.28rem, 5.5vw, 1.78rem);
    letter-spacing: 0.01em;
    line-height: 1.2;
  }
}


/* Stand flower photos: make the frame follow the actual supplied image ratio. */
.gl-flower-section .flower-gift-card__image {
  display: block;
  overflow: visible;
  border: 0;
  background: transparent;
}

.gl-flower-section .flower-gift-card__image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: var(--radius);
  background: #050505;
}


/* Checkout field cleanup and empty-cart face. */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  gap: 1rem;
}

body.woocommerce-checkout .form-row {
  margin: 0 0 1rem;
}

body.woocommerce-checkout .form-row label {
  color: #202020;
  font-weight: 900;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-heading,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-query,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-button,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wp-block-separator {
  display: none !important;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title::before,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block::before {
  content: "";
  display: block;
  width: clamp(112px, 18vw, 172px);
  aspect-ratio: 1;
  margin: 0 auto 1.4rem;
  border-radius: 999px;
  background-image: url("assets/empty-cart-face.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.woocommerce-cart .wc-block-cart__empty-cart__title svg,
body.woocommerce-cart .wc-block-cart__empty-cart__title .wc-block-cart__empty-cart__icon,
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block svg {
  display: none !important;
}


body.woocommerce-cart .cart-empty.woocommerce-info {
  border-top-color: transparent;
  background: transparent;
  color: #202020;
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 800;
  text-align: center;
}

body.woocommerce-cart .cart-empty.woocommerce-info::before {
  content: "" !important;
  position: static;
  display: block;
  width: clamp(112px, 18vw, 172px);
  aspect-ratio: 1;
  margin: 0 auto 1.4rem;
  border-radius: 999px;
  background-image: url("assets/empty-cart-face.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.woocommerce-cart .return-to-shop {
  display: none !important;
}


/* Rose supporter names and purchased rose count shown on the LP. */
.rose-supporters {
  margin: clamp(1.2rem, 3vw, 2rem) auto clamp(1.6rem, 3.2vw, 2.4rem);
  padding: clamp(1rem, 2.6vw, 1.6rem);
  max-width: 760px;
  border: 1px solid rgba(32, 32, 32, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.rose-heart {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto clamp(0.95rem, 2.4vw, 1.35rem);
}

.rose-heart__base {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(32, 32, 32, 0.08));
}

.rose-heart__roses {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rose-heart__rose {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: clamp(42px, 7.5vw, 76px);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--s));
  filter: drop-shadow(0 8px 8px rgba(32, 32, 32, 0.24));
}

.rose-supporters__label {
  margin: 0 0 0.8rem;
  color: #9a7484;
  font-family: Anton, Impact, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.rose-supporters__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.rose-supporters__list span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(32, 32, 32, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #202020;
  font-weight: 900;
  line-height: 1;
}

.rose-supporters__list em {
  color: #9a7484;
  font-style: normal;
  font-size: 0.86em;
}

@media (max-width: 680px) {
  .rose-supporters {
    padding: 0.85rem;
  }

  .rose-heart__rose {
    width: clamp(34px, 9.5vw, 58px);
  }
}


/* Intro title size bump requested after rose supporter update. */
.intro--desktop h2 {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
}

@media (max-width: 759px) {
  .intro--mobile h3 {
    font-size: clamp(1.36rem, 5.85vw, 1.9rem);
  }
}


body.woocommerce-cart .edger-empty-cart-face {
  display: block !important;
  width: clamp(124px, 20vw, 190px);
  height: auto;
  margin: 0 auto 1.4rem;
  object-fit: contain;
}

body.woocommerce-cart .edger-empty-cart-face + .wc-block-cart__empty-cart__title::before,
body.woocommerce-cart .edger-empty-cart-face + .cart-empty.woocommerce-info::before {
  display: none !important;
}


/* Cart remove button and product-list images. */
.edger-cart-product-card__image {
  margin: 0.9rem 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(32, 32, 32, 0.04);
}

.edger-cart-product-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
}

.edger-cart-product-card:nth-child(2) .edger-cart-product-card__image img,
.edger-cart-product-card:nth-child(3) .edger-cart-product-card__image img,
.edger-cart-product-card:nth-child(4) .edger-cart-product-card__image img {
  object-fit: contain;
  background: #050505;
}

body.woocommerce-cart .edger-cart-remove-button,
body.woocommerce-cart .wc-block-cart-item__remove-link.edger-cart-remove-button,
body.woocommerce-cart .product-remove a.remove.edger-cart-remove-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 4.8rem;
  min-height: 2.35rem;
  margin: 0.6rem 0 0 0.65rem !important;
  padding: 0.45rem 0.95rem !important;
  border: 1px solid rgba(32, 32, 32, 0.18) !important;
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

body.woocommerce-cart .product-remove {
  width: 0 !important;
  padding: 0 !important;
}

body.woocommerce-cart .product-remove a.remove:not(.edger-cart-remove-button) {
  display: none !important;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
  display: none !important;
}


body.woocommerce-checkout .edger-hidden-field,
body.woocommerce-checkout .edger-hidden-field label {
  display: none !important;
}


body.woocommerce-checkout .edger-cardholder-name-field {
  margin: 1.2rem 0 1rem !important;
  padding: 1rem;
  border: 1px solid rgba(32, 32, 32, 0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}

body.woocommerce-checkout .edger-cardholder-name-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: #202020;
  font-weight: 900;
}

body.woocommerce-checkout .edger-cardholder-name-field input {
  width: 100%;
}


/* Rose bouquet layout: Single Rose card first, heart display inside the same frame. */
.gl-rose-section .gift-section__frame {
  display: grid;
  gap: clamp(1.15rem, 3vw, 2rem);
}

.flower-gift-list--rose {
  margin-bottom: 0;
}

.gl-rose-section .rose-supporters {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 760px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.gl-rose-section .rose-heart {
  width: min(100%, 620px);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.gl-rose-section .rose-heart__base {
  filter: drop-shadow(0 16px 22px rgba(32, 32, 32, 0.08));
}

.gl-rose-section .rose-heart__rose {
  width: clamp(46px, 7.2vw, 78px);
}

.gl-rose-section .rose-supporters__label {
  margin-bottom: 0.35rem;
  font-size: clamp(0.82rem, 1.15vw, 1rem);
  letter-spacing: 0.12em;
}

.gl-rose-section .rose-supporters__list {
  gap: 0.45rem 0.8rem;
}

.gl-rose-section .rose-supporters__list span {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(32, 32, 32, 0.72);
  font-family: Manrope, system-ui, sans-serif;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gl-rose-section .rose-supporters__list em {
  color: rgba(154, 116, 132, 0.9);
  font-weight: 600;
}

@media (max-width: 680px) {
  .gl-rose-section .rose-heart__rose {
    width: clamp(38px, 10vw, 62px);
  }

  .gl-rose-section .rose-supporters__list span {
    font-size: 0.82rem;
  }
}


/* Rose placement fix: use the trimmed rose image and pin flowers onto the heart surface. */
.gl-rose-section .rose-heart__roses {
  inset: 0;
  z-index: 2;
}

.gl-rose-section .rose-heart__rose {
  width: clamp(58px, 8.6vw, 94px);
  transform: translate(-50%, -50%) rotate(var(--r)) scale(var(--s));
}

@media (max-width: 680px) {
  .gl-rose-section .rose-heart__rose {
    width: clamp(46px, 12vw, 72px);
  }
}


/* Rose placement tune: nudge flowers onto the heart and reduce overflow. */
.gl-rose-section .rose-heart__rose {
  width: clamp(50px, 7.7vw, 84px);
}

@media (max-width: 680px) {
  .gl-rose-section .rose-heart__rose {
    width: clamp(42px, 10.8vw, 66px);
  }
}


/* Rose from name separators. */
.gl-rose-section .rose-supporters__list i {
  color: rgba(32, 32, 32, 0.38);
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}


/* Rose from spacing: keep names closer to the heart, with room below for more names. */
.gl-rose-section .rose-heart {
  margin-bottom: clamp(0.25rem, 0.9vw, 0.45rem);
}

.gl-rose-section .rose-supporters {
  padding-bottom: clamp(1.4rem, 3.6vw, 2.6rem);
}

.gl-rose-section .rose-supporters__label {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.gl-rose-section .rose-supporters__list {
  padding-bottom: clamp(0.8rem, 2.4vw, 1.6rem);
}
