:root {
  color-scheme: light;
  --md-primary: #356858;
  --md-on-primary: #ffffff;
  --md-primary-container: #d7ebe0;
  --md-on-primary-container: #10291f;
  --md-secondary: #53677f;
  --md-tertiary: #a45143;
  --md-surface: #f5f7f4;
  --md-surface-low: #eff2ee;
  --md-surface-mid: #e8ece8;
  --md-surface-high: #dfe5e0;
  --md-on-surface: #1a211d;
  --md-on-surface-muted: #4d5a53;
  --md-outline: #77857d;
  --md-outline-variant: #c4cec6;
  --md-shadow: 0 2px 8px rgb(20 36 28 / 10%);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --md-primary: #a7d2bd;
  --md-on-primary: #12382b;
  --md-primary-container: #214c3d;
  --md-on-primary-container: #d4eddf;
  --md-secondary: #bac9e1;
  --md-tertiary: #ffb4a3;
  --md-surface: #121815;
  --md-surface-low: #1a211d;
  --md-surface-mid: #222a25;
  --md-surface-high: #2d3530;
  --md-on-surface: #e1e9e2;
  --md-on-surface-muted: #b8c5bb;
  --md-outline: #87948b;
  --md-outline-variant: #414b44;
  --md-shadow: 0 2px 10px rgb(0 0 0 / 24%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--md-on-surface);
  background: var(--md-surface);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  transition: background-color 180ms ease, color 180ms ease;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  color: var(--md-on-primary);
  background: var(--md-primary);
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--md-surface);
  border-bottom: 1px solid var(--md-outline-variant);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--md-on-surface);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--md-on-primary);
  background: var(--md-primary);
  border-radius: 12px;
  font-size: 19px;
  font-weight: 700;
}

.brand-name {
  font-size: 17px;
  font-weight: 650;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  color: var(--md-on-surface-muted);
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--md-primary);
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--md-on-surface);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--md-surface-mid);
}

.theme-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:root[data-theme="light"] .theme-icon-moon,
:root[data-theme="dark"] .theme-icon-sun {
  display: none;
}

.hero-band {
  background: var(--md-primary-container);
}

.hero-content {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 60px 52px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--md-primary);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--md-on-primary-container);
}

.eyebrow-mark {
  width: 8px;
  height: 8px;
  background: var(--md-tertiary);
  border-radius: 2px;
  transform: rotate(45deg);
}

.hero-content h1 {
  margin: 0;
  color: var(--md-on-primary-container);
  font-size: 72px;
  font-weight: 720;
  line-height: 1.08;
}

.hero-tagline {
  margin: 16px 0 0;
  color: var(--md-on-primary-container);
  font-size: 24px;
  font-weight: 550;
  line-height: 1.45;
}

.hero-description {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--md-on-surface-muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.filled-button,
.text-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.filled-button {
  color: var(--md-on-primary);
  background: var(--md-primary);
}

.filled-button:hover,
.filled-button:focus-visible {
  box-shadow: var(--md-shadow);
}

.filled-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.text-button {
  color: var(--md-on-primary-container);
}

.text-button:hover,
.text-button:focus-visible {
  background: rgb(255 255 255 / 35%);
}

.topic-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 29px;
  color: var(--md-on-primary-container);
  font-size: 13px;
  font-weight: 600;
}

.topic-line span + span::before {
  content: "·";
  margin-inline: 12px;
  color: var(--md-tertiary);
}

.about-band,
.collection-band {
  padding-block: 82px;
}

.about-band {
  background: var(--md-surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.25;
}

.section-kicker {
  margin-bottom: 8px;
}

.section-intro {
  max-width: 420px;
  margin: 0 0 3px;
  color: var(--md-on-surface-muted);
  font-size: 15px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.principle {
  min-height: 190px;
  padding: 20px;
  background: var(--md-surface-low);
  border: 1px solid var(--md-outline-variant);
  border-radius: 8px;
}

.principle-index {
  color: var(--md-tertiary);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.principle h3 {
  margin: 18px 0 8px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.principle p {
  margin: 0;
  color: var(--md-on-surface-muted);
  font-size: 13px;
  line-height: 1.7;
}

.collection-band {
  background: var(--md-surface-low);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.collection-item {
  min-width: 0;
  margin: 0;
}

.collection-image {
  overflow: hidden;
  background: var(--md-surface-mid);
  border-radius: 8px;
}

.collection-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease;
}

.collection-item:hover img {
  transform: scale(1.025);
}

.collection-item figcaption {
  padding: 17px 2px 0;
}

.collection-caption-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.collection-caption-title h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 650;
}

.collection-caption-title span {
  color: var(--md-secondary);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.collection-item figcaption p {
  margin: 6px 0 0;
  color: var(--md-on-surface-muted);
  font-size: 14px;
}

.site-footer {
  background: var(--md-surface-mid);
  border-top: 1px solid var(--md-outline-variant);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-block: 20px;
}

.footer-brand .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 16px;
}

.footer-brand .brand-name {
  font-size: 15px;
}

.footer-inner p,
.footer-inner small {
  margin: 0;
  color: var(--md-on-surface-muted);
  font-size: 13px;
}

.footer-inner small {
  margin-left: auto;
  order: 1;
}

.footer-legal {
  flex: 1 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  order: 2;
}

.footer-legal a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--md-on-surface-muted);
  font-size: 12px;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--md-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
}

:focus-visible {
  outline: 3px solid var(--md-tertiary);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .principle {
    min-height: 165px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 72px;
  }

  .shell {
    width: min(100% - 36px, 1120px);
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 17px;
  }

  .brand-name {
    font-size: 15px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .hero-content {
    min-height: 390px;
    padding-block: 48px 42px;
  }

  .hero-content h1 {
    font-size: 54px;
  }

  .hero-tagline {
    margin-top: 14px;
    font-size: 20px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    gap: 6px;
    margin-top: 20px;
  }

  .filled-button,
  .text-button {
    min-height: 44px;
    padding-inline: 15px;
    font-size: 13px;
  }

  .topic-line {
    margin-top: 22px;
  }

  .about-band,
  .collection-band {
    padding-block: 58px;
  }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .section-intro {
    margin-top: 10px;
    font-size: 14px;
  }

  .principles-grid {
    gap: 10px;
  }

  .principle {
    min-height: 174px;
    padding: 15px;
  }

  .principle h3 {
    margin-top: 14px;
    font-size: 14px;
  }

  .principle p {
    font-size: 12px;
  }

  .collection-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .collection-image img {
    aspect-ratio: 16 / 10;
  }

  .footer-inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer-inner p {
    width: 100%;
    order: 3;
  }
}

@media (max-width: 360px) {
  .shell {
    width: calc(100% - 28px);
  }

  .header-inner {
    gap: 7px;
  }

  .main-nav {
    gap: 9px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .hero-content h1 {
    font-size: 48px;
  }
}

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