@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@500;700;900&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --red: #D01018;
  --red-deep: #8E0A10;
  --red-soft: #F8E8E9;
  --ink: #121212;
  --ink-2: #2A2A2A;
  --mute: #6B6B6B;
  --line: rgba(18,18,18,.08);
  --paper: #FAFAF8;
  --paper-2: #F1EEEA;
  --white: #FFFFFF;
  --footer: #0B0B0B;
  --rail-w: 72px;
  --nav-h: 0px;
  --max: 1180px;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow: 0 18px 50px rgba(18,18,18,.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(208,16,24,.08), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(208,16,24,.05), transparent 50%),
    var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  padding-left: var(--rail-w);
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.container { width: min(92%, var(--max)); margin: 0 auto; }

.display {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.25;
}

/* ===== Brand float (top-left of content) ===== */
.brand-float {
  position: fixed;
  top: 22px;
  left: calc(var(--rail-w) + 22px);
  z-index: 1100;
  height: 40px;
  display: flex; align-items: center;
  background: #111;
  border-radius: 3px;
  padding: 4px 11px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.brand-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(208,16,24,.3);
}
.brand-float img { height: 100%; width: auto; }

/* ===== Menu toggle (top-right) ===== */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 22px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--ink);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(208,16,24,.35);
  color: var(--red);
}
.menu-toggle.open {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.menu-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.menu-toggle-bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.menu-toggle.open .menu-toggle-bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.menu-toggle.open .menu-toggle-bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ===== Left vertical rail ===== */
.side-rail {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(14px);
  border-right: 1px solid var(--line);
}
.side-rail nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.side-rail a {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .35em;
  color: var(--mute);
  padding: 8px 0;
  position: relative;
  transition: color .25s, transform .3s var(--ease);
}
.side-rail a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--red);
  transform: translateY(-50%);
  transition: height .35s var(--ease);
}
.side-rail a:hover {
  color: var(--red);
  transform: translateX(2px);
}
.side-rail a.active {
  color: var(--red);
  font-weight: 700;
}
.side-rail a.active::before { height: 70%; }

.side-rail .rail-mark {
  position: absolute;
  bottom: 22px;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: #111;
  overflow: hidden;
}
.side-rail .rail-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Fullscreen menu overlay ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(208,16,24,.35), transparent 55%),
    #0c0c0c;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.menu-overlay-inner {
  height: 100%;
  width: min(920px, 88%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 60px;
}
.menu-overlay-kicker {
  font-size: .78rem;
  letter-spacing: .42em;
  color: rgba(255,255,255,.45);
  margin-bottom: 28px;
}
.menu-overlay-links {
  display: grid;
  gap: 6px;
}
.menu-overlay-links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: .08em;
  transform: translateY(18px);
  opacity: 0;
  transition: color .25s, padding-left .35s var(--ease);
}
.menu-overlay.open .menu-overlay-links a {
  opacity: 1;
  transform: translateY(0);
  transition: color .25s, padding-left .35s var(--ease), opacity .5s var(--ease), transform .5s var(--ease);
}
.menu-overlay.open .menu-overlay-links a:nth-child(1) { transition-delay: .05s; }
.menu-overlay.open .menu-overlay-links a:nth-child(2) { transition-delay: .1s; }
.menu-overlay.open .menu-overlay-links a:nth-child(3) { transition-delay: .15s; }
.menu-overlay.open .menu-overlay-links a:nth-child(4) { transition-delay: .2s; }
.menu-overlay.open .menu-overlay-links a:nth-child(5) { transition-delay: .25s; }
.menu-overlay-links a span {
  font-family: "Noto Sans SC", sans-serif;
  font-size: .75rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.35);
  font-weight: 500;
}
.menu-overlay-links a:hover,
.menu-overlay-links a.active {
  color: #ff6b6b;
  padding-left: 12px;
}
.menu-overlay-phone {
  margin-top: 36px;
  display: inline-flex;
  font-family: "Noto Serif SC", serif;
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.35);
  padding-bottom: 4px;
  width: fit-content;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease) .3s, transform .5s var(--ease) .3s, border-color .25s;
}
.menu-overlay.open .menu-overlay-phone {
  opacity: 1;
  transform: translateY(0);
}
.menu-overlay-phone:hover { border-color: #ff6b6b; color: #ff6b6b; }

/* legacy hooks removed from top bar */

/* ===== Hero ===== */
.hero {
  margin-top: 0;
  position: relative;
  min-height: min(86vh, 780px);
  height: 100vh;
  max-height: 900px;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
}
.hero-track {
  display: flex; height: 100%;
  transition: transform .85s var(--ease);
  will-change: transform;
}
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6.5s linear;
}
.hero-slide.is-active img { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.78) 0%, rgba(8,8,8,.35) 48%, rgba(8,8,8,.15) 100%),
    linear-gradient(180deg, transparent 40%, rgba(8,8,8,.55) 100%);
  display: flex; align-items: flex-end;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem) 5.5rem;
}
.hero-copy {
  max-width: 720px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.hero-slide.is-active .hero-copy {
  opacity: 1; transform: translateY(0);
  transition-delay: .18s;
}
.hero-brand {
  display: inline-block;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: .35rem;
  text-shadow: 0 8px 30px rgba(0,0,0,.35);
}
.hero-copy .brand-en {
  display: block;
  font-size: .78rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 1rem;
}
.hero-copy h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  font-weight: 700;
  margin-bottom: .7rem;
}
.hero-copy .tagline {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  opacity: .88;
  letter-spacing: .12em;
  margin-bottom: 1.4rem;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  font-size: .92rem;
  border-radius: 999px;
  transition: transform .3s var(--ease), background .25s, box-shadow .3s;
}
.hero-cta:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(208,16,24,.4);
}
.hero-cta span { transition: transform .3s var(--ease); }
.hero-cta:hover span { transform: translateX(4px); }

.hero-controls {
  position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 2rem;
  display: flex; align-items: center; gap: 14px; z-index: 3;
}
.hero-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  transform: scale(1.05);
}
.hero-progress {
  width: 88px; height: 2px;
  background: rgba(255,255,255,.25);
  border-radius: 2px; overflow: hidden;
}
.hero-progress i {
  display: block; height: 100%; width: 0;
  background: #fff;
}
.hero-progress i.run {
  animation: progressFill 5s linear forwards;
}
@keyframes progressFill {
  from { width: 0; }
  to { width: 100%; }
}

.hero-dots {
  position: absolute; left: clamp(1.5rem, 5vw, 4.5rem); bottom: 2.2rem;
  display: flex; gap: 8px; z-index: 3;
}
.hero-dots button {
  width: 28px; height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 3px;
  transition: width .35s var(--ease), background .25s;
}
.hero-dots button.active {
  width: 42px;
  background: #fff;
}

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-soft { background: var(--paper-2); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head.center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-kicker::before {
  content: "";
  width: 18px; height: 2px; background: var(--red);
}
.section-head h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
}
.section-head p {
  color: var(--mute);
  font-size: .98rem;
  max-width: 36ch;
}
.section-dark .section-head p { color: rgba(255,255,255,.65); }

.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 0;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: gap .3s var(--ease), border-color .25s;
}
.btn-line:hover { gap: 16px; border-bottom-color: var(--red); }
.section-dark .btn-line { color: #fff; }
.section-dark .btn-line:hover { border-bottom-color: #fff; }

/* ===== Pillars ===== */
.pillar-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
}
.pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .35s, color .35s;
  min-height: 180px;
}
.pillar:last-child { border-right: 0; }
.pillar:hover {
  background: var(--red);
  color: #fff;
}
.pillar .num {
  font-family: "Noto Serif SC", serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 18px;
  transition: color .35s;
}
.pillar:hover .num { color: rgba(255,255,255,.55); }
.pillar h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.pillar p {
  font-size: .88rem;
  color: var(--mute);
  transition: color .35s;
}
.pillar:hover p { color: rgba(255,255,255,.82); }

/* ===== Feature layout ===== */
.feature-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 22px;
}
.feature-main, .feature-side .feature-card {
  position: relative;
  overflow: hidden;
  background: #111;
  color: #fff;
  min-height: 420px;
  isolation: isolate;
  transition: transform .45s var(--ease);
}
.feature-side {
  display: grid;
  gap: 22px;
}
.feature-side .feature-card { min-height: 199px; }
.feature-main:hover, .feature-side .feature-card:hover {
  transform: translateY(-4px);
}
.feature-main img, .feature-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
  z-index: -2;
}
.feature-main:hover img, .feature-card:hover img { transform: scale(1.06); }
.feature-main::after, .feature-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.78) 100%);
  z-index: -1;
}
.feature-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
}
.feature-body .meta {
  font-size: .78rem;
  letter-spacing: .12em;
  opacity: .7;
  margin-bottom: 8px;
}
.feature-body h3 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-body p {
  font-size: .9rem;
  opacity: .8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}
.gallery figure {
  position: relative;
  overflow: hidden;
  background: #111;
  margin: 0;
}
.gallery figure:first-child {
  grid-row: span 2;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.gallery figure:hover img {
  transform: scale(1.07);
  filter: brightness(.85);
}
.gallery figcaption {
  position: absolute; left: 18px; bottom: 16px;
  color: #fff;
  font-size: .85rem;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateY(8px);
  transition: .35s var(--ease);
}
.gallery figure:hover figcaption {
  opacity: 1; transform: translateY(0);
}

/* ===== Split about ===== */
.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split-visual {
  position: relative;
  min-height: 460px;
}
.split-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.split-visual .stamp {
  position: absolute;
  right: -16px; bottom: 28px;
  width: min(46%, 220px);
  background: var(--red);
  color: #fff;
  padding: 22px 20px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: var(--shadow);
}
.split-copy .lead {
  font-size: 1.08rem;
  margin-bottom: 1rem;
  color: var(--ink-2);
}
.split-copy p {
  color: var(--mute);
  margin-bottom: 1rem;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.stat-row strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 1.8rem;
  color: var(--red);
  line-height: 1.1;
}
.stat-row span {
  font-size: .82rem;
  color: var(--mute);
}

/* ===== Values ===== */
.values-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.value-tile {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 18px 24px;
  text-align: center;
  transition: transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.value-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(208,16,24,.35);
  box-shadow: var(--shadow);
}
.value-tile .idx {
  font-family: "Noto Serif SC", serif;
  font-size: .85rem;
  color: var(--red);
  letter-spacing: .2em;
  margin-bottom: 14px;
}
.value-tile h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.value-tile p {
  font-size: .82rem;
  color: var(--mute);
  line-height: 1.5;
}

/* ===== Service band ===== */
.service-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.service-band .copy {
  padding: clamp(36px, 6vw, 64px);
}
.service-band .copy h3 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 12px 0 18px;
}
.service-band .copy p { color: rgba(255,255,255,.72); margin-bottom: .8rem; }
.service-band .phone {
  display: inline-block;
  margin-top: 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  transition: color .25s;
}
.service-band .phone:hover { color: var(--red); }
.service-band .visual {
  position: relative; min-height: 320px;
}
.service-band .visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}

/* ===== Page banner ===== */
.page-banner {
  margin-top: 0;
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #111;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(142,10,16,.92), rgba(18,18,18,.7)),
    url("../assets/hero-02.png") center/cover;
  transform: scale(1.05);
  animation: bannerDrift 18s ease-in-out infinite alternate;
}
@keyframes bannerDrift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}
.page-banner > div { position: relative; z-index: 1; padding: 40px 20px; }
.page-banner h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .12em;
}
.page-banner p {
  margin-top: 12px;
  opacity: .8;
  letter-spacing: .28em;
  font-size: .88rem;
}

/* ===== About page ===== */
.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}
.about-nav {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
}
.about-nav a {
  padding: 12px 14px;
  border-left: 2px solid transparent;
  color: var(--mute);
  font-size: .92rem;
  transition: .25s;
}
.about-nav a:hover,
.about-nav a.active {
  color: var(--red);
  border-left-color: var(--red);
  background: rgba(208,16,24,.04);
}
.about-intro p {
  margin-bottom: 1.15rem;
  color: var(--ink-2);
  text-indent: 2em;
  line-height: 2;
}
.about-intro .closing {
  text-indent: 0;
  text-align: center;
  margin-top: 28px;
  font-family: "Noto Serif SC", serif;
  font-size: 1.25rem;
  color: var(--red);
  font-weight: 700;
}

.mission-panel {
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(208,16,24,.35), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #0d0d0d);
  color: #fff;
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.mission-panel h3 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}
.mission-panel p {
  max-width: 56ch;
  color: rgba(255,255,255,.78);
  line-height: 1.9;
}

.charity-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.charity-split .sub {
  color: var(--red);
  letter-spacing: .12em;
  font-size: .85rem;
  margin: 8px 0 16px;
}
.charity-split p { color: var(--mute); line-height: 1.9; }
.charity-split img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  filter: saturate(1.05);
}

/* ===== Cards / lists ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.story-card {
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
  display: flex; flex-direction: column;
}
.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.story-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #111;
}
.story-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.story-card:hover .thumb img { transform: scale(1.08); }
.story-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.story-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card .card-desc {
  font-size: .88rem;
  color: var(--mute);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.story-card .card-date {
  font-size: .8rem;
  color: #999;
  letter-spacing: .06em;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--footer);
  color: rgba(255,255,255,.55);
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  height: 40px; margin-bottom: 16px;
  display: inline-flex; align-items: center;
  background: #000; padding: 4px 10px; border-radius: 3px;
}
.footer-brand .logo img { height: 100%; width: auto; }
.footer-brand p { font-size: .88rem; line-height: 1.8; max-width: 34ch; }
.footer-col h4 {
  color: #fff;
  font-size: .92rem;
  margin-bottom: 16px;
  letter-spacing: .08em;
}
.footer-col a {
  display: block; padding: 6px 0; font-size: .88rem;
  transition: color .25s, padding-left .25s;
}
.footer-col a:hover { color: #fff; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  text-align: center;
  font-size: .8rem;
}
.footer-bottom a { color: #ff6b6b; }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== Back to top ===== */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  z-index: 900;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: .35s var(--ease);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.to-top.show {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.to-top:hover { background: var(--red); }

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* Legacy class hooks used in older markup */
.fade-in { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}
.section-header p { margin-top: 10px; color: var(--mute); }
.section-alt { background: var(--paper-2); }
.card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card .card-body { padding: 22px; }
.card .card-body h3 { font-size: 1.05rem; margin-bottom: 10px; line-height: 1.5; }
.card .card-desc { font-size: .88rem; color: var(--mute); margin-bottom: 12px; }
.card .card-date { font-size: .8rem; color: #999; }
.view-more {
  display: inline-flex; margin-top: 36px; padding: 12px 28px;
  border: 1px solid var(--red); color: var(--red); font-weight: 600;
  transition: .3s;
}
.view-more:hover { background: var(--red); color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-item {
  text-align: center; padding: 28px 18px; background: var(--white);
  border: 1px solid var(--line); transition: .35s var(--ease);
}
.value-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-item img {
  width: 56px; height: 56px; margin: 0 auto 12px; object-fit: contain;
  background: #111; border-radius: 8px; padding: 6px;
}
.value-item h4 { color: var(--red); margin-bottom: 6px; }
.value-item p { font-size: .85rem; color: var(--mute); }
.mission-box {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; padding: 48px 40px; text-align: center;
}
.mission-box h3 { font-family: "Noto Serif SC", serif; font-size: 1.5rem; margin-bottom: 14px; }
.mission-box p { max-width: 700px; margin: 0 auto; opacity: .92; line-height: 1.9; }
.charity-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.charity-box .sub { color: var(--red); margin-bottom: 12px; }
.charity-box p { color: var(--mute); line-height: 1.9; }
.service-highlight {
  text-align: center; padding: 40px 24px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  border: 1px solid rgba(208,16,24,.1);
}
.service-highlight .phone { font-size: 1.6rem; font-weight: 700; color: var(--red); margin-top: 14px; }
.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.store-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.store-grid img:hover { transform: scale(1.03); }
.tabs { margin-top: 12px; }
.tab-nav {
  display: flex; justify-content: center; gap: 6px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.tab-nav button {
  padding: 10px 20px; color: var(--mute); border: 1px solid var(--line);
  background: var(--white); transition: .25s;
}
.tab-nav button:hover, .tab-nav button.active {
  color: #fff; background: var(--red); border-color: var(--red);
}
.tab-panel { display: none; animation: fadeUp .45s var(--ease); }
.tab-panel.active { display: block; }
.tab-panel p { margin-bottom: 1rem; line-height: 1.9; color: var(--ink-2); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.keyword-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.keyword-card {
  background: var(--white); border: 1px solid var(--line);
  padding: 28px 18px; text-align: center; transition: .35s var(--ease);
}
.keyword-card:hover { background: var(--red); color: #fff; transform: translateY(-4px); }
.keyword-card .kw-label { font-size: .8rem; color: var(--red); letter-spacing: .2em; margin-bottom: 8px; }
.keyword-card:hover .kw-label { color: rgba(255,255,255,.7); }
.keyword-card .kw-text { font-size: 1.25rem; font-weight: 700; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-main { min-height: 360px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .gallery figure:first-child { grid-row: span 1; grid-column: span 2; }
  .split, .service-band, .about-layout, .charity-split, .charity-box {
    grid-template-columns: 1fr;
  }
  .about-nav { position: static; display: flex; gap: 4px; overflow-x: auto; }
  .about-nav a { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .about-nav a.active { border-bottom-color: var(--red); background: transparent; }
  .split-visual { min-height: 320px; }
  .values-strip { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .pillar-rail { grid-template-columns: 1fr 1fr; }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
}

@media (max-width: 768px) {
  :root { --rail-w: 0px; }
  body { padding-left: 0; }
  .side-rail { display: none; }
  .brand-float { left: 16px; top: 16px; height: 36px; }
  .menu-toggle { right: 14px; top: 14px; padding: 9px 14px; letter-spacing: .2em; }
  .hero { height: auto; min-height: 72vh; max-height: none; }
  .hero-overlay { align-items: center; padding: 5.5rem 1.4rem 5rem; }
  .hero-controls { right: 1rem; }
  .page-banner { min-height: 280px; padding-top: 40px; }
  .pillar-rail, .keyword-grid, .values-grid, .values-strip, .card-grid, .stat-row {
    grid-template-columns: 1fr 1fr;
  }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery figure:first-child { grid-column: auto; min-height: 240px; }
  .gallery figure { min-height: 200px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .split-visual .stamp { right: 12px; bottom: 12px; }
  .menu-overlay-inner { padding: 90px 0 40px; }
}

@media (max-width: 520px) {
  .pillar-rail, .keyword-grid, .values-strip, .values-grid, .card-grid, .stat-row, .store-grid {
    grid-template-columns: 1fr;
  }
  .pillar { border-right: 0; }
  .hero-brand { letter-spacing: .04em; }
  .hero-dots { left: 1.2rem; }
}
