@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-hebrew.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karantina";
  src: url("fonts/karantina-700-hebrew.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Karantina";
  src: url("fonts/karantina-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --black: #0d0c0a;
  --panel: #17150f;
  --panel-2: #201d16;
  --line: #322d23;
  --bone: #f3efe6;
  --ash: #b2ab9b;
  --rope: #e9b732;
  --rope-hover: #f5c94f;

  --c-beginners: #9bd06a;
  --c-advanced: #6fb6f0;
  --c-fundamentals: #f2b869;
  --c-youth: #b99af0;
  --c-bags: #f08a84;
  --c-fitness: #5fd3c6;

  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Karantina", "Open Sans", Arial, sans-serif;
  --font-latin: "Oswald", "Arial Narrow", Arial, sans-serif;

  --header-h: 76px;
  --radius: 6px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 10vw, 128px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--rope);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--rope);
  color: var(--black);
  font-weight: 700;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: 860px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-lg {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--rope);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--rope-hover);
}

.btn-ghost {
  border-color: rgba(243, 239, 230, 0.35);
  color: var(--bone);
  background: rgba(13, 12, 10, 0.25);
}

.btn-ghost:hover {
  border-color: var(--rope);
  color: var(--rope);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  isolation: isolate;
  transition: border-color 0.25s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(13, 12, 10, 0.94);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.menu-open .site-header {
  background: var(--black);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand img {
  width: auto;
  height: 60px;
}

.main-nav {
  display: flex;
  align-items: center;
  margin-inline-start: auto;
}

.main-nav ul {
  display: flex;
  gap: clamp(14px, 1.8vw, 28px);
}

.main-nav a:not(.btn) {
  position: relative;
  padding-block: 6px;
  font-size: 0.975rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bone);
  white-space: nowrap;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--rope);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-inline-start: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 12, 10, 0.5);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--bone);
  transition: transform 0.2s, background-color 0.2s;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
}

.menu-icon::before {
  top: -7px;
}

.menu-icon::after {
  top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 32px var(--gutter) 40px;
    background: var(--black);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a:not(.btn) {
    display: block;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
  }

  .main-nav a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    display: flex;
    min-height: 56px;
    font-size: 1.125rem;
  }
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-top: var(--header-h);
  padding-bottom: clamp(72px, 10vh, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to left, rgba(13, 12, 10, 0.9) 0%, rgba(13, 12, 10, 0.72) 45%, rgba(13, 12, 10, 0.4) 100%),
    linear-gradient(to top, var(--black) 0%, rgba(13, 12, 10, 0) 45%),
    linear-gradient(to bottom, rgba(13, 12, 10, 0.75) 0%, rgba(13, 12, 10, 0) 25%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 700px) {
  .hero-shade {
    background:
      linear-gradient(to top, var(--black) 0%, rgba(13, 12, 10, 0.86) 40%, rgba(13, 12, 10, 0.62) 100%);
  }

  .hero-actions {
    align-self: stretch;
    flex-direction: column;
  }
}

.hero-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: flex-start;
  font-family: var(--font-latin);
  line-height: 0.82;
  text-transform: uppercase;
}

.hero-mark-main {
  font-size: clamp(4.5rem, 15vw, 11.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bone);
}

.hero-mark-sub {
  margin-top: 0.18em;
  font-size: clamp(1.4rem, 4.3vw, 3.3rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-inline-end: -0.2em;
  color: var(--rope);
}

.hero-title {
  margin-top: clamp(28px, 4vw, 44px);
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
}

.hero-place {
  display: block;
  margin-bottom: 0.35em;
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.8vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--rope);
}

.hero-text {
  margin-top: 18px;
  max-width: 52ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: #ddd7ca;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--ash);
  text-decoration: none;
}

.hero-address:hover {
  color: var(--bone);
}

.hero-address svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--rope);
  stroke-width: 2;
}

.ropes {
  position: absolute;
  inset: auto 0 26px;
  display: grid;
  gap: 9px;
  pointer-events: none;
}

.ropes span {
  height: 4px;
  background: var(--rope);
  opacity: 0.9;
}

.ropes span:nth-child(2) {
  background: var(--bone);
  opacity: 0.5;
}

.ropes span:nth-child(3) {
  opacity: 0.55;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-mark,
  .hero-title,
  .hero-text,
  .hero-actions,
  .hero-address {
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-title {
    animation-delay: 0.12s;
  }

  .hero-text {
    animation-delay: 0.2s;
  }

  .hero-actions {
    animation-delay: 0.28s;
  }

  .hero-address {
    animation-delay: 0.36s;
  }

  .ropes span {
    transform-origin: right;
    animation: rope 1s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .ropes span:nth-child(2) {
    animation-delay: 0.08s;
  }

  .ropes span:nth-child(3) {
    animation-delay: 0.16s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes rope {
  from {
    transform: scaleX(0);
  }
}

/* Sections */

.section {
  padding-block: var(--section-space);
}

.section-alt {
  background: var(--panel);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head h2,
.about-text h2,
.contact-text h2,
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.125rem;
  color: var(--ash);
}

/* Programs */

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.program {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  overflow: hidden;
}

.program img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.program-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
  color: var(--ash);
  font-size: 0.975rem;
  line-height: 1.65;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.program h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--bone);
}

.program-lead {
  font-weight: 700;
  color: var(--bone);
}

.program-link {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 700;
  color: var(--rope);
  text-underline-offset: 4px;
}

.program-link:hover {
  color: var(--rope-hover);
}

/* Schedule */

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--ash);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
}

.days {
  display: grid;
  grid-template-columns: repeat(var(--days, 6), minmax(0, 1fr));
  gap: 12px;
}

.schedule-empty {
  padding: 18px 20px;
  background: var(--panel-2);
  border-radius: var(--radius);
  color: var(--ash);
}

.day h3 {
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.day ol {
  display: grid;
  gap: 10px;
}

.session {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--panel-2);
  border-inline-start: 4px solid var(--accent);
  border-radius: 4px;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.session time {
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--bone);
  direction: ltr;
  text-align: right;
}

.session strong {
  font-weight: 700;
}

.session span {
  font-size: 0.875rem;
  color: var(--ash);
}

.day-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.day-tabs button {
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
}

.day-tabs button[aria-selected="true"] {
  background: var(--rope);
  border-color: var(--rope);
  color: var(--black);
}

@media (max-width: 1000px) {
  .days {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 700px) {
  .days {
    grid-template-columns: 1fr;
  }

  .week.is-tabbed .day[hidden] {
    display: none;
  }

  .week.is-tabbed .day h3 {
    display: none;
  }
}

.schedule-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--ash);
}

.schedule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.plan-featured {
  border: 2px solid var(--rope);
  background: linear-gradient(to bottom, rgba(233, 183, 50, 0.1), rgba(233, 183, 50, 0) 60%), var(--panel);
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.price {
  margin-top: 14px;
  color: var(--ash);
  font-weight: 600;
}

.price-num {
  font-family: var(--font-latin);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--bone);
}

.plan-featured .price-num {
  color: var(--rope);
}

.plan-features {
  display: grid;
  gap: 10px;
  margin-block: 22px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.975rem;
}

.plan-features li {
  display: flex;
  gap: 10px;
}

.plan-features li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 5px;
  background: var(--rope);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.plan-features li.is-excluded {
  color: var(--ash);
}

.plan-features li.is-excluded::before {
  background: var(--ash);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E");
}

.plan .btn {
  margin-top: auto;
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.about-lead {
  margin-block: 12px 18px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--rope);
}

.about-text > p:not(.about-lead) {
  max-width: 62ch;
  color: #d9d3c5;
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.checks li {
  display: flex;
  gap: 12px;
  font-weight: 600;
}

.checks li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--rope) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0c0a' stroke-width='3.2'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.about-video {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 9 / 16;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--black);
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding-bottom: 40px;
  border: 0;
  background: linear-gradient(to top, rgba(13, 12, 10, 0.85), rgba(13, 12, 10, 0) 55%);
  font-weight: 700;
  font-size: 1.0625rem;
  cursor: pointer;
}

.play-button svg {
  width: 72px;
  height: 72px;
  padding: 20px 18px 20px 22px;
  border-radius: 50%;
  background: var(--rope);
  fill: var(--black);
  transition: transform 0.2s;
}

.play-button:hover svg {
  transform: scale(1.06);
}

.about-video.is-playing .play-button {
  display: none;
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* Gallery */

.gallery {
  columns: 3 280px;
  column-gap: 14px;
}

.gallery li {
  margin-bottom: 14px;
  break-inside: avoid;
}

.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery a:hover img {
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .gallery {
    columns: 2;
    column-gap: 10px;
  }

  .gallery li {
    margin-bottom: 10px;
  }
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(13, 12, 10, 0.96);
  color: var(--bone);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox img {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
  border-radius: var(--radius);
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(23, 21, 15, 0.9);
  cursor: pointer;
}

.lightbox button:hover {
  border-color: var(--rope);
}

.lightbox button svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox-close {
  top: 16px;
  inset-inline-end: 16px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  inset-inline-start: 16px;
}

.lightbox-next {
  inset-inline-end: 16px;
}

@media (max-width: 700px) {
  .lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  font-size: 1.1875rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  border-inline-start: 2.5px solid var(--rope);
  border-bottom: 2.5px solid var(--rope);
  transform: translateY(-3px) rotate(-45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(3px) rotate(135deg);
}

.faq details p {
  max-width: 64ch;
  padding-bottom: 24px;
  color: var(--ash);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-text > p {
  margin-top: 14px;
  max-width: 44ch;
  font-size: 1.125rem;
  color: var(--ash);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.contact-list dt {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rope);
}

.contact-list dd {
  font-size: 1.0625rem;
}

.contact-list a {
  text-decoration-color: rgba(233, 183, 50, 0.6);
  text-underline-offset: 4px;
}

.contact-list a:hover {
  color: var(--rope);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 4px;
  font-weight: 600;
}

.map {
  min-height: 420px;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map,
  .map iframe {
    min-height: 320px;
  }
}

/* Footer */

.site-footer {
  padding-block: 40px calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--ash);
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
}

.footer-inner img {
  width: auto;
  height: 48px;
}

.footer-inner a:hover {
  color: var(--rope);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-links a {
  text-decoration: none;
}

.copyright {
  margin-inline-start: auto;
}

/* Inner pages */

.page-hero {
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px));
  padding-bottom: clamp(48px, 7vw, 88px);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--ash);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-inline-end: 8px;
  color: var(--line);
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--rope);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 0.95;
}

.page-lead {
  margin-top: 18px;
  max-width: 54ch;
  font-size: 1.1875rem;
  color: #ddd7ca;
}

.page-hero .hero-actions {
  margin-top: 28px;
}

.page-hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.facts div {
  padding: 18px 20px;
  background: var(--panel-2);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--rope);
}

.facts dt {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rope);
}

.facts dd {
  margin-top: 2px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.split .program {
  border-top-width: 3px;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.slots .session strong {
  font-size: 1.0625rem;
}

.slot-day {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.prose p,
.prose ul {
  margin-top: 14px;
  color: #d9d3c5;
}

.prose ul {
  padding-inline-start: 1.2em;
  list-style: disc;
}

.prose li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--rope);
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating contact */

.float-contact {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom));
  inset-inline-end: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--rope);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.float-contact svg {
  width: 22px;
  height: 22px;
  fill: var(--black);
}

.float-contact.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

body.menu-open .float-contact {
  display: none;
}

@media print {
  body.print-schedule {
    background: #fff;
    color: #000;
  }

  body.print-schedule .site-header,
  body.print-schedule .site-footer,
  body.print-schedule .float-contact,
  body.print-schedule .skip-link,
  body.print-schedule main > section:not(#schedule),
  body.print-schedule .schedule-foot,
  body.print-schedule .day-tabs {
    display: none !important;
  }

  body.print-schedule #schedule {
    padding: 0;
    background: #fff;
  }

  body.print-schedule .section-head p,
  body.print-schedule .legend {
    color: #333;
  }

  body.print-schedule .days {
    grid-template-columns: repeat(var(--days, 6), minmax(0, 1fr)) !important;
  }

  body.print-schedule .day[hidden] {
    display: block !important;
  }

  body.print-schedule .day h3 {
    display: block !important;
    border-color: #ccc;
  }

  body.print-schedule .session {
    background: #fff;
    border: 1px solid #ccc;
    border-inline-start: 4px solid var(--accent);
    break-inside: avoid;
  }

  body.print-schedule .session time,
  body.print-schedule .session span {
    color: #000;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
