/* ═══════════════════════════════════════════
   BASE RESET & TYPOGRAPHY
   ═══════════════════════════════════════════ */
:root {
  font-family: Tahoma, "Noto Sans Thai", Arial, sans-serif;
  color: #173c2b;
  background: #f7fcf8;
  font-synthesis: none;
  --green-500: #2f855a;
  --green-600: #276749;
  --green-700: #22543d;
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.site-shell {
  max-width: 1920px;
  margin: auto;
  overflow-x: hidden;
  position: relative;
}

/* ═══════════════════════════════════════════
   HERO — Premium Gradient + Depth
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 560px;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(171,238,177,.18), transparent 32%),
    radial-gradient(ellipse at 20% 80%, rgba(106,191,105,.12), transparent 40%),
    linear-gradient(128deg, #082a1e 0%, #0e4a30 32%, #147048 62%, #3ea05c 100%);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  padding: 30px 28px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  align-items: center;
  gap: 34px;
  min-height: 560px;
}

/* ═══ Glowing Animated Blobs ═══ */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .25;
  pointer-events: none;
  animation: blobDrift 12s ease-in-out infinite alternate;
}
.hero-glow-one {
  width: 480px; height: 480px;
  right: -100px; top: -140px;
  background: radial-gradient(circle, #a9eeb3 0%, transparent 67%);
}
.hero-glow-two {
  width: 350px; height: 350px;
  left: 35%; bottom: -200px;
  background: radial-gradient(circle, #8bd49b 0%, transparent 70%);
  animation-delay: -4s;
}
.hero-glow-three {
  width: 280px; height: 280px;
  left: -60px; top: 30%;
  background: radial-gradient(circle, #c9f49f 0%, transparent 68%);
  animation-delay: -8s;
}
@keyframes blobDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.12); }
}

/* ═══ Floating Particles ═══ */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  color: rgba(200, 244, 220, .35);
  font-size: 16px;
  animation: particleFloat linear infinite;
}
.p1 { left: 8%; top: 15%; font-size: 20px; animation-duration: 8s; }
.p2 { left: 22%; top: 65%; font-size: 14px; animation-duration: 10s; animation-delay: -2s; }
.p3 { left: 45%; top: 25%; font-size: 12px; animation-duration: 12s; animation-delay: -4s; }
.p4 { left: 62%; top: 70%; font-size: 18px; animation-duration: 9s; animation-delay: -1s; }
.p5 { left: 78%; top: 12%; font-size: 16px; animation-duration: 11s; animation-delay: -6s; }
.p6 { left: 88%; top: 55%; font-size: 10px; animation-duration: 13s; animation-delay: -3s; }
.p7 { left: 35%; top: 80%; font-size: 14px; animation-duration: 7s; animation-delay: -5s; }
.p8 { left: 55%; top: 45%; font-size: 11px; animation-duration: 14s; animation-delay: -7s; }
@keyframes particleFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: .2; }
  25% { opacity: .6; }
  50% { transform: translateY(-80px) rotate(180deg); opacity: .3; }
  75% { opacity: .5; }
  100% { transform: translateY(-160px) rotate(360deg); opacity: .1; }
}

/* ═══ Hero Copy ═══ */
.hero-copy-wrap { position: relative; z-index: 3; }
.hero-topline {
  display: flex; justify-content: space-between; gap: 20px;
  padding-bottom: 24px; border-bottom: 1px solid rgba(229,255,235,.13);
  margin-bottom: 25px; color: #d4f3df; font-size: 13px; letter-spacing: .02em;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; margin-bottom: 14px;
  border: 1px solid rgba(220,255,229,.25); border-radius: 999px;
  background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 700; color: #e8faec; letter-spacing: .03em;
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #c9f49f;
  box-shadow: 0 0 0 6px rgba(201,244,159,.15);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(201,244,159,.15); }
  50% { box-shadow: 0 0 0 12px rgba(201,244,159,.25); }
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.18;
  letter-spacing: -.055em;
  margin: 0 0 18px;
  font-weight: 700;
}
.hero h1 span {
  color: #c8f7c9;
  text-shadow: 0 8px 24px rgba(13,50,31,.16);
}
.hero-subtitle {
  max-width: 790px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  margin: 0 0 10px;
}
.hero-copy {
  max-width: 620px; margin: 0;
  color: #e0f6e7; font-size: 15px; line-height: 1.8;
}

/* ═══ Hero Actions ═══ */
.hero-actions {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap; margin-top: 28px;
}
.hero-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 0; color: #fff; text-decoration: none;
  font-weight: 700;
}
.hero-link span { font-size: 18px; line-height: 1; }
.hero-link-primary {
  padding: 13px 22px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 14px; background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: #fff; box-shadow: 0 12px 30px rgba(0,40,20,.2);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.hero-link-primary:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.25);
  box-shadow: 0 18px 40px rgba(0,40,20,.3);
}
.hero-link-secondary {
  padding: 13px 20px; border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; background: rgba(0,25,12,.18);
  backdrop-filter: blur(10px);
  color: #d8f5df;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.hero-link-secondary:hover {
  transform: translateY(-3px);
  background: rgba(0,25,12,.32);
  color: #fff;
}



/* ═══ Hero Illustration (Image) ═══ */
.hero-illustration {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  min-height: 460px; align-self: end;
}
.hero-image-wrap {
  position: relative;
  max-width: 420px;
  width: 100%;
  animation: sceneRise .9s cubic-bezier(.22,.68,.36,1) both;
}
.hero-image {
  display: block;
  width: 100%; height: auto;
  border-radius: 24px;
  box-shadow:
    0 28px 60px rgba(2,35,20,.35),
    0 8px 20px rgba(0,0,0,.15);
  object-fit: cover;
}
.hero-image-glow {
  position: absolute;
  inset: -20px;
  border-radius: 34px;
  background: radial-gradient(ellipse at 50% 30%, rgba(200,244,159,.2), transparent 70%);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: .5; transform: scale(1); }
  50% { opacity: .8; transform: scale(1.04); }
}
@keyframes sceneRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Floating Notes in SVG */
.float-note { animation: noteFloat 4s ease-in-out infinite; }
.note-1 { animation-delay: 0s; }
.note-2 { animation-delay: -1.5s; }
.note-3 { animation-delay: -3s; }
@keyframes noteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Dream bubble and uniform SVG removed — using real image now */
.spark {
  position: absolute; color: #72bb77;
  font-size: 18px; animation: sparkPulse 2.4s ease-in-out infinite;
}
.spark-one { right: -8px; top: 40px; }
.spark-two { left: 6px; bottom: 10px; animation-delay: .7s; }
.spark-three { right: 20px; bottom: -5px; animation-delay: 1.4s; color: #a5d6a7; font-size: 14px; }
@keyframes sparkPulse {
  0%, 100% { opacity: .35; transform: scale(.85) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

/* ═══════════════════════════════════════════
   NOTICE BAR
   ═══════════════════════════════════════════ */
.schedule-notice {
  position: relative; z-index: 5;
  max-width: 1144px; margin: -28px auto 0;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 22px;
  border: 1px solid #dbead7; border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 14px 38px rgba(31,89,50,.1);
  backdrop-filter: blur(12px);
  animation: noticeSlide .6s ease both;
  animation-delay: .5s;
}
@keyframes noticeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.notice-icon {
  display: grid; place-items: center;
  flex: 0 0 36px; width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #dff4df, #ccebcf);
  color: #267148; font-weight: 800;
}
.schedule-notice strong { display: block; color: #285a3e; font-size: 13px; margin-bottom: 3px; }
.schedule-notice p { margin: 0; color: #52705c; font-size: 13px; line-height: 1.65; }

/* ═══════════════════════════════════════════
   TIMELINE SECTION
   ═══════════════════════════════════════════ */
.timeline-section, .detail-section {
  max-width: 1200px; margin: auto; padding: 64px 28px 0;
  scroll-margin-top: 24px;
}
.timeline-section {
  padding-top: 54px;
  padding-bottom: 88px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 25px; margin-bottom: 28px;
}
.section-index {
  font-size: 12px; font-weight: 700;
  color: #2d8a57; letter-spacing: .08em;
}
.section-head h2 {
  font-size: clamp(27px, 3vw, 37px);
  margin: 8px 0 3px; line-height: 1.25; letter-spacing: -.035em;
}
.section-head p { font-size: 14px; color: #5a718e; margin: 0; }
.legend {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: #637a96; white-space: nowrap;
}
.legend-dot {
  height: 8px; width: 8px; border-radius: 50%; margin-left: 10px;
}
.legend-dot.done { background: #94a3b8; }
.legend-dot.active {
  background: #16a34a;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}
.legend-dot.future { background: #3b82f6; }

/* ═══ Timeline Cards ═══ */
.timeline-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.event-card {
  position: relative; text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid rgba(47, 159, 99, 0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f9fdfa 100%);
  min-height: 173px;
  padding: 18px 18px 16px;
  box-shadow:
    0 8px 24px rgba(20, 68, 40, 0.06),
    0 2px 6px rgba(0, 0, 0, 0.02),
    inset 0 1.5px 0 #ffffff;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 18px 42px rgba(20, 68, 40, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.03),
    inset 0 1.5px 0 #ffffff;
}
.event-card:focus-visible,
.calendar-button:focus-visible,
.calendar-menu a:focus-visible,
.calendar-menu button:focus-visible,
.hero-link:focus-visible {
  outline: 3px solid #9fd76f; outline-offset: 3px;
}
.event-card[aria-current="step"] {
  border: 2px solid #3b9c63;
  background: linear-gradient(145deg, #effaf2, #fff);
  box-shadow: 0 14px 35px rgba(43,122,71,.12);
  padding: 17px 17px 15px;
}
.event-card::before {
  content: ""; position: absolute; left: 18px; top: 0;
  width: 52px; height: 4px;
  background: var(--accent); border-radius: 0 0 4px 4px;
}
.event-card::after {
  content: ""; position: absolute;
  inset: auto -40% -55% auto;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  opacity: .7; pointer-events: none;
}
.card-upper {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.step-number {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 15px; font-weight: 800;
  transition: transform .2s ease;
  box-shadow: inset 0 1px 1px #ffffff, 0 2px 5px rgba(0, 0, 0, 0.04);
}
.event-card:hover .step-number { transform: scale(1.08); }
.card-meta-right {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end;
}
.card-kind {
  font-size: 10.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px;
  background: var(--accent-soft); color: var(--accent);
  letter-spacing: .02em;
}
.card-status {
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 99px;
  display: inline-flex; align-items: center;
}
.card-status.status-done {
  background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0;
}
.card-status.status-active {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #15803d; border: 1px solid #86efac;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}
.card-status.status-active::before {
  content: "●"; margin-right: 4px; color: #16a34a;
  animation: activeDot 1.4s infinite ease-in-out;
}
@keyframes activeDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}
.card-status.status-future {
  background: #f8fafc; color: #475569; border: 1px solid #e2e8f0;
}

/* ═══ Circular Days Countdown Ring (ตามภาพอ้างอิง) ═══ */
.days-ring-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff6b52 0%, #fa4729 100%);
  color: #ffffff;
  box-shadow:
    0 4px 12px rgba(245, 68, 40, 0.32),
    0 2px 4px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease;
  user-select: none;
}
.event-card:hover .days-ring-badge {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 16px rgba(245, 68, 40, 0.45);
}
.days-ring-badge svg.ring-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.days-ring-badge .ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-width: 1.5;
}
.days-ring-badge .ring-fill {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 94;
  stroke-dashoffset: 26;
}
.days-ring-badge .ring-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.days-ring-badge .ring-num {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.days-ring-badge .ring-unit {
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 1px;
  letter-spacing: .02em;
}
.card-date {
  display: block; margin: 15px 0 6px;
  font-size: 13px; font-weight: 800; color: var(--accent);
}
.card-title {
  display: block; font-size: 15.5px; font-weight: 700;
  line-height: 1.4; min-height: 46px; color: #173c2b;
}
.card-arrow {
  position: absolute; right: 18px; bottom: 15px;
  color: var(--accent); font-size: 19px;
  transition: transform .25s ease;
  opacity: .75;
}
.event-card:hover .card-arrow { transform: translate(3px, -3px); opacity: 1; }

/* ═══════════════════════════════════════════
   DETAIL SECTION
   ═══════════════════════════════════════════ */
.detail-section { padding-top: 76px; padding-bottom: 78px; }
.detail-heading { margin-bottom: 25px; }
.detail-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
}
.countdown-panel, .information-panel {
  border: 1px solid rgba(255, 255, 255, 0.95);
  outline: 1px solid rgba(47, 159, 99, 0.12);
  border-radius: 26px;
  background: linear-gradient(165deg, #ffffff 0%, #f7fcf8 50%, #eff9f2 100%);
  padding: 34px;
  box-shadow:
    0 18px 45px rgba(20, 68, 40, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.03),
    inset 0 2px 1px #ffffff,
    inset 0 -2px 4px rgba(47, 159, 99, 0.03);
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease;
  position: relative;
}
.countdown-panel:hover, .information-panel:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 58px rgba(20, 68, 40, 0.12),
    0 10px 22px rgba(0, 0, 0, 0.04),
    inset 0 2px 1px #ffffff;
}
.countdown-panel {
  background: linear-gradient(155deg, #f0faf3 0%, #ffffff 45%, #eff8f2 100%);
}
.detail-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 15px; font-size: 13px; color: #3a684e; font-weight: 700;
}
.status-badge {
  padding: 8px 16px; border-radius: 99px;
  background: linear-gradient(145deg, #e8f8ee, #ddf4e4);
  color: #1e663e; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 3px 8px rgba(36, 90, 53, 0.08),
    inset 0 1px 1px #ffffff;
}
.status-badge.active {
  background: linear-gradient(145deg, #dcf5e4, #caeed4);
  color: #1a633a;
  box-shadow: 0 4px 12px rgba(47, 159, 99, 0.18), inset 0 1px 1px #ffffff;
}
.status-badge.done {
  background: linear-gradient(145deg, #edf2f7, #e2e8f0);
  color: #55677c;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05), inset 0 1px 1px #ffffff;
}
.countdown-panel h3 {
  font-size: clamp(25px, 3vw, 38px); line-height: 1.3;
  letter-spacing: -.04em; margin: 26px 0 10px;
  color: #123d27;
}
.detail-date { color: #2d8854; font-size: 16px; font-weight: 700; margin: 0 0 26px; }
.countdown-block { padding: 25px 0; border-top: 1px solid rgba(47, 159, 99, 0.12); }
.countdown-label { margin: 0 0 16px; color: #3d684f; font-size: 14px; font-weight: 700; }
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.time-unit {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 98px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: linear-gradient(160deg, #ffffff 0%, #f6fcf8 55%, #edf8f1 100%);
  border-radius: 18px;
  box-shadow:
    0 8px 20px rgba(36, 90, 53, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.03),
    inset 0 2px 0 #ffffff,
    inset 0 -2px 3px rgba(36, 90, 53, 0.05);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.time-unit:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 14px 28px rgba(36, 90, 53, 0.15),
    0 4px 10px rgba(0, 0, 0, 0.04),
    inset 0 2px 0 #ffffff;
  border-color: rgba(47, 159, 99, 0.35);
}
.time-value {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1; letter-spacing: -.04em;
  background: linear-gradient(145deg, #1b633a 0%, #2f9f63 55%, #185231 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.8));
}
.time-label { font-size: 12px; color: #5a7764; margin-top: 6px; font-weight: 600; }
.completion {
  background: linear-gradient(145deg, #e8f7ee, #d8f1e0);
  border-radius: 16px; padding: 25px;
  font-weight: 700; color: #2a6843;
  box-shadow: inset 0 2px 0 #ffffff, 0 6px 16px rgba(36, 90, 53, 0.06);
}
.detail-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  position: relative;
}
.countdown-panel {
  position: relative;
  z-index: 25;
}
.countdown-panel.menu-active,
.countdown-panel:has(.calendar-menu:not([hidden])) {
  z-index: 200 !important;
}
.information-panel {
  position: relative;
  z-index: 5;
}
.calendar-actions {
  position: relative;
  margin-top: 14px;
  z-index: 50;
}
.calendar-button {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%; min-height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  background: linear-gradient(180deg, #36a365 0%, #227945 100%);
  color: #fff; font-weight: 700; font-size: 15px;
  box-shadow:
    0 10px 24px rgba(34, 121, 69, 0.32),
    0 3px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.calendar-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #3db873 0%, #288c50 100%);
  box-shadow:
    0 14px 30px rgba(34, 121, 69, 0.4),
    0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.45);
}
.calendar-button:active {
  transform: translateY(1px);
  box-shadow:
    0 4px 12px rgba(34, 121, 69, 0.28),
    inset 0 2px 4px rgba(0, 0, 0, 0.22);
}
.calendar-button svg {
  width: 19px; height: 19px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
}
.chevron { margin-left: auto; font-size: 23px; line-height: 1; }
.calendar-menu {
  position: absolute;
  z-index: 9999;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  border: 1px solid rgba(47, 159, 99, 0.22);
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 24px 50px rgba(16, 50, 30, 0.25),
    0 8px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: menuDropdown .2s cubic-bezier(.16,1,.3,1);
}
@keyframes menuDropdown {
  from { opacity: 0; transform: translateY(-8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.calendar-menu a, .calendar-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  background: #ffffff;
  text-decoration: none;
  text-align: left;
  font-size: 13.5px;
  font-weight: 600;
  color: #1a5232;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.calendar-menu a {
  border-bottom: 1px solid #edf4ef;
}
.calendar-menu a:hover, .calendar-menu button:hover {
  background: #eef9f2;
  color: #0b3d20;
}
.calendar-menu svg {
  flex-shrink: 0;
  stroke: #2f9f63;
}

/* ═══ Information Panel ═══ */
.information-top {
  display: flex; gap: 14px; align-items: center;
  color: #2d8654; font-size: 12px; font-weight: 700;
}
.info-rule { width: 34px; height: 2px; background: #3a9b60; }
.information-panel h3 {
  font-size: 23px; letter-spacing: -.03em; margin: 28px 0 12px;
}
.information-panel > p:not(.timing-note) {
  font-size: 16px; line-height: 1.9; margin: 0; color: #2f513d;
}
.notes {
  margin-top: 24px; padding: 20px 22px; border-radius: 14px;
  background: linear-gradient(145deg, #effaf2, #e5f6ea);
}
.notes h4 { margin: 0 0 8px; font-size: 14px; }
.notes ul { padding-left: 20px; margin: 0; font-size: 14px; line-height: 1.8; color: #496553; }
.timing-note {
  border-top: 1px solid #e3ecf5; padding-top: 18px;
  margin: 25px 0 0; font-size: 12px; line-height: 1.8; color: #6f8199;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 85% 0%, rgba(96,173,111,.15), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(60,130,80,.08), transparent 40%),
    #0e3420;
  color: #cbe5d3;
  padding: 36px max(28px, calc((100% - 1144px) / 2));
  display: flex; justify-content: space-between; gap: 30px;
  font-size: 12px; line-height: 1.7;
}
.footer p { margin: 0; }
.footer p:first-child { max-width: 650px; }

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.event-card,
.countdown-panel,
.information-panel,
.section-head {
  animation: revealUp .6s ease both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════ */
@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: 1fr minmax(300px, .75fr);
    gap: 28px;
  }
  .hero-illustration { min-height: 400px; }
  .hero-image-wrap { max-width: 360px; }
}

@media (max-width: 950px) {
  .timeline-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .detail-layout { grid-template-columns: 1fr; }
  .legend { display: none; }
}

@media (max-width: 850px) {
  .hero { min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
    padding-bottom: 30px;
    gap: 28px;
  }
  .hero-copy-wrap { padding-bottom: 0; }
  .hero-illustration {
    min-height: auto;
    width: 100%;
    margin: 8px auto 0;
  }
  .hero-image-wrap {
    max-width: 380px;
    margin: 0 auto;
  }
  .schedule-notice {
    margin: 16px 24px 0;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (Smartphones <= 650px)
   ═══════════════════════════════════════════ */
@media (max-width: 650px) {
  /* ══ Hero ══ */
  .hero {
    min-height: auto;
  }
  .hero-inner {
    padding: 20px 16px 24px;
    gap: 22px;
  }
  .hero-topline {
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-size: 11.5px;
    letter-spacing: .01em;
  }
  .hero-kicker {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: clamp(26px, 7.8vw, 36px);
    line-height: 1.25;
    letter-spacing: -.03em;
    margin-bottom: 10px;
    word-break: keep-all;
  }
  .hero-subtitle {
    font-size: 14.5px;
    line-height: 1.45;
    margin-bottom: 8px;
  }
  .hero-copy {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Hero Actions */
  .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    width: 100%;
  }
  .hero-link-primary,
  .hero-link-secondary {
    flex: 1 1 calc(50% - 6px);
    min-width: 130px;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
    justify-content: center;
    text-align: center;
  }

  /* Hero Image (Illustration) */
  .hero-illustration {
    min-height: auto;
    width: 100%;
    margin-top: 4px;
  }
  .hero-image-wrap {
    max-width: 320px;
    width: 90%;
    margin: 0 auto;
  }
  .hero-image {
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 25, 12, 0.35);
  }

  /* ══ Schedule Notice ══ */
  .schedule-notice {
    margin: 14px 16px 0;
    padding: 13px 14px;
    border-radius: 14px;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(31, 89, 50, 0.08);
  }
  .notice-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-radius: 8px;
  }
  .schedule-notice strong {
    font-size: 12.5px;
    margin-bottom: 2px;
  }
  .schedule-notice p {
    font-size: 11.5px;
    line-height: 1.5;
  }

  /* ══ Section Headings ══ */
  .detail-section,
  .timeline-section {
    padding-left: 16px;
    padding-right: 16px;
    scroll-margin-top: 14px;
  }
  .detail-section {
    padding-top: 36px;
    padding-bottom: 24px;
  }
  .timeline-section {
    padding-top: 24px;
    padding-bottom: 72px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 16px;
  }
  .section-index {
    font-size: 11px;
    letter-spacing: .06em;
  }
  .section-head h2 {
    font-size: 23px;
    margin: 4px 0 2px;
  }
  .section-head p {
    font-size: 12.5px;
  }
  .legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 11.5px;
    margin-top: 6px;
    color: #475569;
  }
  .legend-dot {
    margin-left: 0;
  }

  /* ══ Detail Section (Countdown & Info) ══ */
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .countdown-panel,
  .information-panel {
    padding: 22px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    outline: 1px solid rgba(47, 159, 99, 0.12);
    box-shadow:
      0 12px 30px rgba(20, 68, 40, 0.08),
      0 4px 10px rgba(0, 0, 0, 0.03),
      inset 0 2px 1px #ffffff;
  }
  .detail-meta {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
  }
  .status-badge {
    padding: 6px 12px;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(36, 90, 53, 0.08), inset 0 1px 1px #ffffff;
  }
  .countdown-panel h3 {
    font-size: 20px;
    line-height: 1.35;
    margin: 16px 0 6px;
    letter-spacing: -.02em;
  }
  .detail-date {
    font-size: 14px;
    margin: 0 0 16px;
  }
  .countdown-block {
    padding: 16px 0;
    border-top: 1px solid rgba(47, 159, 99, 0.12);
  }
  .countdown-label {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .countdown {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .time-unit {
    min-height: 78px;
    padding: 8px 3px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    background: linear-gradient(160deg, #ffffff 0%, #f7fcf8 55%, #edf8f1 100%);
    box-shadow:
      0 6px 14px rgba(36, 90, 53, 0.08),
      0 2px 4px rgba(0, 0, 0, 0.03),
      inset 0 1.5px 0 #ffffff,
      inset 0 -1.5px 2px rgba(36, 90, 53, 0.04);
  }
  .time-value {
    font-size: clamp(20px, 5.5vw, 25px);
    line-height: 1.1;
  }
  .time-label {
    font-size: 11px;
    margin-top: 3px;
  }
  .calendar-button {
    min-height: 50px;
    font-size: 14px;
    border-radius: 14px;
    margin-top: 8px;
    box-shadow:
      0 8px 20px rgba(34, 121, 69, 0.3),
      0 2px 4px rgba(0, 0, 0, 0.08),
      inset 0 1px 1px rgba(255, 255, 255, 0.38),
      inset 0 -2px 0 rgba(0, 0, 0, 0.2);
  }
  .information-top {
    font-size: 11.5px;
  }
  .information-panel h3 {
    font-size: 18px;
    margin: 16px 0 8px;
  }
  .information-panel > p:not(.timing-note) {
    font-size: 13.5px;
    line-height: 1.7;
  }
  .notes {
    margin-top: 14px;
    padding: 13px 14px;
    border-radius: 12px;
  }
  .notes h4 {
    font-size: 12.5px;
    margin-bottom: 6px;
  }
  .notes ul {
    font-size: 12.5px;
    line-height: 1.6;
    padding-left: 16px;
  }
  .timing-note {
    margin-top: 16px;
    padding-top: 12px;
    font-size: 11px;
    line-height: 1.6;
  }

  /* ══ Timeline Cards — Mobile Optimized 1-Column List ══ */
  .timeline-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 15px 16px 15px 18px;
    min-height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    outline: 1px solid rgba(47, 159, 99, 0.1);
    box-shadow:
      0 8px 20px rgba(20, 68, 40, 0.06),
      0 2px 6px rgba(0, 0, 0, 0.02),
      inset 0 1.5px 0 #ffffff;
    background: linear-gradient(160deg, #ffffff 0%, #f9fdfa 100%);
    overflow: hidden;
  }
  .event-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 5px;
    height: auto;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
  }
  .event-card[aria-current="step"] {
    padding: 13px 15px 13px 17px;
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, var(--accent-soft), #ffffff 75%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .card-upper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
    gap: 8px;
  }
  .step-number {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 14.5px;
    font-weight: 800;
  }
  .card-meta-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .card-kind {
    font-size: 10.5px;
    font-weight: 700;
    padding: 2.5px 7px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent);
  }
  .card-status {
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 99px;
  }
  .days-ring-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .days-ring-badge .ring-num {
    font-size: 13px;
  }
  .days-ring-badge .ring-unit {
    font-size: 7.5px;
  }
  .card-date {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
  }
  .card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #173c2b;
    min-height: auto;
    padding-right: 28px;
  }
  .card-arrow {
    position: absolute;
    right: 14px;
    bottom: 14px;
    font-size: 18px;
    color: #6d9c7e;
  }

  /* ══ Footer ══ */
  .footer {
    display: block;
    padding: 24px 16px;
    font-size: 11px;
    line-height: 1.65;
  }
  .footer p + p {
    margin-top: 8px;
  }
  .particles {
    display: none;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Ultra Compact (< 380px)
   ═══════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-inner {
    padding: 16px 12px 20px;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-link-primary,
  .hero-link-secondary {
    width: 100%;
  }
  .hero-image-wrap {
    max-width: 270px;
  }
  .detail-section,
  .timeline-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .countdown {
    gap: 4px;
  }
  .time-unit {
    min-height: 64px;
  }
  .time-value {
    font-size: 18px;
  }
  .time-label {
    font-size: 9.5px;
  }
  .event-card {
    padding: 12px 14px 12px 14px;
  }
  .step-number {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .card-title {
    font-size: 13.5px;
  }
  .card-date {
    font-size: 12px;
  }
  .days-ring-badge {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .days-ring-badge .ring-num {
    font-size: 11.5px;
  }
  .days-ring-badge .ring-unit {
    font-size: 6.5px;
  }
}

/* ═══ Reduced Motion ═══ */
@media (prefers-reduced-motion: reduce) {
  .spark, .particle, .kicker-dot,
  .hero-image-glow, .hero-image-wrap { animation: none !important; }
  .event-card, .countdown-panel, .information-panel,
  .calendar-button, .hero-link-primary, .hero-link-secondary, .hero-glow,
  .time-unit, .step-number, .card-arrow, .schedule-notice { transition: none !important; }
}

