/* ============================================================
   Ty Watson Yoga — site styles
   Self-contained: all fonts and assets hosted locally.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Inconsolata";
  src: url("../fonts/inconsolata.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Notable";
  src: url("../fonts/notable.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rokkitt";
  src: url("../fonts/rokkitt.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rokkitt";
  src: url("../fonts/rokkitt-italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- Reset / normalize (from the original) ---------- */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { border: 0; max-width: 100%; vertical-align: middle; display: inline-block; }
a { background-color: transparent; color: var(--black); text-decoration: underline dotted; }
a:active, a:hover { outline: 0; }

.w-inline-block { max-width: 100%; display: inline-block; }
.w-button {
  color: #fff;
  line-height: inherit;
  cursor: pointer;
  background-color: #3898ec;
  border: 0;
  border-radius: 0;
  padding: 9px 15px;
  text-decoration: none;
  display: inline-block;
}
.w-dyn-hide { display: none !important; }

/* ---------- Root ---------- */
:root {
  --black: #330411;   /* rgb(51, 4, 17) — site text colour */
  --beige: #ffffff;   /* plain white background for now */
  --body: "Rokkitt", serif;   /* body typeface — swap here to try others */
}

/* ---------- Base typography ---------- */
body {
  color: var(--black);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

h2 {
  text-align: center;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--body);
  font-size: min(1.52vw, 15.2px);
  font-weight: 700;
  line-height: 1.8em;
}

p {
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  font-weight: 300;
  line-height: 1.6em;
}

/* ---------- Page body ---------- */
.body {
  background-color: var(--beige);
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  font-family: var(--body);
  overflow-x: hidden;
  overflow-y: scroll;
}

/* ---------- Hero layout ---------- */
.hero-section {
  background-image: none;
  background-repeat: repeat;
  background-size: auto;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* ---------- Background illustrations ---------- */
.l-background {
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: absolute;
}

.c-background-illu__1,
.c-background-illu__2,
.c-background-illu__3 {
  text-align: center;
  white-space: normal;
  flex-wrap: nowrap;
  flex: 0 auto;
  justify-content: center;
  align-items: flex-start;
  width: 80%;
  height: 100%;
  margin-top: 95px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

.image-12, .image-13, .image-14 {
  margin-left: auto;
  margin-right: auto;
}

.c-background-illu__1-mobile,
.c-background-illu__2-mobile,
.c-background-illu__3-mobile {
  text-align: center;
  background-image: none;
  background-repeat: repeat;
  background-size: auto;
  background-attachment: scroll;
  flex-wrap: nowrap;
  flex: 0 auto;
  justify-content: center;
  align-items: flex-start;
  width: 80vw;
  height: 100%;
  margin-top: 95px;
  margin-left: auto;
  margin-right: auto;
  display: none;
  position: absolute;
  overflow: hidden;
}

/* ---------- Hero container ---------- */
.c_hero-container {
  z-index: 2;
  width: 100%;
  position: relative;
  overflow: visible;
}

/* ---------- Infinite marquee ---------- */
.c_infinite-marquee-home {
  z-index: 2;
  background-color: var(--beige);
  width: 100vw;
  display: block;
  position: absolute;
  inset: 0% 0% auto;
  overflow: hidden;
}

.collection-list-3 { overflow: visible; }

.c-infinite-marquee {
  z-index: auto;
  white-space: nowrap;
  cursor: pointer;
  border-top: 0 #333;
  border-bottom: 1px solid #333;
  border-radius: 0;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  width: 100vw;
  height: 40px;
  text-decoration: none;
  display: flex;
  position: relative;
  overflow: hidden;
}

.c-infinite-marquee__loops {
  white-space: nowrap;
  object-fit: fill;
  flex-flow: row;
  align-items: center;
  display: flex;
  position: relative;
  will-change: transform;
  animation: marquee-scroll 10s linear infinite;
}

.c-infinite-marquee__loop-1,
.c-infinite-marquee__loop-2,
.c-infinite-marquee__loop-3 {
  color: #333;
  text-transform: uppercase;
  white-space: nowrap;
  width: 50vw;
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  text-decoration: none;
  position: relative;
  overflow: visible;
}

@keyframes marquee-scroll {
  0%   { transform: translate3d(0vw, 0, 0); }
  100% { transform: translate3d(-50vw, 0, 0); }
}

/* ---------- Header logo ---------- */
.l-header-logo {
  justify-content: center;
  width: 100vw;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
  overflow: visible;
}

.c-logo {
  z-index: auto;
  background-color: transparent;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-top: 60px;
  display: flex;
  position: relative;
  text-decoration: none;
}

.c-logo__wordmark {
  color: var(--black);
  font-family: "Notable", sans-serif;
  font-weight: 400;
  font-size: min(4.42vw, 44.2px);
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* Tagline under the wordmark */
.c-tagline {
  text-align: center;
  color: var(--black);
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  letter-spacing: .1em;
  margin: 10px auto 0;
}

/* ---------- Info / buttons wrapper ---------- */
.c-wrapper-infos {
  width: 100%;
}

.c-buttons-top {
  justify-content: center;
  width: 38vw;
  margin: 3vh auto 0;
  display: flex;
}

.c-buttons-bottom {
  flex-flow: row;
  justify-content: center;
  width: 38vw;
  margin: -1px auto 6vh;
  display: flex;
}

.buttons {
  color: var(--black);
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  background-color: transparent;
  border: 1px solid var(--black);
  border-radius: 1px;
  flex: 4 auto;
  order: 0;
  margin-left: -1px;
  padding: 1vw 0;
  font-family: var(--body);
  font-size: min(1.52vw, 15.2px);
  font-weight: 700;
  line-height: 16px;
  transition: opacity .2s cubic-bezier(.645, .045, .355, 1);
}
.buttons:hover { opacity: .8; }

.buttons.is-50 {
  cursor: pointer;
  width: 50%;
  padding: 1vw 0;
}
.buttons.is-50:hover { opacity: .8; }
.buttons.is-50.is--nomargin-bottom { font-size: min(1.52vw, 15.2px); }
.buttons.is--nomargin-bottom { font-size: min(1.52vw, 15.2px); }

/* ---------- Infos block ---------- */
.c-infos {
  margin-bottom: 3vh;
  overflow: visible;
}

.c-infos__horaires { text-align: center; }
.c-infos__horaires h2 { margin-top: 20px; margin-bottom: 3px; }

.c-infos__title {
  margin-top: 20px;
  font-size: min(1.52vw, 15.2px);
  font-weight: 700;
}

.c-infos__link {
  color: var(--black);
  text-align: center;
  font-family: var(--body);
  font-size: min(1.1vw, 11px);
  font-weight: 300;
  text-decoration: none;
  display: block;
}
.c-infos__link.is--cap {
  text-transform: uppercase;
  font-size: min(1.38vw, 13.8px);
}

/* ---------- Footer ---------- */
.footer {
  background-color: transparent;
  display: flex;
  flex-direction: column;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 6px;                /* tight, even spacing between footer items */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 4vh;
  padding-bottom: 2vh;
  position: relative;
}

.monograme {
  color: var(--black);
  background-color: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}

.monograme__wordmark {
  color: var(--black);
  font-family: "Notable", sans-serif;
  font-weight: 400;
  font-size: min(2.76vw, 27.6px);
  letter-spacing: .06em;
  line-height: 1;
}

.monograme__strap {
  width: 56px;
  height: auto;
  display: block;
}
.image-11 { margin-left: 0; }

.link-block {
  width: 50%;
  color: var(--black);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
  display: block;
}

.c-footer__link-insta {
  text-align: center;
  margin: 0 auto;
  line-height: 1.2;
  text-decoration: none;
}

.credits {
  width: 50%;
  color: var(--black);
  text-align: center;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  font-family: Inconsolata, monospace;
  font-size: min(1.1vw, 11px);
  font-weight: 700;
  line-height: 1.2;
  display: block;
  position: relative;
}

/* ---------- Tab navigation ---------- */
.c-tabs {
  width: 74vw;
  max-width: 740px;
  margin: 3vh auto 5vh;
  position: relative;
}

.c-tabs__list {
  display: flex;
  flex-flow: row;
  justify-content: center;
  gap: 10px;
}

/* collapsed active-tab bar — mobile only */
.c-tabs__bar { display: none; }

.tab {
  flex: 1 1 0;
  width: auto;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  padding: min(.9vw, 9px) min(.8vw, 8px);
  border-radius: 999px;
  font-size: min(1.3vw, 13px);
  white-space: nowrap;
}

.tab.is-active {
  background-color: transparent;
  color: var(--black);
  text-decoration: underline dotted;
  text-underline-offset: 4px;
}
.tab.is-active:hover { opacity: 1; }

/* ---------- Panels ---------- */
.c-panel[hidden] { display: none; }

.panel-text {
  color: var(--black);
  text-align: center;
  letter-spacing: .06em;
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  line-height: 1.8em;
  margin: 10px auto 0;
  max-width: min(40vw, 400px);
}

/* ---------- Upcoming — two square month blocks ---------- */
.c-upcoming-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;   /* blocks in a row share the tallest height */
  gap: min(1.4vw, 14px);
  width: 44vw;
  max-width: 440px;
  margin: 0 auto;
}
.c-upcoming-block {
  flex: 1 1 0;
  border: 1px solid var(--black);
  border-radius: 6px;
  padding: min(1.2vw, 12px) min(1.3vw, 13px);
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.c-upcoming__month {
  text-transform: uppercase;
  letter-spacing: normal;
  font-family: var(--body);
  font-weight: 700;
  font-size: min(1.15vw, 11.5px);
}
.c-upcoming__rule {
  border-top: 1px solid var(--black);
  opacity: .25;
  margin: min(.6vw, 6px) 0 min(.8vw, 8px);
}
.c-upcoming__event { margin-bottom: min(.7vw, 7px); }
.c-upcoming__title {
  font-family: var(--body);
  font-weight: 700;
  font-size: min(1.38vw, 13.8px);
  line-height: 1.35em;
}
.c-upcoming__tba,
.c-upcoming-block .c-schedule-text__link {
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  line-height: 1.35em;
}
/* dates match the block title size (just not bold) */
.c-upcoming__date {
  font-family: var(--body);
  font-weight: 300;
  font-size: min(1.38vw, 13.8px);
  line-height: 1.35em;
}
/* status pill pinned to the bottom-left of an archive block, with a
   guaranteed gap above it */
.c-upcoming-block .c-pill {
  margin-top: auto;
  align-self: flex-start;
}
.c-series-view--archive .c-upcoming__event:last-of-type {
  margin-bottom: 2vw;   /* minimum breathing room above the pill */
}
/* "more details" trigger, pushed to sit just above the archive pill */
.c-upcoming__more {
  margin-top: auto;
  margin-bottom: min(1.6vw, 16px);
  font-family: var(--body);
  font-size: min(1.25vw, 12.5px);
  line-height: 1.4em;
}
.c-upcoming-block .c-upcoming__more + .c-pill { margin-top: 0; }

/* ---------- Classes schedule (simple centred text) ---------- */
.c-schedule-text {
  text-align: center;
  margin-top: 4px;
}
.c-schedule-text p {
  color: var(--black);
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  line-height: 1.6em;
}
.c-schedule-text__link {
  color: var(--black);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.c-schedule-text__sep {
  font-size: .5em;
  vertical-align: middle;
  margin: 0 .35em;
  display: inline-block;
}

/* ---------- TEACHING panel spacing (consistent rhythm) ----------
   Within a section: tight, consistent gaps.
   Between sections: one larger, consistent gap. */
.c-teach-section { margin-top: 5vh; }
.c-teach-section:first-child { margin-top: 0; }

/* heading → its content (in-section, small) */
.c-teach-section .c-infos__title {
  margin-top: 0;
  margin-bottom: 1.2vh;
}

/* lines inside an entry sit tight on their line-height */
.c-teach-section .c-schedule-text p { margin: 0; }

/* entry → entry (in-section, small, consistent) */
.c-sched-entry { margin-bottom: 1.6vh; }
.c-sched-entry:last-child { margin-bottom: 0; }

/* recorded-class note stays part of its section (in-section gap) */
.c-teach-section .c-schedule__note { margin: 1.6vh auto 0; }

.c-schedule__note {
  text-align: center;
  font-family: var(--body);
  font-size: min(1.38vw, 13.8px);
  font-style: italic;
  line-height: 1.6em;
  margin: 3vh auto 3vh;
  max-width: min(60vw, 600px);
}
.c-schedule__note em { font-style: italic; }
.c-schedule__note a { color: var(--black); }

/* ---------- About panel ---------- */
.c-about {
  max-width: min(42vw, 420px);
  margin: 0 auto;
  text-align: justify;
}
.c-about p {
  color: var(--black);
  font-family: var(--body);
  font-size: min(1.62vw, 16.2px);
  font-weight: 300;
  line-height: 1.8em;
  margin-bottom: 1.4em;
}
.c-about a { color: var(--black); }
.c-about__muted {
  opacity: .5;
}

/* Spacing above a stacked section heading */
.c-infos__title--spaced { margin-top: 5vh; }

/* ---------- Series detail / archive sliding views ---------- */
.c-series-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  transition: height .5s cubic-bezier(.77, 0, .175, 1);
}
.c-series-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: transform .55s cubic-bezier(.77, 0, .175, 1), opacity .3s ease;
}
.c-series-view--detail { transform: translate3d(0, 0, 0); }
.c-series-view--archive {
  transform: translate3d(-100%, 0, 0);
  opacity: 0;
  pointer-events: none;
}
.c-series-viewport.is-archive .c-series-view--detail {
  transform: translate3d(100%, 0, 0);
  opacity: 0;
  pointer-events: none;
}
.c-series-viewport.is-archive .c-series-view--archive {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.c-series-archive {
  max-width: min(46vw, 460px);
  margin: 0 auto;
}
.c-series-archive .c-infos__title { margin-bottom: 3vh; }
.c-archive-back-row {
  display: flex;
  justify-content: center;
  margin-bottom: 4vh;
}

/* ---------- Registration pill ---------- */
.c-pill-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 12px 0 2vh;
}

/* "View all in this series" / "Back" action pill (solid, with caret) */
.c-pill.c-pill--view {
  background: var(--black);
  color: #fff;
  border: 1px solid var(--black);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.c-pill--view::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 5px 4px 0;
  border-color: transparent #fff transparent transparent;
  display: inline-block;
}

/* status pills inside archive blocks */
.c-pill.c-pill--sm { font-size: min(0.83vw, 8.3px); padding: 5px 11px; }
.c-pill--waitlist .c-pill__dot { background: #e0a53a; box-shadow: none; animation: none; }
.c-pill--closed  .c-pill__dot { background: #b3b3b3; box-shadow: none; animation: none; }
.c-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--black);
  box-sizing: border-box;
  font-family: var(--body);
  font-weight: 700;
  font-size: min(1.3vw, 13px);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9vw 1.4vw;
  border-radius: 999px;
  vertical-align: middle;
  text-decoration: none;
  cursor: pointer;
}
.c-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #57e33a;
  flex: none;
  animation: pill-pulse 1.6s ease-out infinite;
}

@keyframes pill-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(87, 227, 58, .7);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 7px rgba(87, 227, 58, 0);
    opacity: .85;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(87, 227, 58, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-pill__dot { animation: none; box-shadow: 0 0 6px rgba(87, 227, 58, .7); }
}

/* ---------- Testimonial quote ---------- */
.c-quote {
  border-left: 2px solid var(--black);
  margin: 2em auto;
  padding: .2em 0 .2em 1.2em;
  max-width: min(42vw, 420px);
  font-family: var(--body);
  font-style: italic;
  font-size: min(1.38vw, 13.8px);
  font-weight: 300;
  line-height: 1.8em;
  color: var(--black);
}
.c-quote__more {
  display: inline;
  white-space: nowrap;
  color: var(--black);
  font-family: var(--body);
  font-style: normal;
  font-size: min(1.38vw, 13.8px);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  cursor: pointer;
  margin-left: .4em;
}

/* Quotes inside a modal span the dialog width */
.c-modal .c-quote { max-width: none; margin: 1.4em 0; font-size: 14px; }

/* ---------- Summer Series panel ---------- */
.c-summer {
  max-width: min(42vw, 420px);
  margin: 0 auto;
  text-align: left;
}
.c-summer > .c-infos__title {
  font-size: min(2.62vw, 26.2px);
  line-height: 1.2em;
}
.c-summer p {
  color: var(--black);
  font-family: var(--body);
  font-size: min(1.62vw, 16.2px);
  font-weight: 300;
  line-height: 1.8em;
  margin-bottom: 1.4em;
}
.c-summer a { color: var(--black); }

.c-summer .c-summer__meta {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 8px;
  margin-bottom: 2em !important;
}

.c-summer .c-summer__lead {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6em !important;
}

/* bold lead-in phrases within body paragraphs */
.c-summer p strong { font-weight: 700; }

.c-summer__list {
  list-style: none;
  margin: 0 0 1.6em;
  padding: 0;
}
.c-summer__list li {
  position: relative;
  color: var(--black);
  font-family: var(--body);
  font-size: min(1.62vw, 16.2px);
  font-weight: 300;
  line-height: 1.7em;
  padding-left: 1.4em;
  margin-bottom: .4em;
}
.c-summer__list li::before {
  content: "—";
  position: absolute;
  left: 0;
}

.c-summer .c-summer__price {
  text-align: center;
  font-weight: 700;
  letter-spacing: .04em;
  margin-top: 2em;
}

.c-summer__register {
  display: block;
  width: 100%;
  margin: 1.5em auto 0;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;   /* pill shape, matching the other buttons */
}

/* ---------- Cursor-following help text ---------- */
.c-cursor-help {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  padding: 8px 13px;
  /* frosted grey glass */
  background: rgba(178, 178, 178, .6);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #000;
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: left;
  white-space: pre-line;   /* honour \n breaks, wrap long text */
  max-width: 360px;
  border-radius: 6px;
  opacity: 0;
  transition: opacity .08s ease;
  will-change: transform;
}
.c-cursor-help.is-visible { opacity: 1; }

/* inline text that reveals a help tooltip on hover */
.c-help-link {
  color: var(--black);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* ---------- Cursor-following image preview ---------- */
.c-ty-link {
  color: var(--black);
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  cursor: pointer;
}

.c-img-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  width: 220px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .22);
  opacity: 0;
  transition: opacity .1s ease;
  will-change: transform;
}
.c-img-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.c-img-preview.is-visible { opacity: 1; }
.c-img-preview.is-broken { display: none; }

/* Smaller preview on narrow / touch screens */
@media (max-width: 767px) {
  .c-img-preview { width: 160px; }
}

/* Help zones keep the default cursor (no "?" cursor). */
.c-help-zone { cursor: default; }

/* ---------- Legal modal ---------- */
.c-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-modal[hidden] { display: none; }

.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.c-modal__dialog {
  position: relative;
  background: var(--beige);
  color: var(--black);
  border: 1px solid var(--black);
  border-radius: 4px;
  width: 90vw;
  max-width: 620px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px 42px 44px;
}

.c-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: 0;
  color: var(--black);
  font-family: var(--body);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.c-modal__title {
  text-align: left;
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 18px;
  margin-bottom: 18px;
}
.c-modal__title--section {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(51, 4, 17, .2);
}
.c-modal__subtitle {
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  margin: 20px 0 8px;
}

.c-modal__body p {
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.7em;
  margin-bottom: 1em;
}
.c-modal__body a { color: var(--black); }

/* ---------- Footer credits (kept visible) ---------- */
.credits__legal {
  color: var(--black);
  text-decoration: underline dotted;
  cursor: pointer;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Large screens */

/* Tablet */

/* Landscape phone / small tablet */
@media screen and (max-width: 767px) {
  h2 { font-size: min(2.76vw, 27.6px); }
  p, .p { font-size: min(2.48vw, 24.8px); }
  .logo { width: 40vw; }
  .monograme { margin-bottom: 4px; }
  .credits { margin-bottom: 0; font-size: min(2.21vw, 22.1px); display: block; }
  .c-buttons-bottom { width: 70vw; }
  .c-buttons-top { width: 70vw; margin-top: 5vh; }
  .buttons,
  .buttons.is-50.is--nomargin-bottom,
  .buttons.is--nomargin-bottom { font-size: min(2.76vw, 27.6px); }

  /* switch to mobile background illustrations */
  .c-background-illu__1,
  .c-background-illu__2,
  .c-background-illu__3 { display: none; }
  .c-background-illu__1-mobile,
  .c-background-illu__2-mobile,
  .c-background-illu__3-mobile { width: 80vw; display: block; }
  .l-background { display: flex; }

  .c-logo { width: 40vw; margin-top: 32px; }
  .c-infinite-marquee__loop-1,
  .c-infinite-marquee__loop-2 { width: 100vw; min-width: 100vw; font-size: min(2.62vw, 26.2px); }
  .c-infinite-marquee__loop-3 { font-size: min(2.62vw, 26.2px); display: none; }
  .c-infos__title { font-size: min(2.76vw, 27.6px); }
  .c-infos__link.is--cap { font-size: min(2.62vw, 26.2px); }
  .image-11 { max-width: 65px; }
  .link-block { margin-bottom: 0; }
}

/* Portrait phone */
@media screen and (max-width: 767px) {
  h2 { margin-bottom: 0; padding-bottom: 0; font-size: min(4vw, 40px); line-height: 1.8em; }
  p { letter-spacing: .06em; font-size: min(4vw, 40px); line-height: 5vw; }
  .body { max-width: 100vw; overflow: visible; }
  .footer { z-index: auto; padding-top: 2vh; }
  .monograme { max-width: 65px; }
  .credits { display: block; margin-top: 0; font-size: min(4.14vw, 41.4px); }

  .c-buttons-bottom { width: 80vw; margin-bottom: 4vh; display: block; }
  .c-buttons-top { width: 80vw; margin-top: 1vh; display: block; }
  .buttons {
    width: 100%;
    margin-left: 0;
    padding-top: 3vw;
    padding-bottom: 3vw;
    font-size: min(4vw, 40px);
    line-height: 25px;
  }
  .buttons.is-50 {
    width: 100%;
    padding-top: 4vw;
    padding-bottom: 4vw;
    font-size: min(4vw, 40px);
    line-height: 2em;
  }
  .buttons.is-50.is--nomargin-bottom,
  .buttons.is--nomargin-bottom {
    border-bottom-width: 0;
    border-radius: 0;
    padding-top: 4vw;
    padding-bottom: 4vw;
    font-size: min(4vw, 40px);
  }

  .c-logo { width: 75vw; margin-top: 24px; }
  .c-infinite-marquee__loop-1 { width: 180vw; min-width: 180vw; font-size: min(4vw, 40px); }
  .c-infinite-marquee__loop-2 {
    width: 180vw; min-width: 180vw;
    margin-left: 0; margin-right: 0;
    font-size: min(4vw, 40px); display: block; left: 0; right: 0;
  }
  .c-infinite-marquee__loop-3 { display: none; }
  .c-infos { margin-bottom: 2vh; }
  .c-infos__title { margin-top: 10px; font-size: min(4vw, 40px); }
  .c-infos__link.is--cap { font-size: min(4vw, 40px); }
  .c-wrapper-infos { margin-bottom: 1vh; }
  .c-footer__link-insta { width: 100%; }
  .link-block { width: 100%; margin-bottom: 0; }

  .hero-section {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: auto;
    display: flex;
  }

  /* mobile illustration cadence on portrait */
  .c-background-illu__1-mobile,
  .c-background-illu__2-mobile,
  .c-background-illu__3-mobile {
    z-index: 0;
    object-fit: cover;
    background-size: 100%;
    align-items: flex-start;
    width: 92vw;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    position: absolute;
    top: auto; left: auto; right: auto;
    overflow: hidden;
  }
}

/* ============================================================
   Responsive — Ty Watson single-page additions
   ============================================================ */



@media screen and (max-width: 767px) {
  .c-logo__wordmark { font-size: min(9.5vw, 95px); }
  .monograme__wordmark { font-size: min(5.52vw, 55.2px); }
  .c-tabs { width: 90vw; flex-wrap: wrap; }
  .tab { flex: 1 1 45%; font-size: min(2.76vw, 27.6px); }
}

@media screen and (max-width: 767px) {
  .c-logo__wordmark { font-size: min(9.5vw, 95px); letter-spacing: .04em; }
  .monograme__wordmark { font-size: min(9.66vw, 96.6px); }

  /* stack tabs 2-up */
  .c-tabs {
    width: 90vw;
    flex-wrap: wrap;
    margin-top: 2vh;
    margin-bottom: 4vh;
  }
  .tab {
    flex: 1 1 50%;
    margin-left: -1px;
    margin-top: -1px;
    padding: 4vw 1vw;
    font-size: min(3.59vw, 35.9px);
    line-height: 1.3em;
  }

  /* stack schedule cards */
  .c-schedule {
    flex-direction: column;
    width: 82vw;
    gap: 4vw;
  }
  .c-class-card { padding: 5vw 6vw; }
  .c-class-card__day { font-size: min(4.14vw, 41.4px); }
  .c-class-card__rule { margin: 3vw 0; }
  .c-class-card__time { font-size: min(5.8vw, 58px); margin-bottom: 2vw; }
  .c-class-card__link { font-size: min(4.97vw, 49.7px); }
  .c-infos__heading { font-size: min(7.59vw, 75.9px); }
  .c-infos__subtitle { font-size: min(4.14vw, 41.4px); margin-bottom: 4vh; }
  .c-schedule__note { font-size: min(4vw, 40px); max-width: 82vw; }
  .panel-text { font-size: min(4vw, 40px); max-width: 82vw; }
}

/* ---------- Responsive — tagline / about / schedule / modal ---------- */


@media screen and (max-width: 767px) {
  .c-tagline { font-size: min(2.76vw, 27.6px); }
  .c-schedule-text p { font-size: min(2.62vw, 26.2px); }
  .c-schedule__note { font-size: min(4vw, 40px); }
  .c-about { max-width: 70vw; }
  .c-about p { font-size: min(2.62vw, 26.2px); }
}

@media screen and (max-width: 767px) {
  .c-tagline { font-size: min(4vw, 40px); margin-top: 8px; margin-bottom: 3vh; }
  .c-schedule-text p { font-size: min(4vw, 40px); line-height: 1.7em; }
  .c-schedule__note { font-size: min(4vw, 40px); max-width: 82vw; }
  .c-about { max-width: 84vw; text-align: left; }
  .c-about p { font-size: min(4vw, 40px); line-height: 1.8em; }
  .c-modal__dialog { padding: 32px 24px 34px; }
}

/* ---------- Responsive — Summer Series ---------- */
@media screen and (max-width: 767px) {
  .c-summer { max-width: 70vw; }
  .c-summer p, .c-summer__list li { font-size: min(2.62vw, 26.2px); }
}
@media screen and (max-width: 767px) {
  .c-summer { max-width: 84vw; }
  .c-summer p, .c-summer__list li { font-size: min(4vw, 40px); line-height: 1.8em; }
}

/* ---------- Responsive — pill & quote ---------- */
@media screen and (max-width: 767px) {
  .c-pill { font-size: min(2.35vw, 23.5px); }
  .c-quote { max-width: 70vw; font-size: min(2.62vw, 26.2px); }
  .c-quote__more { font-size: min(2.62vw, 26.2px); }
}
@media screen and (max-width: 767px) {
  .c-pill { font-size: min(3.45vw, 34.5px); padding: 7px 14px; }
  .c-quote { max-width: 84vw; font-size: min(4vw, 40px); }
  .c-quote__more { font-size: min(4vw, 40px); }
}

/* ---------- Responsive — Summer Series title ---------- */
@media screen and (max-width: 767px) { .c-summer > .c-infos__title { font-size: min(5.8vw, 58px); } }
@media screen and (max-width: 767px) { .c-summer > .c-infos__title { font-size: min(7.59vw, 75.9px); } }

/* ============================================================
   Mobile — collapsed tab bar with expand toggle
   ============================================================ */
@media screen and (max-width: 767px) {
  .c-tabs { width: 84vw; }

  /* visible bar: active label + circular toggle */
  .c-tabs__bar {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .c-tabs__current {
    flex: 1 1 auto;
    margin: 0;
    height: 50px;
    padding: 0 4vw;   /* centre label within the pill */
    font-size: min(4.69vw, 46.9px);
  }

  .c-tabs__toggle {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid var(--black);
    border-radius: 50%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .c-tabs__toggle-icon {
    position: relative;
    width: 12px;
    height: 12px;
    transition: transform .3s ease;
  }
  .c-tabs__toggle-icon::before,
  .c-tabs__toggle-icon::after {
    content: "";
    position: absolute;
    background: var(--black);
  }
  .c-tabs__toggle-icon::before {
    left: 50%; top: 0;
    width: 1.5px; height: 100%;
    transform: translateX(-50%);
  }
  .c-tabs__toggle-icon::after {
    top: 50%; left: 0;
    height: 1.5px; width: 100%;
    transform: translateY(-50%);
  }
  .c-tabs.is-open .c-tabs__toggle-icon { transform: rotate(45deg); }

  /* dropdown list: collapses/expands with animation */
  .c-tabs__list {
    flex-direction: column;
    gap: 10px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    pointer-events: none;
    transition: max-height .34s ease, opacity .26s ease, margin-top .34s ease;
  }
  .c-tabs.is-open .c-tabs__list {
    max-height: 70vh;
    opacity: 1;
    margin-top: 10px;
    pointer-events: auto;
  }
  .c-tabs__list .tab {
    width: 100%;
    flex: 0 0 auto;
    margin: 0;
    height: 50px;
    padding: 0 4vw;
    font-size: min(4.69vw, 46.9px);
  }
  /* the active tab lives in the bar, so hide it from the dropdown */
  .c-tabs__list .tab.is-active { display: none; }
}

/* ---------- Responsive — Upcoming square blocks ---------- */
@media screen and (max-width: 767px) {
  /* keep the two squares side by side even on phones */
  .c-upcoming-grid { flex-direction: row; gap: 3vw; width: 88vw; }
  .c-upcoming-block { padding: 3.2vw; }
  .c-upcoming__month { font-size: min(3.31vw, 33.1px); }
  .c-upcoming__title,
  .c-upcoming__date { font-size: min(3.73vw, 37.3px); }
  .c-upcoming__tba,
  .c-upcoming-block .c-schedule-text__link { font-size: min(3.45vw, 34.5px); }
  .c-upcoming__more { font-size: min(3.4vw, 34px); margin-bottom: min(3.6vw, 36px); }
  .c-upcoming__rule { margin: 2.4vw 0; }
  .c-upcoming__event { margin-bottom: 3vw; }
}

/* ---------- Responsive — series archive ---------- */
@media screen and (max-width: 767px) {
  .c-series-archive { max-width: 88vw; }
  .c-pill.c-pill--sm { font-size: min(2.76vw, 27.6px); padding: 4px 9px; gap: 5px; }
  .c-pill--sm .c-pill__dot { width: 5px; height: 5px; }
}

/* ============================================================
   Work-in-progress lock screen
   ============================================================ */
.c-lock { display: none; }
html.is-locked body { overflow: hidden; }
html.is-locked .c-lock {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  padding: 6vw;
}
.c-lock__inner {
  max-width: 520px;
  width: 100%;
  text-align: center;
}
.c-lock__wordmark {
  display: block;
  font-family: "Notable", sans-serif;
  color: var(--black);
  font-size: min(3.2vw, 32px);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 4vh;
}
.c-lock__msg {
  font-family: var(--body);
  font-weight: 300;
  color: var(--black);
  font-size: min(1.4vw, 14px);
  line-height: 1.8em;
  margin-bottom: 4vh;
}
.c-lock__msg a { color: var(--black); text-decoration: underline dotted; }
.c-lock__form {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.c-lock__input {
  font-family: var(--body);
  font-size: 16px;
  padding: 10px 14px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: #fff;
  color: var(--black);
  outline: none;
  min-width: 0;
}
.c-lock__btn {
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid var(--black);
  border-radius: 999px;
  background: var(--black);
  color: #fff;
  cursor: pointer;
}
.c-lock__err {
  font-family: var(--body);
  color: #c0392b;
  font-size: 14px;
  margin-top: 2vh;
}
@media (max-width: 767px) {
  .c-lock__wordmark { font-size: 9vw; }
  .c-lock__msg { font-size: 4vw; }
  .c-lock__form { flex-direction: column; align-items: stretch; }
}
