:root {
  --editor-offset: 0px;
  --paper: #f7f7f7;
  --paper-deep: #ededed;
  --ink: #20211f;
  --muted: #606460;
  --line: #d0d2ce;
}
html.editor-active {
  --editor-offset: 46px;
}
@media (max-width: 700px) {
  html.editor-active { --editor-offset: 68px; }
}
.v4 #site-editor-bar,
.v4 #site-editor-cancel {
  background: #fafafa;
}
.v4 .schedule-filters input,
.v4 .schedule-filters select {
  background: #fcfcfc;
}
.v4 .lesson-trial {
  width: 44px;
  height: 44px;
}
.v4 .lesson {
  grid-template-columns: 55px minmax(90px, 1fr) auto 44px;
}
.v4 .day-list button {
  min-height: 44px;
}
.v4 .small-note {
  font-size: 11px;
}
@media (max-width: 700px) {
  .v4 .schedule-filters input,
  .v4 .schedule-filters select {
    font-size: 16px;
  }
  .v4 .v3-hero-bottom > p {
    font-size: 11px;
  }
  .v4 .v3-plan > summary > strong {
    font-size: clamp(27px, 6vw, 36px);
  }
  .v4 .lesson {
    grid-template-columns: 43px minmax(85px, 1fr) 44px;
  }
  .v4 .lesson time {
    grid-column: 1;
    grid-row: 1;
  }
  .v4 .lesson-info {
    grid-column: 2;
    grid-row: 1;
  }
  .v4 .lesson-access {
    grid-column: 2;
    grid-row: 2;
  }
  .v4 .lesson-trial {
    grid-column: 3;
    grid-row: 1/3;
  }
}

/* Dedicated venue pages keep the same V3 composition and shared components. */
.venue-switch {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px var(--gutter) 5px;
}
.venue-switch a {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 11px;
  line-height: 1.6;
}
.venue-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.venue-switch a:hover {
  border-color: var(--ink);
}
.v4.venue-page .venue-hero .v3-hero-visual > img {
  object-position: center;
}
.v4.venue-page .venue-hero .v3-hero-statement {
  font-size: clamp(62px, 7vw, 108px);
  padding-bottom: clamp(28px, 3vw, 44px);
}
.v4.venue-page .venue-hero .v3-hero-visual::after {
  background: linear-gradient(180deg, #11170e12, #11170e35 50%, #11170e80);
}
.venue-hero .v3-hero-bottom > .v3-pill {
  color: #f7f7f7;
  border-color: #f7f7f7;
}
.v4.venue-page .venue-section {
  padding: 35px var(--gutter) 55px;
}
.venue-section-heading {
  text-align: center;
  margin-bottom: 35px;
}
.venue-section-heading > .eyebrow {
  margin-bottom: 20px;
  color: var(--muted);
}
.v4 .venue-section-heading h2 {
  font-size: clamp(38px, 4.5vw, 64px);
}
.venue-section-heading > p:not(.eyebrow) {
  max-width: 500px;
  margin: 22px auto 0;
  font-size: 13px;
  color: var(--muted);
}
.venue-activity-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  padding: 25px 0 30px;
}
.venue-activity-content > p {
  max-width: 650px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
html.accordion-hint-running {
  scroll-snap-type: none !important;
  overflow-anchor: none;
}
.v4.venue-page .venue-section.venue-panel.accordion-section-hint {
  min-height: var(--hint-section-height);
  padding-top: var(--hint-content-top);
  justify-content: flex-start;
}
.venue-page .accordion-hint:not([open]) > summary > :is(.v3-plan-plus, span:last-child) {
  animation: accordion-nudge var(--hint-duration) cubic-bezier(0.4, 0, 0.6, 1) var(--hint-repeats);
}
@keyframes accordion-nudge {
  0%, 100% { transform: rotate(0); }
  35%, 65% { transform: rotate(12deg); }
}
@supports selector(details::details-content) {
  .venue-page .accordion-hint:not([open])::details-content {
    position: relative;
    content-visibility: visible;
    overflow: hidden;
    pointer-events: none;
    block-size: 0;
    animation: accordion-reveal var(--hint-duration) cubic-bezier(0.4, 0, 0.6, 1) var(--hint-repeats);
  }
  .venue-page .accordion-hint > :is(.venue-activity-content, .v3-plan-content),
  .venue-page .accordion-hint > dl > div:first-child {
    padding-top: 0;
  }
}
@keyframes accordion-reveal {
  0%, 100% { block-size: 0; opacity: 0; }
  30%, 70% { block-size: 64px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .venue-page details.accordion-hint,
  .venue-page details.accordion-hint::details-content,
  .venue-page .accordion-hint > summary > :is(.v3-plan-plus, span:last-child) {
    animation: none;
  }
}
.venue-gallery {
  --gallery-media-height: 330px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.venue-gallery figure {
  display: grid;
  grid-template-rows: var(--gallery-media-height) auto;
  margin: 0;
  min-width: 0;
}
.venue-gallery :is(img, video) {
  display: block;
  width: 100%;
  height: var(--gallery-media-height);
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  background: #20211f;
}
.venue-gallery figcaption {
  font: 10px/1.7 var(--mono);
  margin-top: 14px;
  color: var(--muted);
}
.venue-hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.venue-hours-grid h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.venue-hours {
  margin: 0;
  font-size: 14px;
}
.venue-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.venue-hours dd {
  font: 14px/1.7 var(--mono);
  margin: 0;
  white-space: nowrap;
}
.venue-hours-notes p {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0;
}
.venue-hours-notes .text-link {
  font-size: 12px;
}
.v4.venue-page .venue-schedule {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: 20px 0 0;
}
.venue-schedule .day-list {
  border-bottom: 0;
}
.venue-schedule-notes {
  margin-top: 24px;
}
.venue-schedule-notes > p {
  margin: 8px 0 0;
  color: var(--muted);
}
.venue-page .venue-disclaimer {
  margin-top: 26px;
  padding: 24px 28px;
  border-radius: 24px;
  background: #ededed;
  color: var(--muted);
}
.venue-disclaimer > h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font: 700 12px/1.5 var(--body);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.venue-page .venue-disclaimer > .small-note {
  margin: 8px 0 0;
  max-width: none;
}
@media (max-width: 700px) {
  .venue-page .venue-disclaimer {
    padding: 22px;
  }
}
.venue-full-prices {
  margin-top: 65px;
  padding-top: 50px;
}
.venue-price-group {
  border-bottom: 1px solid var(--line);
}
.venue-price-group:last-child {
  border-bottom: 0;
}
.venue-page #pricing-grid > .v3-plan:last-child {
  border-bottom: 0;
}
.venue-page #attivita > .venue-activity:last-child {
  border-bottom: 0;
}
.venue-price-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.venue-price-group h3 {
  font: 400 clamp(25px, 2.8vw, 38px) / 1.2 var(--display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.venue-price-group > summary > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  line-height: 1;
  color: var(--venue-accent);
  font-size: 26px;
  transition: transform 0.25s;
}
.venue-price-group > summary > span > .site-icon {
  width: 26px;
  height: 26px;
  vertical-align: 0;
}
.venue-price-group dl {
  max-width: 850px;
  margin: 0 0 26px;
}
.venue-price-group dl > div {
  display: grid;
  grid-template-columns: 1fr minmax(90px, 0.55fr);
  gap: 35px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.venue-price-group dd {
  margin: 0;
  font: 700 13px/1.8 var(--body);
  text-align: right;
}
.venue-full-prices > .small-note {
  margin-top: 25px;
  max-width: 900px;
}
.venue-page #pricing-note {
  margin-top: 8px;
}
.v4.venue-page .venue-first-visit {
  border-top: 1px solid var(--line);
  margin-top: 25px;
  padding-bottom: 70px;
}
@media (max-width: 900px) {
  .venue-gallery {
    --gallery-media-height: 250px;
  }
  .venue-activity-content {
    gap: 20px;
  }
  .venue-activity-content .v3-pill {
    white-space: nowrap;
  }
}
@media (max-width: 700px) {
  .venue-switch {
    gap: 8px;
  }
  .venue-switch a {
    padding: 10px 13px;
    font-size: 10px;
  }
  .v4.venue-page .venue-section {
    padding-top: 25px;
    padding-bottom: 40px;
  }
  .venue-activity-content {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .venue-activity-content > .v3-pill {
    justify-self: start;
  }
  .venue-gallery {
    --gallery-media-height: 320px;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .venue-hours-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .venue-hours {
    font-size: 13px;
  }
  .venue-hours dd {
    font-size: 12px;
  }
  .v4.venue-page .venue-hero .v3-hero-statement {
    font-size: clamp(46px, 14.8vw, 58px);
  }
  .venue-hero .v3-hero-bottom > .v3-pill {
    min-height: 44px;
    font-size: 10px;
    padding: 9px 13px;
    gap: 12px;
  }
  .venue-full-prices {
    margin-top: 45px;
    padding-top: 35px;
  }
  .venue-price-group dl > div {
    gap: 18px;
    font-size: 12px;
    grid-template-columns: 1fr minmax(80px, 0.65fr);
  }
  .venue-price-group dd {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .venue-price-group > summary > span {
    transition: none;
  }
}

@media (max-width: 360px) {
  .venue-hero .v3-hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* The V4 home only introduces the two venues; details live on their own pages. */
.v4-home .site-header {
  justify-content: space-between;
}
.v4-home .site-header > .eyebrow {
  color: var(--muted);
}
.v4 .v4-home-intro {
  padding-top: 21px;
}
.v4 .v4-home-intro h1 {
  font-size: clamp(58px, 6.4vw, 86px);
  margin-bottom: 30px;
}
.v4-home-venues {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 0 var(--gutter);
  align-items: end;
}
.v4-home-venue {
  display: block;
  min-width: 0;
  border-radius: 30px 30px 0 0;
}
.v4-home-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(330px, 29vw, 440px);
  border-radius: 30px;
  background: var(--ink);
  color: #f7f7f7;
}
.v4-home-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease);
}
.v4-home-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b100d99, #0b100db3 65%, #0b100d99);
  pointer-events: none;
}
.v4-home-photo-copy {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 20px;
  right: 20px;
  transform: translateY(-55%);
  text-align: center;
}
.v4 .v4-home-photo h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.02;
}
.v4-home-enter {
  position: absolute;
  z-index: 1;
  left: auto;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font: 600 11px/1.4 var(--body);
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.v4-home-enter > span {
  display: inline-flex;
  font-size: 19px;
  transition: transform 0.3s var(--ease);
}
.v4-home-venue:hover .v4-home-photo > img {
  transform: scale(1.035);
}
.v4-home-venue:hover .v4-home-enter > span,
.v4-home-venue:focus-visible .v4-home-enter > span {
  transform: translate(3px, -3px);
}
.v4-home-venue-info {
  margin-top: 14px;
  color: #f7f7f7;
  text-shadow: 0 1px 3px #0008;
}
.v4-home-venue-info > p:first-child {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}
.v4 .v4-home-venue-info > .eyebrow {
  color: #f7f7f7;
  font-size: 10px;
}
.v4-home-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 27px var(--gutter);
  color: var(--muted);
}
.v4-home-footer > a {
  font-size: 11px;
  padding: 8px 0;
}
.v4-home-footer > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 700px) {
  .v4-home .site-header {
    height: 64px;
  }
  .v4-home .site-header > .eyebrow {
    font-size: 9px;
  }
  .v4 .v4-home-intro {
    padding-top: 16px;
  }
  .v4 .v4-home-intro > .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }
  .v4 .v4-home-intro h1 {
    font-size: clamp(42px, 9.8vw, 62px);
    margin-bottom: 23px;
  }
  .v4-home-venues {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .v4-home-photo {
    height: clamp(280px, 46vw, 320px);
    border-radius: 23px;
  }
  .v4-home-photo-copy {
    top: 22px;
    left: 20px;
    right: 20px;
    transform: none;
    text-align: left;
  }
  .v4 .v4-home-photo h2 {
    font-size: 38px;
  }
  .v4-home-enter {
    right: 20px;
    bottom: 16px;
    padding: 8px 14px;
    font-size: 10px;
  }
  .v4-home-venue-info {
    margin-top: 12px;
  }
  .v4-home-venue-info > p:first-child {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .v4 .v4-home-venue-info > .eyebrow {
    font-size: 10px;
  }
  .v4-home-footer {
    flex-wrap: wrap;
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 8px 18px;
  }
  .v4-home-footer > .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .v4-home-photo {
    height: 280px;
  }
  .v4 .v4-home-photo h2 {
    font-size: 34px;
  }
  .v4-home-venues {
    gap: 16px;
  }
  .v4-home-venue-info > p:first-child {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v4-home-photo > img,
  .v4-home-enter > span {
    transition: none;
  }
}
html:has(body.v4-home) {
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--editor-offset);
}
.v4-home {
  --home-panel-height: calc(100svh - var(--editor-offset));
}
.v4-home .v3-page-shell {
  overflow: visible;
}
.v4-home-block {
  min-height: var(--home-panel-height);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin: 0;
}
.v4-choice-block {
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
}
.v4-home .site-header {
  position: relative;
  top: auto;
  flex-shrink: 0;
}
.v4-choice-block .v4-home-venues {
  flex: 1;
  align-content: start;
  padding-top: 20px;
}
.v4-history {
  position: relative;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 65px var(--gutter);
  border-top: 1px solid var(--line);
}
.v4-history-intro {
  text-align: center;
}
.v4-history-intro .eyebrow {
  margin-bottom: 25px;
  color: var(--muted);
}
.v4 .v4-history h2 {
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.04;
}
.v4-history-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 55px 0 0;
  padding: 0;
}
.v4-history-timeline li {
  padding: 22px 0 0;
  border-top: 1px solid var(--ink);
}
.v4-history-date {
  display: flex;
  align-items: center;
  min-height: 85px;
  font: 400 70px/1.1 var(--display);
  letter-spacing: -0.035em;
  margin-bottom: 15px;
}
.v4-history-timeline h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.v4-history-timeline p {
  font-size: 12px;
  color: var(--muted);
}
.v4 .v4-home-footer {
  color: #f7f7f7;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 48px var(--gutter) 28px;
}
.v4-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.v4-footer-top img {
  filter: brightness(0) invert(1);
  width: 105px;
}
.v4 .v4-home-footer h2 {
  line-height: 1.06;
}
.v4-footer-columns {
  display: grid;
}
.v4-footer-columns .eyebrow {
  margin-bottom: 20px;
  color: #b8bfb1;
}
.v4-footer-columns p:not(.eyebrow),
.v4-footer-columns a {
  font-size: 13px;
  line-height: 1.8;
}
.v4-footer-columns a {
  display: block;
  margin: 10px 0;
}
.v4-home-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.v4-home-footer :focus-visible {
  outline-color: #d4ed61;
}
.v4-footer-end {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff40;
  padding-top: 22px;
  font-size: 11px;
  color: #b8bfb1;
}
@media (max-width: 700px) {
  .v4-choice-block {
    padding-bottom: 0;
  }
  .v4-history {
    padding-top: 40px;
  }
  .v4-history-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .v4 .v4-history h2 {
    font-size: 45px;
  }
  .v4-history-timeline {
    grid-template-columns: 1fr;
    margin: 15px 0 20px;
  }
  .v4-history-timeline li {
    border-top: 0;
    border-left: 1px solid #9eb1a1;
    padding: 0 0 24px 25px;
  }
  .v4-history-timeline li::before {
    top: 9px;
    left: -5px;
  }
  .v4-history-timeline li:last-child {
    padding-bottom: 0;
    border-color: transparent;
  }
  .v4-history-date {
    font-size: 28px;
    margin-bottom: 5px;
  }
  .v4-history-timeline h3 {
    font-size: 15px;
  }
  .v4 .v4-home-footer {
    padding-top: 35px;
    gap: 25px;
  }
  .v4 .v4-home-footer h2 {
    font-size: clamp(38px, 8vw, 56px);
  }
  .v4-footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0;
  }
  .v4-footer-columns .eyebrow {
    margin-bottom: 8px;
  }
  .v4-footer-columns a {
    margin: 5px 0;
  }
  .v4-footer-end {
    flex-wrap: wrap;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.v4-home) {
    scroll-behavior: auto;
  }
}
html:has(body.v4-home.editor-active) {
  scroll-snap-type: none;
}

/* Full-width archive film, with the same charcoal as the footer. */

.v4-home .v4-home-film {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 0;
  padding: 0;
  background: #20211f;
  color: #f7f7f7;
}

.v4-home .v4-home-film video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 400/188;
  object-fit: contain;
  background: #20211f;
  border: 0;
  filter: saturate(0.6) contrast(1.08) brightness(0.92);
}
.v4-home-film :focus-visible {
  outline-color: #d4ed61;
}

.v4-footer-top .brand img {
  mix-blend-mode: normal;
}
@media (max-width: 700px) {
  .v4-history {
    padding: 45px var(--gutter);
  }
  .v4 .v4-history h2 {
    font-size: 44px;
  }
  .v4-history-timeline {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 25px;
  }
  .v4-history-timeline li {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 18px 0 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 5px 18px;
  }
  .v4-history-timeline li:last-child {
    border-color: var(--line);
  }
  .v4-history-timeline li::before {
    display: none;
  }
  .v4-history-date {
    grid-row: 1/3;
    min-height: 55px;
    font-size: 45px;
    margin: 0;
    padding: 0;
  }
  .v4-history-timeline h3 {
    margin: 0;
    align-self: end;
  }
  .v4-history-timeline p {
    grid-column: 2;
  }
}

.site-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  background-color: currentColor;
  mask: var(--icon, linear-gradient(transparent, transparent)) center/contain no-repeat;
  -webkit-mask: var(--icon, linear-gradient(transparent, transparent)) center/contain no-repeat;
}
.site-icon[data-icon="calendar-dots"] {
  --icon: url("/assets/icons/phosphor/calendar-dots-bold.svg");
}
.site-icon[data-icon="tag"] {
  --icon: url("/assets/icons/phosphor/tag-bold.svg");
}
.site-icon[data-icon="image-square"] {
  --icon: url("/assets/icons/phosphor/image-square-bold.svg");
}
.site-icon[data-icon="globe"] {
  --icon: url("/assets/icons/phosphor/globe-bold.svg");
}
.site-icon[data-icon="arrow-up-right"] {
  --icon: url("/assets/icons/phosphor/arrow-up-right-bold.svg");
}
.site-icon[data-icon="arrow-left"] {
  --icon: url("/assets/icons/phosphor/arrow-left-bold.svg");
}
.site-icon[data-icon="arrow-up"] {
  --icon: url("/assets/icons/phosphor/arrow-up-bold.svg");
}
.site-icon[data-icon="arrow-down"] {
  --icon: url("/assets/icons/phosphor/arrow-down-bold.svg");
}
.site-icon[data-icon="plus"] {
  --icon: url("/assets/icons/phosphor/plus-bold.svg");
}
.site-icon[data-icon="x"] {
  --icon: url("/assets/icons/phosphor/x-bold.svg");
}
.site-icon[data-icon="list"] {
  --icon: url("/assets/icons/phosphor/list-bold.svg");
}
.site-icon[data-icon="magnifying-glass"] {
  --icon: url("/assets/icons/phosphor/magnifying-glass-bold.svg");
}
.site-icon[data-icon="asterisk"] {
  --icon: url("/assets/icons/phosphor/asterisk-bold.svg");
}
.site-icon[data-icon="play"] {
  --icon: url("/assets/icons/phosphor/play-bold.svg");
}
.site-icon[data-icon="play-fill"] {
  --icon: url("/assets/icons/phosphor/play-fill.svg");
}

.v4 .v3-plan-plus::before,
.v4 .v3-plan-plus::after {
  display: none;
}
.v4 .v3-plan-plus {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 30px;
}
.v4 .v3-plan-plus .site-icon {
  width: 30px;
  height: 30px;
}
.v4 summary .site-icon[data-icon="plus"],
.v4 button[aria-expanded] .site-icon[data-icon="plus"] {
  transition: transform 0.25s var(--ease);
}
/* Rotate the glyph once, without the legacy summary wrapper rotation. */
.v4 details[open] > summary > span:has(> .site-icon[data-icon="plus"]) {
  transform: none;
}
.v4 details[open] > summary .site-icon[data-icon="plus"],
.v4 button[aria-expanded="true"] .site-icon[data-icon="plus"] {
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .v4 summary .site-icon[data-icon="plus"],
  .v4 button[aria-expanded] .site-icon[data-icon="plus"] {
    transition: none;
  }
}
.v4 .v3-star.site-icon {
  width: 61px;
  height: 61px;
}
.v4 .v3-plan-star.site-icon {
  width: 38px;
  height: 38px;
}
.v4 .menu-toggle .site-icon {
  width: 24px;
  height: 24px;
  margin: 0;
  background-color: currentColor;
  transform: none !important;
}
.v4 .menu-toggle[aria-expanded="true"] .site-icon {
  --icon: url("/assets/icons/phosphor/x-bold.svg");
}
.v4 .search-field .site-icon {
  position: absolute;
  top: 14px;
  left: 11px;
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.v4-home.editor-active .site-header {
  top: var(--editor-offset);
}

/* Readable secondary type and optical space for Anton's punctuation. */
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-variable.ttf") format("truetype");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
.v4 {
  --body: "DM Sans", system-ui, sans-serif;
  --mono: var(--body);
  font-family: var(--body);
}
.v4 .v3-plan-amount,
.v4 .price > strong,
.v4 .price-detail dd.amount {
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: normal;
}
.v4 h1,
.v4 h2 {
  letter-spacing: -0.015em;
}
.v4 .v4-home-venue-info > .eyebrow {
  font: 300 13px/1.5 var(--body);
  text-transform: none;
  letter-spacing: 0;
}
.v4-home-venue-info {
  border-bottom: 0;
}
.v4-history {
  isolation: isolate;
  overflow: hidden;
}
.v4-history::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--history-image, url("/assets/cuneo-storia.webp")) center bottom/cover no-repeat;
  opacity: 0.24;
  mask-image: linear-gradient(to bottom, transparent 18%, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 18%, #000 100%);
}
.v4-history-timeline {
  gap: 24px;
  margin-top: 35px;
}
.v4-history-timeline > li {
  display: block;
  padding: 0;
  border: 1px solid #d0d2ce;
  border-radius: 22px;
  overflow: hidden;
  background: #f7f7f7f0;
}
.v4-history-timeline figure {
  margin: 0;
  position: relative;
}
.v4-history-timeline img {
  display: block;
  width: 100%;
  height: clamp(160px, 16vw, 235px);
  object-fit: cover;
}
.v4-history-timeline figcaption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font: 11px/1.5 var(--body);
  padding: 4px 8px;
  border-radius: 4px;
  background: #f7f7f7e8;
  color: #20211f;
}
.v4-history-card-copy {
  padding: 20px;
}
.v4-history-card-copy .v4-history-date {
  font: 400 52px/1.1 var(--display);
  min-height: 0;
  margin: 0 0 12px;
}
.v4-history-card-copy h3 {
  font-size: 17px;
  margin-bottom: 12px;
}
.v4-history-card-copy p {
  font: 400 14px/1.7 var(--body);
  color: #51574f;
}
.v4-home-film::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, #10181024 0 1px, transparent 1px 4px),
    radial-gradient(#f7f7f733 0.6px, transparent 0.8px);
  background-size:
    auto,
    3px 3px;
  opacity: 0.5;
}
.v4-studio-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font: 400 12px/1.6 var(--body);
  white-space: nowrap;
}
.v4-studio-credit .site-icon {
  width: 13px;
  height: 13px;
  color: #d4ed61;
}
.v4-studio-credit strong {
  font-weight: 600;
  color: #f7f7f7;
}
@media (max-width: 700px) {
  .v4-history-timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .v4-history-timeline > li:last-child {
    border-color: #d0d2ce;
  }
  .v4-history-timeline img {
    height: 220px;
  }
  .v4-history-card-copy {
    padding: 20px;
  }
  .v4-history-card-copy .v4-history-date {
    font-size: 48px;
  }
  .v4 .v4-home-venue-info > .eyebrow {
    font-size: 13px;
  }
}

/* Square display punctuation keeps the full stop in accessible text. */
.v4 .title-stop {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin-inline-start: 0.07em;
  padding: 0;
  vertical-align: baseline;
  background: currentColor;
  overflow: hidden;
  text-indent: -9999px;
  line-height: 0;
  letter-spacing: 0;
}

/* Extend each panel's solid background through any desktop side gutters. */
.v4-home {
  background: var(--paper);
}
.v4-home-block {
  --panel-background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--panel-background);
  clip-path: inset(0 -100vmax);
}
.v4 .v4-home-footer {
  --panel-background: #20211f;
  background: #20211f;
}

/* Shared V4 panels: same typography, snap behavior and full-width backgrounds. */
.site-icon[data-icon="biceps-flexed"] {
  --icon: url("/assets/icons/mdi/arm-flex.svg");
}
html:has(body.venue-page) {
  scroll-snap-type: y mandatory;
}
.venue-page {
  background: var(--paper);
}
.venue-page .v3-page-shell {
  overflow: visible;
}
.venue-page.editor-active .site-header {
  top: var(--editor-offset);
}
.venue-panel {
  --panel-background: var(--paper);
  min-height: var(--venue-panel-height);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  scroll-margin: 0;
  box-shadow: 0 0 0 100vmax var(--panel-background);
  clip-path: inset(0 -100vmax);
}
.v4 .v4-home-footer {
  --panel-background: #20211f;
  background: #20211f;
}
.venue-intro {
  padding-bottom: 30px;
}
.venue-page .venue-intro .venue-hero h1 {
  font-size: clamp(60px, 5.4vw, 82px);
}
.venue-page .venue-intro .v3-hero-visual {
  min-height: clamp(300px, 38svh, 430px);
}
.v4.venue-page .venue-section.venue-panel {
  padding-top: 55px;
  padding-bottom: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.venue-page .venue-first-visit {
  justify-content: center;
  margin: 0;
}
.v4.venue-page .venue-first-visit {
  --panel-background: var(--venue-accent);
  background: var(--panel-background);
  color: #fff;
}
.v4.venue-page .venue-first-visit > p,
.v4.venue-page .venue-first-visit .v3-star {
  color: inherit;
}
.v4.venue-page .venue-first-visit .v3-pill {
  color: inherit;
  border-color: currentColor;
}
.v4.venue-page .venue-first-visit .v3-pill:hover,
.v4.venue-page .venue-first-visit .v3-pill:focus-visible {
  background: #fff;
  color: var(--venue-accent);
  border-color: #fff;
}
.v4.venue-page .venue-full-prices.venue-panel {
  margin-top: 0;
}
.venue-page .venue-panel .small-note {
  font: 400 12px/1.8 var(--body);
}
.venue-page .venue-gallery figcaption {
  font: 400 12px/1.7 var(--body);
}
.venue-page #listino-completo,
.venue-page #corsi {
  scroll-margin-top: 0;
}
.venue-page .v4-home-footer {
  justify-content: space-between;
}
html:has(body.venue-page.editor-active),
html:has(body.venue-page.dialog-open) {
  scroll-snap-type: none;
}
.v4-studio-credit > a {
  color: inherit;
  text-decoration: none;
}
.v4-studio-credit > a:hover {
  text-decoration: underline;
}
@media (max-width: 700px) {
  .v4.venue-page .venue-section.venue-panel {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .venue-page .venue-intro .venue-hero h1 {
    font-size: clamp(48px, 11vw, 66px);
  }
  .venue-page .venue-intro .v3-hero-visual {
    min-height: 370px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.venue-page) {
    scroll-behavior: auto;
  }
}

.v4-home {
  --venue-panel-height: var(--home-panel-height);
}

/* Integrated venue switch and navigation. */
.venue-page {
  --venue-header-height: 78px;
  --venue-scroll-offset: calc(
    var(--editor-offset) + var(--venue-header-height)
  );
  --venue-panel-height: calc(100svh - var(--venue-scroll-offset));
}
html:has(body.venue-page) {
  scroll-padding-top: var(--venue-scroll-offset, 124px);
}
html:has(body.venue-page) {
  --venue-scroll-offset: calc(78px + var(--editor-offset));
}
.venue-page .site-header {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 22px;
  height: var(--venue-header-height);
}
.venue-page .site-header .venue-switch {
  padding: 4px;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 50px;
}
.venue-page .venue-switch a {
  border: 0;
  padding: 9px 13px;
  font: 600 11px/1.5 var(--body);
  text-transform: uppercase;
}
.venue-page .main-nav {
  justify-self: center;
}
.venue-page .main-nav a {
  font: 600 12px/1.5 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site-icon[data-icon="calendar-plus"] {
  --icon: url("/assets/icons/phosphor/calendar-plus-bold.svg");
}
.venue-page .header-cta .site-icon {
  width: 19px;
  height: 19px;
}
@media (max-width: 700px) {
  .venue-page .site-header {
    grid-template-rows: 78px;
    gap: 0 8px;
  }
  .venue-page .site-header .brand {
    grid-column: 1;
    grid-row: 1;
  }
  .venue-page .site-header .brand img {
    width: 70px;
  }
  .venue-page .header-cta {
    grid-row: 1;
    font-size: 10px;
    gap: 10px;
    padding: 9px 12px;
  }
  .venue-page .menu-toggle {
    grid-row: 1;
  }
  .venue-page .venue-switch a {
    padding: 9px 16px;
  }
}

.v4-studio-credit .site-icon[data-icon="biceps-flexed"] {
  width: 22px;
  height: 22px;
  border-radius: 0;
  background: #d4ed61;
  mask: url("/assets/icons/mdi/arm-flex.svg") center/contain no-repeat;
  -webkit-mask: url("/assets/icons/mdi/arm-flex.svg") center/contain no-repeat;
}

.venue-page .v3-pill,
.venue-page .button {
  text-transform: uppercase;
  min-height: 44px;
}
.venue-page .v3-pill:hover,
.venue-page .v3-pill:focus-visible {
  background: var(--venue-accent);
  border-color: var(--venue-accent);
  color: #fff;
}
@media (max-width: 700px) {
  .venue-page .header-cta {
    font-size: 9px;
    padding-inline: 10px;
    gap: 8px;
  }
  .venue-page .header-cta .site-icon {
    width: 16px;
    height: 16px;
  }
}
.venue-page[data-club="academy"] {
  --venue-accent: #cf2946;
}
.venue-page .v3-star,
.venue-page .v3-plan-star,
.v4.venue-page .v3-plan-plus {
  color: var(--venue-accent);
}
.venue-page .venue-activity > summary {
  grid-template-columns: minmax(0, 1fr) 44px;
}
.venue-page .v3-pill[data-trial] {
  min-height: 44px;
  padding: 10px 18px;
  gap: 16px;
  font: 600 11px/1.5 var(--body);
}
.venue-page .v3-pill[data-trial] > .site-icon {
  width: 19px;
  height: 19px;
}
@media (max-width: 700px) {
  .venue-page .header-cta[data-trial] {
    font-size: 9px;
    padding-inline: 10px;
    gap: 8px;
  }
  .venue-page .header-cta[data-trial] > .site-icon {
    width: 16px;
    height: 16px;
  }
}

.venue-page[data-club="sport"] {
  --venue-accent: #91ae43;
}
.venue-page .venue-hours-grid {
  grid-template-columns: 1.4fr 1fr;
  gap: 5%;
  padding: 0;
  border: 0;
  align-items: stretch;
}
.venue-opening {
  align-self: center;
}
.site-icon[data-icon="phone"] {
  --icon: url("/assets/icons/phosphor/phone-bold.svg");
}
.venue-hours-notes > .v3-pill .site-icon {
  width: 18px;
  height: 18px;
}
.venue-page .venue-hours > div {
  padding: 23px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.venue-page .venue-hours dt {
  font: 500 12px/1.5 var(--body);
}
.venue-page .venue-hours dd {
  font: 400 clamp(32px, 3.5vw, 52px) / 1.1 var(--display);
  letter-spacing: -0.02em;
}
.venue-hours-notes {
  border-radius: 24px;
  padding: 26px;
  background: #ededed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.venue-hours-notes > h3 {
  font: 400 32px/1.05 var(--display);
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}
.venue-staff-hours {
  width: 100%;
  margin: 0;
}
.venue-staff-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin: 8px 0;
  font: 400 12px/1.7 var(--body);
}
.venue-staff-hours dd {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}
.venue-hours-notes > p {
  font-size: 12px;
  line-height: 1.8;
  margin: 16px 0 22px;
}
.venue-hours-notes > .v3-pill {
  margin-top: auto;
  font-size: 10px;
  text-transform: uppercase;
  min-height: 44px;
}
.venue-page[data-club="academy"] .venue-hero .v3-hero-visual::after {
  background: linear-gradient(180deg, transparent, #00000008 50%, #00000070);
}
@media (max-width: 700px) {
  .venue-page .venue-hours-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .venue-page .venue-hours > div {
    padding: 19px 0;
    gap: 12px;
  }
  .venue-page .venue-hours dt {
    font-size: 10px;
  }
  .venue-page .venue-hours dd {
    font-size: 34px;
  }
  .venue-hours-notes {
    padding: 24px;
  }
}

.venue-page #pricing-grid {
  --plan-toggle-width: 44px;
  --plan-column-gap: 40px;
}
.venue-page #pricing-grid .v3-plan > summary {
  grid-template-columns: minmax(0, 1fr) auto var(--plan-toggle-width);
  gap: var(--plan-column-gap);
}
.venue-page #pricing-grid .v3-plan-content > .v3-pill {
  justify-self: end;
  margin-inline-end: calc(var(--plan-toggle-width) + var(--plan-column-gap));
}
.v4-plan-compact-price {
  font: 700 clamp(18px, 2.5vw, 28px) / 1.3 var(--body);
  white-space: nowrap;
  text-align: right;
}
.v4-plan-compact-price small {
  display: inline;
  margin-left: 6px;
  font: 400 11px/1.5 var(--body);
  color: var(--muted);
}
.v4 .v3-plan[open] > summary > .v4-plan-compact-price {
  transform: none;
}
.venue-schedule .schedule-caption[hidden] {
  display: none;
}
@media (max-width: 1200px) {
  .venue-page #pricing-grid {
    --plan-column-gap: 30px;
  }
}
@media (max-width: 700px) {
  .venue-page #pricing-grid {
    --plan-toggle-width: 30px;
    --plan-column-gap: 10px;
  }
  .venue-page #pricing-grid .v3-plan > summary > strong {
    font-size: clamp(24px, 7vw, 38px);
  }
}
.venue-pricing-heading {
  text-align: center;
  margin-bottom: 35px;
}
.venue-page .dialog-body > .section-label {
  display: none;
}

.venue-page .venue-intro .venue-hero h1 {
  margin-bottom: 15px;
}
.venue-hero-address {
  font: 400 12px/1.6 var(--body);
  margin: 0 auto 25px;
  color: var(--muted);
}
.venue-hero .v3-hero-bottom {
  justify-content: flex-end;
}
.v4-home-venue:hover .v4-home-enter,
.v4-home-venue:focus-visible .v4-home-enter {
  background: #f7f7f7;
  border-color: #f7f7f7;
  color: #20211f;
}
.v4 .trial-dialog {
  --dialog-height: calc(100dvh - 32px);
  width: 980px;
  max-width: calc(100vw - 32px);
  max-height: var(--dialog-height);
  border-radius: 26px;
}
.v4 .trial-dialog[open] {
  display: grid;
  grid-template-columns: 32% minmax(0, 1fr);
}
.v4 .trial-aside {
  min-height: 0;
  height: 100%;
}
.v4 .trial-aside > img {
  filter: none;
}
.v4 .trial-aside-logo {
  display: block;
  width: 114px;
  height: auto;
  filter: brightness(0) invert(1);
}
.v4 .trial-aside::after {
  background: linear-gradient(0deg, #20211fee, #20211f00 85%);
}
.v4 .trial-form-wrap {
  min-height: 0;
  padding: 44px 36px 32px;
}
.v4 .trial-form-wrap h2 {
  font-size: clamp(38px, 4.5vw, 54px);
  line-height: 1.05;
  text-align: center;
  margin-bottom: 24px;
}
.v4 .trial-form-wrap > p:not(.eyebrow) {
  font: 400 14px/1.6 var(--body);
  text-align: center;
  margin: 16px 0 26px;
}
.v4 .form-grid {
  gap: 18px 16px;
}
.v4 .form-grid label {
  font: 600 13px/1.5 var(--body);
}
.v4 .form-grid input,
.v4 .form-grid select,
.v4 .form-grid textarea {
  margin-top: 8px;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #d0d2cc;
  border-radius: 14px;
  background: #fff;
  font: 400 16px/1.5 var(--body);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.v4 .form-grid textarea {
  min-height: 90px;
}
.v4 .trial-dialog :focus-visible {
  outline-color: var(--ink);
}
.v4 .trial-dialog .dialog-close {
  top: 14px;
  right: 14px;
  border-radius: 100px;
  width: 36px;
  height: 36px;
}
.v4 .trial-dialog .dialog-close:hover {
  background: var(--ink);
  color: #fff;
}
.v4 .consent-field {
  font: 400 12px/1.7 var(--body);
  gap: 12px;
}
.v4 .consent-field input {
  accent-color: var(--venue-accent);
  width: 19px;
  height: 19px;
}
.v4 #trial-final-fields > .small-note {
  font: 400 12px/1.7 var(--body);
  color: var(--muted);
}
.v4 #trial-final-fields > .small-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.v4 .trial-dialog .button {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  background: var(--ink);
  color: #fff;
  font: 700 12px/1.5 var(--body);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.v4 .trial-dialog .button:hover {
  background: #383a35;
  border-color: #383a35;
  color: #fff;
}
.v4 .trial-dialog .button .site-icon {
  width: 20px;
  height: 20px;
}
.v4 .trial-review {
  border: 0;
  border-radius: 22px;
  background: #ededed;
  padding: 22px;
}
.v4 .trial-review .eyebrow {
  color: var(--ink);
  font: 700 12px/1.5 var(--body);
}
.v4 .trial-review pre {
  font: 400 14px/1.7 var(--body);
}
.v4 .trial-step,
.v4 .trial-choice-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.v4 .trial-step > .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.v4 .trial-personal-intro,
.v4 .trial-field-note {
  margin: 12px 0 16px;
  color: var(--muted);
  font: 400 13px/1.6 var(--body);
}
.v4 .trial-step-header {
  margin: 0;
}
.v4 .trial-navigation {
  position: sticky;
  bottom: -32px;
  z-index: 2;
  margin: 24px -8px -8px;
  padding: 18px 8px 8px;
  background: #f7f7f7;
}
.v4 .trial-step-status {
  margin: 0 0 12px;
  color: var(--muted);
  font: 600 11px/1.5 var(--body);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.v4 .trial-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.v4 .trial-progress li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--line);
  color: var(--muted);
  font: 500 12px/1.4 var(--body);
}
.v4 .trial-progress li > span {
  font: inherit;
  font-variant-numeric: tabular-nums;
}
.v4 .trial-progress [aria-current],
.v4 .trial-progress .is-complete {
  color: var(--ink);
}
.v4 .trial-progress [aria-current] {
  border-color: var(--ink);
  font-weight: 700;
}
.v4 .trial-progress .is-complete {
  border-color: #8d9186;
}
.v4 .trial-choice-field > legend {
  margin-bottom: 8px;
  padding: 0;
  font: 600 13px/1.5 var(--body);
}
.v4 .trial-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v4 .trial-choices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.v4 .trial-choices label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font: 400 14px/1.45 var(--body);
  transition: background-color 160ms ease, border-color 160ms ease;
}
.v4 .trial-choices label:has(input:checked) {
  border-color: var(--ink);
  background: #ededed;
}
.v4 .trial-choices input {
  display: block;
  flex: 0 0 17px;
  width: 17px;
  min-width: 0;
  min-height: 0;
  height: 17px;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
}
.v4 .trial-choices small {
  display: block;
  color: var(--muted);
  font: 400 11px/1.4 var(--body);
}
.v4 .trial-choices-days label {
  flex: 1 0 auto;
  justify-content: center;
}
.v4 .trial-followup,
.v4 #trial-final-fields > .form-grid {
  margin-top: 20px;
}
.v4 .trial-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}
.v4 .trial-controls > .button {
  flex: 1;
  margin: 0;
}
.v4 .trial-controls .trial-back {
  flex: 0 0 auto;
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.v4 .trial-controls .trial-back:hover {
  border-color: #9b9e96;
  background: #ededed;
  color: var(--ink);
}
.v4 .trial-choices label:focus-within {
  border-color: var(--ink);
}
.v4 .form-grid input:focus-visible,
.v4 .form-grid select:focus-visible,
.v4 .form-grid textarea:focus-visible {
  border-color: var(--ink);
  background: #f0f1ed;
  outline: none;
  box-shadow: 0 2px 0 var(--ink);
}
.v4 .trial-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.v4 .trial-status { margin: 16px 0; font: 600 13px/1.6 var(--body); }
.v4 .trial-status:empty { display: none; }
.v4 .trial-review .button { width: 100%; }
@media (hover: hover) {
  .v4 .form-grid input:hover,
  .v4 .form-grid select:hover,
  .v4 .form-grid textarea:hover {
    border-color: #8d9186;
  }
  .v4 .trial-choices label:hover {
    border-color: #8d9186;
    background: #f1f2ee;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v4 .trial-dialog .button,
  .v4 .trial-choices label,
  .v4 .form-grid input,
  .v4 .form-grid select,
  .v4 .form-grid textarea {
    transition: none;
  }
}
@media (max-width: 700px) {
  .v4 .trial-dialog[open] {
    display: block;
  }
  .v4 .trial-aside {
    display: none;
  }
  .v4 .trial-form-wrap {
    padding: 58px 22px 28px;
  }
  .v4 .trial-navigation { bottom: -28px; }
  .v4 .form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .v4 .trial-choices-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.v4-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.v4-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.v4-footer-end {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.v4-legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px var(--gutter);
}
.v4-legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px var(--gutter) 70px;
}
.v4-legal-content h1 {
  font-size: clamp(48px, 7vw, 82px);
  text-transform: uppercase;
}
.v4-legal-content .v4-legal-intro {
  margin: 24px 0 30px;
  font: 400 19px/1.6 var(--body);
}
.v4-legal-content .venue-disclaimer {
  padding: 22px;
  margin-bottom: 40px;
  border-radius: 22px;
  background: #ededed;
}
.v4-legal-content section {
  margin-top: 32px;
}
.v4-legal-content section h2 {
  font: 700 19px/1.4 var(--body);
  margin-bottom: 12px;
  letter-spacing: 0;
}
.v4-legal-content p {
  font: 400 15px/1.8 var(--body);
  color: var(--muted);
  overflow-wrap: anywhere;
}
.v4-legal-content p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.v4-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .v4-legal-content {
    padding-top: 30px;
  }
  .v4-footer-venue > a {
    min-height: 40px;
  }
}

.v4 .v4-home-footer {
  min-height: 0;
  justify-content: flex-start;
  padding-block: 32px 24px;
  gap: 24px;
}
.v4 .v4-home-footer h2 {
  font-size: clamp(42px, 5.5vw, 80px);
  margin: 0;
}
.v4-footer-columns {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-top: 16px;
  padding: 8px 0;
  border-top: 0;
}
.v4-footer-columns h3 {
  margin: 0 0 12px;
  font: 400 26px/1.1 var(--display);
}
.v4-footer-columns p:not(.eyebrow) {
  color: #c6c8c3;
  font: 400 14px/1.7 var(--body);
}
.v4-footer-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}
.v4-footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  flex-direction: row;
  gap: 6px;
  padding: 10px 6px;
  margin: 0;
  border: 0;
  border-radius: 100px;
  font: 600 11px/1.25 var(--body);
}
.v4-footer-actions .site-icon {
  width: 19px;
  height: 19px;
}
.v4-footer-actions small {
  display: block;
  margin-top: 3px;
  font: 400 10px/1.2 var(--body);
  white-space: nowrap;
}
.site-icon[data-icon="whatsapp"] {
  --icon: url("/assets/icons/phosphor/whatsapp-logo-bold.svg");
}
.site-icon[data-icon="email"] {
  --icon: url("/assets/icons/phosphor/envelope-simple-bold.svg");
}
.v4-footer-actions a:hover {
  background: #f7f7f7;
  color: #20211f;
}
.v4-footer-venue > a {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
}
.site-icon[data-icon="door-open"] {
  --icon: url("/assets/icons/phosphor/door-open-bold.svg");
}
.site-icon[data-icon="map-pin"] {
  --icon: url("/assets/icons/phosphor/map-pin-bold.svg");
}
.v4-footer-venue > a .site-icon {
  width: 18px;
  height: 18px;
}
.v4-footer-venue > p + a {
  margin-top: 6px;
}
@media (max-width: 700px) {
  .v4 .v4-home-footer h2 {
    font-size: clamp(36px, 9vw, 56px);
  }
  .v4-footer-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 22px;
  }
  .v4-footer-contact {
    grid-column: 1 / -1;
  }
  .v4-footer-columns h3 {
    font-size: 23px;
    margin-bottom: 12px;
  }
  .v4-footer-columns p:not(.eyebrow) {
    font-size: 13px;
  }
  .v4-footer-actions a {
    font-size: 10px;
  }
  .v4-footer-actions .site-icon {
    width: 16px;
    height: 16px;
  }
}
.venue-schedule .day-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}
.v4 .venue-schedule .day-list button {
  min-height: 44px;
  margin: 0;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 100px;
  font: 400 19px/1 var(--display);
  letter-spacing: 0;
}
.v4 .venue-schedule .day-list button[aria-pressed="true"],
.v4 .venue-schedule .day-list button:hover {
  background: var(--venue-accent);
  border-color: var(--venue-accent);
  color: #fff;
}
.venue-schedule .schedule-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.4fr);
  gap: 18px;
  margin: 28px 0 20px;
}
.schedule-filter-label {
  display: block;
  margin-bottom: 9px;
  font: 700 11px/1.5 var(--body);
  letter-spacing: 0.03em;
}
.v4 .venue-schedule .schedule-filters input,
.v4 .venue-schedule .schedule-filters select {
  min-height: 50px;
  max-width: none;
  font: 400 15px/1.5 var(--body);
  background: #fff;
}
.v4 .venue-schedule .search-field .site-icon {
  top: 43px;
  left: 16px;
  width: 17px;
  height: 17px;
}
.venue-schedule .search-field input {
  padding-left: 43px;
}
.v4 .venue-schedule .lesson {
  grid-template-columns: 86px minmax(0, 1fr) auto 110px;
  gap: 22px;
  padding: 24px 0;
}
.venue-schedule .lesson:last-child {
  border-bottom: 0;
}
.v4 .venue-schedule .lesson time {
  font: 700 22px/1.2 var(--body);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.v4 .venue-schedule .lesson h3 {
  font: 400 clamp(25px, 3vw, 36px) / 1.12 var(--display);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.v4 .venue-schedule .lesson-info > span {
  margin-top: 8px;
  font: 400 12px/1.5 var(--body);
  text-transform: none;
  letter-spacing: 0;
}
.v4 .venue-schedule .lesson-access {
  font: 400 12px/1.5 var(--body);
}
.v4 .venue-schedule .lesson-info > .lesson-meta {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font: 400 12px/1.5 var(--body);
  overflow-wrap: anywhere;
}
.v4 .venue-schedule .lesson-trial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 110px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  font: 700 11px/1 var(--body);
}
.venue-schedule .lesson-trial .site-icon {
  width: 19px;
  height: 19px;
}
.v4 .venue-schedule .lesson-trial:hover,
.v4 .venue-schedule .lesson-trial:focus-visible {
  background: var(--venue-accent);
  border-color: var(--venue-accent);
  color: #fff;
}
.v4 .venue-schedule .schedule-more {
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  margin-top: 20px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font: 600 13px/1.4 var(--body);
}
.venue-schedule .empty-results {
  padding: 28px 0;
  font: 400 15px/1.7 var(--body);
}
@media (max-width: 700px) {
  .v4 .venue-schedule .day-list button {
    min-height: 44px;
    font-size: 17px;
  }
  .venue-schedule .day-list {
    gap: 5px;
  }
  .venue-schedule .schedule-filters {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .v4 .venue-schedule .schedule-filters input,
  .v4 .venue-schedule .schedule-filters select {
    font-size: 16px;
  }
  .v4 .venue-schedule .lesson {
    grid-template-columns: 62px minmax(0, 1fr) 44px;
    gap: 8px 14px;
    padding: 22px 0;
  }
  .v4 .venue-schedule .lesson time {
    grid-row: 1;
    font-size: 18px;
  }
  .venue-schedule .lesson-info {
    grid-column: 2;
    grid-row: 1;
  }
  .v4 .venue-schedule .lesson-access {
    grid-column: 2;
    grid-row: 2;
  }
  .v4 .venue-schedule .lesson-trial {
    grid-column: 3;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
  }
  .venue-schedule .lesson-trial-label {
    display: none;
  }
}

/* Account controls live in the header menu, never in the visitor toolbar. */
.v4.venue-page .site-header {
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
}
.v4.venue-page .site-header .venue-switch {
  justify-self: center;
}
.v4.venue-page .header-cta {
  grid-column: 3;
}
.v4 .site-header .menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 4;
  width: 36px;
  height: 44px;
  margin: 0;
}
.v4 .site-header .main-nav {
  display: none;
  position: absolute;
  top: 100%;
  bottom: auto;
  left: auto;
  right: var(--gutter);
  width: min(280px, calc(100vw - 2 * var(--gutter)));
  justify-self: end;
  align-items: stretch;
  gap: 0;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  z-index: 100;
}
.v4 .site-header .main-nav.is-open {
  display: flex;
  flex-direction: column;
}
.v4 .site-header .main-nav > a,
.v4 .main-nav #site-editor-toggle,
.v4 .main-nav .menu-logout button {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font: 600 12px/1.5 var(--body);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.v4 .main-nav #site-editor-toggle { border: 0; border-radius: 0; }
.v4 .main-nav #site-editor-toggle[hidden] { display: none; }
.v4 .main-nav #site-editor-toggle:disabled { opacity: .55; cursor: default; }
.v4 .main-nav #site-editor-toggle:hover { color: var(--venue-accent, var(--ink)); }
.v4 .main-nav .menu-logout {
  border-top: 0;
}
.v4 .main-nav .menu-logout button:hover {
  color: var(--venue-accent, var(--ink));
}
@media (max-width: 700px) {
  .v4.venue-page .site-header {
    gap: 0 8px;
  }
}

.v4 .site-header .main-nav > a {
  border-bottom: 0;
}
.v4 .site-header .main-nav > a::after {
  display: none;
}
.v4 .site-header .main-nav {
  max-height: calc(
    100svh - var(--venue-header-height, 78px) - var(--editor-offset) - 16px
  );
  overflow-y: auto;
}

/* A native sticky bottom switch yields to the footer in the document flow. */
.venue-mobile-bar {
  display: none;
}
@media (max-width: 700px) {
  .venue-page .venue-mobile-bar {
    position: sticky;
    bottom: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    min-height: 66px;
    background: var(--paper);
  }
  .venue-mobile-bar .venue-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 370px);
    margin: 0;
    padding: 4px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 100px;
  }
  .venue-mobile-bar .venue-switch a {
    flex: 1;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    white-space: nowrap;
    font: 600 11px/1.5 var(--body);
    border-radius: 100px;
  }
}

.v4-footer-actions a, .v4-footer-actions a:hover { text-decoration: none; }
.v4-footer-actions a::after { display: none; }

.site-icon[data-icon="pencil"] { --icon: url("/assets/icons/phosphor/pencil-simple-bold.svg"); }
.site-icon[data-icon="chart-bar"] { --icon: url("/assets/icons/phosphor/chart-bar-bold.svg"); }
.v4 .site-header .main-nav > .admin-menu-link { gap: 12px; padding-inline: 14px; margin-top: 6px; border-radius: 100px; background: var(--paper-deep); font-weight: 700; }
.admin-menu-link .site-icon { width: 18px; height: 18px; }
.v4 .site-header .main-nav > .admin-menu-link:hover { background: var(--ink); color: var(--paper); }

.v4 .site-header .main-nav > .admin-menu-link[aria-current="page"] { background: var(--ink); color: var(--paper); }
