:root {
  --bg: #f6efe5;
  --bg-deep: #e7d3bd;
  --surface: rgba(255, 248, 240, 0.8);
  --surface-solid: #fff8f0;
  --text: #2c1f19;
  --muted: #6d574a;
  --line: rgba(72, 44, 30, 0.12);
  --accent: #b85c38;
  --accent-deep: #7f3118;
  --accent-soft: #e7b47c;
  --shadow: 0 24px 60px rgba(94, 53, 31, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1120px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(232, 183, 124, 0.45), transparent 30%),
    radial-gradient(circle at top right, rgba(118, 154, 180, 0.18), transparent 24%),
    linear-gradient(180deg, #f6efe5 0%, #f2e4d3 55%, #f8f4ed 100%);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(246, 239, 229, 0.72);
  border-bottom: 1px solid rgba(72, 44, 30, 0.08);
}

.compact-header {
  background: rgba(250, 244, 236, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
.brand h1,
.hero h1,
.section h2,
.section h3,
.page-hero h1,
.article-hero h1,
.article-body blockquote {
  font-family: "Cormorant Garamond", serif;
}

.brand strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #d68a50 100%);
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  box-shadow: 0 10px 24px rgba(184, 92, 56, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 14px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: clip;
}

.hero-media,
.hero-overlay,
.article-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.article-hero-media img {
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(30, 20, 14, 0.22) 0%, rgba(30, 20, 14, 0.66) 100%),
    linear-gradient(90deg, rgba(20, 18, 15, 0.4) 0%, rgba(20, 18, 15, 0.05) 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 72px;
  color: #fff7ef;
}

.eyebrow,
.meta {
  margin: 0 0 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: inherit;
  opacity: 0.8;
}

.hero h1,
.page-hero h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 6.5rem);
  line-height: 0.95;
  max-width: 820px;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.06rem;
  line-height: 1.9;
  color: rgba(255, 247, 239, 0.9);
}

.hero-actions,
.cta-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d98852 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(184, 92, 56, 0.28);
}

.button-secondary {
  background: rgba(255, 247, 239, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 247, 239, 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 52px 0 0;
  max-width: 720px;
}

.hero-stats li,
.hero-side-card,
.feature-card,
.article-card,
.class-card,
.contact-card,
.sidebar-card,
.cta-box,
.testimonial-layout,
.story-image,
.story-copy {
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.hero-stats li {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 247, 239, 0.1);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.section {
  padding: 96px 0;
}

.section-intro {
  padding-top: 80px;
}

.split-layout,
.story-layout,
.testimonial-layout,
.article-layout,
.page-hero-grid,
.two-column-info,
.contact-panel {
  display: grid;
  gap: 36px;
}

.split-layout,
.two-column-info,
.contact-panel {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.rich-text,
.article-body {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--muted);
}

.section h2,
.story-copy h2,
.section-heading h2,
.class-copy h2,
.cta-box h2,
.testimonial-layout h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
}

.grid-cards,
.article-grid {
  display: grid;
  gap: 24px;
}

.grid-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 248, 240, 0.84) 0%, rgba(253, 243, 232, 0.94) 100%);
  border-color: rgba(127, 49, 24, 0.08);
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature-card h3,
.article-card h3,
.sidebar-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 0.98;
}

.feature-card p,
.article-card p,
.class-copy p,
.hero-side-card p,
.steps-list p,
.contact-card p,
.sidebar-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.story-layout {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
}

.story-copy,
.story-image,
.testimonial-layout,
.cta-box,
.contact-panel,
.hero-side-card,
.page-hero,
.class-card,
.article-body,
.article-sidebar,
.article-card,
.contact-card,
.steps-list > div {
  border-radius: var(--radius-xl);
}

.story-copy {
  padding: 42px;
  background: rgba(255, 248, 240, 0.75);
  border-color: rgba(127, 49, 24, 0.08);
}

.story-image {
  overflow: hidden;
}

.story-image img,
.article-card img,
.class-media img,
.sidebar-image-card img,
.article-body figure img {
  height: 100%;
  object-fit: cover;
}

.section-warm {
  background: linear-gradient(180deg, rgba(236, 215, 192, 0.46) 0%, rgba(248, 244, 237, 0.88) 100%);
}

.section-heading {
  margin-bottom: 28px;
}

.article-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.article-card {
  overflow: hidden;
  background: rgba(255, 250, 245, 0.78);
  border-color: rgba(127, 49, 24, 0.08);
}

.article-card img {
  aspect-ratio: 1.18 / 1;
}

.article-card div {
  padding: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--accent-deep);
  font-weight: 700;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
}

.testimonial-layout {
  grid-template-columns: 0.9fr 1.1fr;
  padding: 38px;
  background: linear-gradient(135deg, rgba(123, 76, 57, 0.92) 0%, rgba(184, 92, 56, 0.92) 100%);
  color: #fff7ef;
}

.testimonial-list {
  display: grid;
  gap: 18px;
}

.testimonial-list blockquote {
  margin: 0;
  padding: 20px 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  line-height: 1.9;
}

.cta-box {
  justify-content: space-between;
  padding: 34px 36px;
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.92) 0%, rgba(240, 218, 192, 0.92) 100%);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.cta-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.page-alt {
  background:
    radial-gradient(circle at top right, rgba(231, 180, 124, 0.34), transparent 26%),
    linear-gradient(180deg, #f8f2e8 0%, #f5ebdf 100%);
}

.page-hero {
  padding: 84px 0 48px;
}

.page-hero-inner {
  padding: 48px;
  background: linear-gradient(135deg, rgba(255, 248, 240, 0.82) 0%, rgba(238, 221, 198, 0.82) 100%);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.hero-side-card {
  padding: 28px;
  background: rgba(133, 67, 44, 0.92);
  color: #fff7ef;
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-side-card strong {
  display: block;
  margin: 10px 0 18px;
  font-size: 1.8rem;
  font-family: "Cormorant Garamond", serif;
}

.cards-stack {
  display: grid;
  gap: 24px;
}

.class-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  background: rgba(255, 248, 240, 0.9);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.class-card.reverse .class-media {
  order: 2;
}

.class-media img {
  min-height: 100%;
}

.class-copy {
  padding: 34px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.tag-list li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(184, 92, 56, 0.1);
  color: var(--accent-deep);
}

.steps-list {
  display: grid;
  gap: 14px;
}

.steps-list > div {
  padding: 20px 22px;
  background: rgba(255, 250, 245, 0.78);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.steps-list strong {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
}

.contact-panel {
  align-items: center;
}

.contact-card {
  padding: 28px;
  background: rgba(255, 248, 240, 0.88);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.contact-card .button {
  margin-top: 22px;
}

.article-page {
  background:
    linear-gradient(180deg, rgba(248, 242, 232, 1) 0%, rgba(244, 232, 220, 1) 100%);
}

.article-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 12, 0.18) 0%, rgba(20, 16, 12, 0.72) 100%);
}

.article-hero-copy {
  position: relative;
  z-index: 1;
  padding: 120px 0 56px;
  color: #fff7ef;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  font-size: 0.94rem;
  color: rgba(255, 247, 239, 0.84);
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.article-body,
.article-sidebar {
  background: rgba(255, 250, 245, 0.82);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.article-body {
  padding: 38px;
}

.article-body p {
  margin: 0 0 24px;
}

.article-body blockquote {
  margin: 12px 0 32px;
  padding: 6px 0 6px 22px;
  border-left: 3px solid var(--accent);
  color: var(--accent-deep);
  font-size: 2rem;
  line-height: 1.15;
}

.article-body figure {
  margin: 0 0 26px;
}

.article-body figure img {
  border-radius: 26px;
  aspect-ratio: 1 / 1.1;
}

.article-body figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-sidebar {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.sidebar-card {
  padding: 24px;
  background: rgba(255, 248, 240, 0.9);
  border: 1px solid rgba(127, 49, 24, 0.08);
}

.sidebar-image-card {
  padding: 12px;
}

.sidebar-image-card img {
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 30px;
  background: rgba(255, 248, 240, 0.78);
  border: 1px solid rgba(127, 49, 24, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.footer-layout h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1;
  font-family: "Cormorant Garamond", serif;
}

.footer-layout p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 960px) {
  .grid-cards,
  .article-grid,
  .split-layout,
  .story-layout,
  .testimonial-layout,
  .page-hero-grid,
  .two-column-info,
  .contact-panel,
  .article-layout,
  .class-card,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .class-card.reverse .class-media {
    order: 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 248, 240, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-block;
  }

  .hero {
    min-height: auto;
  }

  .hero-content,
  .article-hero-copy {
    padding-top: 100px;
  }

  .page-hero-inner,
  .story-copy,
  .class-copy,
  .article-body,
  .sidebar-card,
  .cta-box,
  .testimonial-layout,
  .contact-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 24px, 1120px);
  }

  .site-header {
    padding: 12px 0;
  }

  .brand strong {
    font-size: 1.3rem;
  }

  .hero h1,
  .page-hero h1,
  .article-hero h1,
  .section h2,
  .story-copy h2,
  .section-heading h2,
  .class-copy h2,
  .cta-box h2,
  .testimonial-layout h2 {
    line-height: 1.02;
  }

  .hero-actions,
  .cta-box {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}