:root {
  --paper: #f4efe8;
  --paper-2: #ebe3d8;
  --ink: #2a2622;
  --muted: #6d665d;
  --line: #d8cfc4;
  --sage: #5f6d58;
  --sage-2: #8a947c;
  --petal: #c9a9a2;
  --soil: #7a5648;
  --white: #fcfaf7;
  --shadow: 0 18px 50px rgba(42, 38, 34, 0.08);
  --serif: "Noto Serif JP", "Cormorant Garamond", serif;
  --sans: "Noto Sans JP", "Noto Sans SC", "Noto Sans TC", system-ui, sans-serif;
}

html[lang="en"] {
  --serif: "Cormorant Garamond", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
}

html[lang="zh-CN"] {
  --sans: "Noto Sans SC", "Noto Sans JP", system-ui, sans-serif;
}

html[lang="zh-TW"] {
  --sans: "Noto Sans TC", "Noto Sans JP", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--white);
  padding: 8px 12px;
  z-index: 20;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 239, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 22px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50% 42% 50% 46%;
  background: radial-gradient(circle at 30% 30%, #efe4d6, var(--sage) 70%);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
}

.brand-text em {
  font-style: normal;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-size: 11px;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--soil);
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  padding: 6px 9px;
  cursor: pointer;
}

.lang button[aria-current="true"] {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 6px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

#top,
#about,
#courses,
#works,
#contact {
  scroll-margin-top: 76px;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 22px 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.25;
  margin: 10px 0 18px;
}

.eyebrow {
  margin: 0;
  color: var(--sage);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.lede,
.section-note,
.statement {
  color: var(--muted);
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-ghost {
  border: 1px solid var(--ink);
}

.hero-art {
  min-height: 340px;
  border-radius: 28px 8px 36px 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  background: #d9cfc8;
}

.hero-art img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 30%;
}

.panel {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 22px;
}

.panel.muted {
  background: var(--paper-2);
  max-width: none;
  padding: 72px 22px;
}

.panel.muted > * {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  margin: 8px 0 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.statement {
  font-size: 18px;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.facts span {
  color: var(--muted);
  font-size: 12px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--serif);
  margin: 0 0 10px;
}

.footnote,
.photo-hint,
.tiny {
  color: var(--muted);
  font-size: 13px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  margin: 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.tile-wide {
  grid-column: span 2;
}

.tile-visual {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center 25%;
  background: #ddd4c8;
}

.tile-wide .tile-visual {
  height: 100%;
  min-height: 320px;
}

.tile figcaption {
  padding: 16px 18px 18px;
  display: grid;
  gap: 4px;
}

.tile strong {
  font-family: var(--serif);
  font-size: 20px;
}

.contact-box {
  background: var(--white);
  padding: 32px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 640px;
}

.email {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--soil);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 22px 40px;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0;
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: block;
    order: 2;
  }

  .lang {
    order: 3;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    flex-direction: column;
    padding: 12px 22px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .split,
  .cards.three,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-rows: none;
  }

  .tile-wide {
    grid-column: auto;
  }

  .tile-wide .tile-visual,
  .tile-visual {
    height: 220px;
    min-height: 0;
  }
}
