:root {
  color-scheme: light;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: #3e3933;
  background: #fffaf0;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #b53f44; outline-offset: 6px; border-radius: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 10;
  padding: 12px 18px;
  background: #fffaf0;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-page { min-height: 100svh; display: flex; flex-direction: column; }
.hero { position: relative; flex: 1; min-height: max(680px, calc(100svh - 64px)); overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; pointer-events: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px clamp(24px, 5.5vw, 88px);
}
.brand { display: flex; align-items: center; flex-shrink: 0; width: 180px; min-height: 56px; }
.brand img { display: block; width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 42px; }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; letter-spacing: .06em; transition: color .18s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #b64046; }
.site-nav a[aria-current="page"]::after { position: absolute; left: 50%; bottom: 0; width: 16px; height: 2px; border-radius: 2px; background: #d35254; transform: translateX(-50%); content: ""; }

.hero-copy { position: absolute; top: clamp(176px, 24vh, 264px); right: 24px; left: 24px; text-align: center; }
.hero-copy h1 { margin: 0; font-size: clamp(40px, 4.45vw, 72px); font-weight: 650; letter-spacing: .035em; line-height: 1.45; }
.slogan-ending { display: inline-block; color: #bc4147; }
.english-slogan { margin: 22px 0 0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.7; letter-spacing: .075em; color: #736653; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 64px; padding: 18px clamp(24px, 5.5vw, 88px); font-size: 12px; line-height: 1.8; color: #776d60; }
.registrations { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; }
.site-footer a:hover { color: #b64046; }

.about-copy { top: clamp(156px, 18vh, 220px); }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: .24em; color: #9c6950; }
.about-copy h1 { font-size: clamp(36px, 3.5vw, 52px); }
.about-description { margin: 16px 0 0; font-size: 18px; line-height: 1.8; letter-spacing: .06em; color: #736653; }
.contact { margin-top: 32px; }
.contact p { margin: 0 0 6px; font-size: 13px; line-height: 1.8; color: #736653; }
.email-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; border-bottom: 1px solid #d6bba5; font-size: 22px; line-height: 1.5; letter-spacing: .01em; transition: color .18s ease; }
.email-link svg { width: 22px; height: 22px; }
.email-link:hover { color: #b64046; }

@media (max-width: 900px) {
  .hero-copy { top: clamp(176px, 22vh, 240px); }
  .hero-copy h1 { font-size: clamp(40px, 6vw, 56px); }
  .slogan-ending { display: block; }
  .hero-art { inset: auto auto 0 50%; width: max(100%, 1160px); height: auto; transform: translateX(-50%); }
  .site-header { padding-inline: 28px; }
  .site-nav { gap: 30px; }
  .site-footer { justify-content: center; flex-wrap: wrap; text-align: center; }
  .registrations { justify-content: center; }
  .about-copy { top: clamp(156px, 18vh, 220px); }
}

@media (max-width: 520px) {
  .hero { min-height: max(680px, calc(100svh - 104px)); }
  .site-header { gap: 14px; padding: 20px; }
  .brand { width: 142px; min-height: 48px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 14px; letter-spacing: .02em; }
  .hero-copy { top: clamp(166px, 23vh, 210px); right: 20px; left: 20px; }
  .hero-copy h1 { font-size: clamp(34px, 9.8vw, 48px); line-height: 1.55; letter-spacing: .04em; }
  .english-slogan { max-width: 300px; margin: 18px auto 0; font-size: 15px; letter-spacing: .055em; }
  .hero-art { width: 1080px; max-width: none; }
  .site-footer { gap: 6px; min-height: 104px; padding: 14px 16px; font-size: 11px; }
  .registrations { gap: 3px 16px; }
  .about-copy { top: 146px; }
  .about-copy h1 { font-size: 36px; }
  .about-description { font-size: 16px; }
  .contact { margin-top: 28px; }
  .email-link { gap: 14px; font-size: 21px; }
}

@media (max-width: 360px) {
  .site-header { gap: 12px; padding-inline: 16px; }
  .brand { width: 128px; }
  .site-nav { gap: 16px; }
  .hero-copy { right: 16px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  a { transition: none !important; }
}
