/* =============================================================
   手绘风格 · Sketchbook Health Journal
   Charcoal on warm paper · Wavy hand-drawn borders · Playful tilt
   Everything achieved with CSS/SVG — no images needed for the style
   ============================================================= */

/* ── Reset & Variables ───────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --paper:      #FFF9F2;
  --paper-dark: #F8F0E2;
  --charcoal:   #3A3A38;
  --charcoal-light: #6E6D6B;
  --pencil-gray:#A8A6A2;
  --ink:        #2E2E2C;
  --mist:       #5E9CAE;
  --matcha:     #6AAF6A;
  --clay:       #C97B5B;
  --sage:       #7C9A82;
  --dusty-rose: #C47E7E;
  --lilac:      #8B7FB8;
  --max-w:      1100px;
}

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

body {
  font-family: "PingFang SC", "Noto Sans SC", "Hiragino Sans GB",
               "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.8;
  overflow-x: hidden;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Hand-drawn borders ──────────────────────────────────── */
.sketchy {
	padding: 15px;
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.sketchy-alt {
  border: 2.5px solid var(--charcoal);
  border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
}

.sketchy-accent {
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

/* ── Eyebrow labels (hand-styled) ────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  position: relative;
  padding-left: 20px;
}
.eyebrow::before {
  content: '✦';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.55rem;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVIGATION — sketchbook margin style
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--paper);
  border-bottom: 2.5px solid var(--charcoal);
  border-radius: 0 0 255px 15px / 0 0 15px 255px;
  transition: box-shadow 0.3s;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  transform: rotate(-0.5deg);
}

/* Pencil-drawn circle logo */
.logo-accent {
  width: 28px;
  height: 28px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-3deg);
  background: var(--clay);
  position: relative;
}
.logo-accent::after {
  content: '🌿';
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  gap: 0;
  font-size: 0.82rem;
}

.nav-links li { position: relative; }

.nav-links a {
  display: block;
  padding: 0 18px;
  height: 60px;
  line-height: 60px;
  font-weight: 600;
  color: var(--charcoal);
  opacity: 0.6;
  transition: all 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--clay);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] span {
  background: var(--clay);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .mobile-menu-toggle { display: flex; }
  /* Default: hidden on mobile */
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 8px;
    border-top: 2.5px solid var(--charcoal);
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease;
  }
  .nav-links.open {
    max-height: 60vh;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 16px 32px;
    font-size: 1rem;
    height: auto;
    line-height: 1.5;
    border-bottom: 1.5px dashed rgba(60,60,59,0.12);
    opacity: 0.6;
  }
  .nav-links a.active {
    opacity: 1;
    background: var(--paper-dark);
    color: var(--clay);
  }
}

/* ═══════════════════════════════════════════════════════════
   HERO — dark charcoal with hand-drawn illustrations
   ═══════════════════════════════════════════════════════════ */
.new-hero {
  padding-top: 100px;
  padding-bottom: 80px;
  background: var(--charcoal);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}

/* Hand-drawn background illustration layer */
.new-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='700' viewBox='0 0 1400 700'%3E%0A%3Cdefs%3E%3Cstyle%3E%0A.doodle { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }%0A.fill-doodle { stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }%0A%3C/style%3E%3C/defs%3E%0A%0A%3C!-- Leaf cluster top-left --%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.25)' d='M80 120 Q90 80, 120 60 Q110 100, 80 120Z M120 60 Q160 50, 180 80 Q150 90, 120 60Z M80 120 Q70 160, 100 180 Q85 150, 80 120Z'/%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.2)' d='M120 60 L100 120 M120 60 L180 80'/%3E%0A%0A%3C!-- Spiral plant bottom-left --%3E%0A%3Ccircle class='doodle' stroke='rgba(201,123,91,0.2)' cx='160' cy='560' r='40'/%3E%0A%3Cpath class='doodle' stroke='rgba(201,123,91,0.18)' d='M160 520 Q200 520, 200 560 Q200 600, 160 600 Q120 600, 120 560 Q120 520, 160 520'/%3E%0A%3Cpath class='doodle' stroke='rgba(201,123,91,0.15)' d='M160 520 Q130 550, 160 560 Q190 550, 160 520Z'/%3E%0A%0A%3C!-- Floating circles scatter --%3E%0A%3Ccircle class='fill-doodle' fill='rgba(94,156,174,0.08)' stroke='rgba(94,156,174,0.15)' cx='60' cy='300' r='18'/%3E%0A%3Ccircle class='fill-doodle' fill='rgba(139,127,184,0.08)' stroke='rgba(139,127,184,0.15)' cx='200' cy='350' r='12'/%3E%0A%3Ccircle class='fill-doodle' fill='rgba(196,126,126,0.08)' stroke='rgba(196,126,126,0.15)' cx='80' cy='450' r='24'/%3E%0A%0A%3C!-- Star bursts --%3E%0A%3Cg class='doodle' stroke='rgba(255,249,242,0.1)' transform='translate(350, 200)'%3E%0A%3Ccircle cx='0' cy='0' r='6'/%3E%0A%3Cline x1='0' y1='-8' x2='0' y2='8'/%3E%0A%3Cline x1='-8' y1='0' x2='8' y2='0'/%3E%0A%3C/g%3E%0A%3Cg class='doodle' stroke='rgba(255,249,242,0.08)' transform='translate(320, 400)'%3E%0A%3Ccircle cx='0' cy='0' r='4'/%3E%0A%3Cline x1='0' y1='-6' x2='0' y2='6'/%3E%0A%3Cline x1='-6' y1='0' x2='6' y2='0'/%3E%0A%3C/g%3E%0A%0A%3C<!-- Wavy grid lines --%3E%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.04)' d='M0 100 Q350 90, 700 100 T1400 100'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.04)' d='M0 200 Q350 210, 700 200 T1400 200'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.04)' d='M0 300 Q350 290, 700 300 T1400 300'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.04)' d='M0 400 Q350 410, 700 400 T1400 400'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.04)' d='M0 500 Q350 490, 700 500 T1400 500'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.04)' d='M0 600 Q350 610, 700 600 T1400 600'/%3E%0A%0A%3C<!-- Heart doodle right side --%3E%3E%0A%3Cpath class='doodle' stroke='rgba(196,126,126,0.2)' d='M1000 200 C1000 180, 1030 170, 1050 200 C1070 170, 1100 180, 1100 200 C1100 230, 1050 260, 1050 260 C1050 260, 1000 230, 1000 200Z'/%3E%0A%0A%3C<!-- Small leaf accents right --%3E%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.22)' d='M1100 400 Q1130 380, 1160 420 Q1130 410, 1100 400Z'/%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.18)' d='M1200 500 Q1230 480, 1260 520 Q1230 510, 1200 500Z'/%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.18)' d='M900 550 Q920 530, 940 560 Q920 555, 900 550Z'/%3E%0A%0A%3C<!-- Cross/marker doodles --%3E%3E%0A%3Cg class='doodle' stroke='rgba(201,123,91,0.15)'%3E%0A%3Ccircle cx='700' cy='150' r='10'/%3E%3Cline x1='690' y1='150' x2='710' y2='150'/%3E%0A%3C/g%3E%0A%3Cg class='doodle' stroke='rgba(94,156,174,0.12)'%3E%0A%3Ccircle cx='800' cy='350' r='8'/%3E%3Cline x1='792' y1='350' x2='808' y2='350'/%3E%0A%3C/g%3E%0A%0A%3C<!-- Dotted arc top-right --%3E%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.06)' stroke-dasharray='4 6' d='M900 80 Q1100 20, 1300 100'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.05)' stroke-dasharray='3 8' d='M920 100 Q1120 40, 1320 120'/%3E%0A%0A%3C<!-- Checkmark doodles --%3E%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.2)' d='M500 500 L510 510 L530 485'/%3E%0A%3Cpath class='doodle' stroke='rgba(106,175,106,0.18)' d='M1150 300 L1160 310 L1180 285'/%3E%0A%0A%3C<!-- Simple smiley face --%3E%3E%0A%3Ccircle class='doodle' stroke='rgba(255,249,242,0.08)' cx='1300' cy='500' r='16'/%3E%0A%3Ccircle fill='rgba(255,249,242,0.1)' cx='1293' cy='496' r='2'/%3E%0A%3Ccircle fill='rgba(255,249,242,0.1)' cx='1307' cy='496' r='2'/%3E%0A%3Cpath class='doodle' stroke='rgba(255,249,242,0.08)' d='M1290 505 Q1300 515, 1310 505'/%3E%0A%0A%3C<!-- Scattered dots --%3E%3E%0A%3Ccircle fill='rgba(201,123,91,0.15)' cx='250' cy='150' r='2'/%3E%0A%3Ccircle fill='rgba(94,156,174,0.12)' cx='450' cy='300' r='1.5'/%3E%0A%3Ccircle fill='rgba(196,126,126,0.12)' cx='600' cy='450' r='2'/%3E%0A%3Ccircle fill='rgba(106,175,106,0.15)' cx='800' cy='550' r='1.5'/%3E%0A%3Ccircle fill='rgba(139,127,184,0.12)' cx='1050' cy='150' r='2'/%3E%0A%3Ccircle fill='rgba(255,249,242,0.06)' cx='1350' cy='350' r='1.5'/%3E%0A%3Ccircle fill='rgba(201,123,91,0.12)' cx='50' cy='550' r='2'/%3E%0A%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Second layer: larger floating shapes */
.new-hero::after {
  content: '';
  position: absolute;
  inset: 0;
 
  pointer-events: none;
  z-index: 0;
  background: url("/images/jianshen.jpg?a=12121212") no-repeat;
    background-size: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.hero-left h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--paper);
  transform: rotate(-0.5deg);
}

.hero-left h1 strong {
  color: var(--clay);
  position: relative;
}

.hero-left .lead-text {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,249,242,0.5);
  text-indent: 0;
  text-align: left;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-left .eyebrow {
  color: var(--matcha);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.06em;
  border: 2.5px solid;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--clay);
  color: #fff;
  border-color: var(--clay);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.btn-primary:hover {
  background: transparent;
  color: var(--clay);
}

.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,249,242,0.3);
  border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px;
}
.btn-outline:hover {
  border-color: var(--matcha);
  color: var(--matcha);
}

.hero-right { position: relative; }

.hero-image-wrapper {
  position: relative;
  border: 3px solid var(--charcoal-light);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  overflow: hidden;
  background: #2a2a2a;
  transform: rotate(1deg);
}


.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.hero-stat-item {
  background: rgba(255,249,242,0.06);
  border: 2px solid rgba(255,249,242,0.1);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 16px;
  text-align: center;
}

.hero-stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clay);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-item span {
  font-size: 0.68rem;
  color: rgba(255,249,242,0.4);
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
}

/* ── Section dividers — hand-drawn wavy rule ─────────────── */
.section-rule-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
}
.section-rule-wrap svg {
  width: 100%;
  max-width: 1140px;
  height: 24px;
}

/* ── Section spacing ─────────────────────────────────────── */
.section {
  padding: 72px 0;
  position: relative;
}

.section-alt {
  background: var(--paper-dark);
}

/* ── Notice bar ──────────────────────────────────────────── */
.notice-bar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
  margin: 32px 0;
  background: rgba(106,175,106,0.08);
  border: 2px solid var(--matcha);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-size: 0.82rem;
  color: var(--charcoal-light);
  line-height: 1.7;
}

.notice-icon {
  font-size: 1rem;
  color: var(--matcha);
  flex-shrink: 0;
}

/* ── Philosophy / About section ──────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.philosophy-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  transform: rotate(-0.3deg);
}

.philosophy-text .lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--clay);
  margin-bottom: 16px;
}

.philosophy-text p {
  color: rgba(60,60,59,0.7);
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clay);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 8px;
  transition: gap 0.3s;
  border-bottom: 2px solid var(--clay);
  padding-bottom: 2px;
}
.text-link:hover { gap: 14px; }

.philosophy-figure {
  position: relative;
}

.philosophy-figure img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border: 3px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper-dark);
  transform: rotate(0.8deg);
}

@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 32px; }
  .philosophy-figure img { height: 280px; }
}

/* ── Direction cards (homepage) ──────────────────────────── */
.direction-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.direction-card {
  padding: 28px 24px 24px;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transition: all 0.3s;
  position: relative;
}

.direction-card:hover {
  transform: rotate(-1deg) scale(1.02);
  border-color: var(--clay);
  box-shadow: 3px 4px 0 var(--charcoal);
}

.direction-card .card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--paper);
  background: var(--mist);
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  margin-bottom: 12px;
}

.direction-card .card-icon-alt {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.3rem;
  color: var(--matcha);
}

.direction-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 8px;
}

.direction-card p {
  font-size: 0.82rem;
  color: rgba(60,60,59,0.6);
  margin-bottom: 16px;
  line-height: 1.7;
}

.direction-card .card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border: 2px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper-dark);
  filter: saturate(0.7) contrast(1.05);
}

@media (max-width: 900px) {
  .direction-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .direction-cards { grid-template-columns: 1fr; }
}

/* ── Section header ──────────────────────────────────────── */
.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
  transform: rotate(-0.3deg);
}

.section-header-center {
  text-align: center;
  margin-bottom: 40px;
}
.section-header-center h2 {
  margin-bottom: 8px;
  display: inline-block;
  transform: rotate(-0.3deg);
  position: relative;
}
.section-header-center h2::after {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: var(--charcoal);
  margin-top: 6px;
  border-radius: 2px;
  transform: rotate(-0.5deg);
}

/* ── Page hero (sub-pages) ───────────────────────────────── */
.new-page-hero {
  padding-top: 96px;
  padding-bottom: 56px;
  background: var(--charcoal);
  color: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
}

.new-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='x'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.04' numOctaves='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='8'/%3E%3C/filter%3E%3Crect width='200' height='200' fill='%233C3C3B' filter='url(%23x)'/%3E%3Cline x1='0' y1='40' x2='200' y2='42' stroke='%23fff' stroke-opacity='0.015' stroke-width='0.5'/%3E%3Cline x1='0' y1='120' x2='200' y2='118' stroke='%23fff' stroke-opacity='0.02' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

.new-page-hero > .container { position: relative; z-index: 1; }

.new-page-hero .eyebrow {
  color: var(--matcha);
  margin-bottom: 16px;
  display: block;
  text-align: center;
}

.new-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 14px;
  display: inline-block;
  transform: rotate(-0.5deg);
}

.new-page-hero p {
  font-size: 1rem;
  color: rgba(255,249,242,0.45);
  max-width: 480px;
  margin: 0 auto;
  text-indent: 0;
  text-align: center;
}

.policy-date {
  font-size: 0.72rem !important;
  color: rgba(255,249,242,0.25) !important;
  margin-top: 12px;
}

/* ── Mission (About page) ────────────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  align-items: start;
}

.mission-figure img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border: 3px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper-dark);
  transform: rotate(-0.5deg);
}

.mission-content h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
  transform: rotate(-0.3deg);
}

.mission-content p {
  color: rgba(60,60,59,0.7);
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.mission-statement {
  margin-top: 28px;
  padding: 24px 28px;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-style: normal;
  position: relative;
}
.mission-statement p {
  color: var(--ink) !important;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; }
}

/* ── Values ──────────────────────────────────────────────── */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-block {
  padding: 32px 24px;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  text-align: center;
  transition: all 0.3s;
}
.value-block:hover {
  transform: rotate(1deg) translateY(-4px);
  box-shadow: 4px 5px 0 var(--charcoal);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
  display: block;
}

.value-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-block p {
  font-size: 0.82rem;
  color: rgba(60,60,59,0.6);
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 768px) {
  .values-row { grid-template-columns: 1fr; }
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-main h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
  transform: rotate(-0.3deg);
}
.contact-main > p {
  color: rgba(60,60,59,0.6);
  margin-bottom: 28px;
  font-size: 0.92rem;
  text-indent: 0;
}

.contact-info-block {
  padding: 24px;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

.contact-details {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 2;
}

.contact-tip {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  margin-top: 16px;
  background: rgba(106,175,106,0.08);
  border-radius: 12px 225px 15px 255px / 255px 15px 225px 15px;
  font-size: 0.78rem;
  color: var(--charcoal-light);
}

.contact-figure img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 3px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper-dark);
  transform: rotate(1deg);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-figure { order: -1; }
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-block { max-width: 720px; }
.faq-block h2 {
  margin-bottom: 20px;
  transform: rotate(-0.3deg);
}

.faq-item {
  padding: 20px 0;
  border-bottom: 2px dashed rgba(60,60,59,0.15);
}
.faq-item:first-child { border-top: 2px dashed rgba(60,60,59,0.15); }

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-item p {
  font-size: 0.85rem;
  color: rgba(60,60,59,0.6);
  text-indent: 0;
}

/* ── Legal pages ─────────────────────────────────────────── */
.legal-article { max-width: 760px; margin: 0 auto; }

.legal-section {
  padding: 32px 0;
  border-bottom: 2px dashed rgba(60,60,59,0.12);
}
.legal-section:last-child { border-bottom: none; }

.section-number {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--lilac);
  letter-spacing: 0.12em;
  background: var(--paper);
  border: 2px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  transform: rotate(-0.2deg);
}

.legal-section p {
  color: rgba(60,60,59,0.7);
  margin-bottom: 12px;
  font-size: 0.88rem;
  line-height: 1.85;
}

.legal-list { margin: 12px 0 16px; }
.legal-list li {
  position: relative;
  padding-left: 20px;
  color: rgba(60,60,59,0.7);
  font-size: 0.88rem;
  margin-bottom: 8px;
  line-height: 1.75;
}
.legal-list li::before {
  content: '✎';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.7rem;
  color: var(--clay);
}

.note {
  font-size: 0.8rem !important;
  color: rgba(60,60,59,0.4) !important;
}

.contact-mini {
  margin: 16px 0 24px;
  padding: 20px;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--clay) !important;
  font-weight: 700;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--clay);
  padding-bottom: 2px;
}

/* ── Health panels ───────────────────────────────────────── */
.health-panels {
  display: grid;
  gap: 24px;
}

.health-panel {
  padding: 36px 32px;
  background: var(--paper);
  border: 2.5px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: start;
  transition: all 0.3s;
}
.health-panel:hover {
  transform: rotate(-0.3deg) scale(1.005);
  box-shadow: 3px 4px 0 var(--charcoal);
}

.panel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--paper);
  background: var(--lilac);
  border-radius: 50%;
  border: 2px solid var(--charcoal);
  margin-top: 4px;
}

.health-panel h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.health-panel .panel-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border: 2px solid var(--charcoal);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--paper-dark);
  filter: saturate(0.7) contrast(1.05);
  margin-bottom: 16px;
}

.health-panel ul { padding-left: 0; }
.health-panel li {
  position: relative;
  padding-left: 18px;
  color: rgba(60,60,59,0.65);
  font-size: 0.86rem;
  margin-bottom: 8px;
  line-height: 1.7;
}
.health-panel li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--mist);
  font-weight: 700;
}
.health-panel strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 768px) {
  .health-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px;
  }
  .panel-number {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,249,242,0.45);
  padding: 56px 0 28px;
  font-size: 0.8rem;
  border-top: 3px solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-brand .logo {
  margin-bottom: 12px;
  color: var(--paper);
  display: inline-flex;
}

.footer-brand p {
  color: rgba(255,249,242,0.3);
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-legal a {
  display: block;
  color: rgba(255,249,242,0.35);
  padding: 6px 0;
  font-size: 0.8rem;
  transition: color 0.3s;
  white-space: nowrap;
}
.footer-legal a:hover { color: var(--clay); }

.footer-divider {
  height: 1px;
  background: rgba(255,249,242,0.08);
  margin-bottom: 20px;
}

.footer-bottom {
  font-size: 0.7rem;
  color: rgba(255,249,242,0.2);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Reveal animation ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Doodle decorations ──────────────────────────────────── */
.doodle-star {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.15;
  pointer-events: none;
}

/* Wavy section divider background */
.wavy-divider {
  height: 40px;
  background: var(--paper);
  position: relative;
}
.wavy-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--charcoal) 0px,
    var(--charcoal) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* Hand-written underline effect */
.hand-underline {
  position: relative;
  display: inline;
}
.hand-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background: var(--clay);
  border-radius: 2px;
  transform: rotate(-0.5deg);
}

/* Torn paper edge effect */
.torn-edge {
  clip-path: polygon(
    0% 2%, 3% 0%, 7% 3%, 11% 1%, 15% 2%, 19% 0%, 23% 3%, 27% 1%,
    31% 2%, 35% 0%, 39% 3%, 43% 1%, 47% 2%, 51% 0%, 55% 3%, 59% 1%,
    63% 2%, 67% 0%, 71% 3%, 75% 1%, 79% 2%, 83% 0%, 87% 3%, 91% 1%,
    95% 2%, 100% 0%,
    100% 100%, 97% 99%, 93% 100%, 89% 98%, 85% 100%, 81% 99%,
    77% 100%, 73% 98%, 69% 100%, 65% 99%, 61% 100%, 57% 98%,
    53% 100%, 49% 99%, 45% 100%, 41% 98%, 37% 100%, 33% 99%,
    29% 100%, 25% 98%, 21% 100%, 17% 99%, 13% 100%, 9% 98%,
    5% 100%, 0% 99%
  );
}

/* ── Cookie Banner (bottom slide-up) ─────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: -120%;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--charcoal);
  border-top: 3px solid var(--clay);
  padding: 24px 0;
  transition: bottom 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-banner__content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--paper);
  margin-bottom: 4px;
}

.cookie-banner__text p {
  font-size: 0.8rem;
  color: rgba(255, 250, 243, 0.55);
  text-indent: 0;
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__link {
  font-size: 0.78rem;
  color: var(--mist);
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
  transition: border-color 0.3s;
}
.cookie-banner__link:hover {
  border-color: var(--mist);
}

.cookie-banner__button {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 20px;
  border: 2.5px solid;
  cursor: pointer;
  letter-spacing: 0.06em;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  transition: all 0.3s;
}

.cookie-banner__button--primary {
  background: var(--clay);
  color: #fff;
  border-color: var(--clay);
}
.cookie-banner__button--primary:hover {
  background: transparent;
  color: var(--clay);
}

.cookie-banner__button--secondary {
  background: transparent;
  color: rgba(255, 250, 243, 0.7);
  border-color: rgba(255, 250, 243, 0.2);
}
.cookie-banner__button--secondary:hover {
  color: var(--paper);
  border-color: rgba(255, 250, 243, 0.4);
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 20px;
	gap: 5px;
  }
  
  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
}
