:root {
  --ink: #223029;
  --muted: #687469;
  --paper: #fff8e8;
  --cream: #ffe9b8;
  --coral: #ee6b57;
  --sun: #f4bd3d;
  --leaf: #35a36f;
  --blue: #4d9cdc;
  --berry: #b93d66;
  --night: #1f3f39;
  --line: rgba(34, 48, 41, 0.12);
  --shadow: 0 24px 70px rgba(61, 47, 28, 0.18);
  --soft-shadow: 0 14px 36px rgba(47, 63, 52, 0.14);
  --radius: 8px;
  --book-radius: clamp(28px, 3vw, 42px);
}

* {
  box-sizing: border-box;
}

html {
  background: #e4c889;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 234, 176, 0.62), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(77, 156, 220, 0.24), transparent 28%),
    linear-gradient(180deg, #fff4d5, #f4dfad 68%, #e4c889);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  width: min(1500px, calc(100% - 36px));
  min-height: 52px;
  padding: 8px 10px 8px 12px;
  background: rgba(255, 250, 235, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--book-radius);
  box-shadow: 0 16px 44px rgba(61, 47, 28, 0.13);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.site-header.scrolled {
  background: rgba(255, 248, 232, 0.62);
  box-shadow: 0 14px 36px rgba(61, 47, 28, 0.14);
}

.device-notice {
  position: fixed;
  top: 82px;
  left: 50%;
  z-index: 36;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: min(440px, calc(100% - 24px));
  padding: 10px 10px 10px 14px;
  color: rgba(34, 48, 41, 0.88);
  background: rgba(255, 250, 235, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(61, 47, 28, 0.16);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.device-notice[hidden] {
  display: none;
}

.device-notice p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.device-notice button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  color: #fffaf0;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.brand,
.nav,
.hero-actions,
.book-controls,
.contact-list div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand:focus-visible,
.brand-mark:focus-visible {
  outline: 3px solid rgba(77, 156, 220, 0.58);
  outline-offset: 4px;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 250, 235, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow:
    0 12px 30px rgba(61, 47, 28, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transition:
    width 480ms cubic-bezier(0.18, 0.9, 0.2, 1),
    background 260ms ease,
    box-shadow 260ms ease;
  backdrop-filter: blur(16px);
}

.brand-mark::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  content: "";
  background: url("./assets/huahai-logo-sunflower.webp") center / 118% 118% no-repeat;
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(34, 48, 41, 0.12);
}

.brand-mark::after {
  position: absolute;
  left: 42px;
  right: 16px;
  content: "本网站由codex辅助earthking设计开发部署";
  color: rgba(34, 48, 41, 0.82);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 220ms ease 120ms, transform 300ms ease 120ms;
}

.brand.credit-open .brand-mark {
  width: min(330px, calc(100vw - 72px));
  background: rgba(255, 250, 235, 0.78);
  box-shadow:
    0 18px 48px rgba(61, 47, 28, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.brand.credit-open .brand-mark::after {
  opacity: 1;
  transform: translateX(0);
}

.nav {
  justify-content: center;
  gap: 12px;
  color: #425348;
  font-size: 12px;
  opacity: 0.62;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.music-control {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 9px;
  color: rgba(34, 48, 41, 0.78);
  background: rgba(255, 250, 235, 0.46);
  border: 1px solid rgba(34, 48, 41, 0.1);
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
  transition: opacity 220ms ease, background 220ms ease, transform 220ms ease;
}

.music-control:hover {
  background: rgba(255, 250, 235, 0.72);
  opacity: 1;
  transform: translateY(-1px);
}

.music-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  color: var(--coral);
  font-size: 11px;
  line-height: 1;
}

.music-wave {
  display: inline-flex;
  gap: 1px;
  margin-left: 1px;
  color: var(--blue);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0;
}

.music-wave span {
  display: inline-block;
  animation: musicWave 880ms ease-in-out infinite;
}

.music-wave span:nth-child(2) {
  animation-delay: 120ms;
}

.music-wave span:nth-child(3) {
  animation-delay: 240ms;
}

.music-control:not(.is-playing) .music-wave {
  color: rgba(104, 116, 105, 0.44);
}

.music-control:not(.is-playing) .music-wave span {
  animation-play-state: paused;
  transform: translateY(0);
}

.button,
.header-action,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button,
.header-action {
  min-height: 40px;
  padding: 0 16px;
}

.primary,
.header-action {
  color: #fffaf0;
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(34, 48, 41, 0.22);
}

.secondary {
  color: var(--ink);
  background: rgba(255, 248, 232, 0.72);
  border: 1px solid rgba(34, 48, 41, 0.13);
}

.light {
  color: var(--ink);
  background: var(--paper);
}

.button:hover,
.header-action:hover,
.icon-button:hover {
  transform: translateY(-3px);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  margin: 0 auto;
  padding: 84px clamp(14px, 2vw, 28px) 22px;
  overflow: hidden;
}

.hero-copy {
  display: none;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy > p:not(.eyebrow) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  font-weight: 900;
  line-height: 1.06;
  text-wrap: pretty;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(22px, 1.8vw, 28px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5.2vw, 68px);
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.hero-copy p:not(.eyebrow),
.care-copy p,
.admission-inner > p {
  color: #4e5d52;
  font-size: 15px;
}

.hero-copy p:not(.eyebrow) {
  display: none;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 8px;
  background: rgba(255, 250, 240, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(61, 47, 28, 0.12);
  backdrop-filter: blur(14px);
}

.book-wrap {
  position: relative;
  z-index: 4;
  width: min(1500px, calc(100vw - 36px));
  min-width: 0;
  margin: 0 auto;
}

.image-view-button {
  position: absolute;
  left: 22px;
  bottom: clamp(18px, 3vh, 30px);
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(34, 48, 41, 0.78);
  background: rgba(255, 250, 240, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(61, 47, 28, 0.12);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease;
}

.image-view-button:hover {
  background: rgba(255, 250, 240, 0.62);
  transform: translateY(-2px);
}

.book-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  position: absolute;
  top: 18px;
  left: 22px;
  z-index: 14;
  width: calc(100% - 44px);
  color: rgba(34, 48, 41, 0.66);
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.book {
  width: 100%;
  margin: 0 auto;
  perspective: 1800px;
}

.book-spread {
  position: relative;
  display: block;
  height: min(82vh, 820px);
  min-height: 600px;
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid rgba(34, 48, 41, 0.12);
  border-radius: var(--book-radius);
  box-shadow: var(--shadow);
  isolation: isolate;
  user-select: none;
  touch-action: pan-y;
  -webkit-user-drag: none;
  overscroll-behavior: contain;
}

.book-spread::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 4;
  width: 22px;
  content: "";
  background: linear-gradient(90deg, rgba(34, 48, 41, 0.14), rgba(255, 248, 232, 0.1), rgba(34, 48, 41, 0.12));
  transform: translateX(-50%);
  pointer-events: none;
}

.book-page {
  min-width: 0;
}

.image-page {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(244, 189, 61, 0.28), rgba(77, 156, 220, 0.16)),
    var(--cream);
}

.image-page img {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  pointer-events: none;
}

.text-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4.8vw, 72px);
  background:
    linear-gradient(90deg, rgba(34, 48, 41, 0.05), transparent 22%),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(34, 48, 41, 0.045) 32px),
    #fffaf0;
}

.page-kicker {
  margin-bottom: 14px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.text-page h2 {
  font-size: clamp(38px, 4.4vw, 64px);
}

.text-page p:not(.page-kicker) {
  max-width: 25em;
  color: #4f5e53;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.82;
  text-align: justify;
  text-indent: 2em;
  text-wrap: pretty;
}

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

.page-points li {
  position: relative;
  padding-left: 24px;
  color: #34463b;
  font-weight: 800;
}

.page-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
  box-shadow: 12px 0 0 var(--sun);
}

.flipbook,
.flipbook .stf__parent,
.flipbook .stf__block {
  width: 100%;
  height: 100%;
  background: #fffaf0;
}

.flipbook .stf__parent {
  margin: 0 auto;
}

.flip-page {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #fffaf0;
  border: 0;
}

.flip-page.image-page,
.flip-page.image-page img {
  min-height: 0;
}

.flip-page.text-page h2 {
  font-size: clamp(38px, 4.4vw, 64px);
}

.flip-page.text-page p:not(.page-kicker) {
  max-width: 25em;
  color: #4f5e53;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.82;
  text-align: justify;
  text-indent: 2em;
  text-wrap: pretty;
}

.book-controls {
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  bottom: clamp(18px, 3vh, 30px);
  z-index: 14;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  padding: 8px 10px;
  background: rgba(255, 252, 244, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(61, 47, 28, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px) saturate(1.12);
}

.icon-button {
  width: 44px;
  height: 44px;
  color: #fffaf0;
  background: var(--ink);
  box-shadow: 0 9px 20px rgba(34, 48, 41, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 22px;
}

.icon-button:active:not(:disabled) {
  transform: translateY(0) scale(0.94);
}

.icon-button:disabled {
  cursor: default;
  opacity: 0.36;
  transform: none;
}

.page-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: min(34vw, 320px);
  padding: 5px 2px;
  overflow-x: auto;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
  scroll-behavior: smooth;
}

.page-dots::-webkit-scrollbar {
  display: none;
}

.page-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  overflow: hidden;
  color: transparent;
  background: rgba(34, 48, 41, 0.24);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.page-dots button.active {
  width: 30px;
  background: var(--coral);
  border-radius: 999px;
}

.ticker {
  overflow: hidden;
  padding: 20px 0;
  color: #fff8e8;
  background: var(--night);
  transform: rotate(-1.2deg) scaleX(1.02);
}

.ticker,
.day-section,
.care-section,
.gallery-band,
.admission {
  display: none;
}

.ticker-track {
  display: flex;
  gap: 38px;
  width: max-content;
  font-family: "Songti SC", Georgia, serif;
  font-size: clamp(24px, 3.8vw, 46px);
  font-weight: 900;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}

.ticker-track span:nth-child(3n + 1) {
  color: #ffd666;
}

.ticker-track span:nth-child(3n + 2) {
  color: #ff9b84;
}

.ticker-track span:nth-child(3n) {
  color: #98dcff;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.section-heading {
  max-width: 760px;
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.day-card {
  min-height: 300px;
  padding: 24px;
  background: rgba(255, 255, 247, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.day-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.day-card span {
  display: inline-flex;
  margin-bottom: 74px;
  color: var(--berry);
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.day-card:nth-child(2) span {
  color: var(--leaf);
}

.day-card:nth-child(3) span {
  color: var(--blue);
}

.day-card:nth-child(4) span {
  color: var(--coral);
}

.day-card p {
  color: #536257;
}

.care-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.care-list {
  display: grid;
  gap: 14px;
}

.care-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 24px;
  color: #fffaf0;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.care-list div:nth-child(2) {
  background: var(--berry);
}

.care-list div:nth-child(3) {
  background: var(--leaf);
}

.care-list strong {
  font-family: "Songti SC", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.gallery-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 112px;
}

.gallery-band img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.admission {
  padding: 112px max(24px, calc((100vw - 1120px) / 2));
  color: #fffaf0;
  background:
    linear-gradient(125deg, rgba(34, 48, 41, 0.96), rgba(31, 63, 57, 0.86)),
    repeating-linear-gradient(135deg, rgba(255, 248, 232, 0.09) 0 1px, transparent 1px 28px);
}

.admission-inner {
  max-width: 880px;
}

.admission .eyebrow {
  color: #ffd666;
}

.admission h2 {
  max-width: 760px;
}

.admission-inner > p {
  max-width: 720px;
  color: rgba(255, 250, 240, 0.78);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0;
}

.contact-list div {
  align-items: flex-start;
  flex-direction: column;
  min-height: 116px;
  padding: 18px;
  background: rgba(255, 248, 232, 0.1);
  border: 1px solid rgba(255, 248, 232, 0.16);
  border-radius: var(--radius);
}

.contact-list dt {
  margin-bottom: 10px;
  color: rgba(255, 250, 240, 0.64);
  font-size: 13px;
}

.contact-list dd {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes musicWave {
  0%,
  100% {
    transform: translateY(1px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 100vh;
    height: auto;
    padding-top: 88px;
  }

  .hero-copy {
    right: 24px;
    bottom: 86px;
    max-width: 320px;
  }

  .book {
    width: 100%;
  }

  .book-spread {
    height: min(76vh, 720px);
    min-height: 540px;
  }

  .image-page,
  .image-page img {
    min-height: 540px;
  }

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

  .care-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    top: 10px;
    width: calc(100% - 20px);
    border-radius: var(--book-radius);
  }

  .nav {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .nav a {
    display: none;
  }

  .header-action {
    padding: 0 14px;
  }

  .hero {
    width: calc(100% - 24px);
    min-height: 100vh;
    padding-top: 84px;
    padding-right: 0;
    padding-left: 0;
  }

  h1 {
    font-size: 26px;
  }

  .hero-copy {
    right: 14px;
    bottom: 78px;
    width: min(300px, calc(100% - 28px));
    padding: 12px 14px;
  }

  .hero-copy p:not(.eyebrow),
  .care-copy p,
  .admission-inner > p,
  .text-page p:not(.page-kicker) {
    font-size: 16px;
  }

  .book-status {
    top: 12px;
    left: 14px;
    width: calc(100% - 28px);
    padding: 0 2px;
  }

  .book-spread {
    grid-template-columns: 1fr;
    height: calc(100vh - 112px);
    min-height: 620px;
  }

  .book-spread::before {
    display: none;
  }

  .image-page img {
    position: static;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .turn-page-content.image-page img {
    position: absolute;
    height: 100%;
    aspect-ratio: auto;
  }

  .turn-page-content.text-page {
    min-height: 0;
    padding: 26px;
  }

  .turn-page-content.text-page h2 {
    font-size: 32px;
  }

  .turn-page-content.text-page p:not(.page-kicker) {
    font-size: 16px;
  }

  .text-page {
    min-height: 310px;
    padding: 26px;
  }

  .text-page h2 {
    font-size: 32px;
  }

  .book-controls {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .section {
    width: calc(100% - 28px);
    padding: 78px 0;
  }

  .day-grid,
  .gallery-band,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .day-card {
    min-height: 240px;
  }

  .day-card span {
    margin-bottom: 42px;
  }

  .care-list div {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-band {
    margin-bottom: 78px;
  }

  .admission {
    padding-top: 82px;
    padding-bottom: 82px;
  }
}

@media (max-width: 440px) {
  .header-action {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 58px;
  }

  .hero {
    padding-top: 98px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .book-controls {
    gap: 10px;
  }

  .page-dots {
    gap: 6px;
  }

  .icon-button {
    width: 44px;
    height: 44px;
  }
}

.ticker,
.day-section,
.care-section,
.gallery-band,
.admission {
  display: none !important;
}

.info-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.info-page {
  display: grid;
  min-height: 100vh;
  align-items: center;
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 64px;
}

.info-card {
  padding: clamp(30px, 6vw, 74px);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.86), rgba(255, 250, 240, 0.72)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(34, 48, 41, 0.045) 32px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.info-card h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
}

.info-card h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.info-lede {
  max-width: 760px;
  color: #4e5d52;
  font-size: 18px;
}

.info-grid,
.info-timeline,
.info-contact {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
}

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

.info-timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-grid article,
.info-timeline article,
.info-contact div {
  min-height: 180px;
  padding: 22px;
  background: rgba(255, 255, 247, 0.62);
  border: 1px solid rgba(34, 48, 41, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.info-timeline span {
  display: block;
  margin-bottom: 50px;
  color: var(--berry);
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.info-grid p,
.info-timeline p {
  color: #536257;
}

.info-contact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0;
}

.info-contact dt {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.info-contact dd {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
}

.info-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.image-page-view {
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: 116px 0 70px;
}

.image-view-heading {
  margin-bottom: 28px;
}

.image-view-heading h1 {
  font-size: clamp(42px, 7vw, 82px);
}

.image-gallery {
  display: grid;
  gap: 26px;
}

.image-gallery-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(240px, 0.28fr);
  gap: 20px;
  align-items: stretch;
  padding: 16px;
  background: rgba(255, 250, 240, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.website-size-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fffaf0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(34, 48, 41, 0.08);
}

.website-size-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(34, 48, 41, 0.045) 32px),
    rgba(255, 255, 247, 0.72);
  border-radius: var(--radius);
}

.image-card-meta span {
  margin-bottom: 18px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.image-card-meta h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
}

.image-card-meta p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 760px) {
  .info-page {
    width: calc(100% - 24px);
    padding-top: 96px;
  }

  .info-card {
    padding: 28px;
  }

  .info-card h1 {
    font-size: 40px;
  }

  .info-grid,
  .info-timeline,
  .info-contact {
    grid-template-columns: 1fr;
  }

  .info-grid article,
  .info-timeline article,
  .info-contact div {
    min-height: auto;
  }

  .info-timeline span {
    margin-bottom: 24px;
  }

  .image-view-button {
    left: 12px;
    right: 12px;
    bottom: 72px;
  }

  .image-page-view {
    width: calc(100% - 24px);
    padding-top: 96px;
  }

  .image-gallery-card {
    grid-template-columns: 1fr;
  }

  .website-size-frame {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
