:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #000000;
  --text: #000000;
  --muted: #3d3d3d;
  --line: #dddddd;
  --max-width: 1240px;
  --side-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 9vw, 7rem);
  --radius: 0;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Barlow", "Helvetica Neue", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.header-inner,
.hero-inner,
.section,
.footer-grid {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-left: var(--side-pad);
  padding-right: var(--side-pad);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-copy span,
.eyebrow {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
}

.desktop-nav a::after,
.mobile-nav a::after,
.button-secondary::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after,
.button-secondary:hover::after {
  transform: scaleX(1);
}

.mobile-nav-wrap {
  display: none;
  position: relative;
}

.menu-toggle {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav {
  display: grid;
  gap: 0.85rem;
}

.mobile-nav a {
  font-size: 0.92rem;
  font-weight: 600;
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  align-items: center;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-copy {
  max-width: 44rem;
}

.hero h1,
.section-heading h2,
.instructor-copy h2,
.detail-panel h2,
.contact-panel h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 6.75rem);
  max-width: 10ch;
}

.hero-text,
.section-heading p,
.program-card p,
.instructor-copy p,
.benefit-card p,
.detail-panel li,
.testimonial-card p,
.contact-info p,
.site-footer p,
.footer-list {
  color: var(--muted);
}

.hero-text {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button-primary {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
}

.button-secondary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}

.button:hover {
  opacity: 0.88;
}

.hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-enso {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
}

.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.instructor-copy h2,
.detail-panel h2,
.contact-panel h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.section-heading p,
.instructor-copy p,
.program-card p,
.benefit-card p,
.detail-panel li,
.testimonial-card p,
.contact-info p,
.site-footer p,
.footer-list a,
.footer-list li {
  color: var(--muted);
  line-height: 1.7;
}

.card-grid,
.benefits-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.program-card,
.benefit-card,
.testimonial-card,
.detail-panel,
.contact-panel,
.schedule-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.program-card {
  grid-column: span 4;
  padding: 1.5rem;
}

.program-card h3,
.benefit-card h3,
.testimonial-card span,
.site-footer h3,
.site-footer h4 {
  margin: 0 0 0.7rem;
}

.program-card h3,
.benefit-card h3,
.site-footer h3,
.site-footer h4 {
  font-size: 1.2rem;
}

.instructor {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2rem;
}

.sensei-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  filter: grayscale(100%);
}

.benefit-card {
  grid-column: span 3;
  padding: 1.5rem;
}

.instructors-section {
  padding: 90px 6%;
  background: #ffffff;
  color: #000000;
}

.instructors-header {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.instructors-header h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 16px;
}

.instructors-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.instructors-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.instructor-card {
  border: 1px solid #000000;
  background: #ffffff;
  padding: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 0 #000000;
}

.instructor-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid #000000;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
  color: #000000;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instructor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.instructor-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.instructor-role {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.instructor-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333;
}

.schedule-table-wrap {
  overflow-x: auto;
  padding: 1rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.schedule-table th,
.schedule-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.schedule-table th {
  background: #000000;
  color: #ffffff;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-table td {
  color: var(--muted);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.detail-panel {
  padding: 1.6rem;
}

#important-info {
  scroll-margin-top: 72px;
}

.important-info-section {
  padding-top: 0;
}

.info-grid,
.important-info-grid {
  row-gap: 12px;
  column-gap: 20px;
}

.info-card,
.important-card {
  padding-top: 18px;
  padding-bottom: 18px;
  padding-left: 28px;
  padding-right: 28px;
  min-height: auto;
}

.info-card h2,
.important-card h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  margin-bottom: 14px;
}

.info-card li,
.important-card li,
.info-card p,
.important-card p {
  font-size: 0.95rem;
  line-height: 1.45;
}

.list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.list li + li {
  margin-top: 0.7rem;
}

.testimonial-card {
  grid-column: span 4;
  padding: 1.5rem;
}

.testimonial-card p {
  margin-top: 0;
}

.testimonial-card span {
  display: inline-block;
  color: #000000;
  font-weight: 700;
}

.contact-cta {
  padding-bottom: calc(var(--section-pad) + 1rem);
}

.contact-panel {
  padding: clamp(1.75rem, 4vw, 3rem);
  background: #000000;
  color: #ffffff;
}

.contact-panel .eyebrow,
.contact-panel .contact-info p,
.contact-panel a {
  color: #ffffff;
}

.contact-info {
  margin: 1.25rem 0 1.5rem;
}

.contact-info p {
  margin: 0.2rem 0;
}

.contact-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background-color: black;
  color: white;
  border: 1px solid white;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.contact-button:hover {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.site-footer {
  background: #000000;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.site-footer p,
.site-footer .footer-list a,
.site-footer .footer-list li {
  color: rgba(255, 255, 255, 0.8);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li {
  margin-top: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav-wrap {
    display: block;
  }

  .hero-inner,
  .instructor,
  .details-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-logo {
    justify-content: flex-start;
  }

  .hero-enso {
    width: min(100%, 400px);
  }

  .program-card,
  .benefit-card,
  .testimonial-card {
    grid-column: span 6;
  }
}

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

  .hero-inner {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
  }

  .hero-logo {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .program-card,
  .benefit-card,
  .testimonial-card {
    grid-column: 1 / -1;
  }

  .instructors-section {
    padding: 70px 5%;
  }

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

  .sensei-img {
    max-width: 100%;
  }

  .schedule-table {
    min-width: 560px;
  }
}
