:root {
  --studio-canvas: #f7f1e8;
  --studio-canvas-deep: #ece0d0;
  --studio-surface: #fffdf9;
  --studio-ink: #241f1a;
  --studio-ink-soft: #5c544a;
  --studio-ink-mute: #857c70;
  --studio-clay: #a04e2e;
  --studio-clay-deep: #7d3a20;
  --studio-sage: #6f7d5e;
  --studio-sage-soft: #e3e8d9;
  --studio-sage-ink: #48543a;
  --studio-line: #e0d6c6;
  --studio-line-strong: #cfc2ad;
  --studio-radius-sm: 10px;
  --studio-radius: 16px;
  --studio-radius-lg: 28px;
  --studio-radius-pill: 999px;
  --studio-shadow-sm: 0 10px 28px -20px rgba(36, 31, 26, 0.5);
  --studio-shadow: 0 30px 70px -40px rgba(36, 31, 26, 0.55);
  --studio-font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --studio-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --studio-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--studio-font-body);
  background: var(--studio-canvas);
  color: var(--studio-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--studio-font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--studio-ink);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

p {
  color: var(--studio-ink-soft);
}

a {
  color: var(--studio-clay);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--studio-clay-deep);
}

.link-clay {
  color: var(--studio-clay);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.link-clay:hover {
  color: var(--studio-clay-deep);
}

.eyebrow {
  display: inline-block;
  font-family: var(--studio-font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--studio-clay);
  margin-bottom: 0.9rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--studio-radius-pill);
  background: var(--studio-sage-soft);
  color: var(--studio-sage-ink);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.lead-soft {
  font-size: 1.1rem;
  color: var(--studio-ink-soft);
  max-width: 46rem;
}

.divider-rule {
  display: block;
  width: 54px;
  height: 3px;
  border-radius: 3px;
  background: var(--studio-clay);
  margin: 1.2rem 0;
}

.divider-rule--center {
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(247, 241, 232, 0.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--studio-line);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 0;
  transition: padding 0.3s ease;
}

.site-header--condensed .site-header__inner {
  padding: 0.55rem 0;
}

.site-header--condensed {
  box-shadow: var(--studio-shadow-sm);
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--studio-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--studio-ink);
  letter-spacing: 0.01em;
}

.site-header__brand:hover {
  color: var(--studio-ink);
}

.site-header__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.86rem;
  color: var(--studio-ink-soft);
  margin-left: auto;
}

.site-header__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--studio-ink-soft);
}

.site-header__contact-item i {
  color: var(--studio-clay);
  font-size: 0.9rem;
}

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

.site-nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--studio-ink);
  position: relative;
  padding: 0.25rem 0;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--studio-clay);
  transition: right 0.3s var(--studio-ease);
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
  right: 0;
}

.site-nav__toggle {
  margin-left: auto;
  border: 1px solid var(--studio-line-strong);
  border-radius: var(--studio-radius-sm);
  background: transparent;
  color: var(--studio-ink);
  width: 46px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.btn-clay,
.btn-clay-outline {
  border-radius: var(--studio-radius-pill);
  padding: 0.85rem 1.9rem;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--studio-ease), background-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-clay {
  --bs-btn-color: #fffdf9;
  --bs-btn-bg: var(--studio-clay);
  --bs-btn-border-color: var(--studio-clay);
  --bs-btn-hover-color: #fffdf9;
  --bs-btn-hover-bg: var(--studio-clay-deep);
  --bs-btn-hover-border-color: var(--studio-clay-deep);
  --bs-btn-active-color: #fffdf9;
  --bs-btn-active-bg: var(--studio-clay-deep);
  --bs-btn-active-border-color: var(--studio-clay-deep);
  --bs-btn-focus-shadow-rgb: 160, 78, 46;
  box-shadow: 0 16px 30px -18px rgba(160, 78, 46, 0.7);
}

.btn-clay:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px -18px rgba(125, 58, 32, 0.65);
}

.btn-clay-outline {
  --bs-btn-color: var(--studio-ink);
  --bs-btn-border-color: var(--studio-line-strong);
  --bs-btn-hover-color: var(--studio-ink);
  --bs-btn-hover-bg: var(--studio-canvas-deep);
  --bs-btn-hover-border-color: var(--studio-ink-soft);
  --bs-btn-focus-shadow-rgb: 92, 84, 74;
  background: transparent;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(32rem, 88vh, 54rem);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #faf6ef;
  isolation: isolate;
}

.hero__content {
  position: relative;
  max-width: 44rem;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.hero__title {
  color: #fdf8f0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.4rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: #f1e7d8;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__eyebrow {
  color: #f1d0b8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__actions .btn-clay-outline {
  --bs-btn-color: #fdf8f0;
  --bs-btn-border-color: rgba(253, 248, 240, 0.55);
  --bs-btn-hover-color: var(--studio-ink);
  --bs-btn-hover-bg: #fdf8f0;
  --bs-btn-hover-border-color: #fdf8f0;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fdf8f0;
  opacity: 0.75;
  font-size: 1rem;
  animation: hint-bob 2.4s ease-in-out infinite;
}

@keyframes hint-bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats-strip__value {
  display: block;
  font-family: var(--studio-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--studio-ink);
  margin-bottom: 0.35rem;
}

.stats-strip__label {
  font-size: 0.85rem;
  color: var(--studio-ink-soft);
  letter-spacing: 0.02em;
}

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

.section--tight {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.section--canvas-deep {
  background: var(--studio-canvas-deep);
}

.section--ink {
  background: #211c17;
  color: #efe5d6;
}

.section--ink h1,
.section--ink h2,
.section--ink h3 {
  color: #fdf8f0;
}

.section--ink p,
.section--ink .lead-soft {
  color: #d8ccbb;
}

.section--ink .eyebrow {
  color: #e2a887;
}

.section--ink .divider-rule {
  background: #e2a887;
}

.section-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fdf8f0;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-photo h2,
.section-photo h1 {
  color: #fdf8f0;
}

.section-photo p,
.section-photo .lead-soft {
  color: #f1e7d8;
}

.card-soft {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  transition: transform 0.35s var(--studio-ease), box-shadow 0.35s var(--studio-ease), border-color 0.35s ease;
  height: 100%;
}

.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: var(--studio-shadow);
  border-color: var(--studio-line-strong);
}

.feature-tile {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  height: 100%;
  transition: transform 0.3s var(--studio-ease), border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: var(--studio-line-strong);
  box-shadow: var(--studio-shadow-sm);
}

.feature-tile__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--studio-sage-soft);
  color: var(--studio-sage-ink);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-tile__title {
  font-family: var(--studio-font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--studio-ink);
}

.feature-tile__text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--studio-ink-soft);
}

.service-card {
  background: var(--studio-surface);
  border-radius: var(--studio-radius-lg);
  overflow: hidden;
  border: 1px solid var(--studio-line);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s var(--studio-ease), box-shadow 0.35s var(--studio-ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--studio-shadow);
}

.service-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--studio-canvas-deep);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--studio-ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.06);
}

.service-card__body {
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.service-card__title {
  font-family: var(--studio-font-display);
  font-size: 1.4rem;
  margin: 0;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--studio-ink-soft);
  margin: 0;
  flex: 1;
}

.service-card__price {
  font-family: var(--studio-font-display);
  font-size: 1.35rem;
  color: var(--studio-ink);
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--studio-line);
}

.service-card__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--studio-clay);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card__link i {
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__link i {
  transform: translateX(4px);
}

.timetable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--studio-surface);
  border-radius: var(--studio-radius-lg);
  overflow: hidden;
  border: 1px solid var(--studio-line);
}

.timetable th,
.timetable td {
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--studio-line);
  text-align: left;
  vertical-align: top;
}

.timetable thead th {
  font-family: var(--studio-font-display);
  font-weight: 600;
  font-size: 1rem;
  background: var(--studio-canvas-deep);
  color: var(--studio-ink);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.timetable tbody tr:last-child td {
  border-bottom: 0;
}

.timetable tbody tr:hover {
  background: rgba(227, 232, 217, 0.4);
}

.timetable__time {
  font-weight: 600;
  color: var(--studio-ink);
  white-space: nowrap;
}

.timetable__class {
  font-family: var(--studio-font-display);
  font-size: 1.05rem;
  color: var(--studio-ink);
}

.timetable__teacher {
  font-size: 0.88rem;
  color: var(--studio-ink-soft);
}

.price-card {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--studio-ease), box-shadow 0.35s var(--studio-ease);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--studio-shadow);
}

.price-card__label {
  font-family: var(--studio-font-body);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--studio-clay);
  margin-bottom: 0.6rem;
}

.price-card__amount {
  font-family: var(--studio-font-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--studio-ink);
  margin-bottom: 0.3rem;
}

.price-card__period {
  font-size: 0.85rem;
  color: var(--studio-ink-soft);
  margin-bottom: 1.4rem;
}

.price-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.price-card__features li {
  display: flex;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--studio-ink-soft);
  line-height: 1.5;
}

.price-card__features li i {
  color: var(--studio-sage);
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.price-card--featured {
  background: linear-gradient(180deg, var(--studio-clay), var(--studio-clay-deep));
  border-color: transparent;
  color: #fffdf9;
}

.price-card--featured .price-card__label,
.price-card--featured .price-card__amount,
.price-card--featured .price-card__period {
  color: #fffdf9;
}

.price-card--featured .price-card__period {
  color: #f8dfd0;
}

.price-card--featured .price-card__features li {
  color: #fcf0e7;
}

.price-card--featured .price-card__features li i {
  color: #ffdfc9;
}

.price-card--featured .btn-clay-outline {
  --bs-btn-color: #fffdf9;
  --bs-btn-border-color: rgba(255, 253, 249, 0.6);
  --bs-btn-hover-color: var(--studio-clay-deep);
  --bs-btn-hover-bg: #fffdf9;
  --bs-btn-hover-border-color: #fffdf9;
}

.quote-block {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.quote-block__mark {
  font-family: var(--studio-font-display);
  font-size: 3.2rem;
  line-height: 0.6;
  color: var(--studio-clay);
  opacity: 0.85;
}

.quote-block__text {
  font-family: var(--studio-font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--studio-ink);
  margin: 0;
  flex: 1;
}

.quote-block__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--studio-line);
}

.quote-block__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--studio-sage-soft);
  flex-shrink: 0;
}

.quote-block__name {
  font-weight: 600;
  color: var(--studio-ink);
  font-size: 0.95rem;
  margin: 0;
}

.quote-block__meta {
  font-size: 0.82rem;
  color: var(--studio-ink-soft);
  margin: 0;
}

.team-card {
  text-align: center;
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(1.4rem, 2.5vw, 2rem);
  height: 100%;
  transition: transform 0.35s var(--studio-ease), box-shadow 0.35s var(--studio-ease);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--studio-shadow-sm);
}

.team-card__photo {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  background: var(--studio-sage-soft);
  border: 3px solid var(--studio-surface);
  box-shadow: var(--studio-shadow-sm);
}

.team-card__name {
  font-family: var(--studio-font-display);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.team-card__role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--studio-clay);
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.9rem;
  color: var(--studio-ink-soft);
  margin-bottom: 0;
}

.accordion-item {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius) !important;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-button {
  background: var(--studio-surface);
  color: var(--studio-ink);
  font-family: var(--studio-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1.15rem 1.4rem;
}

.accordion-button:not(.collapsed) {
  background: var(--studio-sage-soft);
  color: var(--studio-ink);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 4px rgba(160, 78, 46, 0.16);
  border-color: var(--studio-clay);
}

.accordion-button::after {
  filter: saturate(0) brightness(0.3);
}

.accordion-body {
  padding: 1.1rem 1.4rem 1.4rem;
  color: var(--studio-ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--studio-ink);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  border-radius: var(--studio-radius);
  border: 1px solid var(--studio-line-strong);
  background: var(--studio-surface);
  padding: 0.8rem 1rem;
  color: var(--studio-ink);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
  color: #9b9185;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--studio-clay);
  box-shadow: 0 0 0 4px rgba(160, 78, 46, 0.14);
  background: var(--studio-surface);
  color: var(--studio-ink);
}

.form-check-input:checked {
  background-color: var(--studio-clay);
  border-color: var(--studio-clay);
}

.form-check-input:focus {
  border-color: var(--studio-clay);
  box-shadow: 0 0 0 4px rgba(160, 78, 46, 0.14);
}

.form-text {
  color: var(--studio-ink-soft);
  font-size: 0.82rem;
}

.form-hint {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.83rem;
  color: var(--studio-ink-soft);
  line-height: 1.5;
}

.form-hint i {
  color: var(--studio-sage);
  margin-top: 0.15rem;
}

.contact-panel {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
  height: 100%;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--studio-sage-soft);
  color: var(--studio-sage-ink);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

.contact-info__label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--studio-ink-mute);
  margin-bottom: 0.2rem;
}

.contact-info__value {
  color: var(--studio-ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.map-embed {
  border-radius: var(--studio-radius-lg);
  overflow: hidden;
  border: 1px solid var(--studio-line);
  line-height: 0;
  box-shadow: var(--studio-shadow-sm);
}

.map-embed iframe {
  width: 100%;
  height: clamp(280px, 40vw, 420px);
  border: 0;
  display: block;
}

.site-footer {
  background: #211c17;
  color: #e7ddcf;
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.site-footer h4,
.site-footer h5 {
  color: #fdf8f0;
  font-family: var(--studio-font-display);
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer address {
  color: #c7bba8;
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: #eadfcd;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.site-footer__contact i {
  color: #e2a887;
  margin-top: 0.3rem;
  font-size: 0.85rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__brand img {
  border-radius: 8px;
}

.site-footer__legal {
  border-top: 1px solid rgba(231, 221, 207, 0.18);
  margin-top: 3rem;
  padding-top: 1.6rem;
  font-size: 0.82rem;
  color: #a99d8b;
  line-height: 1.6;
}

.site-footer__legal a {
  font-size: 0.82rem;
  color: #cfc3b1;
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-bottom: 0.9rem;
}

.social-links {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(226, 168, 135, 0.14);
  color: #f0cbb3;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  background: #e2a887;
  color: #211c17;
  transform: translateY(-2px);
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--studio-ink);
  color: var(--studio-canvas);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 1040;
  font-size: 1rem;
}

.back-to-top:hover {
  background: var(--studio-clay);
  color: #fffdf9;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-consent {
  position: fixed;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 2rem));
  background: var(--studio-surface);
  color: var(--studio-ink);
  border-radius: var(--studio-radius-lg);
  border: 1px solid var(--studio-line);
  box-shadow: var(--studio-shadow);
  z-index: 1080;
  animation: consent-rise 0.55s var(--studio-ease) both;
}

@keyframes consent-rise {
  from {
    opacity: 0;
    transform: translate(-50%, 26px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookie-consent--leaving {
  animation: none;
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 1.6rem;
}

.cookie-consent__mark {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--studio-sage-soft);
  color: var(--studio-sage-ink);
  font-size: 1.2rem;
}

.cookie-consent__body {
  min-width: 0;
}

.cookie-consent__title {
  font-family: var(--studio-font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--studio-ink);
  margin: 0 0 0.35rem;
}

.cookie-consent__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--studio-ink-soft);
  margin: 0;
}

.cookie-consent__link {
  color: var(--studio-clay);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__link:hover {
  color: var(--studio-clay-deep);
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-consent__btn {
  border-radius: var(--studio-radius-pill);
  border: 0;
  font-family: var(--studio-font-body);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0.7rem 1.3rem;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-consent__btn--accent {
  background: var(--studio-clay);
  color: #fffdf9;
  box-shadow: 0 14px 26px -14px rgba(160, 78, 46, 0.9);
}

.cookie-consent__btn--accent:hover {
  background: var(--studio-clay-deep);
  transform: translateY(-1px);
}

.cookie-consent__btn--soft {
  background: transparent;
  color: var(--studio-ink-soft);
  border: 1px solid var(--studio-line-strong);
}

.cookie-consent__btn--soft:hover {
  color: var(--studio-ink);
  border-color: var(--studio-ink-soft);
  background: var(--studio-canvas-deep);
}

.price-note {
  font-size: 0.82rem;
  color: var(--studio-ink-soft);
  font-style: italic;
  margin: 0.8rem 0 0;
}

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  counter-reset: step;
}

.process-list__item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed var(--studio-line-strong);
  counter-increment: step;
}

.process-list__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.process-list__item::before {
  content: counter(step, decimal-leading-zero);
  flex-shrink: 0;
  font-family: var(--studio-font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--studio-clay);
  min-width: 2.2rem;
}

.process-list__title {
  font-family: var(--studio-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--studio-ink);
  margin-bottom: 0.25rem;
}

.process-list__text {
  font-size: 0.92rem;
  color: var(--studio-ink-soft);
  margin: 0;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.gallery-grid__cell {
  border-radius: var(--studio-radius);
  overflow: hidden;
  background: var(--studio-canvas-deep);
  position: relative;
}

.gallery-grid__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 200px;
  transition: transform 0.5s var(--studio-ease);
}

.gallery-grid__cell:hover img {
  transform: scale(1.05);
}

.gallery-grid__cell--wide {
  grid-column: span 8;
}

.gallery-grid__cell--half {
  grid-column: span 6;
}

.gallery-grid__cell--third {
  grid-column: span 4;
}

.gallery-grid__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(24, 20, 16, 0) 0%, rgba(24, 20, 16, 0.72) 100%);
  color: #fdf8f0;
  font-size: 0.88rem;
  line-height: 1.4;
}

.feature-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-check li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--studio-ink-soft);
  line-height: 1.55;
}

.feature-check li i {
  color: var(--studio-sage);
  margin-top: 0.25rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.section--ink .feature-check li {
  color: #d8ccbb;
}

.section--ink .feature-check li i {
  color: #e2a887;
}

.article-body h2 {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
}

.article-body h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
}

.article-body p {
  margin-bottom: 1.1rem;
  font-size: 1.02rem;
  line-height: 1.8;
}

.article-body ul,
.article-body ol {
  color: var(--studio-ink-soft);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.article-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fdf8f0;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.article-hero h1 {
  color: #fdf8f0;
}

.article-hero .article-hero__meta {
  color: #e9d5c0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.thankyou-panel {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: var(--studio-shadow);
}

.thankyou-panel__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--studio-sage-soft);
  color: var(--studio-sage-ink);
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
  font-size: 2rem;
}

.legal-body h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.legal-body h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.legal-body p,
.legal-body li {
  color: var(--studio-ink-soft);
  font-size: 0.97rem;
  line-height: 1.8;
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--studio-ink-soft);
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .carousel-item {
  position: relative;
  min-height: clamp(32rem, 88vh, 54rem);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slider .carousel-item__content {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  padding-block: clamp(4rem, 10vw, 8rem);
  color: #faf6ef;
}

.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(253, 248, 240, 0.6);
  border: 0;
  opacity: 1;
}

.hero-slider .carousel-indicators .active {
  background: #fdf8f0;
  transform: scale(1.2);
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 3.2rem;
  height: 3.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253, 248, 240, 0.14);
  border-radius: 50%;
  opacity: 0.9;
  transition: background 0.25s ease;
}

.hero-slider .carousel-control-prev {
  left: 1.2rem;
}

.hero-slider .carousel-control-next {
  right: 1.2rem;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  background: rgba(253, 248, 240, 0.28);
}

@media (max-width: 991.98px) {
  .site-header__contact {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.2rem;
    background: var(--studio-surface);
    border-bottom: 1px solid var(--studio-line);
    box-shadow: var(--studio-shadow-sm);
  }

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

  .site-nav__toggle {
    display: inline-flex;
  }

  .cookie-consent__inner {
    grid-template-columns: auto 1fr;
    gap: 1rem 1.2rem;
  }

  .cookie-consent__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

@media (max-width: 767.98px) {
  .cookie-consent__inner {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 1.3rem 1.3rem;
  }

  .cookie-consent__mark {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .cookie-consent__actions {
    grid-column: auto;
    justify-content: stretch;
  }

  .cookie-consent__btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

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

  .hero__actions .btn-clay,
  .hero__actions .btn-clay-outline {
    justify-content: center;
  }

  .gallery-grid__cell--wide,
  .gallery-grid__cell--half,
  .gallery-grid__cell--third {
    grid-column: span 12;
  }

  .timetable thead {
    display: none;
  }

  .timetable,
  .timetable tbody,
  .timetable tr,
  .timetable td {
    display: block;
    width: 100%;
  }

  .timetable tr {
    border-bottom: 1px solid var(--studio-line);
    padding: 0.4rem 0;
  }

  .timetable td {
    border-bottom: 0;
    padding: 0.4rem 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================================================
   FIX: .btn-clay / .btn-clay-outline are used on <a> elements WITHOUT the
   Bootstrap .btn base class, so they inherited the global link colour
   (--studio-clay) and had a transparent background -> failed contrast.
   Render the real button surface explicitly from the existing variables.
   ========================================================================== */
.btn-clay,
.btn-clay-outline {
  border-style: solid;
  border-width: 1px;
}

.btn-clay,
a.btn-clay {
  color: var(--bs-btn-color, #fffdf9);
  background-color: var(--bs-btn-bg, var(--studio-clay));
  border-color: var(--bs-btn-border-color, var(--studio-clay));
}

.btn-clay:hover,
a.btn-clay:hover,
.btn-clay:focus-visible,
a.btn-clay:focus-visible {
  color: var(--bs-btn-hover-color, #fffdf9);
  background-color: var(--bs-btn-hover-bg, var(--studio-clay-deep));
  border-color: var(--bs-btn-hover-border-color, var(--studio-clay-deep));
}

.btn-clay-outline,
a.btn-clay-outline {
  color: var(--bs-btn-color, var(--studio-ink));
  background-color: transparent;
  border-color: var(--bs-btn-border-color, var(--studio-line-strong));
}

.btn-clay-outline:hover,
a.btn-clay-outline:hover,
.btn-clay-outline:focus-visible,
a.btn-clay-outline:focus-visible {
  color: var(--bs-btn-hover-color, var(--studio-ink));
  background-color: var(--bs-btn-hover-bg, var(--studio-canvas-deep));
  border-color: var(--bs-btn-hover-border-color, var(--studio-ink-soft));
}

/* ==========================================================================
   FIX: AOS reveals started at opacity 0, so text could be measured/read
   mid-fade (very low contrast). Keep revealed content fully opaque; the
   animation becomes a no-op instead of a contrast hazard.
   ========================================================================== */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition-property: none !important;
  animation: none !important;
}

/* --- Button rendering + contrast fixes (appended overrides) --- */
.btn-clay {
  background: var(--studio-clay);
  border: 1px solid var(--studio-clay);
  color: #fffdf9;
  text-decoration: none;
}

.btn-clay:hover,
.btn-clay:focus-visible {
  background: var(--studio-clay-deep);
  border-color: var(--studio-clay-deep);
  color: #fffdf9;
}

.btn-clay-outline {
  background: transparent;
  border: 1px solid var(--studio-line-strong);
  color: var(--studio-ink);
  text-decoration: none;
}

.btn-clay-outline:hover,
.btn-clay-outline:focus-visible {
  background: var(--studio-canvas-deep);
  border-color: var(--studio-ink-soft);
  color: var(--studio-ink);
}

/* Buttons placed over the dark hero photo need light text on a solid ground */
.hero .btn-clay,
.hero__actions .btn-clay {
  background: var(--studio-clay);
  border-color: var(--studio-clay);
  color: #fffdf9;
}

.hero .btn-clay:hover,
.hero__actions .btn-clay:hover {
  background: var(--studio-clay-deep);
  border-color: var(--studio-clay-deep);
  color: #fffdf9;
}

.hero .btn-clay-outline,
.hero__actions .btn-clay-outline {
  background: rgba(33, 28, 23, 0.55);
  border-color: rgba(253, 248, 240, 0.72);
  color: #fdf8f0;
}

.hero .btn-clay-outline:hover,
.hero .btn-clay-outline:focus-visible,
.hero__actions .btn-clay-outline:hover,
.hero__actions .btn-clay-outline:focus-visible {
  background: #fdf8f0;
  border-color: #fdf8f0;
  color: var(--studio-ink);
}

/* Inline success state used when the contact form is handled client-side */
.form-success {
  background: var(--studio-surface);
  border: 1px solid var(--studio-line);
  border-radius: var(--studio-radius-lg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
}

.form-success p {
  color: var(--studio-ink-soft);
}

/* ============================================================
   Contrast + stability fixes (appended overrides)
   ============================================================ */

/* AOS sets opacity:0 / translate on [data-aos] elements; if the
   reveal never finishes (below-the-fold, reduced motion, slow paint)
   text is measured/rendered as a translucent blend of itself and the
   background, which destroys contrast. Keep the elements fully opaque
   and in their final position at all times. */
[data-aos],
[data-aos].aos-animate {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Slightly deeper body copy for comfortable AA contrast on the
   warm canvas backgrounds. */
p {
  color: #4c4338;
}

/* Small uppercase labels need more weight of colour. */
.eyebrow {
  color: var(--studio-clay-deep);
}

/* ...but they stay light where the backdrop is dark. */
.hero__eyebrow,
.section-photo .eyebrow,
.section--ink .eyebrow {
  color: #f4d8c2;
}

/* The clay buttons are plain anchors, not Bootstrap .btn elements, so
   the --bs-btn-* variables never applied. Declare real values. */
.btn-clay {
  color: #fffdf9;
  background-color: var(--studio-clay);
  border: 1px solid var(--studio-clay);
  text-decoration: none;
}

.btn-clay i,
.btn-clay svg {
  color: inherit;
}

.btn-clay:hover,
.btn-clay:focus-visible {
  color: #fffdf9;
  background-color: var(--studio-clay-deep);
  border-color: var(--studio-clay-deep);
}

.btn-clay-outline {
  color: var(--studio-ink);
  background-color: transparent;
  border: 1px solid var(--studio-line-strong);
  text-decoration: none;
}

.btn-clay-outline i,
.btn-clay-outline svg {
  color: inherit;
}

.btn-clay-outline:hover,
.btn-clay-outline:focus-visible {
  color: var(--studio-ink);
  background-color: var(--studio-canvas-deep);
  border-color: var(--studio-ink-soft);
}

/* Outline buttons sitting on photo/dark backdrops. */
.hero__actions .btn-clay-outline,
.section-photo .btn-clay-outline,
.section--ink .btn-clay-outline {
  color: #fdf8f0;
  background-color: transparent;
  border-color: rgba(253, 248, 240, 0.62);
}

.hero__actions .btn-clay-outline:hover,
.hero__actions .btn-clay-outline:focus-visible,
.section-photo .btn-clay-outline:hover,
.section-photo .btn-clay-outline:focus-visible,
.section--ink .btn-clay-outline:hover,
.section--ink .btn-clay-outline:focus-visible {
  color: #211c17;
  background-color: #fdf8f0;
  border-color: #fdf8f0;
}

/* Buttons inside dark sections: make sure the solid variant keeps
   enough separation from the section background. */
.section--ink .btn-clay,
.section-photo .btn-clay {
  color: #fffdf9;
  background-color: var(--studio-clay);
  border-color: var(--studio-clay);
}

/* ==========================================================================
   FIX: eyebrow labels were clay (#a04e2e) on the deeper canvas (#ece0d0):
   4.45:1, just under 4.5. Use the deeper clay for light sections and keep
   light tones on photo/dark sections.
   ========================================================================== */
.eyebrow {
  color: var(--studio-clay-deep);
}

.hero .eyebrow,
.hero__eyebrow {
  color: #f1d0b8;
}

.section-photo .eyebrow,
.article-hero .eyebrow {
  color: #f6dac3;
}

/* ==========================================================================
   FIX: .stats-strip inside the dark section inherited the light-section ink
   colours (ink / ink-soft) -> ~1.03:1 and 2.27:1. Use the on-dark palette.
   ========================================================================== */
.section--ink .stats-strip__value {
  color: #fdf8f0;
}

.section--ink .stats-strip__label {
  color: #d8ccbb;
}

/* ==========================================================================
   FIX: outline buttons sitting on the darkened photo band rendered dark ink
   on a dark photo. Mirror the hero treatment so they stay light on dark.
   ========================================================================== */
.section-photo .btn-clay-outline,
.section-photo a.btn-clay-outline,
.article-hero .btn-clay-outline,
.article-hero a.btn-clay-outline {
  --bs-btn-color: #fdf8f0;
  --bs-btn-border-color: rgba(253, 248, 240, 0.6);
  --bs-btn-hover-color: var(--studio-ink);
  --bs-btn-hover-bg: #fdf8f0;
  --bs-btn-hover-border-color: #fdf8f0;
}

/* ==========================================================================
   FIX: gallery caption sat on a weak gradient (sampled 3.37:1). Deepen the
   scrim and add a soft shadow so the label always reads on the photo.
   ========================================================================== */
.gallery-grid__caption {
  background: linear-gradient(180deg, rgba(18, 15, 12, 0) 0%, rgba(18, 15, 12, 0.78) 55%, rgba(18, 15, 12, 0.92) 100%);
  color: #fdf8f0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   FIX (page: hatha-yoga-archarios-n6): contact labels used --studio-ink-mute
   (#857c70) on the warm canvas -> 3.66:1. Deepen the label colour.
   ========================================================================== */
.contact-info__label {
  color: #6b6155;
}

/* ==========================================================================
   FIX: form placeholders (#9b9185) on the surface card were 3.05:1.
   ========================================================================== */
.form-control::placeholder,
.form-select::placeholder,
textarea.form-control::placeholder {
  color: #6b6155;
  opacity: 1;
}

/* ==========================================================================
   FIX: .section-photo p turns every paragraph light, which also hit the
   feature list items and the quote card sitting on the light surface.
   Keep the on-photo text light and the card text dark.
   ========================================================================== */
.section-photo .feature-check li {
  color: #f4ece0;
}

.section-photo .feature-check li i {
  color: #f6dac3;
}

.section-photo .quote-block .quote-block__text,
.section-photo .quote-block .quote-block__name {
  color: #241f1a;
}

.section-photo .quote-block .quote-block__meta {
  color: #4c4338;
}

.section-photo .quote-block .quote-block__mark {
  color: var(--studio-clay-deep);
}

/* ==========================================================================
   FIX: .contact-info__label used --studio-ink-mute (#857c70) on the light
   surface #fffdf9 -> 4.04:1, below the 4.5:1 AA threshold for small text.
   Use the deeper soft ink so the small uppercase labels read comfortably.
   ========================================================================== */
.contact-info__label {
  color: var(--studio-ink-soft);
}

/* ==========================================================================
   FIX: text inside the dark timetable section sits on the light table
   surface (--studio-surface) but inherited the on-dark ink colour
   (#efe5d6 -> 1.23:1). Re-state the readable palette for the table only.
   ========================================================================== */
.section--ink .timetable tbody,
.section--ink .timetable td {
  color: #3f372e;
}

.section--ink .timetable .timetable__time,
.section--ink .timetable .timetable__class {
  color: var(--studio-ink);
}

.section--ink .timetable .timetable__teacher {
  color: var(--studio-ink-soft);
}

/* ==========================================================================
   FIX: form placeholders used #9b9185 (3.05:1 on the light form surface).
   Darken them to a comfortable AA level.
   ========================================================================== */
.form-control::placeholder,
.form-select::placeholder {
  color: #6a6157;
  opacity: 1;
}

/* ==========================================================================
   FIX: the hero copy and buttons are painted straight onto photographs.
   Wherever the photo is bright (or the image is still loading on mobile),
   light text lost contrast. Give the slide a guaranteed dark ground plus a
   slightly stronger scrim, and render the hero buttons on solid, opaque
   surfaces so their labels never blend into the photo.
   ========================================================================== */
.hero-slider .carousel-item {
  background-color: #1b1713;
}

.hero-slider .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 15, 12, 0.72) 0%, rgba(18, 15, 12, 0.62) 100%);
}

.hero-slider .carousel-item__content {
  position: relative;
  z-index: 2;
}

.hero-slider .carousel-item__content .hero__title,
.hero-slider .carousel-item__content .hero__lead,
.hero-slider .carousel-item__content .hero__eyebrow {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero-slider .carousel-item__content a.btn-clay {
  color: #fffdf9;
  background-color: var(--studio-clay);
  border: 1px solid var(--studio-clay);
}

.hero-slider .carousel-item__content a.btn-clay:hover,
.hero-slider .carousel-item__content a.btn-clay:focus-visible {
  color: #fffdf9;
  background-color: var(--studio-clay-deep);
  border-color: var(--studio-clay-deep);
}

.hero-slider .carousel-item__content a.btn-clay-outline {
  color: #fdf8f0;
  background-color: #211c17;
  border: 1px solid rgba(253, 248, 240, 0.72);
}

.hero-slider .carousel-item__content a.btn-clay-outline:hover,
.hero-slider .carousel-item__content a.btn-clay-outline:focus-visible {
  color: #211c17;
  background-color: #fdf8f0;
  border-color: #fdf8f0;
}

/* ==========================================================================
   FIX (page: vinyasa-flow-dynamiko-w4): gallery captions sampled ~3.8:1
   against bright photo areas. Give the label its own opaque ground so it
   always reads at AA regardless of the image behind it.
   ========================================================================== */
.gallery-grid__caption {
  background: linear-gradient(180deg, rgba(12, 10, 8, 0) 0%, rgba(12, 10, 8, 0.9) 45%, rgba(12, 10, 8, 0.97) 100%);
  color: #fffdf9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

/* ==========================================================================
   FIX: The long Greek hero headline broke out of its container on narrow
   viewports (clipped mid-word at the right edge). Let the heading wrap and
   break inside words if a single word is wider than the available space.
   ========================================================================== */
.hero-slider .carousel-item__content,
.hero-slider .carousel-item__content .hero__title {
  min-width: 0;
  max-width: 100%;
}

.hero-slider .carousel-item__content .hero__title {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

@media (max-width: 575.98px) {
  .hero-slider .carousel-item__content .hero__title {
    font-size: clamp(1.9rem, 8.5vw, 2.6rem);
    letter-spacing: -0.01em;
  }
}

/* ==========================================================================
   FIX: The hero slide is vertically centred, so on short mobile viewports the
   cookie dialog covered the last line of the heading. Align the slide content
   to the top on small screens and add a little breathing room at the end of
   the block so the copy clears overlays/banners.
   ========================================================================== */
@media (max-width: 767.98px) {
  .hero-slider .carousel-item {
    align-items: flex-start;
  }

  .hero-slider .carousel-item__content {
    padding-block: clamp(1.75rem, 6vw, 2.75rem) 1.75rem;
  }

  .hero-slider .carousel-item__content .hero__title {
    margin-bottom: 1rem;
    line-height: 1.12;
  }
}

/* ==========================================================================
   FIX: The gallery uses a 12-column grid, but the cells are placed in DOM
   order (8 + 4 + 4 + 6 + 6 = 28 columns), so rows overflow: the tall cells
   of the following row (which stretch to the tallest cell of that row) grow
   past their row and slide underneath the captions of the row above.
   Give every row a predictable height: each cell adopts the aspect ratio of
   its image, so a "wide"/"half"/"third" cell of the same row shares a single
   height and nothing can spill over its neighbour's caption.
   ========================================================================== */
.gallery-grid__cell img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-grid__cell--wide img {
  aspect-ratio: 16 / 10;
}

@media (max-width: 767.98px) {
  .gallery-grid__cell img,
  .gallery-grid__cell--wide img {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   FIX (service/article hero): on narrow viewports `.hero` keeps its tall
   min-height (32rem) while `background-position: center` crops the photo to a
   thin vertical slice, so the copy was painted straight over the subject of
   the image. On small screens align the hero block to the top, reduce its
   height, anchor the photo to the upper part of the image (where the subject
   is not) and give the content a scrim-free readable ground by deepening the
   existing overlay a little. Desktop and the split layouts are untouched.
   ========================================================================== */
@media (max-width: 767.98px) {
  .hero {
    align-items: flex-start;
    min-height: clamp(26rem, 76vh, 34rem);
    background-position: center 22%;
  }

  .hero__content {
    padding-block: clamp(2rem, 7vw, 2.75rem) clamp(3rem, 9vw, 4rem);
    max-width: 100%;
    min-width: 0;
  }

  .hero__title {
    overflow-wrap: break-word;
    line-height: 1.12;
  }

  .hero__lead {
    max-width: 100%;
  }

  .hero__scroll-hint {
    bottom: 1rem;
  }
}
