:root {
  color-scheme: light;
  --paper: #f8f7f3;
  --ink: #292e2c;
  --green: #61796c;
  --green-dark: #4b6255;
  --sage: #e9eee7;
  --white: #fff;
  --muted: #626e65;
  --line: #e4e9e2;
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.8; }
::selection { background: #d5e0d0; color: var(--ink); }
svg, img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 6px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
.container { width: min(1168px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 8px 16px; color: var(--white); background: var(--green-dark); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { padding-block: 27px; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-text { display: grid; gap: 1px; }
.brand-name { font-size: 19px; font-weight: 650; letter-spacing: .08em; line-height: 1.5; }
.brand-subtitle { color: var(--muted); font-size: 11px; letter-spacing: .065em; line-height: 1.5; }
nav { display: flex; align-items: center; gap: 36px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; font-size: 14px; transition: color .18s ease-out; }
.nav-arrow { margin-left: 8px; color: var(--green); font-size: 18px; }

.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 64px; padding-block: 64px 88px; }
.eyebrow { margin-bottom: 22px; color: var(--green-dark); font-size: 11px; font-weight: 600; letter-spacing: .16em; }
h1 { font-size: clamp(40px, 4.05vw, 56px); font-weight: 600; line-height: 1.38; letter-spacing: -.025em; }
.heading-line { display: block; }
.accent { color: var(--green); }
.hero-description { max-width: 31em; margin-top: 25px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 31px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 11px 19px; border-radius: 8px; background: var(--green); color: var(--white); font-size: 14px; transition: background-color .18s ease-out; }
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.hero-note { color: var(--muted); font-size: 12px; white-space: nowrap; }
.hero-art { position: relative; aspect-ratio: 1.055; border-radius: 24px; background: var(--sage); }
.piano-illustration { width: 100%; height: 100%; }
.art-label { position: absolute; display: flex; align-items: center; gap: 9px; padding: 8px 13px; background: #f8faf5; border-radius: 7px; color: var(--green-dark); font-size: 12px; line-height: 1.5; box-shadow: 0 5px 18px #344c3e08; }
.label-start { top: 14%; left: 9%; }
.label-step { bottom: 17%; right: 8%; }
.label-dot { width: 6px; height: 6px; background: #81997b; border-radius: 50%; }
.art-label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.art-caption { position: absolute; bottom: 6%; left: 8%; color: var(--green-dark); font-size: 9px; letter-spacing: .16em; }

.about { padding-block: 48px 70px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title-group { display: flex; align-items: center; gap: 20px; }
.section-number { color: var(--green-dark); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
h2 { font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.section-english { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.about-description { max-width: 820px; margin-top: 20px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 31px; }
.value-card { padding: 29px 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value-icon { width: 36px; height: 36px; margin-bottom: 20px; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h3 { font-size: 19px; font-weight: 550; line-height: 1.6; }
.value-card p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.contact { padding-bottom: 55px; }
.contact-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 48px 64px; border-radius: 24px; background: var(--sage); }
.contact-number { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; color: var(--green-dark); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.contact-number > span:first-child { color: #81917f; }
.contact h2 { margin-bottom: 16px; font-size: 36px; line-height: 1.5; }
.contact-copy > p:not(.contact-number) { color: var(--muted); font-size: 14px; }
.contact-signature { display: inline-flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; color: var(--green-dark); font-size: 12px; }
.contact-signature span { font-size: 11px; }
.qr-card { width: 250px; padding: 17px 17px 14px; border-radius: 14px; background: var(--white); }
.qr-image-frame { display: grid; place-items: center; width: 216px; height: 216px; background: #f6f7f3; }
.qr-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); }
.qr-placeholder svg { width: 44px; height: 44px; margin-bottom: 12px; fill: none; stroke: #768a79; stroke-width: 1.3; stroke-linecap: round; }
.qr-placeholder > span { font-size: 14px; }
.qr-placeholder small { margin-top: 3px; font-size: 11px; }
#contact-qr { width: 216px; height: 216px; object-fit: contain; background: var(--white); }
.qr-caption { margin-top: 11px; color: var(--muted); text-align: center; font-size: 11px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px 30px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.footer-primary { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-primary p:last-child { font-size: 11px; }
.footer-primary span { margin-left: 5px; }
.filing-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px 20px; }
.filing-info a { display: inline-flex; align-items: center; gap: 5px; text-decoration: underline; }
.police-badge { width: auto; height: 20px; flex-shrink: 0; object-fit: contain; }
.noscript-note { flex-basis: 100%; }

@media (hover: hover) {
  nav a:hover { color: var(--green-dark); text-decoration: underline; }
  .button:hover { background: var(--green-dark); }
  .filing-info a:hover { color: var(--green-dark); }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 72px); }
  .hero { gap: 36px; padding-block: 48px 64px; }
  h1 { font-size: 43px; }
  .hero-actions { gap: 14px; }
  .hero-art { aspect-ratio: .98; }
  .contact-panel { padding: 40px; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1.15fr 1fr; gap: 24px; }
  h1 { font-size: 35px; }
  .hero-description { font-size: 14px; }
  .hero-art { aspect-ratio: .85; }
  .values-grid { gap: 14px; }
  .value-card { padding: 24px 19px; }
  .value-card p { font-size: 13px; }
  .contact-panel { padding: 32px; gap: 24px; }
  .contact h2 { font-size: 30px; }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding-block: 18px; }
  .header-inner { gap: 16px; }
  .brand-name { font-size: 17px; letter-spacing: .05em; }
  .brand-subtitle { font-size: 9px; }
  nav { gap: 18px; }
  nav a { font-size: 12px; }
  .nav-arrow { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-block: 33px 42px; }
  .eyebrow { margin-bottom: 17px; font-size: 9px; letter-spacing: .13em; }
  h1 { font-size: clamp(34px, 8.7vw, 43px); line-height: 1.37; }
  .hero-description { max-width: 35em; margin-top: 20px; line-height: 1.9; }
  .hero-actions { margin-top: 23px; gap: 16px; }
  .button { min-height: 46px; padding: 10px 15px; font-size: 13px; gap: 14px; }
  .hero-note { font-size: 11px; }
  .hero-art { aspect-ratio: 1.25; border-radius: 18px; }
  .piano-illustration { object-fit: contain; }
  .art-label { font-size: 11px; padding: 7px 11px; }
  .label-start { top: 10%; left: 7%; }
  .label-step { bottom: 13%; right: 7%; }
  .art-caption { font-size: 8px; bottom: 6%; left: 7%; }
  .about { padding-block: 32px 40px; }
  .section-title-group { gap: 14px; }
  h2 { font-size: 24px; }
  .section-english { display: none; }
  .about-description { font-size: 14px; margin-top: 16px; }
  .values-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .value-card { display: grid; grid-template-columns: 34px 1fr; column-gap: 18px; padding: 20px; }
  .value-icon { grid-row: span 2; width: 32px; height: 32px; margin: 5px 0 0; }
  h3 { font-size: 17px; }
  .value-card p { margin-top: 2px; font-size: 13px; }
  .contact { padding-bottom: 32px; }
  .contact-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 30px 24px; border-radius: 18px; }
  .contact-number { margin-bottom: 17px; font-size: 10px; }
  .contact h2 { margin-bottom: 13px; font-size: 30px; }
  .contact-copy > p:not(.contact-number) { font-size: 13px; }
  .contact-signature { margin-top: 18px; }
  .qr-card { justify-self: center; }
  .site-footer { flex-direction: column; gap: 10px; padding-block: 22px 26px; font-size: 11px; }
  .footer-primary { gap: 4px 16px; }
  .filing-info { gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
