/* =================================================================
   GoFair — Trader's Notebook design system
   Cream surfaces · serif headlines · handwritten margins.
   Single shared stylesheet for root pages, article pages, and 404.
   Design tokens documented in docs/DESIGN.md.
   ================================================================= */

/* ----------- TOKENS ----------- */
:root {
  --cream:    #faf4e8;
  --cream-2:  #f3ead7;
  --cream-3:  #ebdcbe;
  --paper:    #fffbf2;

  --ink:        #1a1611;
  --ink-soft:   #4a3f33;
  --ink-mute:   #7a6e60;

  --line:       rgba(26,22,17,0.12);
  --line-soft:  rgba(26,22,17,0.06);

  --accent:     #d97757;
  --accent-2:   #fcc340;
  --accent-3:   #245789;
  --handwrite:  #9d5230;
  --deep:       #001e40;

  --font-serif: 'Fraunces', 'Instrument Serif', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-hand:  'Kalam', 'Caveat', cursive;
  --font-marker:'Kalam', cursive;

  --h-font:     var(--font-serif);
  --h-weight:   500;
  --h-tracking: -0.025em;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 28px;

  --shadow-sm: 0 2px 0 rgba(26,22,17,0.04), 0 8px 20px -12px rgba(26,22,17,0.10);
  --shadow-md: 0 2px 0 rgba(26,22,17,0.04), 0 12px 32px -16px rgba(26,22,17,0.12);
  --shadow-lg: 0 2px 0 rgba(26,22,17,0.04), 0 24px 48px -24px rgba(26,22,17,0.18);
  --shadow-pop: 3px 5px 12px rgba(26,22,17,0.12);

  --anim: 1;
  color-scheme: light;
}

html[data-theme="dark"] {
  --cream:    #11100d;
  --cream-2:  #181510;
  --cream-3:  #282116;
  --paper:    #1f1a13;

  --ink:        #fff7e8;
  --ink-soft:   #dccfba;
  --ink-mute:   #a99a84;

  --line:       rgba(255,247,232,0.16);
  --line-soft:  rgba(255,247,232,0.08);

  --accent:     #e38b68;
  --accent-2:   #f4c65f;
  --accent-3:   #a7c8ff;
  --handwrite:  #ee9c76;
  --deep:       #071528;

  --shadow-sm: 0 2px 0 rgba(0,0,0,0.12), 0 10px 24px -16px rgba(0,0,0,0.65);
  --shadow-md: 0 2px 0 rgba(0,0,0,0.14), 0 14px 36px -18px rgba(0,0,0,0.72);
  --shadow-lg: 0 2px 0 rgba(0,0,0,0.16), 0 26px 54px -24px rgba(0,0,0,0.78);
  --shadow-pop: 3px 5px 18px rgba(0,0,0,0.42);
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  :root { --anim: 0; }
  .draw-on path, .draw-on circle, .draw-on line, .draw-on polyline {
    animation: none; stroke-dashoffset: 0;
  }
  .circle-word::after { animation: none; clip-path: inset(0 0 0 0); }
  .wiggle { animation: none; }
}

/* ----------- BASE ----------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
h1, h2, h3, h4, h5 {
  font-family: var(--h-font);
  font-weight: var(--h-weight);
  letter-spacing: var(--h-tracking);
  margin: 0;
  color: var(--ink);
  line-height: 1.02;
}
p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus {
  position: static; width: auto; height: auto;
  background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: 8px;
}

/* ----------- ZH FONT FALLBACKS - VISUAL MATCHING ----------- */
html.lang-zh body { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Heiti SC', 'Inter', sans-serif; }
html.lang-zh h1, html.lang-zh h2, html.lang-zh h3, html.lang-zh h4, html.lang-zh h5,
html.lang-zh .nb-caption b, html.lang-zh h1 em, html.lang-zh h2 em, html.lang-zh h3 em {
  font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  font-weight: 900; /* Extra bold for serif headings in ZH */
}
html.lang-zh .hw, html.lang-zh .eyebrow-hw, html.lang-zh .kalam,
html.lang-zh .nb-caption, html.lang-zh .nb-meta, html.lang-zh .sticky-note,
html.lang-zh .hero-margin, html.lang-zh .hero-stats dd, html.lang-zh .site-footer .tag,
html.lang-zh .flow-center, html.lang-zh .flow-label, html.lang-zh .finance-list .check,
html.lang-zh .hub-pill, html.lang-zh .hours-time, html.lang-zh .hw-large,
html.lang-zh .hw-check, html.lang-zh .trust-tagline {
  font-family: 'ZCOOL KuaiLe', 'Kaiti SC', 'STKaiti', cursive;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: 0.01em;
}
html.lang-zh .hero-stats dt { font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif; font-weight: 900; }

/* ----------- LAYOUT ----------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 900px) { .wrap { padding: 0 28px; } }

/* ----------- TYPE HELPERS ----------- */
.eyebrow-hw {
  font-family: var(--font-hand);
  font-size: 26px;
  color: var(--handwrite);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.hw { font-family: var(--font-hand); color: var(--handwrite); font-weight: 500; }
.kalam { font-family: var(--font-marker); color: var(--handwrite); }

h1 em, h2 em, h3 em, .h-italic {
  font-style: italic;
  font-weight: 400;
  font-family: var(--font-serif);
}

.circle-word { position: relative; display: inline-block; padding: 0 0.15em; }
.circle-word::after {
  content: '';
  position: absolute;
  inset: -12% -10%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 90' preserveAspectRatio='none'><style>@keyframes draw{to{stroke-dashoffset:0}}@media (prefers-reduced-motion: reduce){path{animation:none!important;stroke-dashoffset:0!important}}</style><path d='M188 48 Q 185 78, 95 82 Q 2 85, 8 45 Q 15 2, 110 8 Q 198 15, 195 42' stroke='%23b8623f' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round' style='stroke-dasharray:600;stroke-dashoffset:600;animation:draw 1.15s cubic-bezier(0.64,0,0.22,1) 0.55s forwards;'/></svg>") center/100% 100% no-repeat;
  pointer-events: none;
  transform: rotate(-1.5deg);
  transform-origin: center;
  opacity: 0;
  animation: circleWordFade 1.15s cubic-bezier(0.64, 0, 0.22, 1) 0.55s forwards;
}
@keyframes circleWordFade {
  0% { opacity: 0.3; }
  18% { opacity: 1; }
  100% { opacity: 1; }
}

/* ----------- BUTTONS ----------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink     { background: var(--ink);     color: var(--paper); }
.site-nav a.btn-ink { color: var(--paper); }
.btn-ink:hover { box-shadow: 0 6px 16px -4px rgba(26,22,17,0.3); }
html[data-theme="dark"] .btn-ink:hover { box-shadow: 0 6px 18px -4px rgba(0,0,0,0.55); }
.btn-gold    { background: var(--accent-2); color: #1a1611; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(26,22,17,0.04); }
html[data-theme="dark"] .btn-ghost:hover { background: rgba(255,247,232,0.06); }
.btn-arrow { width: 16px; height: 10px; }
.btn-sm    { padding: 8px 16px; font-size: 13px; }

/* ----------- SURFACES ----------- */
.notebook {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.notebook::before {
  content: '';
  position: absolute;
  left: 12px; top: 40px; bottom: 40px;
  width: 1px;
  background: repeating-linear-gradient(to bottom, var(--accent) 0, var(--accent) 6px, transparent 6px, transparent 12px);
  opacity: 0.5;
}
.notebook .nb-photo {
  aspect-ratio: 1/1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-3);
  margin-bottom: 14px;
}
.notebook .nb-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(0.05) saturate(1.05);
}
.notebook .nb-caption {
  font-family: var(--font-hand);
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}
.notebook .nb-caption b { color: var(--ink-soft); font-weight: 600; }
.notebook .nb-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.sticky-note {
  background: #fff3c4;
  padding: 14px 16px;
  font-family: var(--font-marker);
  font-size: 15px;
  line-height: 1.3;
  color: #5a3e1a;
  box-shadow: var(--shadow-pop);
  max-width: 180px;
}
html[data-theme="dark"] .sticky-note {
  background: #332b17;
  color: var(--ink-soft);
}

.paper-texture { position: relative; }
.paper-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139,108,76,0.05) 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(139,108,76,0.04) 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(139,108,76,0.05) 1px, transparent 2px);
  background-size: 280px 280px, 340px 340px, 420px 420px;
}
html[data-theme="dark"] .paper-texture::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(255,247,232,0.035) 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,247,232,0.028) 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(255,247,232,0.035) 1px, transparent 2px);
}
.paper-texture > * { position: relative; z-index: 1; }

/* ----------- DOODLES ----------- */
.doodle svg { overflow: visible; display: block; }
.doodle path,
.doodle circle,
.doodle line,
.doodle polyline {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes drawOn { to { stroke-dashoffset: 0; } }
@keyframes sway {
  0%, 100% { transform: rotate(-15deg); }
  50% { transform: rotate(15deg); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-3px) rotate(1deg); }
}
@keyframes globe-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-24px); }
}

.animate-sway {
  transform-origin: 34px 20px;
  animation: sway 2.2s ease-in-out infinite;
}
.animate-float {
  transform-origin: center 32px;
  animation: float 4s ease-in-out infinite;
}
.animate-globe-lines {
  animation: globe-scroll 5s linear infinite;
}
.draw-on path,
.draw-on circle,
.draw-on line,
.draw-on polyline {
  stroke-dasharray: var(--dash, 500);
  stroke-dashoffset: var(--dash, 500);
  animation: drawOn calc(1.4s * var(--anim)) cubic-bezier(.22,.68,0,1.2) forwards;
  animation-delay: var(--delay, 0.2s);
}

/* ----------- SITE HEADER ----------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,244,232,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
html[data-theme="dark"] .site-header { background: rgba(17,16,13,0.86); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.site-logo {
  display: block;
  text-decoration: none;
}
.site-logo img {
  display: block;
}
html[data-theme="dark"] .site-logo img {
  filter: brightness(0) invert(1) sepia(0.18) saturate(0.9) hue-rotate(350deg);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-sans);
  font-size: 14px;
}
.site-nav .nav-links { display: flex; gap: 32px; }
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--ink); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.lang-picker { display: flex; gap: 6px; align-items: center; }
.lang-picker a {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lang-picker a:hover {
  background: rgba(26,22,17,0.05);
  color: var(--ink);
}
html[data-theme="dark"] .lang-picker a:hover { background: rgba(255,247,232,0.07); }
.lang-picker a[aria-current="true"] {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}
.site-nav .nav-lang-picker {
  gap: 0;
  padding: 2px;
  background: rgba(255,251,242,0.55);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}
html[data-theme="dark"] .site-nav .nav-lang-picker { background: rgba(255,247,232,0.045); }
.site-nav .nav-lang-picker a {
  min-width: 30px;
  justify-content: center;
  padding: 4px 7px;
  font-size: 11px;
  line-height: 1;
}
.site-nav .nav-lang-picker a[aria-current="true"] {
  border-color: transparent;
  box-shadow: 0 1px 3px rgba(26,22,17,0.08);
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ink-soft);
  background: rgba(255,251,242,0.55);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
  transform: translateY(-1px);
}
html[data-theme="dark"] .theme-toggle { background: rgba(255,247,232,0.045); }
.theme-icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-icon-moon { display: block; }
.mobile-menu-btn { display: none; }
@media (max-width: 760px) {
  .site-nav .nav-links,
  .site-nav .nav-lang-picker,
  .site-nav > .theme-toggle { display: none; }
  .mobile-menu-btn {
    display: block;
    background: none; border: none;
    padding: 8px; cursor: pointer;
    color: var(--ink); line-height: 0;
  }
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
}

/* ----------- MOBILE MENU DRAWER ----------- */
#mobile-menu {
  display: none;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding: 24px;
}
#mobile-menu.is-open { display: block; }
#mobile-menu .mobile-nav-links {
  display: flex; flex-direction: column; gap: 16px;
}
#mobile-menu .mobile-lang-picker {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-soft);
}
#mobile-menu .mobile-lang-picker a {
  font-family: var(--font-sans);
  font-size: 12px;
}
#mobile-menu .mobile-theme-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 14px;
}
#mobile-menu .mobile-nav-links a {
  font-family: var(--font-serif);
  font-weight: 500; font-size: 18px;
  color: var(--ink-soft); text-decoration: none;
  display: block; padding: 10px 0;
}
#mobile-menu .mobile-nav-links a.active { color: var(--ink); font-weight: 700; }
#mobile-menu .mobile-cta {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px dashed var(--line-soft);
}

/* ----------- SITE FOOTER ----------- */
.site-footer {
  background: var(--cream-2);
  border-top: 1px dashed var(--line);
  padding: 72px 0 36px;
}
.site-footer .row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.site-footer .footer-col-title {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 16px;
  font-weight: 700;
}
.site-footer a {
  display: block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
}
.site-footer a:hover { color: var(--ink); }
.site-footer .footer-hubs {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-footer .footer-hubs li { margin-bottom: 10px; }
.site-footer .tag {
  font-family: var(--font-hand);
  color: var(--handwrite);
  font-size: 24px;
  margin-top: 6px;
  line-height: 1.2;
  max-width: 280px;
}
.site-footer .copyr {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer .copyr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer .footer-beian-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
}
.site-footer .footer-beian {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer .footer-beian:hover {
  color: var(--ink);
}
.footer-contact-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.site-footer .footer-contact-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: 0;
  color: var(--ink-soft);
  background: rgba(255,251,242,0.58);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 1px 2px 0 rgba(26,22,17,0.04);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.site-footer .footer-contact-icon:hover,
.site-footer .footer-contact-icon:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(26,22,17,0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px) rotate(-1deg);
}
.footer-contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-theme="dark"] .site-footer .footer-contact-icon {
  color: rgba(255,247,232,0.5);
  background: rgba(255,247,232,0.025);
  border-color: rgba(255,247,232,0.08);
  box-shadow: none;
}
html[data-theme="dark"] .site-footer .footer-contact-icon:hover,
html[data-theme="dark"] .site-footer .footer-contact-icon:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: rgba(255,247,232,0.22);
  box-shadow: var(--shadow-sm);
}
.footer-contact-icon .qr-popover {
  position: absolute;
  right: -10px;
  bottom: calc(100% + 12px);
  width: 136px;
  padding: 10px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) rotate(1deg);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 20;
  pointer-events: none;
}
.footer-contact-icon .qr-popover::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--paper);
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  transform: rotate(45deg);
}
.footer-contact-icon .qr-popover img {
  width: 112px;
  height: 112px;
}
.footer-contact-icon:hover .qr-popover,
.footer-contact-icon:focus-visible .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) rotate(1deg);
}
@media (max-width: 760px) {
  .site-footer .row { grid-template-columns: 1fr 1fr; }
  .site-footer .copyr { align-items: flex-start; flex-direction: column; }
  .footer-contact-icons { justify-content: flex-start; }
  .footer-contact-icon .qr-popover {
    left: 0;
    right: auto;
  }
  .footer-contact-icon .qr-popover::after {
    left: 22px;
    right: auto;
  }
}

/* ----------- SECTION DEFAULTS ----------- */
.section { padding: 100px 0; position: relative; }
.section.alt  { background: var(--cream-2); }
.section.deep { background: var(--deep); color: #fff7e8; }
.section.deep h1, .section.deep h2, .section.deep h3, .section.deep h4 { color: #fff7e8; }
.section.deep p { color: rgba(255,251,242,0.72); }
.deep-cta-heading { color: #fff7e8; }
.deep-ghost {
  color: #fff7e8;
  border-color: rgba(255,247,232,0.36);
}
.deep-ghost:hover,
.deep-ghost:focus-visible {
  color: var(--ink);
  background: #fff7e8;
  border-color: #fff7e8;
}
.section-head { margin-bottom: 56px; max-width: 820px; }
.section-head h2 {
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: 12px;
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ============================================================
   HOME — Hero
   ============================================================ */
.hero { padding: 96px 0; }
.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-top: 16px;
}
.hero h1 > span,
.hero h1 > em { display: block; }
.hero h1 em { margin-top: 4px; color: var(--ink); }
.hero .lead { font-size: 19px; max-width: 460px; margin-top: 28px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 12px; margin-top: 32px; align-items: center; flex-wrap: wrap; }
.hero-margin {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-hand);
  color: var(--handwrite);
  font-size: 19px;
  transform: rotate(-2deg);
  margin-left: 4px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin: 48px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stats > div { display: block; }
.hero-stats dt {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero-stats dd {
  font-family: var(--font-hand);
  color: var(--handwrite);
  font-size: 20px;
  margin: 6px 0 0;
}
.hero-visual { position: relative; aspect-ratio: 0.92/1; }
.hero-visual .notebook {
  height: 100%;
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}
.hero-visual:hover .notebook { transform: rotate(0.5deg); }
.hero-sticky-1 { position: absolute; top: -32px; right: -36px; transform: rotate(5deg); z-index: 5; }
.hero-sticky-2 { position: absolute; top: 36%; left: -40px; transform: rotate(-4deg); z-index: 5; }
@media (max-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero-wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .hero-stats { gap: 24px; }
  .hero-stats dt { font-size: 36px; }
  .hero-sticky-1, .hero-sticky-2 { display: none; }
}

/* HOME — services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  min-height: 380px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}
.svc-tilt { transform: rotate(0.8deg); }
.svc-tilt:hover { transform: rotate(0.3deg) translateY(-4px); }
.svc-num {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 16px;
  transform: rotate(-3deg);
  transform-origin: left;
  display: inline-block;
}
.svc-icon { width: 72px; height: 72px; color: var(--ink); margin-bottom: 20px; }
.svc-card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.05;
}
.svc-card p { font-size: 15px; }
.svc-tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tags li {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { min-height: 0; }
  .svc-tilt { transform: rotate(0); }
}

/* HOME — Sectors grid */
.sectors-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.sector-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  position: relative;
  transition: transform 0.3s ease;
}
.sector-card:hover { transform: rotate(-0.5deg); }
.sector-flagship { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.sector-flagship .sector-photo {
  aspect-ratio: 4/3;
  background: var(--cream-3);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.sector-flagship .sector-photo img { width: 100%; height: 100%; object-fit: cover; }
.sector-tag { font-size: 24px; margin-bottom: 8px; transform: rotate(-2deg); display: inline-block; }
.sector-icon { width: 48px; height: 48px; margin-bottom: 14px; color: var(--ink); }
.sector-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.sector-flagship h3 { font-size: 28px; }
.sector-card p { font-size: 14px; }
.sector-check { display: inline-block; margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.sector-stack { display: grid; gap: 20px; }
.sector-feat {
  grid-column: span 3;
  background: var(--deep);
  color: #fff7e8;
  border-radius: var(--r-md);
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.sector-feat h2,
.sector-feat h3 {
  color: #fff7e8;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.sector-feat p { color: rgba(255,251,242,0.72); margin-top: 8px; max-width: 520px; }
@media (max-width: 960px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .sector-flagship { grid-row: span 1; }
  .sector-feat { grid-column: span 1; flex-direction: column; align-items: flex-start; }
}

/* HOME — Finance flow */
.finance-flow { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.finance-title {
  font-family: var(--font-hand);
  color: var(--accent);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 34px;
  transform: rotate(-1deg);
}
.section.deep .finance-title { color: var(--accent); }
.finance-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 15px; color: #fff7e8;
}
.finance-list li { display: flex; gap: 12px; align-items: flex-start; }
.finance-list .check {
  color: var(--accent-2);
  font-family: var(--font-hand);
  font-size: 24px; line-height: 1; margin-top: -2px;
}
.flow-viz {
  position: relative;
  background: rgba(255,251,242,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,251,242,0.14);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 440px;
}
.flow-node {
  position: absolute;
  padding: 10px 16px;
  background: var(--paper); color: var(--ink);
  border-radius: 14px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 2px 0 rgba(26,22,17,0.06), 0 8px 24px -8px rgba(26,22,17,0.2);
}
.flow-pill {
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: var(--cream-2); color: var(--ink-soft); font-weight: 600;
}
.flow-node.n1 { top: 28px; left: 20px; }
.flow-node.n2 { top: 28px; right: 20px; }
.flow-node.n3 { bottom: 28px; left: 50%; transform: translateX(-50%); }
.flow-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--accent); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-hand); font-size: 26px; font-weight: 600;
  text-align: center; line-height: 1.05;
  box-shadow: 0 8px 24px -4px rgba(217,119,87,0.4);
}
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow-lines path {
  stroke: var(--handwrite); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 4 6; fill: none; opacity: 0.85;
}
.flow-label { position: absolute; font-family: var(--font-hand); color: var(--accent-2); font-size: 18px; }
.flow-label-l { top: 38%; left: 40px; transform: rotate(-2deg); }
.flow-label-r { top: 38%; right: 40px; transform: rotate(2deg); }
@media (max-width: 960px) {
  .finance-flow { grid-template-columns: 1fr; gap: 48px; }
  .flow-viz { min-height: 380px; }
}

/* ============================================================
   PAGE HERO (services / about / contact)
   ============================================================ */
.page-hero { padding: 80px 0 64px; }
.page-hero h1 {
  font-size: clamp(48px, 5.4vw, 80px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-top: 12px;
  max-width: 1000px;
}
.page-hero h1 em { display: inline; }
.page-hero .lead {
  font-size: 19px;
  max-width: 640px;
  margin-top: 24px;
  line-height: 1.55;
}

/* DUAL SPLIT (image + text) */
.dual-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.dual-split.flip { grid-template-columns: 1.1fr 0.9fr; }
.dual-split h2 {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
@media (max-width: 900px) {
  .dual-split,
  .dual-split.flip { grid-template-columns: 1fr; gap: 48px; }
}

.img-frame {
  aspect-ratio: 4/5;
  background: var(--cream-3);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }

/* THREE PILLARS */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  transition: transform 0.3s ease;
}
.pillar:hover { transform: translateY(-4px); }
.pillar-deep {
  background: var(--deep);
  color: var(--paper);
  transform: rotate(0.5deg);
}
.pillar-deep:hover { transform: rotate(0) translateY(-4px); }
.pillar-deep h2, .pillar-deep .pillar-num { color: #fff7e8; }
.pillar-deep p { color: rgba(255,251,242,0.72); }
.pillar-deep ul li { color: rgba(255,251,242,0.9); }
.pillar-num {
  font-size: 32px; line-height: 1; margin-bottom: 16px;
  transform: rotate(-3deg); display: inline-block;
}
.pillar h2 {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.pillar p { font-size: 15px; }
.pillar ul {
  list-style: none; padding: 0;
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.pillar ul li::before {
  content: '→ '; color: var(--accent); font-weight: 600; margin-right: 4px;
}
.pillar-deep ul li::before { color: var(--accent-2); }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar-deep { transform: rotate(0); }
}

/* STAT CARDS */
.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.stat-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-sans);
  font-weight: 800; font-size: 40px;
  line-height: 1; letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-label { font-size: 18px; margin-top: 8px; color: var(--ink-soft); }

/* LOGISTICS MODES LIST */
.modes {
  list-style: none; padding: 0;
  margin: 32px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.modes li {
  padding: 16px 20px;
  background: rgba(255,251,242,0.06);
  border: 1px solid rgba(255,251,242,0.12);
  border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
}
.mode-badge {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}
.mode-title { font-weight: 600; color: #fff7e8; font-size: 15px; }
.mode-desc { font-size: 13px; color: rgba(255,251,242,0.65); margin-top: 2px; }

/* MAP CARD */
.map-card {
  background: rgba(255,251,242,0.04);
  border: 1px dashed rgba(255,251,242,0.14);
  aspect-ratio: 1/1;
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  position: relative;
  padding: 32px;
}
.map-label {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-hand);
  color: var(--accent-2);
  font-size: 18px;
  text-align: right;
  line-height: 1.15;
}

/* CHECK LIST */
.check-list {
  list-style: none; padding: 0;
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--ink-soft);
}
.hw-check {
  color: var(--handwrite);
  font-family: var(--font-hand);
  font-size: 24px; line-height: 1;
  flex-shrink: 0; margin-top: -2px;
}

/* FAQ list (services page) */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  transition: box-shadow 0.2s;
}
.faq-list details:hover { box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-hand);
  color: var(--accent);
  font-size: 28px; line-height: 1;
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p {
  margin-top: 12px;
  font-size: 15px; color: var(--ink-soft);
}
.faq-list details p a { color: var(--handwrite); text-decoration: underline; text-decoration-color: var(--accent-2); }

/* ============================================================
   ABOUT page
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  margin-top: 40px;
  align-items: end;
}
.about-split .lead {
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
}
.hero-stat {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transform: rotate(-1deg);
  box-shadow: var(--shadow-sm);
}
.hero-stat-num {
  font-family: var(--font-sans);
  font-weight: 800; font-size: 64px;
  color: var(--ink); line-height: 1;
  letter-spacing: -0.04em;
}
.hero-stat-label { font-size: 22px; margin-top: 8px; }
@media (max-width: 760px) { .about-split { grid-template-columns: 1fr; } }

/* HUBS GRID */
.hubs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hub-card {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  position: relative;
  min-height: 320px;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease;
}
.hub-card:hover { transform: translateY(-4px); }
.hub-tilt { transform: rotate(-1deg); }
.hub-tilt:hover { transform: rotate(0) translateY(-4px); }
.pin-icon {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--accent);
  width: 44px; height: 44px;
}
.channel-info .hw { color: var(--ink-soft); }
.form-promise .hw { color: var(--ink-soft); }
.hours-time.hw { color: var(--ink-soft); }
.hub-card h3 {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 500;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.hub-card p { font-size: 14px; flex: 1; }
.hub-coord {
  font-family: var(--font-sans);
  color: var(--ink-mute);
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase; margin-top: 24px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .hubs-grid { grid-template-columns: 1fr; }
  .hub-tilt { transform: rotate(0); }
}

/* VALUE LIST */
.value-list {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 16px;
}
.value-row {
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex; gap: 20px; align-items: flex-start;
}
.value-num { font-size: 26px; transform: rotate(-3deg); flex-shrink: 0; }
.value-title {
  font-family: var(--font-serif);
  font-weight: 500; font-size: 20px;
  letter-spacing: -0.015em;
}
.value-row p { font-size: 14px; margin-top: 4px; }

/* TIMELINE */
.timeline {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 36px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--handwrite) 0, var(--handwrite) 6px, transparent 6px, transparent 12px);
  opacity: 0.4;
}
.timeline li { position: relative; padding-top: 64px; }
.timeline li::before {
  content: '';
  position: absolute;
  top: 28px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--cream-2);
  z-index: 1;
}
.t-year {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-serif);
  font-weight: 500; font-size: 22px;
  color: var(--ink); letter-spacing: -0.02em;
}
.t-body h3 {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 500;
  letter-spacing: -0.015em; margin-bottom: 8px;
}
.t-body p { font-size: 13px; line-height: 1.55; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline::before {
    left: 8px; right: auto;
    top: 0; bottom: 0;
    width: 1px; height: auto;
    background: repeating-linear-gradient(to bottom, var(--handwrite) 0, var(--handwrite) 6px, transparent 6px, transparent 12px);
  }
  .timeline li { padding-top: 0; padding-left: 36px; margin-bottom: 24px; }
  .timeline li::before { top: 6px; left: 0; }
  .t-year { position: static; display: block; margin-bottom: 6px; }
}

/* BIG PHOTO */
.big-photo {
  aspect-ratio: 21/9;
  background: var(--cream-3);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow-md);
}
.big-photo img { width: 100%; height: 100%; object-fit: cover; }
.big-photo-cap {
  position: absolute;
  bottom: 24px; left: 32px;
  background: var(--paper);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-pop);
  transform: rotate(-1deg);
}

/* ============================================================
   CONTACT page
   ============================================================ */
.hw-large {
  font-family: var(--font-hand);
  color: var(--handwrite);
  font-size: 1.05em;
  font-weight: 500;
  font-style: normal;
  display: inline-block;
  transform: rotate(-2deg);
}

/* CHANNELS */
.channel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.channel {
  --channel-tilt: 0deg;
  position: relative;
  overflow: hidden;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
  transform: rotate(var(--channel-tilt));
}
.channel:hover { transform: translateY(-4px) rotate(var(--channel-tilt)); box-shadow: var(--shadow-md); }
.channel-tilt-pos { --channel-tilt: 0.5deg; }
.channel-tilt-neg { --channel-tilt: -0.5deg; }
.channel-info,
.channel-qr,
.channel-icon {
  position: relative;
  z-index: 1;
}
.channel-bg-icon {
  position: absolute;
  top: -66px;
  width: 238px;
  height: 238px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.channel-bg-icon-right {
  right: -62px;
  transform: rotate(14deg);
}
.channel-bg-icon-compact {
  width: 188px;
  height: 188px;
  top: -42px;
  right: -36px;
}
html[data-theme="dark"] .channel-bg-icon { opacity: 0.24; }
.channel h2 {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 500;
  letter-spacing: -0.015em;
  margin: 6px 0 8px;
  word-break: break-word;
}
.channel p { font-size: 14px; }
.channel .btn { margin-top: 16px; }
.channel-qr {
  width: 96px; height: 96px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 6px;
  background: #fff;
  flex-shrink: 0;
}
.channel-qr img { width: 100%; height: 100%; }
.channel-icon {
  width: 96px; height: 96px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  display: grid; place-items: center;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .channel-grid { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr; }
  .channel-bg-icon {
    top: -48px;
    right: -54px;
    left: auto;
    width: 170px;
    height: 170px;
  }
  .channel-bg-icon-compact {
    top: -30px;
    right: -24px;
    width: 132px;
    height: 132px;
  }
  .channel-qr, .channel-icon { width: 80px; height: 80px; }
}

/* HOURS */
.hours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hours-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.3s ease;
}
.hours-card:hover { transform: translateY(-4px); }
.hours-tilt { transform: rotate(0.5deg); }
.hours-tilt:hover { transform: rotate(0) translateY(-4px); }
.hours-flag { font-size: 28px; margin-bottom: 12px; }
.hours-name {
  font-family: var(--font-serif);
  font-weight: 500; font-size: 22px;
  letter-spacing: -0.015em;
}
.hours-time { font-size: 22px; margin-top: 8px; transform: rotate(-1deg); display: inline-block; }
.hours-card p { font-size: 14px; margin-top: 16px; }
@media (max-width: 900px) { .hours-grid { grid-template-columns: 1fr; } }

/* ============================================================
   404 page
   ============================================================ */
.notfound-wrap {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 96px 0;
  position: relative;
}
.notfound-card {
  text-align: center;
  max-width: 600px;
}
.notfound-code {
  font-family: var(--font-hand);
  font-size: 120px;
  color: var(--accent);
  line-height: 1;
  transform: rotate(-3deg);
  display: inline-block;
}
.notfound-card h1 {
  font-size: clamp(36px, 4vw, 56px);
  margin-top: 12px;
  font-weight: 500;
}
.notfound-card h1 em { color: var(--ink); }
.notfound-card p {
  font-size: 18px;
  margin-top: 20px;
  color: var(--ink-soft);
}
.notfound-card .ctas {
  margin-top: 32px;
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ----------- SELF-HOSTED FONTS -----------
   Keep the first-load font set small: Inter for UI, Fraunces for headings,
   and Kalam for handwriting/marker accents. Fraunces italic is synthesized
   from the normal face to avoid another display-font transfer. */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-normal-400.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-normal-500.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

@font-face {
  font-family: 'Kalam';
  src: url('/assets/fonts/kalam-normal-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Kalam';
  src: url('/assets/fonts/kalam-normal-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* TRANSPORT MAP — animated route paths */
@keyframes dash-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -16; }
}
.path-air { animation: dash-flow 0.4s linear infinite; }
.path-rail { animation: dash-flow 1.2s linear infinite; }
.path-sea { animation: dash-flow 2.5s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .path-air, .path-rail, .path-sea { animation: none; }
}

/* HOME — Trust strip */
.trust-strip {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-2);
}
.trust-strip .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-tagline {
  font-family: var(--font-hand);
  font-size: clamp(20px, 3vw, 28px);
  color: var(--ink-soft);
  text-align: center;
  max-width: min(920px, calc(100vw - 48px));
  margin: 0 auto;
  white-space: normal;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}
.trust-stat-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.trust-stat-label {
  font-size: 11px;
  color: var(--ink-soft);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* INSIGHTS — hero, grid, cards */
.insights-hero { padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px); }
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.insight-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.insight-card h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.insight-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}
.insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}
.insight-date {
  color: var(--ink-mute);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .insights-grid { grid-template-columns: 1fr; }
  .trust-strip .wrap { gap: 16px; }
}


/* INSIGHTS ARTICLES */
.article-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(44px, 6vw, 72px); }
.article-wrap { max-width: 820px; }
.article-back { display: inline-flex; margin-bottom: 28px; color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.article-back:hover, .article-back:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.article-hero h1 { font-size: clamp(42px, 5vw, 72px); max-width: 860px; margin-top: 14px; }
.article-hero .lead { font-size: 19px; margin-top: 24px; max-width: 720px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; color: var(--ink-mute); font-size: 13px; font-weight: 600; }
.article-section { padding-top: 72px; }
.article-body { font-size: 18px; line-height: 1.78; color: var(--ink-soft); }
.article-body h2 { font-size: clamp(28px, 3vw, 38px); margin: 48px 0 14px; color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: inherit; margin-top: 18px; }
.article-cta { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
html.lang-zh .article-body { line-height: 1.9; }
@media (max-width: 640px) {
  .article-body { font-size: 16px; }
  .article-section { padding-top: 56px; }
}
