:root {
  --ink: #113238;
  --muted: #607579;
  --teal: #087b83;
  --deep: #07444a;
  --green: #4f9b63;
  --gold: #d7a83f;
  --coral: #c96a4a;
  --paper: #fbfcf8;
  --wash: #eef7f1;
  --mist: #e7f1f2;
  --line: #d8e5de;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(17, 50, 56, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #dceceb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

@keyframes pageRise {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

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

@keyframes waveDrift {
  from {
    transform: translateX(-12%);
  }
  to {
    transform: translateX(12%);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 8px 22px rgba(17, 50, 56, 0.08);
  }
  50% {
    box-shadow: 0 12px 30px rgba(8, 123, 131, 0.18);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(8, 123, 131, 0.22), rgba(244, 246, 225, 0.9) 48%, rgba(79, 155, 99, 0.22)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2));
}

.site-bg::before,
.site-bg::after {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  height: 180px;
  border-radius: 50%;
  opacity: 0.38;
  pointer-events: none;
}

.site-bg::before {
  bottom: 9%;
  background: radial-gradient(ellipse at center, rgba(8, 123, 131, 0.28), rgba(8, 123, 131, 0) 68%);
  animation: waveDrift 8s ease-in-out infinite alternate;
}

.site-bg::after {
  bottom: 3%;
  background: radial-gradient(ellipse at center, rgba(215, 168, 63, 0.2), rgba(215, 168, 63, 0) 66%);
  animation: waveDrift 11s ease-in-out infinite alternate-reverse;
}

.app-shell {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--deep);
}

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: max(12px, env(safe-area-inset-top)) 18px 10px;
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(180deg, rgba(5, 49, 55, 0.62), rgba(5, 49, 55, 0));
  font-size: 0.86rem;
}

.topbar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar a {
  flex: 0 0 auto;
  min-width: 48px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
  text-align: center;
}

.poster-frame {
  margin: 0;
  background: #cfe8e6;
}

.poster-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 2133 / 1280;
  object-fit: contain;
}

.hero-copy {
  position: relative;
  padding: 18px 22px 22px;
  background:
    linear-gradient(115deg, rgba(7, 68, 74, 0.96), rgba(8, 123, 131, 0.9) 55%, rgba(79, 155, 99, 0.9)),
    var(--deep);
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 12px, rgba(255, 255, 255, 0) 12px 24px);
  opacity: 0.52;
}

.eyebrow,
.kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.18;
  font-weight: 800;
}

.hero p:not(.eyebrow) {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.countdown-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 66px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
}

.countdown-band div {
  min-width: 0;
}

.countdown-band strong {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
  font-size: 1.12rem;
  line-height: 1.25;
}

.muted {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.text-link {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.86rem;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-actions a {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 86px;
  padding: 10px 6px;
  background: var(--white);
  color: var(--deep);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  padding-bottom: 86px;
}

.mini-home,
.content-page {
  padding-bottom: 28px;
}

.mini-shell {
  background: linear-gradient(180deg, #f7fbf4 0%, #edf6f0 100%);
}

.mini-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.mini-hero::after {
  content: "";
  position: absolute;
  right: -52px;
  top: 28px;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(255, 255, 255, 0.06),
    inset 0 0 0 42px rgba(255, 255, 255, 0.04);
  animation: orbitSpin 18s linear infinite;
  pointer-events: none;
}

.mini-title {
  position: relative;
  z-index: 1;
  padding: 18px 22px 20px;
  background:
    linear-gradient(115deg, rgba(7, 68, 74, 0.96), rgba(8, 123, 131, 0.9) 55%, rgba(79, 155, 99, 0.9)),
    var(--deep);
}

.mini-title h1 {
  margin: 0;
  font-size: 1.78rem;
  line-height: 1.2;
}

.mini-title p:not(.eyebrow) {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.mini-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.mini-menu a {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 106px;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(17, 50, 56, 0.08);
  text-align: center;
  animation: pageRise 520ms ease both, pulseGlow 5.6s ease-in-out infinite;
}

.mini-menu a:active {
  transform: translateY(1px);
}

.mini-menu a:nth-child(1) { animation-delay: 0ms, 0s; }
.mini-menu a:nth-child(2) { animation-delay: 0ms, 0.2s; }
.mini-menu a:nth-child(3) { animation-delay: 0ms, 0.4s; }
.mini-menu a:nth-child(4) { animation-delay: 0ms, 0.6s; }
.mini-menu a:nth-child(5) { animation-delay: 0ms, 0.8s; }
.mini-menu a:nth-child(6) { animation-delay: 0ms, 1s; }
.mini-menu a:nth-child(7) { animation-delay: 0ms, 1.2s; }
.mini-menu a:nth-child(8) { animation-delay: 0ms, 1.4s; }
.mini-menu a:nth-child(9) { animation-delay: 0ms, 1.6s; }
.mini-menu a:nth-child(10) { animation-delay: 0ms, 1.8s; }
.mini-menu a:nth-child(11) { animation-delay: 0ms, 2s; }
.mini-menu a:nth-child(12) { animation-delay: 0ms, 2.2s; }

.menu-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-size: 1.02rem;
  font-weight: 900;
  animation: softFloat 4.8s ease-in-out infinite;
}

.mini-menu strong {
  font-size: 0.95rem;
  line-height: 1.25;
}

.mini-footer {
  padding: 16px 20px 26px;
  color: var(--muted);
  text-align: center;
  font-size: 0.84rem;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) 20px 22px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 68, 74, 0.98), rgba(8, 123, 131, 0.94) 54%, rgba(79, 155, 99, 0.92)),
    var(--deep);
}

.page-header::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 128px;
  height: 128px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}

.page-header h1 {
  margin: 0;
  font-size: 1.62rem;
  line-height: 1.25;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.86rem;
  font-weight: 800;
}

.signature {
  color: var(--muted);
  text-align: right;
}

.day-jump {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.day-jump a {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid rgba(8, 123, 131, 0.22);
  border-radius: 6px;
  color: var(--deep);
  background: #f4fbfa;
  font-size: 0.88rem;
  font-weight: 900;
}

.day-section {
  scroll-margin-top: 68px;
}

.schedule-page {
  padding-bottom: 0;
}

.schedule-page .section {
  animation: pageRise 520ms ease both;
  border-bottom: 10px solid rgba(8, 123, 131, 0.08);
}

.schedule-page .agenda-block + .agenda-block {
  margin-top: 12px;
}

.live-panel-single {
  grid-template-columns: 1fr;
}

.section {
  padding: 28px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 18px;
}

.section-light {
  background: var(--wash);
}

.section-head {
  margin-bottom: 16px;
}

.section h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.32;
}

.section h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.35;
}

.lead {
  margin: 0;
  color: #314e52;
}

blockquote {
  margin: 0 0 14px;
  padding: 0 0 0 14px;
  border-left: 4px solid var(--gold);
  color: #314e52;
  font-weight: 600;
}

.fact-grid,
.price-list,
.qr-row,
.guest-grid,
.hotel-list,
.route-list,
.requirement-list,
.contact-list {
  display: grid;
  gap: 10px;
}

.fact-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.fact,
.price-item,
.guest-grid article,
.hotel-list article,
.route-list article,
.requirement-list article,
.contact-list a,
.qr-card,
.bank-panel,
.agenda-block,
.live-panel,
.org-stack article,
.details-panel,
.weather-tip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
}

.fact,
.price-item {
  min-height: 82px;
  padding: 12px;
}

.fact span,
.price-item span,
.org-stack span,
.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.fact strong,
.price-item strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.theme-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.theme-tags span {
  padding: 5px 9px;
  border: 1px solid rgba(8, 123, 131, 0.22);
  border-radius: 6px;
  color: var(--deep);
  background: rgba(8, 123, 131, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-list {
  grid-template-columns: 1fr;
}

.price-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
}

.price-item strong {
  color: var(--coral);
  text-align: right;
}

.qr-row {
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
}

.qr-card {
  padding: 12px;
  text-align: center;
}

.qr-card img {
  display: block;
  width: 136px;
  aspect-ratio: 1;
  margin: 10px auto;
  border: 1px solid #e8e8e8;
  background: #fff;
  object-fit: contain;
}

.plain-button,
.copy-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.plain-button {
  width: 100%;
  color: var(--teal);
  border-color: rgba(8, 123, 131, 0.26);
  background: #f4fbfa;
  font-size: 0.86rem;
}

.copy-button,
.primary-button {
  color: #fff;
  background: var(--teal);
}

.secondary-button {
  margin-top: 14px;
  color: var(--deep);
  border-color: rgba(8, 123, 131, 0.28);
  background: #fff;
}

.primary-button.full {
  width: 100%;
  margin-top: 14px;
}

.bank-panel {
  margin-top: 14px;
  padding: 14px;
}

.bank-panel dl {
  margin: 10px 0 12px;
}

.bank-panel dl div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.bank-panel dt {
  color: var(--muted);
}

.bank-panel dd {
  margin: 0;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tabs {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 0 -20px 16px;
  padding: 8px 20px;
  background: rgba(251, 252, 248, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-light .tabs {
  background: rgba(238, 247, 241, 0.96);
}

.tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
}

.tabs button[aria-selected="true"] {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
}

.tab-panel {
  display: grid;
  gap: 12px;
}

.agenda-block {
  padding: 14px;
}

.agenda-block h3 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.agenda-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(96, 117, 121, 0.28);
}

.agenda-item:last-child {
  border-bottom: 0;
}

.agenda-item time {
  color: var(--teal);
  font-weight: 800;
  line-height: 1.35;
}

.agenda-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.guest-grid {
  grid-template-columns: 1fr 1fr;
}

.guest-grid article {
  min-height: 84px;
  padding: 12px;
}

.guest-grid strong {
  display: block;
  font-size: 1.08rem;
}

.guest-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.live-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background:
    linear-gradient(110deg, rgba(8, 123, 131, 0.11), rgba(215, 168, 63, 0.12)),
    #fff;
}

.live-panel strong,
.live-panel span {
  display: block;
}

.live-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hotel-list article,
.route-list article,
.requirement-list article {
  padding: 14px;
}

.hotel-list p,
.route-list p,
.requirement-list p,
.org-stack p,
.details-panel p {
  margin: 6px 0 0;
  color: #314e52;
}

.hotel-list strong {
  display: block;
  margin-top: 8px;
  color: var(--coral);
}

.route-list {
  margin-top: 14px;
}

.weather-tip {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px 14px;
  border-color: rgba(215, 168, 63, 0.42);
  background: #fff9e8;
}

.weather-tip strong {
  color: #775719;
}

.weather-tip span {
  color: #5a4c2d;
}

.org-stack {
  display: grid;
  gap: 10px;
}

.org-stack article {
  padding: 14px;
}

.org-stack strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.details-panel {
  margin-top: 10px;
  padding: 0;
  overflow: hidden;
}

.details-panel summary {
  min-height: 46px;
  padding: 10px 14px;
  color: var(--deep);
  cursor: pointer;
  font-weight: 800;
}

.details-panel p {
  padding: 0 14px 14px;
}

.notice-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  position: relative;
  padding: 0 0 0 18px;
  color: #314e52;
}

.notice-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #fff;
}

.contact-list strong {
  color: var(--deep);
  font-size: 1rem;
}

.footer {
  display: grid;
  gap: 4px;
  padding: 24px 20px 104px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--ink);
  text-align: center;
}

.footer span {
  font-size: 0.86rem;
}

.bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 520px);
  min-height: 64px;
  padding: 6px 8px max(6px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 24px rgba(17, 50, 56, 0.12);
}

.bottom-dock a {
  display: grid;
  place-items: center;
  gap: 2px;
  min-width: 0;
  min-height: 52px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.bottom-dock svg {
  width: 21px;
  height: 21px;
}

.bottom-dock a.is-active {
  color: var(--teal);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(9, 31, 34, 0.72);
}

.modal.is-open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 360px);
  padding: 22px 20px 20px;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.modal-card h2 {
  margin: 0 38px 12px;
  font-size: 1.22rem;
}

.modal-card img {
  width: 230px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #e6e6e6;
  background: #fff;
}

.modal-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #edf3f2;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 50;
  max-width: min(92%, 360px);
  padding: 10px 14px;
  transform: translate(-50%, 12px);
  border-radius: 6px;
  color: #fff;
  background: rgba(17, 50, 56, 0.92);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  text-align: center;
  font-size: 0.9rem;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 430px) {
  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .section {
    padding: 24px 16px;
  }

  .tabs {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .quick-actions a {
    min-height: 78px;
    font-size: 0.78rem;
  }

  .fact-grid,
  .qr-row,
  .guest-grid {
    grid-template-columns: 1fr;
  }

  .qr-card img {
    width: 150px;
  }
}

@media (min-width: 780px) {
  body {
    padding: 28px 0;
  }

  .app-shell {
    border-radius: 8px;
  }

  .bottom-dock {
    bottom: 28px;
    border-radius: 8px 8px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .toast {
    transition: none;
  }
}

/* Generated visual upgrade: keep original poster as hero, generated Weihai artwork as site atmosphere */
.home-page .site-bg {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.88) 74%),
    url("./assets/generated/bg-home-weihai-nuclear.png") center top / cover no-repeat;
}

.home-page .mini-shell {
  background:
    linear-gradient(180deg, rgba(247,251,244,.78) 0%, rgba(237,246,240,.98) 55%, #edf6f0 100%);
  backdrop-filter: blur(8px);
}

.home-page .poster-frame {
  position: relative;
  overflow: hidden;
  background: #d8e9e7;
}

.home-page .poster-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 2133 / 1280;
  height: auto;
  object-fit: contain;
  object-position: center center;
  filter: saturate(1.02) contrast(1.01);
}

.home-page .poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,49,55,.16) 0%, rgba(5,49,55,0) 30%, rgba(7,68,74,.42) 100%);
  pointer-events: none;
}

.home-page .mini-title {
  margin-top: 0;
  padding: 18px 22px 22px;
  background: linear-gradient(135deg, rgba(7,68,74,.98), rgba(8,123,131,.94) 55%, rgba(79,155,99,.92));
}

.home-page .mini-title h1 {
  text-shadow: 0 8px 26px rgba(0,0,0,.18);
}

.mini-menu {
  gap: 10px;
  padding: 16px;
}

.mini-menu a {
  min-height: 124px;
  padding: 12px 8px 13px;
  border-radius: 20px;
  border-color: rgba(255,255,255,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,252,251,.84));
  box-shadow: 0 12px 30px rgba(17,50,56,.10), inset 0 1px 0 rgba(255,255,255,.9);
}

.menu-icon {
  width: 68px;
  height: 68px;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.menu-icon img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(17, 50, 56, .16));
}

.mini-menu strong {
  color: #113238;
  font-size: .92rem;
  letter-spacing: .01em;
}

.page-header {
  min-height: 174px;
  padding-right: 140px;
}

.page-icon {
  position: absolute;
  right: 12px;
  bottom: -10px;
  z-index: 1;
  width: 126px;
  height: 126px;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.22));
  pointer-events: none;
}

.page-header .back-link,
.page-header .eyebrow,
.page-header h1 {
  position: relative;
  z-index: 2;
}

.story-page .section {
  padding: 20px 16px 28px;
}

.visual-section {
  display: grid;
  gap: 14px;
}

.intro-card,
.welcome-card,
.quote-card,
.closing-card,
.org-feature,
.org-card,
.committee-list article,
.info-ribbon {
  border: 1px solid rgba(8, 123, 131, .16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.78));
  box-shadow: 0 12px 30px rgba(17,50,56,.08);
}

.hero-card,
.welcome-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  background:
    radial-gradient(circle at right top, rgba(215,168,63,.18), transparent 34%),
    linear-gradient(135deg, rgba(8,123,131,.12), rgba(255,255,255,.94) 50%, rgba(79,155,99,.10));
}

.card-kicker,
.org-feature span,
.org-card > span,
.committee-list span,
.salute {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.hero-card h2,
.welcome-card h2 {
  margin: 0;
  color: #113238;
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero-card p,
.welcome-card p,
.info-ribbon p,
.quote-card p,
.closing-card p,
.committee-list p {
  margin: 10px 0 0;
  color: #314e52;
  line-height: 1.72;
}

.highlight-grid {
  margin-top: 0;
}

.highlight-grid .fact {
  border-radius: 18px;
  background: rgba(255,255,255,.88);
}

.info-ribbon {
  padding: 16px;
  border-left: 5px solid var(--gold);
}

.info-ribbon strong,
.quote-card strong {
  display: block;
  color: #775719;
  font-size: .96rem;
}

.compact-head {
  margin: 4px 2px -4px;
}

.feature-tags {
  margin-top: 0;
}

.feature-tags span {
  border-radius: 999px;
  background: rgba(8,123,131,.10);
}

.quote-card,
.closing-card {
  padding: 18px;
}

.quote-card {
  border-color: rgba(215,168,63,.36);
  background:
    linear-gradient(110deg, rgba(215,168,63,.14), rgba(255,255,255,.9));
}

.timeline-cards {
  display: grid;
  gap: 10px;
}

.timeline-cards article {
  position: relative;
  padding: 16px 16px 16px 64px;
  border: 1px solid rgba(8,123,131,.16);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 8px 22px rgba(17,50,56,.06);
}

.timeline-cards span {
  position: absolute;
  left: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--green));
  font-size: .82rem;
  font-weight: 900;
}

.timeline-cards h3 {
  margin: 0;
  font-size: 1rem;
}

.timeline-cards p {
  margin: 6px 0 0;
  color: #314e52;
}

.closing-card .signature {
  margin-top: 16px;
}

.org-feature {
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at right, rgba(215,168,63,.25), transparent 42%),
    linear-gradient(135deg, var(--deep), var(--teal));
}

.org-feature span {
  color: rgba(255,255,255,.72);
}

.org-feature strong {
  display: block;
  font-size: 1.32rem;
}

.org-card {
  padding: 16px;
}

.unit-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unit-cloud em {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(8,123,131,.18);
  border-radius: 999px;
  color: #25484d;
  background: rgba(8,123,131,.07);
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

.large-chip em {
  border-color: rgba(215,168,63,.30);
  background: rgba(215,168,63,.12);
}

.support-chip em {
  background: rgba(79,155,99,.09);
}

.committee-panel summary {
  border-bottom: 1px solid rgba(8,123,131,.12);
  background: rgba(255,255,255,.66);
}

.committee-list {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.committee-list article {
  padding: 12px;
  box-shadow: none;
}

.committee-list strong {
  display: block;
  color: #113238;
  font-size: 1.02rem;
}

.committee-list p {
  padding: 0;
  font-size: .92rem;
}

@media (max-width: 390px) {
  
  .page-header { padding-right: 118px; }
  .page-icon { width: 108px; height: 108px; }
  .mini-menu { gap: 8px; padding: 12px; }
  .mini-menu a { min-height: 116px; border-radius: 18px; }
  .menu-icon { width: 60px; height: 60px; }
  .menu-icon img { width: 68px; height: 68px; }
}
