@import url("https://fonts.googleapis.com/css2?family=Esteban&family=Poppins:wght@400;500;700&display=swap");

:root {
  --ink: #171717;
  --paper: #f7f4ee;
  --white: #ffffff;
  --muted: #6d675f;
  --line: rgba(23, 23, 23, 0.16);
  --red: #9c1f1f;
  --gold: #c7a15a;
  --blue: #21394f;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  z-index: 50;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 86px;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: clamp(74px, 9vw, 118px);
  height: auto;
}

.brand span {
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(520px, 80vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero.compact {
  min-height: clamp(340px, 48vh, 520px);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.68)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45), transparent 60%);
  content: "";
}

.hero-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
  color: var(--white);
}

.hero-logo {
  width: min(380px, 64vw);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.05;
}

h1,
.display {
  max-width: 940px;
  font-family: "Esteban", Georgia, serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 0;
}

h2 {
  font-family: "Esteban", Georgia, serif;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 400;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.lead {
  max-width: 780px;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section.white {
  background: var(--white);
}

.section.dark {
  background: var(--ink);
  color: var(--white);
}

.section.blue {
  background: var(--blue);
  color: var(--white);
}

.wrap {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.dark .section-heading p,
.blue .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.classes-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.class-link {
  min-height: 138px;
  display: flex;
  align-items: end;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.class-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.copy p {
  margin: 1.2rem 0 0;
}

.copy p:first-child {
  margin-top: 0;
}

.image-stack {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 72px);
  gap: 0.75rem;
}

.image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.image-stack img:nth-child(1) {
  grid-column: 1 / 5;
  grid-row: 1 / 5;
}

.image-stack img:nth-child(2) {
  grid-column: 4 / 7;
  grid-row: 3 / 7;
}

.image-stack img:nth-child(3) {
  grid-column: 1 / 4;
  grid-row: 5 / 7;
}

.quote {
  width: min(940px, 100%);
  margin: 0 auto;
  text-align: center;
}

.quote h2 {
  font-size: clamp(2rem, 5.5vw, 5.2rem);
}

.quote p {
  margin: 1.2rem 0 0;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.gallery img:nth-child(6n + 1),
.gallery img:nth-child(6n + 4) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery img:nth-child(6n + 2),
.gallery img:nth-child(6n + 3),
.gallery img:nth-child(6n + 5),
.gallery img:nth-child(6n + 6) {
  grid-column: span 3;
}

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

.instructor {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.instructor h2 {
  padding: 1.2rem;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
}

.schedule-grid {
  grid-template-columns: repeat(7, minmax(180px, 1fr));
  align-items: start;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.day {
  min-width: 180px;
  padding: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.day h1 {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.day ul {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.day a {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.faq-list {
  display: grid;
  gap: 2rem;
}

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

.faq-item h4 {
  max-width: 780px;
  color: var(--red);
  font-size: clamp(1rem, 2vw, 1.24rem);
}

.faq-item p {
  max-width: 840px;
  margin: 0.8rem 0 0;
}

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

.price-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.price-card .price {
  color: var(--red);
  font-family: "Esteban", Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
}

.price-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.1rem;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.map-panel {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(115deg, transparent 48%, rgba(33, 57, 79, 0.12) 48%, rgba(33, 57, 79, 0.12) 52%, transparent 52%),
    linear-gradient(25deg, transparent 45%, rgba(156, 31, 31, 0.12) 45%, rgba(156, 31, 31, 0.12) 49%, transparent 49%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    #d9d3c6;
  background-size: auto, auto, 52px 52px, 52px 52px, auto;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 44px;
  transform: translate(-50%, -100%);
}

.map-label {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.2rem;
}

.contact-details h3 {
  margin-bottom: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

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

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

.cart-space {
  min-height: 38vh;
}

.site-footer {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
  background: #101010;
  color: var(--white);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  width: 120px;
  filter: invert(1);
}

.footer-title {
  margin: 0.8rem 0 0;
  font-family: "Esteban", Georgia, serif;
  font-size: 2rem;
}

.footer-address {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-join {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 0.9rem 0;
  }

  .nav-cta {
    margin-top: 0.6rem;
  }

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

  .split,
  .visit,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    min-height: 74px;
  }

  .brand span {
    white-space: normal;
  }

  .site-nav {
    top: 74px;
  }

  .hero,
  .hero.compact {
    min-height: 430px;
  }

  .classes-grid,
  .instructors,
  .pricing,
  .field-row {
    grid-template-columns: 1fr;
  }

  .image-stack {
    grid-template-rows: repeat(6, 44px);
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery img,
  .gallery img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .day {
    min-width: 0;
    padding: 1.5rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}
