@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Caslon+Display&display=swap");
:root {
  --cream: #faf3e7;
  --ink: #492c2e;
  --wine: #75363d;
  --line: #492c2e26;
  --muted: #75605a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.65 "DM Sans",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
header,
main,
footer {
  position: relative;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 27px 6%;
  border-bottom: 1px solid var(--line);
  background: #faf3e7e8;
  z-index: 2;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.13em;
  line-height: 1.4;
}
.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.3em;
}
.brand-symbol {
  font-size: 43px;
  font-family: serif;
  line-height: 1;
}
nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}
nav a:hover,
nav a:focus-visible {
  border-color: var(--wine);
}
.atmosphere {
  position: absolute;
  inset: 0 0 auto;
  height: 950px;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(58px);
  opacity: 0.4;
  animation: drift 24s ease-in-out infinite alternate;
}
.one {
  background: #eaa552;
  width: 470px;
  height: 470px;
  top: 90px;
  right: -30px;
}
.two {
  background: #ac5559;
  width: 340px;
  height: 340px;
  top: 310px;
  right: 22%;
  animation-delay: -9s;
  opacity: 0.25;
}
.three {
  background: #f5d88c;
  width: 350px;
  height: 350px;
  top: 90px;
  left: 30%;
  animation-delay: -15s;
}
.grain {
  position: absolute;
  inset: 0;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.65' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero {
  padding: 108px 8% 30px;
  min-height: 710px;
}
.eyebrow,
.section-label > span {
  font-size: 12px;
  letter-spacing: 0.17em;
  font-weight: 500;
}
.eyebrow {
  margin: 0 0 26px;
}
h1,
h2,
.lead,
.footer-brand {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(62px, 7.3vw, 108px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 0 0 30px;
  max-width: 1050px;
}
h1 em {
  font-weight: 400;
  color: var(--wine);
}
.hero-copy {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 30px;
}
.button {
  display: inline-block;
  background: var(--wine);
  color: var(--cream);
  border-radius: 40px;
  padding: 14px 25px;
  font-size: 14px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #54282f;
  transform: translateY(-2px);
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 85px;
  padding-top: 23px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.hero-foot a {
  letter-spacing: 0;
  font-size: 14px;
}
.hero-foot a span {
  margin-left: 16px;
}
.section {
  margin: 0 8%;
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}
h2 {
  font-size: clamp(42px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 21px 0;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}
.about-copy {
  max-width: 510px;
}
.about-copy p {
  color: var(--muted);
}
.about-copy .lead {
  color: var(--ink);
  font-size: 36px;
  line-height: 1.2;
  margin-top: 0;
}
.practice-note {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 30px;
}
.practice-note > span {
  font-size: 48px;
  color: #b57445;
}
.practice-note p {
  font-size: 14px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  margin-bottom: 35px;
}
.section-top h2 {
  margin-bottom: 0;
}
.section-top > p {
  font-size: 15px;
  color: var(--muted);
}
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.teacher-photo {
  width: 100%;
  aspect-ratio: 4/4;
  object-fit: cover;
  border-radius: 150px 150px 4px 4px;
}
.teacher-photo[src="assets/dharam-medina.jpg"] {
  object-position: center top;
}
.photo-empty {
  background: #ebd7bb;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: #795f4e;
}
.teacher-card:nth-child(2) .photo-empty {
  background: #e6c5ba;
}
.teacher-card:nth-child(3) .photo-empty {
  background: #dfd8be;
}
.photo-empty span {
  border: 1px solid #795f4e55;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 36px;
}
.teacher-card h3 {
  font-weight: 400;
  font-size: 20px;
  margin: 18px 0 0;
}
.teacher-card p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.teacher-button {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.teacher-button:hover .teacher-photo {
  filter: brightness(0.96);
}
.embed-panel {
  background: #fffaf1;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 420px;
  overflow: hidden;
}
.embed-panel iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
  filter: grayscale(100%) contrast(1.15);
}
.empty-calendar {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
  text-align: center;
}
.empty-calendar .calendar-icon {
  font-size: 36px;
  color: #a06349;
}
.empty-calendar h3 {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  margin: 12px 0;
}
.empty-calendar p {
  color: var(--muted);
  max-width: 360px;
  margin: 0;
}
.caption {
  color: var(--muted);
  font-size: 14px;
}
.location {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}
.location-address {
  color: var(--muted);
}
.map-panel {
  height: 360px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9dfcc;
}
.map-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
}
.map-empty {
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 25px;
  color: var(--muted);
}
.map-empty strong {
  font-family: "Libre Caslon Display", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--wine);
  font-size: 14px;
  padding-bottom: 4px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 0 8%;
  padding: 38px 0;
  font-size: 12px;
  color: var(--muted);
}
.footer-brand {
  font-size: 24px;
  color: var(--ink);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  padding: 45px;
  max-width: 560px;
  width: calc(100% - 40px);
}
dialog::backdrop {
  background: #492c2e66;
  backdrop-filter: blur(4px);
}
dialog p {
  white-space: pre-line;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--ink);
}
.skip {
  position: fixed;
  top: -100px;
  background: var(--wine);
  color: white;
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 0;
}
:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
@keyframes drift {
  to {
    transform: translate(-65px, 55px) scale(1.1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .orb {
    animation: none;
  }
  .button {
    transition: none;
  }
}
@media (max-width: 700px) {
  header {
    padding: 20px 6%;
    flex-wrap: wrap;
    gap: 18px;
  }
  .brand-symbol {
    font-size: 33px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .hero {
    padding: 68px 6% 24px;
    min-height: 630px;
  }
  h1 {
    font-size: clamp(52px, 11vw, 75px);
  }
  .hero-copy {
    font-size: 16px;
  }
  .hero-foot {
    margin-top: 60px;
    flex-wrap: wrap;
  }
  .hero-foot > span {
    font-size: 10px;
  }
  .section {
    margin: 0 6%;
    padding: 60px 0;
  }
  .about,
  .location {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-top {
    display: block;
  }
  .section-top > p br {
    display: none;
  }
  .teacher-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }
  .teacher-card {
    max-width: 360px;
    width: 100%;
    margin: auto;
  }
  .teacher-photo {
    aspect-ratio: 5/4;
    border-radius: 120px 120px 4px 4px;
  }
  .map-panel {
    height: 320px;
  }
  footer {
    flex-wrap: wrap;
    margin: 0 6%;
    gap: 12px;
  }
  .footer-brand {
    width: 100%;
  }
  .orb.one {
    right: -240px;
  }
  .orb.two {
    right: -40px;
  }
  .desktop {
    display: none;
  }
  html {
    scroll-padding-top: 25px;
  }
}

/* Colors drawn from the studio logo. */
:root {
  --wine: #88150f;
}
.one {
  background: #ff9c32;
}
.two {
  background: #88150f;
}
.three {
  background: #ffda36;
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.hero h1 {
  position: relative;
  max-width: 850px;
}
.hero .hero-copy {
  position: relative;
}
@media (min-width: 1100px) {
  .hero h1 {
    font-size: 86px;
    max-width: 780px;
  }
  
}
@media (max-width: 1099px) {
  
}

.hero-copy { max-width: 650px; }
.schedule-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.schedule-details p { color: var(--muted); margin: 0 0 24px; }
.schedule-details .class-price { color: var(--wine); font-weight: 600; }
@media (max-width: 900px) { .schedule-layout { grid-template-columns: 1fr; gap: 24px; } }

/* A compact, type-led opening balances the warm moving background. */
.hero { min-height: 0; padding-top: 76px; }
.hero h1 { max-width: 1100px; font-size: clamp(52px, 7.5vw, 108px); line-height: 1.03; }
.hero-copy { max-width: 720px; }
.hero-foot { margin-top: 48px; }
@media (max-width: 700px) { .hero { padding-top: 52px; } .hero h1 { font-size: clamp(38px, 8.6vw, 60px); } }

.instagram-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: var(--wine); flex-shrink: 0; }
.instagram-link:hover { background: #88150f0d; }
nav { align-items: center; }
nav .instagram-link { border-bottom: 0; }
