:root {
  --ink: #273026;
  --muted: #6f7669;
  --paper: #f7f4ec;
  --soft: #eee7d9;
  --leaf: #53673b;
  --moss: #2f3b2a;
  --clay: #a8623d;
  --line: rgba(39, 48, 38, 0.14);
  --white: #fffdf7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Songti SC", "Noto Serif SC", "Microsoft YaHei", serif;
}

img {
  display: block;
  max-width: 100%;
}

picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 48px;
  color: var(--white);
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(247, 244, 236, 0.94);
  box-shadow: 0 10px 34px rgba(33, 38, 29, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 146px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 247, 0.72);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.site-header.scrolled .brand-logo,
.site-header.open .brand-logo {
  border-color: rgba(39, 48, 38, 0.16);
}

.brand-name {
  font-size: 22px;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 15px;
}

.site-nav a,
.header-phone {
  opacity: 0.9;
}

.site-nav a:hover,
.header-phone:hover {
  opacity: 1;
}

.header-phone {
  font-size: 14px;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6200ms ease;
}

.hero-image.active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(18, 22, 15, 0.72), rgba(18, 22, 15, 0.16) 58%, rgba(18, 22, 15, 0.42)),
    linear-gradient(0deg, rgba(18, 22, 15, 0.54), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(640px, calc(100% - 48px));
  padding: 30vh 0 120px;
  margin-left: clamp(24px, 9vw, 132px);
}

.eyebrow {
  margin: 0 0 16px;
  font-family: "Avenir Next", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(54px, 9vw, 118px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.95;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 400;
}

p {
  line-height: 1.9;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary-link,
.ghost-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: 15px;
}

.primary-link {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--white);
}

.ghost-link {
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  color: var(--clay);
  background: transparent;
}

.hero-count {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 80px);
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Avenir Next", Arial, sans-serif;
  font-size: 13px;
}

.hero-count span:nth-child(2) {
  width: 64px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section {
  padding: 108px clamp(24px, 7vw, 112px);
}

.section-heading {
  max-width: 660px;
}

.section-heading.centered {
  margin: 0 auto 48px;
  text-align: center;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 8vw, 120px);
  margin-top: 32px;
  color: var(--muted);
  font-size: 18px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.fact-grid article,
.social-grid article {
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}

.fact-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--clay);
  font-family: "Avenir Next", Arial, sans-serif;
  font-size: 32px;
}

.fact-grid p,
.social-grid p {
  color: var(--muted);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 680px;
  background: var(--moss);
  color: var(--white);
}

.feature-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy {
  align-self: center;
  padding: clamp(44px, 7vw, 96px);
}

.feature-copy .eyebrow,
.craft-panel .eyebrow,
.site-footer .eyebrow {
  color: #e8c99f;
}

.feature-copy p {
  color: rgba(255, 253, 247, 0.78);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card div {
  padding: 28px;
}

.card p {
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.photo-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--moss);
}

.photo-grid figure.wide {
  grid-row: span 2;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.photo-grid figure:hover img {
  transform: scale(1.035);
}

.photo-grid figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(24, 32, 22, 0.58);
  font-size: 14px;
}

.social {
  background: var(--soft);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.media-library {
  background: var(--white);
}

.section-heading.centered p {
  max-width: 680px;
  margin: -10px auto 0;
  color: var(--muted);
}

.directory-layout {
  display: grid;
  grid-template-columns: minmax(190px, 240px) 1fr;
  gap: 28px;
  align-items: start;
}

.media-directory {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 10px;
}

.media-directory button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.media-directory button strong {
  color: var(--clay);
  font-family: "Avenir Next", Arial, sans-serif;
  font-size: 13px;
}

.media-directory button.active {
  color: var(--white);
  border-color: var(--moss);
  background: var(--moss);
}

.media-directory button.active strong {
  color: #e8c99f;
}

.media-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.media-panel.active {
  display: grid;
}

.media-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--soft);
}

.media-panel figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}

.media-panel figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(24, 32, 22, 0.62);
  font-size: 13px;
}

.media-panel-video {
  align-items: start;
}

.video-stage {
  grid-column: 1 / -1;
  background: var(--moss);
}

.video-stage video {
  display: block;
  width: 100%;
  max-height: 620px;
  background: #111;
}

.video-card {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.video-card span,
.video-card small {
  display: block;
}

.video-card span {
  margin-bottom: 10px;
  font-size: 20px;
}

.video-card small {
  color: var(--muted);
}

.video-card.active {
  color: var(--white);
  border-color: var(--moss);
  background: var(--moss);
}

.video-card.active small {
  color: rgba(255, 253, 247, 0.72);
}

.faq {
  background: var(--soft);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-grid article {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
}

.faq-grid p {
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.trust-copy p {
  color: var(--muted);
}

.trust-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
}

.trust-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.trust-media img:last-child {
  object-position: top center;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: 20px clamp(24px, 7vw, 112px) 120px;
}

.showcase-copy p {
  color: var(--muted);
}

.mosaic {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  grid-template-rows: 220px 320px;
  gap: 18px;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic img:first-child {
  grid-row: span 2;
}

.craft {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  padding: clamp(24px, 7vw, 112px);
  color: var(--white);
  overflow: hidden;
}

.craft > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(19, 28, 18, 0.76), rgba(19, 28, 18, 0.14));
}

.craft-panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

.craft-panel p {
  color: rgba(255, 253, 247, 0.82);
}

.event-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.26);
}

.event-facts div {
  padding: 18px;
  background: rgba(20, 30, 19, 0.52);
}

.event-facts dt {
  margin-bottom: 8px;
  font-size: 13px;
  color: #e8c99f;
}

.event-facts dd {
  margin: 0;
  line-height: 1.6;
}

.teacher {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 620px);
  justify-content: center;
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
}

.teacher-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.teacher-copy p {
  color: var(--muted);
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  padding: 76px clamp(24px, 7vw, 112px);
  background: var(--moss);
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 0;
}

.footer-contact {
  display: grid;
  gap: 12px;
  color: rgba(255, 253, 247, 0.82);
  text-align: right;
}

.footer-contact a {
  color: var(--white);
  font-size: 24px;
}

@media (max-width: 900px) {
  .site-header {
    height: 68px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 22px;
  }

  .nav-toggle {
    display: grid;
    gap: 7px;
    width: 42px;
    height: 42px;
    padding: 12px 8px;
    border: 0;
    color: inherit;
    background: transparent;
  }

  .nav-toggle span {
    height: 1px;
    background: currentColor;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 22px;
    background: rgba(247, 244, 236, 0.98);
    color: var(--ink);
    box-shadow: 0 18px 34px rgba(33, 38, 29, 0.08);
  }

  .site-nav.open {
    display: grid;
    gap: 18px;
  }

  .header-phone {
    display: none;
  }

  .hero-content {
    padding-top: 28vh;
    margin-left: 24px;
  }

  .intro-grid,
  .fact-grid,
  .feature-band,
  .cards,
  .photo-grid,
  .split-showcase,
  .video-grid,
  .teacher,
  .site-footer,
  .social-grid,
  .directory-layout,
  .media-panel,
  .faq-grid,
  .trust,
  .trust-media {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-auto-rows: 280px;
  }

  .photo-grid figure.wide {
    grid-row: span 1;
  }

  .media-directory {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-band {
    min-height: 0;
  }

  .feature-band img {
    height: 430px;
  }

  .split-showcase {
    padding-top: 80px;
  }

  .mosaic {
    grid-template-rows: 260px 240px;
  }

  .site-footer,
  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .brand-name {
    font-size: 19px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-actions {
    display: grid;
    width: min(280px, 100%);
  }

  .primary-link,
  .ghost-link {
    justify-content: center;
  }

  .section {
    padding: 72px 22px;
  }

  .intro-grid {
    font-size: 16px;
  }

  .feature-copy {
    padding: 44px 22px;
  }

  .mosaic {
    display: block;
  }

  .mosaic img {
    height: 260px;
    margin-top: 14px;
  }

  .craft {
    min-height: 760px;
    padding: 72px 22px;
  }

  .event-facts {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-auto-rows: 230px;
  }

  .trust-media img {
    height: 320px;
  }

  .media-panel img,
  .media-panel video {
    height: 230px;
  }

  .media-directory {
    grid-template-columns: 1fr;
  }
}

.blog-main {
  padding-top: 116px;
}

.blog-hero {
  padding: 84px clamp(24px, 7vw, 112px) 64px;
  background: var(--moss);
  color: var(--white);
}

.blog-hero h1 {
  max-width: 960px;
  font-size: clamp(42px, 7vw, 86px);
}

.blog-hero p {
  max-width: 760px;
  color: rgba(255, 253, 247, 0.84);
  font-size: 18px;
}

.blog-list {
  display: grid;
  gap: 22px;
  padding: 72px clamp(24px, 7vw, 112px) 96px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.blog-card h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.blog-card p {
  max-width: 820px;
  color: var(--muted);
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 14px;
}

.blog-read {
  align-self: end;
  color: var(--clay);
  white-space: nowrap;
}

.article-main {
  padding-top: 116px;
}

.article-hero {
  padding: 72px clamp(24px, 15vw, 220px) 44px;
  background: var(--white);
}

.article-hero h1 {
  max-width: 980px;
  font-size: clamp(38px, 6vw, 78px);
}

.article-hero p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 56px;
  padding: 36px clamp(24px, 10vw, 160px) 96px;
}

.article-content {
  max-width: 820px;
}

.article-content h2 {
  margin-top: 42px;
  font-size: clamp(28px, 3.4vw, 42px);
}

.article-content h3 {
  margin-top: 28px;
  color: var(--moss);
}

.article-content p,
.article-content li {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.95;
}

.article-content ul,
.article-content ol {
  padding-left: 1.3em;
}

.article-note,
.article-summary {
  padding: 24px;
  border-left: 4px solid var(--clay);
  background: var(--soft);
}

.article-aside {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.article-aside a {
  color: var(--clay);
}

.article-links {
  display: grid;
  gap: 12px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .blog-card,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-read,
  .article-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .blog-main,
  .article-main {
    padding-top: 92px;
  }

  .blog-hero,
  .article-hero,
  .blog-list,
  .article-layout {
    padding-left: 22px;
    padding-right: 22px;
  }

  .blog-card {
    padding: 24px;
  }
}
