:root {
  --ink: #1a2f23;
  --ink-soft: #2d4538;
  --paper: #f3f0ea;
  --paper-deep: #e4dfd4;
  --cream: #faf7f1;
  --gold: #c4a574;
  --gold-deep: #9a7a4a;
  --bronze: #8a6a42;
  --mist: #d8e0d9;
  --muted: #5c6b61;
  --line: rgba(26, 47, 35, 0.14);
  --white: #fffdf9;
  --danger: #8b3a3a;
  --ok: #2f6b4f;
  --shadow: 0 18px 48px rgba(26, 47, 35, 0.08);
  --radius: 2px;
  --font-display: "Shippori Mincho", "Cormorant Garamond", serif;
  --font-body: "Zen Kaku Gothic New", "Source Sans 3", sans-serif;
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 165, 116, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(216, 224, 217, 0.55), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 42%, var(--paper-deep) 100%);
  background-attachment: fixed;
  line-height: 1.75;
  min-height: 100vh;
}

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

a {
  color: var(--bronze);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 247, 241, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--ink);
  background: linear-gradient(135deg, var(--gold), transparent 60%);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.site-nav a:hover {
  color: var(--gold-deep);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--cream) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 1.45rem;
  height: 1.5px;
  background: var(--ink);
  margin: 0.28rem 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

main {
  overflow-x: clip;
}

.hero-home {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--cream);
}

.hero-home-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.hero-home-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto 4.5rem;
  max-width: 38rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  line-height: 1.15;
}

.hero-home h1 {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-home p {
  color: rgba(250, 247, 241, 0.9);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--cream);
  border-color: var(--gold-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 241, 0.55);
}

.btn-ghost:hover {
  background: rgba(250, 247, 241, 0.12);
  color: var(--cream);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-ink:hover {
  background: var(--ink-soft);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.proof-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.55);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  font-weight: 500;
}

.proof-item span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-course {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.feature-course img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
  animation: fade-in 1.1s ease both;
}

.benefit-list {
  display: grid;
  gap: 1.4rem;
  margin-top: 2rem;
}

.benefit-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.benefit-row:nth-child(2) { animation-delay: 0.12s; }
.benefit-row:nth-child(3) { animation-delay: 0.24s; }
.benefit-row:nth-child(4) { animation-delay: 0.36s; }

.benefit-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-deep);
}

.quote-panel {
  background: var(--ink);
  color: var(--cream);
  padding: 4.5rem 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
}

.quote-large {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.quote-meta {
  color: var(--gold);
  font-size: 0.95rem;
}

.quote-side {
  border-left: 1px solid rgba(196, 165, 116, 0.35);
  padding-left: 1.75rem;
  color: rgba(250, 247, 241, 0.85);
}

.course-grid,
.blog-grid,
.tier-grid,
.review-grid {
  display: grid;
  gap: 1.75rem;
}

.course-grid,
.blog-grid {
  grid-template-columns: repeat(3, 1fr);
}

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.review-grid {
  grid-template-columns: repeat(2, 1fr);
}

.media-tile {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.media-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.media-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-tile .tile-body {
  padding: 1.35rem 1.35rem 1.55rem;
}

.media-tile h3 {
  font-size: 1.2rem;
}

.media-tile p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.media-tile a.tile-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-hero p {
  max-width: 40rem;
  color: var(--muted);
}

.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}

.prose h3 {
  margin-top: 1.8rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.45rem;
}

.tier {
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.7);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tier-featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-0.5rem);
}

.tier-featured .tier-price,
.tier-featured p {
  color: rgba(250, 247, 241, 0.88);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.tier-price {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
}

.tier ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.1rem;
  flex: 1;
  color: inherit;
}

.tier li {
  margin-bottom: 0.4rem;
}

.review-block {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}

.review-block p {
  margin-bottom: 0.85rem;
}

.review-attr {
  color: var(--muted);
  font-size: 0.92rem;
}

.stars {
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.case-study {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 2rem;
  margin-bottom: 1.75rem;
}

.form-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.form-group textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(196, 165, 116, 0.45);
  outline-offset: 1px;
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.field-error.show {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(47, 107, 79, 0.12);
  color: var(--ok);
  border: 1px solid rgba(47, 107, 79, 0.3);
}

.form-status.error {
  display: block;
  background: rgba(139, 58, 58, 0.1);
  color: var(--danger);
  border: 1px solid rgba(139, 58, 58, 0.25);
}

.contact-aside {
  border-left: 1px solid var(--line);
  padding-left: 2rem;
}

.contact-aside h2 {
  font-size: 1.35rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--gold-deep);
}

.module-list {
  counter-reset: mod;
  list-style: none;
  padding: 0;
}

.module-list li {
  counter-increment: mod;
  padding: 1.1rem 0 1.1rem 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.module-list li::before {
  content: counter(mod, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.1rem;
  font-family: var(--font-display);
  color: var(--gold-deep);
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(26, 47, 35, 0.92), rgba(26, 47, 35, 0.78)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--cream);
  padding: 4.5rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta-band p {
  max-width: 34rem;
  margin: 0 auto 1.5rem;
  color: rgba(250, 247, 241, 0.88);
}

.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 241, 0.82);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--cream);
  margin-bottom: 0.35rem;
}

.footer-tag {
  color: var(--gold);
  font-size: 0.9rem;
  max-width: 22rem;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 2rem;
}

.footer-heading {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: rgba(250, 247, 241, 0.75);
  text-decoration: none;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-contact p {
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 241, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 34rem;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: rise 0.45s ease both;
}

.cookie-banner p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  background: rgba(26, 47, 35, 0.06);
  font-weight: 500;
}

.inline-error {
  background: rgba(139, 58, 58, 0.1);
  color: var(--danger);
  border: 1px solid rgba(139, 58, 58, 0.25);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 3rem 1.25rem;
}

.not-found h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--gold-deep);
}

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.split-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 8vw 3.5rem 2.5rem;
  background: var(--ink);
  color: var(--cream);
}

.split-hero-copy .hero-brand {
  color: var(--gold);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.split-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2rem 0;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slow-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 960px) {
  .proof-grid,
  .course-grid,
  .blog-grid,
  .tier-grid,
  .review-grid,
  .footer-cols,
  .feature-course,
  .quote-grid,
  .form-panel,
  .split-hero {
    grid-template-columns: 1fr;
  }

  .tier-featured {
    transform: none;
  }

  .contact-aside {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
  }

  .quote-side {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(196, 165, 116, 0.35);
    padding-top: 1.25rem;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.35rem;
    gap: 0;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-row {
    grid-template-columns: 3rem 1fr;
  }

  .instructor {
    grid-template-columns: 1fr;
  }
}

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