@font-face {
  font-family: Onest;
  src: url("fonts/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Onest;
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191-2193,U+2212,U+FEFF,U+FFFD;
}
@font-face {
  font-family: Anticva;
  src: url("fonts/anticva.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #13273f;
  --navy: #13273f;
  --chalk: #faf7f1;
  --sky: #e8d9c0;
  --accent: #e8d9c0;
  --wine: #4e0000;
  --muted: #5c6168;
  --rule: #c9c2b7;
  --gutter: clamp(18px, 5vw, 80px);
  --space: clamp(50px, 8vw, 114px);
  --radius: 8px;
  --text: Onest, Arial, sans-serif;
  --serif: Anticva, Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--chalk); color: var(--ink); font: 400 1rem/1.6 var(--text); }
:where(h1,h2,h3,p,figure,blockquote,dl,dd) { margin: 0; }
:where(h1,h2,h3) { line-height: .99; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
button { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .23em; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: 16px; }

.wrap { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
.skip { position: fixed; z-index: 4; top: 12px; left: 12px; padding: 11px 16px; background: var(--chalk); transform: translateY(-150%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { position: relative; z-index: 2; background: var(--ink); color: var(--chalk); border-bottom: 1px solid #ffffff2b; }
.header-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto auto; gap: clamp(10px, 2vw, 30px); align-items: center; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; text-decoration: none; }
.brand img { width: 54px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-lockup { display: grid; align-content: center; gap: 2px; text-align: left; }
.brand--header .brand-lockup { align-content: center; }
.brand--header .brand-name { line-height: 1; transform: translateY(1px); }
.brand-name { display: block; font: 400 26px/.95 var(--serif); letter-spacing: -.025em; white-space: nowrap; }
.brand-sub { display: block; font: 450 9.5px/1.2 var(--text); letter-spacing: .045em; white-space: nowrap; }
.primary-nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 4px clamp(11px, 1.4vw, 22px); }
.primary-nav a, .header-cta { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .91rem; font-weight: 530; }

.header-cta { justify-self: end; color: var(--accent); }

.menu-toggle { display: none; }
.primary-nav :is(.mobile-home, .mobile-nav-cta) { display: none; }
.header-social { display: flex; gap: 2px; flex: 0 0 auto; }
.header-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; text-decoration: none; border-radius: 50%; }
.header-social a > svg:not(.external-icon) { flex: 0 0 auto; width: 26px; height: 26px; }
.header-social a:first-child > svg:not(.external-icon) { width: 29px; height: 26px; }
.header-social a:hover { color: var(--accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 51px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--wine);
  color: var(--chalk);
  font-size: .93rem;
  font-weight: 650;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.button:hover { background: #701d21; }
.button:focus-visible { outline-color: var(--navy); }
.underline { display: inline-flex; align-items: center; min-height: 44px; font-weight: 620; }

.kicker { margin-bottom: 12px; font-size: .86rem; font-weight: 570; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(530px, 44vw, 720px);
  background: #13273f;
  color: var(--chalk);
}
.hero-media { position: absolute; z-index: -3; inset: 0 0 0 31%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; }
.hero-media { inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.35s ease; }
.hero-media .hero-slide--portrait { left: 26%; width: 74%; mask-image: linear-gradient(90deg, transparent, #000 30%); filter: none; }
.hero-media .hero-slide:not(.hero-slide--portrait) { left: auto; right: 0; width: auto; max-width: none; height: 100%; object-fit: fill; object-position: right top; mask-image: linear-gradient(90deg, transparent 12%, #000 45%), linear-gradient(180deg, transparent 0, #000 42px, #000 calc(100% - 36px), transparent); mask-composite: intersect; }
.hero-slide.is-active { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 93%, #79182b24 100%); mix-blend-mode: color; }
.hero-slides:not([hidden]) { display: flex; }
.hero-slides { position: absolute; bottom: 12px; right: var(--gutter); gap: 3px; align-items: center; }
.hero-slides button { display: grid; place-items: center; width: 36px; height: 44px; padding: 0; border: 0; color: var(--sky); background: transparent; cursor: pointer; }
.slide-stroke { position: relative; display: block; overflow: hidden; width: 24px; height: 2px; background: #e8d9c044; border-radius: 2px; }
.slide-fill { display: block; width: 100%; height: 100%; background: currentColor; transform: scaleX(0); transform-origin: left; }

.hero-slides button:hover { color: white; }
.hero-slides button[hidden] { display: none; }
.hero-slides .slideshow-toggle { width: 32px; margin-left: 6px; opacity: .7; }
.slideshow-toggle .play-icon, .slideshow-toggle[aria-pressed="true"] .pause-icon { display: none; }
.slideshow-toggle[aria-pressed="true"] .play-icon { display: block; }
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #13273f 23%, #13273fdb 37%, transparent 67%),
              linear-gradient(0deg, #13273fd1 1%, transparent 46%);
}
.hero-light { position: absolute; z-index: -2; inset: -20% -15%; background: linear-gradient(108deg, transparent 45%, #e8d9c033 53%, transparent 61%); transform: translateX(60%); opacity: 0; pointer-events: none; animation: light-cross 1.65s ease-out .14s both; }
@keyframes light-cross { 0% { transform: translateX(-35%); opacity: 0; } 32% { opacity: .8; } 100% { transform: translateX(48%); opacity: 0; } }
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 26%);
  gap: 20px;
  align-items: end;
  padding-block: clamp(108px, 12vw, 175px) 76px;
}
.hero-copy { animation: enter .76s cubic-bezier(.2,.6,.25,1) both; }
@keyframes enter { from { transform: translateY(14px); opacity: .55; } to { transform: none; opacity: 1; } }
.hero-kicker { margin: 0 0 23px 2px; font-size: clamp(1rem, 1.45vw, 1.35rem); font-weight: 560; }
.hero h1 {
  font: 400 clamp(2.2rem, 5vw, 4.8rem)/1.1 var(--serif);
  letter-spacing: -.033em;
  text-wrap: initial;
}
.hero-line { display: block; white-space: nowrap; }
.hero-description { margin-top: clamp(16px, 2.7vw, 36px); max-width: 470px; font-size: clamp(1rem, 1.44vw, 1.24rem); }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: clamp(15px, 2.4vw, 32px); }
.hero-action .button { background: var(--sky); color: var(--ink); }
.hero-action .button:hover { background: var(--chalk); }
.hero-action .button:focus-visible { outline-color: var(--chalk); }
.hero-free { font-size: .83rem; color: #eee6da; }
.hero-signature { position: absolute; right: var(--gutter); bottom: 35px; width: clamp(180px, 24vw, 350px); padding: 0; color: #e8d9c0; }
.hero-signature svg { display: block; width: 100%; overflow: visible; }
.hero-signature path { animation: trace-signature 1.2s ease-out .26s both; }
.hero-signature path:nth-child(4) { animation-delay: .55s; }
.hero-signature path:nth-child(5) { animation-delay: .76s; }
@keyframes trace-signature { from { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .6; } to { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 1; } }



.marquee { --marquee-cycle: 34s; position: relative; display: flex; align-items: stretch; background: var(--sky); color: var(--ink); border-bottom: 1px solid #13273f49; }
.marquee--brand { background: #f0e7d9; color: var(--navy); border-block: 1px solid #d4c4ab; }
.marquee-window { flex: 1; min-width: 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee[data-animated] .marquee-track { animation: dance-loop calc(var(--marquee-cycle) * var(--marquee-length-ratio, 1)) linear infinite; }
.marquee--brand[data-animated] .marquee-track { animation-direction: reverse; }
.marquee[data-paused] .marquee-track { animation-play-state: paused; }
.marquee-sequence { display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; min-width: 100vw; }
.marquee-sequence span { position: relative; display: flex; flex: 1 0 auto; align-items: center; justify-content: center; min-height: 48px; padding-inline: clamp(18px, 2.2vw, 36px); font-size: clamp(.88rem, 1.34vw, 1.16rem); font-weight: 720; white-space: nowrap; }
.marquee-sequence span::before { content: ""; position: absolute; inset-inline-start: 0; width: 12px; height: 1px; background: currentColor; transform: translateX(-50%) rotate(-58deg); }
.marquee--brand .marquee-sequence span { min-height: 54px; font-size: clamp(.93rem, 1.45vw, 1.25rem); font-weight: 610; }
.marquee-sequence:nth-child(2) { display: none; }
.marquee[data-animated] .marquee-sequence:nth-child(2) { display: flex; }
@keyframes dance-loop { to { transform: translateX(-50%); } }
.marquee:not([data-animated]) .marquee-track { width: auto; }
.marquee:not([data-animated]) .marquee-sequence { flex-wrap: wrap; justify-content: flex-start; width: 100%; min-width: 0; padding-block: 6px; }
.marquee:not([data-animated]) .marquee-sequence span { flex-grow: 0; min-height: 32px; }
.marquee--brand:not([data-animated]) .marquee-sequence { justify-content: center; padding-block: 8px; }

.group-strip { background: #f1eadd; color: var(--ink); border-bottom: 1px solid #13273f33; }
.group-strip-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.group-strip a { display: grid; gap: 2px; align-content: center; min-height: 96px; padding: 14px 20px; border-left: 1px solid #13273f55; text-decoration: none; transition: background-color .25s ease, box-shadow .25s ease; }
.group-strip a:last-child { border-right: 1px solid #13273f55; }
.group-strip a:focus-visible { outline-offset: -4px; }
@media (hover: hover) {
  .group-strip a:hover { background: #e9dfcf; }
}
.group-strip span { font-size: clamp(.78rem, 1.14vw, .97rem); font-weight: 540; }
.group-strip strong { font-size: clamp(1.02rem, 2.2vw, 1.9rem); line-height: 1.12; font-weight: 650; letter-spacing: -.028em; }

.section { padding-block: var(--space); }
.section h2, .welcome h2 {
  font-size: clamp(1.6rem, 3.1vw, 2.8rem);
  font-family: var(--text);
  font-weight: 560;
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: initial;
}
.section p:not(.kicker), .section address { color: var(--muted); }
.home-program, .welcome-inner, .home-review, .studio-grid, .contact-grid, .first-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(23px, 6vw, 105px);
}
.home-program > div > p:not(.kicker), .studio-grid > div > p:not(.kicker) { margin-block: 13px 10px; }
.home-review-quote blockquote p { font: 540 clamp(1.25rem, 2.15vw, 1.9rem)/1.38 var(--text); color: var(--navy); }
.home-review-quote .underline { margin-top: 8px; }
.styles { border-top: 1px solid var(--rule); }
.styles > div { padding: 15px 0; border-bottom: 1px solid var(--rule); }
.styles dt { font-size: clamp(1.02rem, 1.8vw, 1.46rem); font-weight: 600; line-height: 1.2; }
.styles dd { margin-top: 4px; color: var(--muted); }
.welcome { background: var(--sky); }
.welcome-inner { padding-block: clamp(35px, 5.5vw, 86px); }
.welcome-inner > div > p:not(.kicker) { margin-bottom: 16px; }
.welcome .styles { border-color: #13273f55; }
.welcome .styles > div { border-color: #13273f55; }

.page-intro { background: var(--navy); color: var(--chalk); padding-block: clamp(35px, 5.9vw, 85px) clamp(34px, 4.3vw, 65px); }
.page-intro h1 { font: 400 clamp(2.1rem, 4.8vw, 4.4rem)/1.08 var(--serif); letter-spacing: -.025em; text-wrap: initial; }
.page-intro .kicker { color: var(--sky); }
.intro-copy { margin-top: clamp(14px, 1.6vw, 25px); max-width: 710px; font-size: clamp(1rem, 1.65vw, 1.35rem); }
.content { padding-block: clamp(30px, 5.8vw, 80px); }
.class-list, .schedule-list { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.class-row:last-child, .schedule-row:last-child { border-bottom: 0; }
.schedule-row:nth-child(even):not(:target) { background: #f0e7d933; }
.schedule-row > div > p { color: var(--muted); font-size: .85rem; font-weight: 500; }
.class-row, .schedule-row {
  display: grid;
  grid-template-columns: minmax(0, .37fr) minmax(0, 1.2fr) max-content;
  gap: 16px clamp(16px, 3vw, 50px);
  align-items: center;
  padding: clamp(15px, 2.6vw, 37px) clamp(12px, 2.1vw, 29px);
  border-bottom: 1px solid var(--rule);
}
.class-row:target, .schedule-row:target { border-radius: 0; border-bottom-color: var(--rule); background: #eee4d5; }
.class-row, .schedule-row { scroll-margin-top: clamp(80px, 12vh, 128px); }
.class-row h2, .schedule-row h2, .contact-grid h2, .first-grid h2 {
  font-size: clamp(1.3rem, 2.3vw, 2.1rem);
  font-family: var(--text);
  font-weight: 560;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.class-row p { margin-top: 8px; }
.class-age { font-weight: 700; font-size: clamp(.95rem, 1.8vw, 1.45rem); }
.schedule-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.schedule-row h2 { margin-top: 6px; }
.schedule-row ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; }
.schedule-row li { border-left: 1px solid var(--rule); padding-inline: clamp(7px, 1.7vw, 25px) 0; }
.schedule-row li span { display: block; font-size: clamp(.73rem, 1.32vw, .95rem); color: var(--muted); }
.schedule-row li strong { font-size: clamp(.8rem, 2vw, 1.65rem); font-weight: 735; letter-spacing: -.045em; white-space: nowrap; }
.schedule-note { margin-block: 20px 15px; }
.reviews-intro { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .55fr); align-items: end; gap: 14px 32px; padding-block: clamp(40px, 6vw, 82px) clamp(22px, 3vw, 43px); }
.reviews-intro h1 { color: var(--navy); font: 400 clamp(2rem, 4vw, 3.6rem)/1.08 var(--serif); letter-spacing: -.025em; }
.reviews-intro > p { color: var(--muted); }
.reviews-content { padding-bottom: clamp(45px, 6vw, 85px); }
.reviews-list { display: grid; grid-template-columns: minmax(0, 1.16fr) repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 45px); }
.reviews-list figure { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-width: 0; padding-block: clamp(17px, 2.3vw, 31px); border-top: 1px solid var(--rule); }
.reviews-list figure:first-child { position: relative; grid-row: span 2; justify-content: flex-start; padding: clamp(18px, 3vw, 41px); background: #f0e7d9; border: 0; border-radius: var(--radius); color: var(--navy); }
.reviews-list figure:first-child::before { content: "“"; display: block; height: 44px; color: #9d7461; font: 400 5.2rem/.85 Georgia, serif; }
.reviews-list figure:first-child::after { content: ""; position: absolute; bottom: 0; left: -6px; width: 13px; height: 13px; background: inherit; clip-path: polygon(0 100%, 65% 23%, 100% 100%); }
.reviews-list blockquote p { color: inherit; font: 525 clamp(1rem, 1.5vw, 1.28rem)/1.48 var(--text); }
.reviews-list figure:first-child blockquote p { font: 555 clamp(1.28rem, 2.25vw, 2.05rem)/1.29 var(--text); letter-spacing: -.03em; }
.reviews-list figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 10px; color: var(--muted); font-size: .84rem; }
.reviews-list figure:first-child figcaption { margin-top: auto; }
.review-source { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #4e0000; text-decoration: none; }
.review-source svg:not(.external-icon) { width: 25px; height: 25px; padding: 5px; border-radius: 50%; background: #e8d9c0; }

.reviews-source { margin-top: 18px; color: var(--muted); font-size: .87rem; }
.media-frame { position: relative; isolation: isolate; margin: 0; border-radius: var(--radius); }
.media-frame > :is(img, video) { display: block; width: 100%; border-radius: inherit; }
.studio-image { padding: clamp(10px, 1.3vw, 18px); background: var(--navy); box-shadow: 0 18px 38px #13273f1c, 0 2px 6px #13273f08; }
.studio-print-caption { position: relative; height: clamp(16px, 1.5vw, 22px); color: var(--sky); }
.studio-print-signature { position: absolute; z-index: 1; right: 3px; bottom: -8px; width: clamp(104px, 10vw, 132px); color: var(--sky); filter: drop-shadow(0 1px 2px #13273f66); }
.studio-print-signature svg { display: block; width: 100%; height: auto; }
.studio-photo {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  border: 1px solid #e8d9c02b;
  border-radius: 4px;
}
.studio-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 73% 50%; }
.studio-photo::after {
  content: "";
  position: absolute;
  inset: -15%;
  background: linear-gradient(108deg, transparent 36%, #101d3866 46%, #dbe7ff38 54%, transparent 66%);
  opacity: 0;
  pointer-events: none;
}
.studio-photo[data-revealed]::after { animation: light-cross 1.65s ease-out .14s both; }
.studio-grid h2 { font: 560 clamp(1.7rem, 3vw, 2.7rem)/1.14 var(--text); letter-spacing: -.03em; }
.links, .footer-social { display: flex; flex-wrap: wrap; gap: 0 19px; }
.links a, .footer-social a { display: inline-flex; align-items: center; min-height: 44px; }
.end-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 19px; }
.address-card { border-radius: var(--radius); padding: clamp(16px, 3.7vw, 46px); background: var(--sky); }
.address-card address { margin-block: 12px 17px; font-style: normal; }
.address-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 25px; }
.contact-social ul { margin: 13px 0 0; padding: 0; list-style: none; }
.contact-social li { border: 0; }
.contact-social li a { display: inline-flex; width: fit-content; align-items: center; min-height: 50px; }
.contact-qr { display: grid; grid-template-columns: clamp(106px, 35%, 144px) minmax(0, 1fr); align-items: center; gap: clamp(12px, 2vw, 24px); margin-top: 17px; padding: clamp(12px, 2vw, 22px); border: 0; border-radius: var(--radius); background: #f0e7d9; }
.contact-qr-code { position: relative; display: block; padding: 5px; border: 0; border-radius: var(--radius); background: #fff; }
.contact-qr-code img { width: 100%; height: auto; }
.contact-qr strong { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--navy); font-size: .98rem; }
.contact-qr strong svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-qr p { margin-top: 6px; font-size: .88rem; }
.route-section { border-radius: var(--radius); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 24px clamp(24px, 6vw, 86px); margin-bottom: var(--space); padding: clamp(24px, 4vw, 48px); background: #f0e7d9; }
.route-section h2 { font: 560 clamp(1.5rem, 2.4vw, 2.1rem)/1.15 var(--text); letter-spacing: -.025em; }
.route-section p { color: var(--muted); }
.route-section .kicker { margin: 0 0 17px; }
.route-copy > p:first-child { max-width: 440px; margin: 0 0 12px; }
.route-copy .route-note { margin-bottom: 12px; font-size: .82rem; }
.route-copy .route-media { margin-top: 20px; max-width: 300px; }
.route-media { width: calc(100% - 8px); }
.route-media video { max-height: 420px; background: var(--ink); }
.visit-steps { margin-block: 20px; padding-inline-start: 23px; }
.visit-steps li + li { margin-top: 9px; }
.faq h2 { margin-bottom: 15px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; min-height: 62px; cursor: pointer; font-weight: 550; list-style: none; transition: color .25s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--wine); }
.faq-chevron { flex: 0 0 auto; width: 22px; height: 22px; color: var(--muted); transition: transform .32s cubic-bezier(.22,.61,.36,1), color .25s ease; }
.faq details[open]:not([data-expanded="false"]) .faq-chevron { transform: rotate(180deg); color: var(--navy); }
.faq details p { padding: 0 40px 20px 0; line-height: 1.65; }
.footer { color: var(--chalk); background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: minmax(170px,1fr) minmax(260px,1.4fr) minmax(145px,1fr) max-content; align-items: start; gap: 24px 32px; padding-block: 24px; }
.footer-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-identity, .footer-inner > .footer-social { align-self: center; }
.footer-label { margin: 0 0 6px; color: #e8d9c099; font-size: .7rem; line-height: 1.5; font-weight: 500; letter-spacing: .025em; }
.footer-address { margin: 0; font-size: .78rem; line-height: 1.6; color: #e8dfd0; }
.footer-address span { display: flex; align-items: center; min-height: 26px; }
.footer-street { white-space: nowrap; }
.footer-venue { margin: 0; color: #e8dfd0b3; font: inherit; }
.footer-legal { display: flex; flex-direction: column; align-items: flex-start; gap: 0; color: #e8dfd0; font-size: .78rem; line-height: 1.6; font-weight: 500; }
.footer-legal a, .cookie-settings { display: inline-flex; align-items: center; min-height: 26px; padding: 0; border: 0; border-radius: 0; background: none; color: inherit; font: inherit; cursor: pointer; white-space: nowrap; }
.footer-legal :is(a,button) .link-label { --line-width: 0%; padding-bottom: 1px; box-shadow: none; background: linear-gradient(currentColor,currentColor) 50% 100% / var(--line-width) 1px no-repeat; transition: background-size .4s cubic-bezier(.2,.65,.3,1); }
.footer-legal :is(a,button):is(:hover,:focus-visible) .link-label, .footer-legal a[aria-current] .link-label { --line-width: 100%; }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 12px; padding-block: 16px; text-align: center; }
  .footer-identity { align-items: center; }
  .footer-address span { justify-content: center; }
  .footer-legal { align-items: center; }
  .footer-inner > .footer-social { justify-content: center; }
}
.page--privacy .page-intro h1 { font-size: clamp(1.5rem,8vw,4.4rem); }

@media (max-width: 1200px) {
  .header { --menu-header-height: 65px; }
  .header[data-menu-open] { border-bottom-color: transparent; }
  .header-inner { grid-template-columns: max-content minmax(0,1fr) 44px; grid-template-rows: 64px auto; min-height: 64px; gap: 0 14px; }
  .header-cta { display: none; }
  .header-social { grid-column: 2; grid-row: 1; justify-self: end; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 0; margin-inline: calc(-1 * var(--gutter)); padding: 15px max(var(--gutter), calc((100vw - 560px) / 2)) 24px; border: 0; border-bottom: 1px solid #e8d9c033; background-color: #13273f; background-image: linear-gradient(180deg, #13273f 0%, #233c53 18%, #2b455c 44%, #233c53 68%, #13273f 100%); background-size: 100% 100%; color: var(--chalk); }
  .primary-nav a { position: relative; justify-content: center; min-height: 58px; padding: 10px 18px; border: 0; font-size: 1.25rem; text-align: center; }
  .primary-nav a[aria-current] { color: var(--sky); }
  .primary-nav a:focus-visible { outline-offset: -4px; }
  .primary-nav :is(.mobile-home, .mobile-nav-cta) { display: flex; }
  .primary-nav .mobile-nav-cta { grid-column: 1 / -1; justify-self: center; width: fit-content; min-height: 48px; margin-top: 12px; padding: 10px 24px; border: 1px solid #e8d9c040; border-radius: var(--radius); background: transparent; color: var(--sky); font-size: 1.05rem; font-weight: 500; transition: background-color .25s, border-color .25s, color .25s; }
  .primary-nav .mobile-nav-cta[aria-current] { color: var(--chalk); }
  .header[data-menu] .menu-toggle { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff4a; border-radius: var(--radius); background: #ffffff0c; cursor: pointer; }
  .menu-toggle path { transform-origin: 12px 12px; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] path:first-child { transform: rotate(45deg) translateY(4px); }
  .menu-toggle[aria-expanded="true"] path:last-child { transform: rotate(-45deg) translateY(-4px); }
  .header[data-menu] .primary-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    max-height: calc(100dvh - var(--menu-header-height));
    margin-inline: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 14px 28px #06162940;
  }
  .header[data-menu] .menu-toggle[aria-expanded="true"] + .primary-nav { display: grid; animation: menu-enter .16s ease-out; }
}


@keyframes menu-enter { from { opacity: .65; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (hover: hover) and (max-width: 1200px) {
  .header[data-menu] .menu-toggle:hover { background: #ffffff1c; }
  .primary-nav a:hover { color: var(--sky); }
  .primary-nav .mobile-nav-cta:hover { background: #ffffff08; border-color: #e8d9c073; color: var(--chalk); }
}

@media (min-width: 721px) and (max-width: 1200px) {
  .primary-nav { grid-template-columns: minmax(0,1fr); }
}

@media (max-width: 720px) {
  .primary-nav a { justify-content: center; min-height: 60px; font-size: 1.25rem; text-align: center; }
}

@media (max-width: 359px) {
  .header { --menu-header-height: 65px; --gutter: 12px; }
  .header .header-inner { grid-template-columns: minmax(0,1fr) auto 40px; grid-template-rows: 64px auto; gap: 0 6px; }
  .header .brand { gap: 6px; }
  .header .brand img { width: 34px; height: 28px; }
  .header .brand-name { font-size: 20px; }
  .header[data-menu] .menu-toggle { grid-column: 3; width: 40px; }
  .header-social { grid-column: 2; grid-row: 1; justify-self: end; }
  .header-social a { width: 40px; }
}

@media (max-width: 880px) {
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(100px, 24%); }
  .reviews-intro { grid-template-columns: minmax(0,1fr); }
  .reviews-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .reviews-list figure:first-child { grid-row: auto; grid-column: 1 / -1; margin-bottom: 18px; }
}

@media (max-width: 680px) {
  .header-inner { gap: 0 9px; }
  .hero { min-height: 0; }
  .hero-media { inset: 0 0 auto; height: clamp(270px, 72vw, 490px); }
  .hero-media .hero-slide--portrait { left: 0; width: 100%; mask-image: linear-gradient(#000 66%, transparent); }
  .hero-media .hero-slide:not(.hero-slide--portrait) { object-fit: cover; object-position: right 42%; mask-image: linear-gradient(180deg, transparent 0, #000 24px, #000 66%, transparent); }
  .hero-media img { object-position: 62% 50%; mask-image: linear-gradient(#000 66%, transparent); }
  .hero::after { background: linear-gradient(0deg, #13273f 35%, #13273fcf 53%, transparent 88%); }
  .hero-content { grid-template-columns: minmax(0,1fr); gap: 17px; padding-top: clamp(166px, 46vw, 310px); padding-bottom: 59px; }
  .hero h1 { font-size: clamp(1.8rem, 9.6vw, 3.7rem); }

  .hero-signature { display: none; }
  .group-strip-inner { width: min(100% - 2 * var(--gutter), 1360px); }
  .group-strip a { min-height: 86px; padding-inline: 8px; align-content: start; }
  .group-strip span { display: flex; align-items: flex-end; min-height: 2.6em; line-height: 1.3; }
  .group-strip a:first-child { border-left: 0; }
  .group-strip a:last-child { border-right: 0; }
  .home-program, .welcome-inner, .home-review, .studio-grid, .contact-grid, .first-grid { grid-template-columns: minmax(0, 1fr); }
  .class-row, .schedule-row { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .class-row p { margin-top: 5px; }
  .reviews-list { grid-template-columns: minmax(0,1fr); }
  .address-actions { flex-direction: column; align-items: flex-start; }
  .schedule-row li:first-child { border-left: 0; padding-left: 0; }
  .schedule-row li strong { font-size: clamp(.85rem, 3.2vw, 1.25rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Text links keep one line; navigation reveals the same line on hover/current. */
a { text-decoration: none; transition: color .3s ease; }
.link-label { --line-width: 0%; position: relative; box-shadow: inset 0 -1px rgba(19,39,63,.26); background: linear-gradient(var(--wine),var(--wine)) 50% 100% / var(--line-width) 1px no-repeat; padding-bottom: 1px; transition: background-size .4s cubic-bezier(.2,.65,.3,1); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
main a:not(.button) .link-label { display: inline-block; max-width: 100%; }
a:is(:hover,:focus-visible) .link-label { --line-width: 100%; }
:is(.primary-nav,.header-social,.footer-social) .link-label, .header-cta .link-label { --line-width: 0%; box-shadow: none; background: linear-gradient(currentColor,currentColor) 50% 100% / var(--line-width) 1px no-repeat; }
:is(.primary-nav,.header-social,.footer-social) a:is(:hover,:focus-visible) .link-label, .header-cta:is(:hover,:focus-visible) .link-label, .primary-nav a[aria-current] .link-label { --line-width: 100%; }
.button .link-label, .button:is(:hover,:focus-visible) .link-label, .mobile-nav-cta .link-label { background: none; box-shadow: none; padding-bottom: 0; }
:is(.primary-nav,.header-social) a:is(:hover,:focus-visible) .link-label, .header-cta:is(:hover,:focus-visible) .link-label { box-shadow: none; }
.footer-social { gap: 10px; }
.footer-social a { justify-content: center; width: 44px; height: 44px; border-radius: 50%; }
.footer-social svg { width: 26px; height: 26px; }
.footer-social a:first-child svg { width: 29px; }
.footer-social a:hover { color: var(--sky); }
.external-icon { display: inline-block; flex: 0 0 auto; width: 13px; height: 13px; margin-inline-start: 6px; opacity: .5; vertical-align: -.05em; transition: opacity .3s ease, transform .3s ease; }
a:hover > .external-icon { opacity: .9; }
.header-social .external-icon { width: 11px; height: 11px; margin-left: 0; }
.contact-social li a { gap: 8px; }
.contact-social li a .external-icon { margin-left: 0; }
.contact-qr-code .external-icon { position: absolute; top: -6px; right: -6px; padding: 2px; width: 19px; height: 19px; margin: 0; border-radius: 50%; background: var(--chalk); opacity: .85; }
.route-symbol { display: grid; justify-items: center; color: var(--wine); }
.route-symbol svg { width: min(100%, 140px); }
.route-symbol span { font-size: .75rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 1200px) {
}
@media (max-width: 680px) {
  .route-section { grid-template-columns: minmax(0,1fr); }
  .route-symbol { display: none; }
}

/* Text links keep a single subtle underline; icon-only navigation stays clean. */
.header-social a .link-label { box-shadow: none; background: none; }
.header-social a, .header-social svg { box-shadow: none; text-decoration: none; }


@media (max-width: 460px) {
  .brand { gap: 9px; }
  .brand img { width: 46px; height: 34px; }
  .brand-lockup { gap: 2px; }
  .brand-name { font-size: 23px; line-height: .95; }
  .brand-sub { font-size: 9px; line-height: 1.2; }
}

.marquee:focus-visible { outline: 2px solid var(--navy); outline-offset: -3px; }

.class-row:last-child:target, .schedule-row:last-child:target { border-bottom: 0; }

/* Keep every external arrow in the same inline flex box as its label. */
a[href^="https://"]:not(.contact-qr-code) { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; vertical-align: baseline; }
a[href^="https://"] > .link-label { min-width: 0; }
a[href^="https://"]:not(.contact-qr-code) > .external-icon { margin-inline-start: 0; }
:is(.header-social,.footer-social) a { transition: color .25s ease; }
:is(.header-social,.footer-social) a:is(:hover,:focus-visible) { color: var(--sky); }

.button { position: relative; isolation: isolate; overflow: hidden; }
.button::after { content: ""; position: absolute; pointer-events: none; inset: -50% -100%; z-index: -1; opacity: 0; transform: translateX(-55%) rotate(-18deg); background: linear-gradient(90deg, transparent 40%, #ffffff04 44%, #ffffff30 49%, #ffffff0a 54%, transparent 59%); }
@media (hover: hover) {
  .button:hover::after { animation: button-light 1.7s cubic-bezier(.2,.65,.35,1) both; }
}
.button:focus-visible::after { animation: button-light 1.7s cubic-bezier(.2,.65,.35,1) both; }
@keyframes button-light { 0% { opacity: 0; transform: translateX(-55%) rotate(-18deg); } 15% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateX(55%) rotate(-18deg); } }
.cookie-notice { position: fixed; inset: auto 24px 24px auto; width: min(460px, calc(100% - 32px)); z-index: 100; padding: 24px; border-radius: var(--radius); border: 1px solid #13273f26; background: var(--chalk); color: var(--ink); box-shadow: 0 12px 50px #06101b26; }
.cookie-notice[hidden] { display: none; }
.cookie-notice h2 { margin: 0 0 10px; font: 600 1.05rem/1.3 Onest, sans-serif; }
.cookie-notice p { margin: 0 0 18px; font-size: .86rem; line-height: 1.6; }
.cookie-notice .button { min-height: 44px; padding: 10px 24px; background: var(--navy); }
.cookie-notice .cookie-status { margin: 12px 0 0; font-size: .8rem; }
.cookie-status:empty { display: none; }
.privacy-copy { max-width: 820px; }
.privacy-copy h2 { margin-top: 36px; }
.privacy-copy h2:first-child { margin-top: 0; }
.privacy-copy p { line-height: 1.75; }
@media (max-width: 680px) {
  .cookie-notice { right: 16px; bottom: 16px; padding: 20px; max-height: calc(100dvh - 32px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .button::after { animation: none !important; }
}
