/* 一垫 yīdian — official site
   Theme B「一席静练」+ logo kit colours (final_A/colour/colour-spec.md)
   Fonts: Noto Serif SC (display), Noto Sans SC (UI/body), Outfit (Latin labels)
   No third-party requests. */

:root {
  --paper: #F6F3EC;
  --ivory: #FBF6EF;
  --ink: #1E2F5C;
  --navy: #1B2A50;
  --ocean: #083858;
  --mat: #5878B0;
  --lilac: #D8D0F8;
  --apricot: #F4BE96;
  --aura-blue: #2E4F8F;
  --aura-lav: #A7A3DA;
  --aura-peri: #7F8FCF;
  --aura-mist: #C5BDD8;
  --ink-body: #243044;
  --muted: #5A6274;
  --line: rgba(8, 56, 88, 0.12);
  --line-strong: rgba(8, 56, 88, 0.22);
  --shadow: 0 18px 50px rgba(8, 56, 88, 0.08);
  --max: 1120px;
  --narrow: 40rem;
  --legal: 46rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Noto Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --serif: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", serif;
  --latin: "Outfit", var(--sans);
}

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

html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 0.18em; }
a:hover { color: var(--aura-blue); }
:focus-visible {
  outline: 2px solid var(--mat);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--ocean);
  color: var(--ivory);
  padding: 0.5rem 0.9rem;
  z-index: 1000;
  border-radius: 2px;
}
.skip:focus { top: 0.75rem; }

/* ——— Type ——— */
.kicker {
  font-family: var(--latin);
  font-weight: 400;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--mat);
  margin: 0 0 0.85rem;
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ocean);
  letter-spacing: 0.06em;
  line-height: 1.28;
  margin: 0;
}
.lead {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 1.25rem 0 0;
  max-width: 40rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.brand img, .brand svg {
  height: 36px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  font-size: 0.9375rem;
  color: var(--ocean);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--ink);
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--ink);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.875rem !important;
  text-decoration: none;
  color: var(--ocean);
  letter-spacing: 0.04em;
}
.nav-cta:hover { background: var(--ivory); color: var(--ink); }

.menu-btn {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ocean);
}
.menu-btn svg { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.25rem;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border-radius: 8px;
  }
}

/* ——— Layout ——— */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  max-width: 36rem;
}
.section-head .display {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(52rem, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 8vw, 6rem);
}
.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero .display {
  font-size: clamp(2.35rem, 5.6vw, 4.15rem);
  letter-spacing: 0.08em;
}
.hero .lead { font-size: 1.125rem; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-primary {
  background: var(--ocean);
  color: var(--ivory);
  border: 1px solid var(--ocean);
}
.btn-primary:hover { background: var(--ink); color: var(--ivory); }
.btn-ghost {
  background: transparent;
  color: var(--ocean);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--ivory); color: var(--ink); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--latin);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--ocean);
  background: color-mix(in srgb, var(--ivory) 70%, white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.25rem;
}
.pill i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mat);
  display: inline-block;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22rem;
}
.aura {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 78%, color-mix(in srgb, var(--aura-blue) 42%, transparent), transparent 58%),
    radial-gradient(ellipse at 78% 80%, color-mix(in srgb, var(--apricot) 45%, transparent), transparent 55%),
    radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--aura-lav) 50%, transparent), transparent 60%),
    radial-gradient(ellipse at 70% 35%, color-mix(in srgb, var(--aura-peri) 40%, transparent), transparent 50%),
    radial-gradient(ellipse at 50% 50%, var(--aura-mist), var(--ivory) 70%);
  filter: blur(8px);
  opacity: 0.95;
  z-index: 0;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(72%, 340px);
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(27, 42, 80, 0.12));
}

.mat-rule {
  display: block;
  width: 5.5rem;
  height: 3px;
  border-radius: 99px;
  background: var(--ink);
  margin: 1.4rem 0 0;
  opacity: 0.9;
}

@media (max-width: 800px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual {
    min-height: 16rem;
    order: -1;
  }
  .hero-visual img { width: min(58%, 240px); }
  .aura { inset: 12% 18%; }
}

/* ——— Features ——— */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.feature {
  padding: 2rem 1.75rem 2rem 0;
  border-bottom: 1px solid var(--line);
}
.feature:nth-child(odd) { padding-right: 2.5rem; border-right: 1px solid var(--line); }
.feature:nth-child(even) { padding-left: 2.5rem; }
.feature .num {
  font-family: var(--latin);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--mat);
  margin: 0 0 0.6rem;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--ocean);
  margin: 0 0 0.6rem;
}
.feature p {
  margin: 0;
  color: var(--ink-body);
  max-width: 32rem;
}
.feature .en {
  font-family: var(--latin);
  font-size: 0.8125rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin: 0 0 0.55rem;
}

@media (max-width: 800px) {
  .feature-list { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(odd), .feature:nth-child(even) {
    padding: 1.6rem 0;
    border-right: 0;
  }
}

/* ——— Audiences / trust ——— */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.7rem;
}
.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--ocean);
  margin: 0 0 0.55rem;
}
.card .en {
  font-family: var(--latin);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--mat);
  margin: 0 0 0.7rem;
}
.card p { margin: 0; color: var(--ink-body); }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust article {
  padding: 1.75rem 1.5rem 1.75rem 0;
}
.trust article + article {
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}
.trust h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ocean);
  margin: 0 0 0.4rem;
  letter-spacing: 0.03em;
}
.trust p { margin: 0; color: var(--muted); font-size: 0.975rem; }

.note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 46rem;
}

@media (max-width: 800px) {
  .cards, .trust { grid-template-columns: 1fr; }
  .trust article, .trust article + article {
    padding: 1.4rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .trust article:last-child { border-bottom: 0; }
}

/* ——— Upcoming band ——— */
.band {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.band .kicker { color: color-mix(in srgb, var(--apricot) 70%, white); }
.band .display { color: var(--ivory); }
.band .lead { color: color-mix(in srgb, var(--ivory) 78%, var(--aura-mist)); }
.band .btn-ghost {
  color: var(--ivory);
  border-color: color-mix(in srgb, var(--ivory) 35%, transparent);
}
.band .btn-ghost:hover { background: color-mix(in srgb, white 10%, transparent); color: white; }

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 2.25rem;
}
.page-hero .display {
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: 0.07em;
}
.page-hero .meta {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Prose / about / contact ——— */
.prose { max-width: 42rem; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--ocean);
  margin: 2.4rem 0 0.8rem;
}
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.dl {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.65rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
}
.dl dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}
.dl dd { margin: 0; color: var(--ocean); }
@media (max-width: 600px) {
  .dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .dl dt { margin-top: 0.7rem; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.contact-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem;
}
.contact-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--ocean);
  margin: 0 0 0.75rem;
}
.contact-card p, .contact-card a { margin: 0; }
.contact-card p + p { margin-top: 0.4rem; }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ——— Legal ——— */
.legal-wrap {
  max-width: calc(var(--legal) + 2 * var(--pad));
  margin: 0 auto;
  padding: 0 var(--pad) clamp(4rem, 8vw, 6rem);
}
.legal-body {
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ink-body);
}
.legal-body h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  letter-spacing: 0.06em;
  color: var(--ocean);
  line-height: 1.3;
}
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: 0.04em;
  color: var(--ocean);
  margin: 2.4rem 0 0.8rem;
}
.legal-body h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  margin: 1.5rem 0 0.5rem;
}
.legal-body blockquote {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  background: color-mix(in srgb, var(--lilac) 22%, var(--ivory));
  border-left: 3px solid var(--mat);
  color: var(--ink-body);
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.4rem;
  display: block;
  overflow-x: auto;
}
.legal-body th, .legal-body td {
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.65rem;
  text-align: left;
  vertical-align: top;
  background: var(--ivory);
}
.legal-body th { background: color-mix(in srgb, var(--ivory) 70%, var(--aura-mist)); color: var(--ocean); font-weight: 500; }
.legal-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}
.legal-body li { margin: 0.2rem 0; }
.legal-body strong { font-weight: 600; color: var(--ink); }

/* ——— Footer ——— */
.site-footer {
  background: var(--navy);
  color: color-mix(in srgb, var(--ivory) 82%, var(--aura-mist));
  padding: 3rem 0 2rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.site-footer .brand img { height: 28px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 {
  font-family: var(--latin);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: none;
  color: color-mix(in srgb, var(--apricot) 65%, white);
  margin: 0 0 0.85rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.3rem 0; }
.site-footer .company {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--ivory) 70%, var(--aura-mist));
}
.footer-bottom {
  max-width: var(--max);
  margin: 2.25rem auto 0;
  padding: 1.25rem var(--pad) 0;
  border-top: 1px solid color-mix(in srgb, var(--ivory) 16%, transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: color-mix(in srgb, var(--ivory) 62%, var(--aura-mist));
}
.icp-slot {
  min-height: 1.2em;
}
.icp-slot:empty::after {
  content: none;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ——— 404 ——— */
.empty {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}

@media print {
  .site-header, .site-footer, .menu-btn, .hero-actions, .skip { display: none !important; }
  body { background: white; color: black; }
  .legal-wrap { max-width: none; }
}
