/* ===== Base ===== */

:root {
  --green: #138447;
  --deep-green: #073d2b;
  --lime: #b8e83e;
  --pink: #138447;
  --yellow: #ffe45b;
  --mint: #f4fff1;
  --ink: #111111;
  --paper: #fffef8;
  --line: rgba(18, 37, 30, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--mint); font-family: "Montserrat", "Kosugi Maru", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ===== Noise ===== */

.noise { pointer-events: none; position: fixed; inset: 0; opacity: .08; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }

/* ===== Header ===== */

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 16px clamp(20px, 5vw, 72px); color: white; background: var(--green); border-bottom: 3px solid var(--ink); }
.brand { font-weight: 900; letter-spacing: -.06em; }
.nav { display: flex; gap: 2rem; font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.nav a:hover { color: var(--yellow); }
.menu-button { display: none; border: 0; background: transparent; color: white; font-size: 1.5rem; }

/* ===== Common layout ===== */

.section-grid { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); padding: clamp(56px, 8vw, 120px) clamp(20px, 7vw, 110px); }

/* ===== Hero ===== */

.hero { position: relative; min-height: 720px; overflow: hidden; background: linear-gradient(135deg, rgba(255,255,255,.75) 25%, transparent 25%) 0 0 / 70px 70px, var(--paper); border-bottom: 4px solid var(--ink); }
.hero-copy { grid-column: 2; align-self: center; position: relative; z-index: 2; }

.hero-side { grid-column: 3; display: flex; flex-direction: column; align-items: center; gap: 18px; align-self: start; width: 100%; padding-top: 20px; }

.hero-side .sticker-ticket { position: static; top: auto; right: auto; z-index: 3; display: flex; align-items: center; justify-content: center; width: 140px; min-height: 70px; height: auto; margin: 0; padding: 10px; background: var(--yellow); border: 2px solid var(--ink); transform: rotate(8deg); color: var(--ink); font-size: 1rem; font-weight: 900; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s; }

.hero-side .sticker-ticket:hover { transform: translate(3px, 3px) rotate(8deg); }

.hero-art { position: relative; width: 100%; min-height: auto; margin: 0; }
.hero-art img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }

/* ===== Hero text ===== */

.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.hashtag { margin: 0 0 14px; color: var(--green); font-size: .85rem; font-weight: 900; letter-spacing: .02em; }
.issue { display: inline-block; margin: 0 0 12px; padding: 5px 9px; color: white; background: var(--ink); font-size: .62rem; font-weight: 800; letter-spacing: .08em; }

h1, h2 { margin: 0; font-weight: 900; line-height: .9; letter-spacing: -.08em; }
h1 { color: var(--green); font-size: clamp(4rem, 8vw, 8.5rem); text-shadow: 5px 5px 0 var(--yellow); }
h1 span { color: var(--green); }
h1 em { color: var(--ink); font-style: normal; font-size: .73em; }

.date-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; font-size: .72rem; font-weight: 800; }
.date-line strong { padding: 8px 12px; color: white; background: var(--green); font-size: 1.2rem; transform: rotate(-3deg); }
.slash { color: var(--green); }

.hero-lead { margin: 28px 0; line-height: 1.9; font-family: "Kosugi Maru", sans-serif; font-weight: 700; }
.hero-lead strong { color: var(--green); font-weight: 900; }

/* ===== Buttons ===== */

.cta, .outline-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 180px; padding: 13px 17px; border: 2px solid var(--ink); background: var(--lime); font-size: .72rem; font-weight: 900; letter-spacing: .08em; box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s; }
.cta:hover, .outline-cta:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.cta.wide { display: inline-flex; width: fit-content; min-width: 0; margin-top: 24px; padding: 12px 24px; }

/* ===== Hero decorations ===== */

.sticker { position: absolute; z-index: 3; font-weight: 900; }
.sticker-star { top: 10%; left: 4%; color: var(--green); font-size: 5rem; transform: rotate(-15deg); }
.sticker-heart { bottom: 8%; left: 48%; color: var(--green); font-size: 3rem; }

/* ===== Countdown ===== */

.countdown-wrap { padding: 48px clamp(20px, 7vw, 110px); color: white; background: var(--green); text-align: center; border-bottom: 4px solid var(--ink); }
.section-tag { display: inline-block; margin-bottom: 22px; padding: 6px 12px; color: var(--ink); background: var(--yellow); font-size: .7rem; font-weight: 900; letter-spacing: .1em; }
.countdown { display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(22px, 6vw, 80px); }
.countdown div { min-width: 90px; }
.countdown strong { display: block; color: var(--lime); font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1; }
.countdown span { font-size: .6rem; font-weight: 800; letter-spacing: .1em; }
#countdown-note { margin-bottom: 0; font-size: .8rem; }

/* ===== Sections ===== */

.section-number { color: var(--green); font-size: .8rem; font-weight: 900; }
.message { background: var(--paper); }
.message h2, .story h2, .information h2 { font-size: clamp(3.3rem, 6vw, 6rem); }
.message h2 span, .information h2 span { color: var(--green); }

/* ===== Message ===== */

.message-paper { position: relative; padding: clamp(28px, 5vw, 58px); background: white; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--lime); font-family: "Kosugi Maru", sans-serif; line-height: 2; }
.message-paper::before { content: "♡"; position: absolute; right: 24px; top: 16px; color: var(--green); font-size: 3rem; }
.signature { margin-top: 35px; color: var(--green); font-weight: 900; transform: rotate(-5deg); }

/* ===== Story ===== */

.dark-panel { color: white; background: var(--deep-green); }
.dark-panel .eyebrow { color: var(--lime); }
.dark-panel h2 span { color: var(--yellow); }
.body-copy { margin: 30px 0; color: #d9f4df; line-height: 2; font-family: "Kosugi Maru", sans-serif; }
.outline-cta { color: white; background: transparent; border-color: white; box-shadow: 5px 5px 0 var(--yellow); }

/* ===== Photo collage ===== */

.photo-collage { position: relative; min-height: 380px; }
.photo-placeholder { position: absolute; display: block; width: 50%; height: 50%; background: var(--green); color: var(--ink); border: 8px solid white; box-shadow: 7px 7px 0 var(--lime); font-size: 1.1rem; font-weight: 900; object-fit: cover; transform: rotate(-8deg); }
.photo-a { top: 0; left: 3%; background: var(--yellow); }
.photo-b { top: 25%; right: 0; background: var(--green); transform: rotate(8deg); }
.photo-c { bottom: 0; left: 25%; background: var(--lime); transform: rotate(-2deg); }

/* ===== Poster ===== */

#poster { padding: 60px clamp(20px, 7vw, 110px); background: var(--paper); border-bottom: 4px solid var(--ink); }
#poster .photo-collage { display: flex; flex-direction: row; align-items: flex-start; justify-content: center; gap: 24px; width: 100%; min-height: auto; }
#poster .photo-placeholder { position: static; display: block; width: calc(50% - 12px); height: auto; aspect-ratio: auto; background: none; color: inherit; border: 4px solid white; box-shadow: 7px 7px 0 var(--lime); object-fit: contain; transform: none; }

/* ===== Information ===== */

.information { background: var(--mint); }
.info-card { padding: clamp(25px, 4vw, 48px); background: white; border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--pink); }
.info-row { display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px dashed var(--line); font-size: .8rem; }
.info-row span { color: var(--green); font-weight: 900; }
.info-row strong { text-align: right; }

/* ===== Ticket site button ===== */

.ticket-link { display: inline-flex; align-items: center; justify-content: center; width: fit-content; margin-top: 20px; padding: 14px 28px; color: white; background: var(--green); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-family: "Montserrat", sans-serif; font-size: .85rem; font-weight: 900; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.ticket-link:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

/* ===== Footer ===== */

.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 28px clamp(20px, 7vw, 110px); color: white; background: var(--green); font-size: .7rem; font-weight: 800; }
.disclaimer { flex-basis: 100%; font-size: .58rem; line-height: 1.8; font-weight: 400; opacity: .82; }

/* ===== Animation ===== */

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Tablet ===== */

@media (max-width: 1000px) {
  .section-grid { grid-template-columns: 35px 1fr; gap: 20px; }
  .hero-copy { grid-column: 2; }
  .hero-side { grid-column: 2; }
  .message-paper, .photo-collage, .info-card { grid-column: 2; }
  .photo-collage { min-height: 340px; }
  .footer { flex-direction: column; }
}

/* ===== Reduced motion ===== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Smartphone ===== */

@media (max-width: 768px) {
  html, body { width: 100%; max-width: 100%; overflow-x: hidden; }

  .site-header { padding: 16px 20px; }
  .nav { display: none; }
  .menu-button { display: block; }

  .hero { display: flex; flex-direction: column; min-height: auto; padding: 60px 24px 40px; }
  .hero-copy { order: 1; width: 100%; }
  .hero-copy h1 { font-size: clamp(3rem, 15vw, 5rem); line-height: 1; }

  .hero-side { order: 2; display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 24px; gap: 18px; }
  .hero-side .sticker-ticket { position: static; width: 100px; min-height: 55px; height: 55px; font-size: .8rem; }
  .hero-art { width: 100%; min-height: auto; margin: 0; }
  .hero-art img { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }

  .section-grid { display: block; padding: 50px 24px; }
  .section-number { margin-bottom: 20px; }

  .message-paper, .photo-collage, .info-card { width: 100%; max-width: 100%; margin-top: 30px; }

  #poster .photo-collage { display: flex; flex-direction: column; gap: 24px; min-height: auto; }
  #poster .photo-placeholder { position: static; display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transform: none; }

  .info-row { display: block; padding: 18px 0; }
  .info-row span, .info-row strong { display: block; }
  .info-row strong { margin-top: 8px; overflow-wrap: anywhere; text-align: left; }

  .cta.wide, .ticket-link { max-width: 100%; box-sizing: border-box; }
  .footer { padding: 40px 24px; }
}