:root {
  color-scheme: light;
  --page: #f3f7f8;
  --ink: #183b52;
  --muted: #718997;
  --line: rgba(36, 83, 105, .12);
  --panel: rgba(255, 255, 255, .68);
  --accent: #d18e63;
  --scene-top: #eaf4f6;
  --scene-bottom: #d5e7eb;
  --sun: #f8d7a3;
  --sea-back: #a5cbd1;
  --sea-front: #85b5c0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); transition: background .5s, color .5s; }
button { font: inherit; }

.page-shell {
  min-height: 100svh;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.page-shell::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  top: -400px;
  left: -260px;
  border-radius: 50%;
  background: rgba(201, 225, 228, .34);
  pointer-events: none;
}
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; }
.site-header { min-height: 106px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 650; letter-spacing: .08em; }
.brand-mark { color: var(--accent); font-size: 25px; line-height: 1; }
.theme-button { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 100px; padding: 10px 16px; color: var(--ink); background: var(--panel); cursor: pointer; transition: transform .2s, border-color .2s, background .3s; }
.theme-button:hover { transform: translateY(-2px); border-color: #87acb8; }
.theme-button:focus-visible, .brand:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.theme-icon { font-size: 19px; line-height: 1; }
.theme-label { font-size: 13px; }

.hero { flex: 1; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 1.07fr); align-items: center; gap: clamp(24px, 4vw, 70px); padding: 25px 0 60px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 12px; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 57px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .28em; }
.eyebrow-line { width: 30px; height: 1px; background: currentColor; }
.greeting { margin: 0 0 13px; color: var(--muted); font-size: clamp(15px, 1.4vw, 19px); letter-spacing: .12em; }
h1 { margin: 0; font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif; font-size: clamp(62px, 7vw, 108px); font-weight: 600; letter-spacing: .07em; line-height: 1.28; white-space: nowrap; }
h1 span { color: var(--accent); }
.intro { margin: 28px 0 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); line-height: 2.05; letter-spacing: .07em; }
.time-card { width: min(100%, 355px); margin-top: 58px; padding: 22px 28px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 55px rgba(35, 83, 104, .06); backdrop-filter: blur(12px); }
.time-card-heading { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #76b8a2; box-shadow: 0 0 0 4px rgba(118, 184, 162, .16); }
.clock { display: block; margin-top: 11px; font-variant-numeric: tabular-nums; font-size: clamp(37px, 4vw, 52px); font-weight: 300; letter-spacing: .035em; line-height: 1.25; }
.date { margin: 4px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .09em; }

.scene { position: relative; width: 100%; aspect-ratio: 1 / 1.03; max-height: 640px; border-radius: 48% 48% 45% 45%; background: linear-gradient(165deg, var(--scene-top) 12%, var(--scene-bottom) 92%); overflow: hidden; box-shadow: inset 0 0 80px rgba(255,255,255,.44), 0 35px 100px rgba(42, 98, 122, .09); transition: background .5s; }
.scene-glow { position: absolute; inset: 0; background: radial-gradient(circle at 70% 34%, rgba(255,255,255,.76), transparent 38%); }
.sun { position: absolute; width: 112px; height: 112px; top: 21%; right: 19%; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 21px rgba(255,255,255,.18), 0 0 85px 20px rgba(255,224,172,.46); transition: background .5s, box-shadow .5s; }
.cloud { position: absolute; width: 96px; height: 25px; border-radius: 50px; background: rgba(255,255,255,.68); filter: blur(.5px); animation: drift 13s ease-in-out infinite alternate; }
.cloud::before, .cloud::after { content: ""; position: absolute; bottom: 6px; background: inherit; border-radius: 50%; }
.cloud::before { width: 42px; height: 42px; left: 16px; }
.cloud::after { width: 34px; height: 34px; left: 49px; }
.cloud-one { top: 32%; left: 12%; }
.cloud-two { top: 18%; right: 8%; transform: scale(.65); opacity: .65; animation-duration: 17s; }
.horizon { position: absolute; width: 100%; height: 1px; top: 67%; background: rgba(112, 167, 180, .28); }
.boat { position: absolute; width: 45%; left: 29%; top: 38%; z-index: 2; transform-origin: 50% 85%; animation: bob 4.5s ease-in-out infinite; }
.boat svg { width: 100%; display: block; filter: drop-shadow(0 18px 13px rgba(52, 113, 139, .13)); }
.sea { position: absolute; left: -20%; width: 140%; height: 35%; border-radius: 50% 50% 0 0; }
.sea-back { top: 68%; background: var(--sea-back); transform: rotate(3deg); opacity: .7; }
.sea-front { top: 74%; background: var(--sea-front); transform: rotate(-3deg); opacity: .84; }
.scene-caption { position: absolute; z-index: 3; bottom: 8%; left: 50%; transform: translateX(-50%); white-space: nowrap; color: rgba(255,255,255,.92); font-family: "Songti SC", "STSong", serif; letter-spacing: .2em; font-size: clamp(12px, 1.2vw, 16px); }
.star { display: none; position: absolute; width: 4px; height: 4px; background: white; border-radius: 50%; box-shadow: 0 0 10px white; }
.star-one { top: 17%; left: 26%; }.star-two { top: 29%; right: 31%; }.star-three { top: 37%; left: 14%; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding: 23px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.site-footer > :last-child { justify-self: end; }
.filing-link { color: var(--muted); text-decoration: none; white-space: nowrap; }
.filing-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.filing-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

body.night { color-scheme: dark; --page: #132c3e; --ink: #eef5f3; --muted: #aac0c9; --line: rgba(211, 234, 235, .17); --panel: rgba(255,255,255,.06); --accent: #edbd90; --scene-top: #284c65; --scene-bottom: #1e3c55; --sun: #f0e3c5; --sea-back: #43788c; --sea-front: #315f77; }
body.night .page-shell::before { background: rgba(112, 166, 180, .08); }
body.night .scene { box-shadow: inset 0 0 80px rgba(18,43,62,.27), 0 35px 100px rgba(3, 20, 31, .15); }
body.night .scene-glow { background: radial-gradient(circle at 70% 34%, rgba(203,223,222,.11), transparent 39%); }
body.night .sun { box-shadow: 0 0 0 21px rgba(255,255,255,.04), 0 0 72px 14px rgba(239,227,202,.21); }
body.night .cloud { opacity: .19; }
body.night .star { display: block; }

@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(8px) rotate(1deg); } }
@keyframes drift { from { translate: -9px 0; } to { translate: 14px 0; } }
@media (max-width: 850px) {
  .site-header { min-height: 80px; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding: 46px 0 58px; }
  .eyebrow { margin-bottom: 30px; }
  .time-card { margin-top: 36px; }
  .scene { max-width: 580px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .page-shell { padding: 0 22px; }
  .brand { font-size: 16px; }
  .theme-button { padding: 9px 12px; }
  .theme-label { font-size: 12px; }
  .hero { padding-top: 38px; }
  h1 { font-size: clamp(53px, 13.8vw, 72px); }
  .intro { line-height: 1.85; }
  .desktop-break { display: none; }
  .scene { width: calc(100% + 8px); margin-left: -4px; }
  .site-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
