:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #252425;
  background: #faf8f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { min-width: 320px; }
body { min-width: 320px; margin: 0; }
body.is-loading { overflow: hidden; }
a { color: inherit; }

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  padding: clamp(28px, 5vw, 76px);
  color: #252425;
  background: #faf8f3;
  opacity: 1;
  transition: opacity 440ms ease, visibility 440ms ease;
}

.site-loader.is-complete {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.site-loader-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(calc(100% - 44px), 260px);
  gap: 15px;
  transform: translate(-50%, -50%);
}

.site-loader-track {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: #ded9d2;
}

.site-loader-bar {
  display: block;
  width: 0;
  height: 100%;
  background: #dd7180;
  transition: width 180ms ease-out;
}

.site-loader-label {
  margin: 0;
  color: #777171;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
  text-align: center;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0 clamp(24px, 5vw, 76px);
  overflow: hidden;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  min-height: 92px;
  position: relative;
  z-index: 2;
}

.wordmark {
  font-family: inherit;
  font-weight: 800;
  font-size: clamp(19px, 1.7vw, 24px);
  letter-spacing: -.075em;
  text-decoration: none;
}

.wordmark-dot,
.hero-period { color: #dd7180; }

.header-note,
.eyebrow,
.role-en,
.site-footer {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .17em;
}

.header-note { color: #797473; }
.header-note span { margin: 0 .45em; color: #cfb9b8; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1.18fr) minmax(0, 1fr);
  align-items: center;
  flex: 1;
  width: min(100%, 1600px);
  margin: auto;
  gap: clamp(4px, 1.2vw, 24px);
}

.hero-copy { position: relative; z-index: 2; }
.hero-copy-left { margin-top: -138px; }
.hero-copy-right { padding-left: clamp(0px, 2.5vw, 48px); margin-top: 66px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: #b1606a;
  white-space: nowrap;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  background: currentColor;
}

h1,
h2 {
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -.085em;
  line-height: .99;
  margin: 0;
}

h1 { font-size: clamp(58px, 7vw, 118px); }
h1 > span:first-child { display: block; }
h1 .hero-period { display: inline; }

h2 {
  font-size: clamp(56px, 5.7vw, 98px);
  letter-spacing: -.09em;
  white-space: nowrap;
}
h2 em { font-style: normal; }

.intro {
  color: #777171;
  line-height: 1.9;
  font-size: clamp(13px, 1.05vw, 16px);
  letter-spacing: .02em;
  margin: 32px 0 0 3px;
}

.role-en {
  margin: 28px 0 0 3px;
  color: #aaa1a0;
}

.mascot-zone {
  position: relative;
  z-index: 1;
  width: min(100%, 600px);
  margin: 0 auto;
  align-self: center;
}

.mascot-stage {
  position: relative;
  width: 100%;
}

.pony-fallback,
.pony-canvas {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.pony-fallback.is-hidden { opacity: 0; }

.pony-canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.pony-canvas.is-ready { opacity: 1; }

.site-footer {
  position: relative;
  z-index: 2;
  min-height: 75px;
  border-top: 1px solid #ded9d2;
  color: #777171;
}

.footer-links { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 24px); }
.pending-link { color: #a9a09d; cursor: default; }
.filing-pending { color: #a9a09d; letter-spacing: .08em; }
.footer-icon-link,
.filing-link {
  color: #8f8886;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}
.footer-icon-link {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}
.footer-icon-link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-icon-link .mail-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.filing-link { letter-spacing: .08em; }
.footer-icon-link:hover,
.filing-link:hover { color: #b1606a; }
.footer-icon-link:hover { transform: translateY(-2px); }

a:focus-visible { outline: 2px solid #b35d6b; outline-offset: 5px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, 1.1fr) minmax(0, 1fr); }
  h1 { font-size: clamp(52px, 6.7vw, 80px); }
  h2 { font-size: clamp(48px, 5.4vw, 73px); }
  .hero-copy-right { padding-left: 0; }
}

@media (max-width: 760px) {
  .page-shell { padding: 0 22px; }
  .site-header { min-height: 72px; }
  .header-note { font-size: 9px; }
  .hero {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 0 42px;
  }
  .hero-copy-left,
  .hero-copy-right { margin: 0; }
  .eyebrow { margin-bottom: 15px; font-size: 10px; }
  h1 { font-size: clamp(60px, 15vw, 96px); }
  h1 > span:first-child { display: inline; }
  .intro { margin-top: 17px; }
  .mascot-zone { width: min(100%, 480px); margin: 0 auto; }
  .hero-copy-right { padding-left: 2px; }
  .hero-copy-right .eyebrow { margin-bottom: 13px; }
  h2 { font-size: clamp(56px, 13vw, 82px); }
  h2 br { display: none; }
  .role-en { margin-top: 14px; }
  .site-footer {
    min-height: 116px;
    padding: 18px 0 22px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 17px;
    font-size: 10px;
  }
  .footer-links { width: 100%; justify-content: space-between; gap: 8px; }
  .site-loader { padding: 22px; }
}

@media (max-width: 450px) {
  .header-note { display: none; }
  h1 { font-size: clamp(54px, 14vw, 72px); }
  h2 { font-size: clamp(49px, 12vw, 64px); }
  .filing-pending { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-stage { transform: none !important; will-change: auto; }
}
