/* Triple Zee Fitness Center — public site */
:root {
  --black: #101010;
  --ink: #151515;
  --paper: #f4f4f2;
  --paper-deep: #e9e9e6;
  --white: #fbfbfa;
  --gold: #d4af37;
  --gold-hover: #e6c45a;
  --gold-deep: #806000;
  --line: #c8c5bc;
  --line-soft: #e0ded7;
  --muted: #595955;
  --muted-dark: #c2c1bb;
  --body: "Manrope", sans-serif;
  --display: "Barlow Condensed", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 112px;
  --header-compact: 76px;
  --gutter: 40px;
}
@media (max-width: 900px) {
  :root {
    --header-h: 96px;
    --header-compact: 64px;
    --gutter: 24px;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 18px;
  }
}

/* Base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-compact) + 12px);
  scrollbar-color: #a58326 #202020;
  scrollbar-width: thin;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  caret-color: var(--gold);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--gold);
  color: var(--black);
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.9rem, 8.4vw, 6rem);
  text-transform: uppercase;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(2.8rem, 5.6vw, 4.75rem);
  margin-bottom: 20px;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--gold-deep);
}
p {
  max-width: 65ch;
}
:is(a, button):focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 4px;
}
:is(.site-header, .hero, .contact, footer) :is(a, button):focus-visible {
  outline-color: var(--gold);
}
.wrap {
  width: min(100% - var(--gutter) * 2, 1320px);
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 50;
  background: var(--gold);
  color: var(--black);
  padding: 12px 16px;
  font-weight: 800;
}
.skip-link:focus {
  top: 12px;
}
.arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex: none;
  transition: transform 200ms var(--ease-out);
}

/* Actions */
.button,
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-weight: 800;
  background: var(--gold);
  color: var(--black);
  transition:
    background-color 180ms ease,
    transform 120ms ease;
}
.button {
  min-height: 54px;
  padding: 0 22px;
}
.button:hover,
.nav-cta:hover {
  background: var(--gold-hover);
}
.button:active,
.nav-cta:active,
.filter-buttons button:active {
  transform: translateY(1px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
  transition: color 180ms ease;
}
.text-link:hover {
  color: var(--gold-deep);
}
.text-link.light:hover {
  color: var(--gold);
}
:is(.text-link, .button, .nav-cta, .plan):hover .arrow {
  transform: translate(2px, -2px);
}
.text-link[href^="#"]:hover .arrow {
  transform: translateY(3px);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid #262624;
}
.site-header + main {
  padding-top: var(--header-h);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height 280ms var(--ease-out);
}
.site-header.is-compact .header-inner {
  height: var(--header-compact);
}
.brand {
  display: flex;
  align-items: center;
  height: 100%;
}
.brand img {
  width: 120px;
  height: 104px;
  object-fit: contain;
  transform-origin: left center;
  transition: transform 280ms var(--ease-out);
}
.site-header.is-compact .brand img {
  transform: scale(0.64);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.85rem;
  font-weight: 700;
}
.site-header nav > a:not(.nav-cta) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #e8e7e2;
  transition: color 160ms ease;
}
.site-header nav > a:not(.nav-cta):hover,
.site-header nav > a[aria-current] {
  color: var(--gold);
}
.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  margin-left: 6px;
}
.header-actions {
  display: none;
}

/* Hero — the gym's hexagon ceiling lights switch on once when the page opens. */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 880px);
  overflow: hidden;
  background: var(--black);
  color: #fff;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  background:
    linear-gradient(90deg, rgb(16 16 16 / 0.82) 0%, rgb(16 16 16 / 0.35) 48%, transparent 72%),
    linear-gradient(0deg, #101010 0%, rgb(16 16 16 / 0.7) 28%, rgb(16 16 16 / 0) 62%);
}
.hero::after {
  background: #050505;
  opacity: 0;
  animation: lights-on 1500ms both;
}
@keyframes lights-on {
  0% {
    opacity: 0.9;
    animation-timing-function: steps(1, end);
  }
  27% {
    opacity: 0.4;
    animation-timing-function: steps(1, end);
  }
  35% {
    opacity: 0.82;
    animation-timing-function: steps(1, end);
  }
  43% {
    opacity: 0.2;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  }
  100% {
    opacity: 0;
  }
}
.hero-content {
  padding-block: 72px clamp(40px, 6vw, 76px);
}
.hero-content > * {
  animation: rise 700ms var(--ease-out) both;
}
.hero-content > :nth-child(1) {
  animation-delay: 420ms;
}
.hero-content > :nth-child(2) {
  animation-delay: 490ms;
}
.hero-content > :nth-child(3) {
  animation-delay: 570ms;
}
.hero-content > :nth-child(4) {
  animation-delay: 640ms;
}
.hero-content > :nth-child(5) {
  animation-delay: 720ms;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}
.hero h1 span,
.hero h1 em {
  display: block;
}
.hero h1 em {
  color: var(--gold);
}
.motto {
  margin-bottom: 22px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e2e0d8;
}
.motto span,
footer p span {
  color: var(--gold);
  padding: 0 6px;
}
.hero-intro {
  max-width: 40ch;
  margin-bottom: 30px;
  font-size: 1.08rem;
  color: #dddcd6;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 30px;
}
.hero-place {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(40px, 6vw, 76px);
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.open-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b8a85;
  flex: none;
}
.open-status.is-open::before {
  background: var(--gold);
}
.hero-status {
  color: #e2e0d8;
}

/* Sections */
.section {
  padding: clamp(72px, 10vw, 128px) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
  margin-bottom: 44px;
}
.section-head h2 {
  margin-bottom: 0;
}
.section-head p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
}
.section-head strong {
  color: var(--ink);
  white-space: nowrap;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 104px);
}
.about-copy h2 {
  margin-bottom: 28px;
}
.about-copy p {
  max-width: 46ch;
  margin-bottom: 18px;
}
.about-copy .text-link {
  margin-top: 10px;
}
.about-photos {
  position: relative;
}
.about-photos figure {
  margin: 0;
}
.about-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photos figure:first-child {
  width: 84%;
}
.about-photos figure:last-child {
  position: relative;
  width: 54%;
  margin: -24% 0 0 auto;
  border: 8px solid var(--paper);
  border-right: 0;
  border-bottom: 0;
}
.about-photos figure:last-child img {
  object-position: 60% center;
}

/* Classes */
.classes {
  background: var(--white);
}
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
}
.filter-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.filter-buttons {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}
.filter-buttons button {
  position: relative;
  min-width: 56px;
  min-height: 46px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}
.filter-buttons button + button {
  border-left: 1px solid var(--line);
}
.filter-buttons button:hover {
  background: var(--paper-deep);
}
.filter-buttons button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.filter-buttons button.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 16px;
  height: 3px;
  background: var(--gold);
  transform: translateX(-50%);
}
.class-summary {
  min-height: 1.6em;
  margin: 0 0 14px;
  font-size: 0.82rem;
  color: var(--muted);
}
.class-row {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 20px 48px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  animation: list-in 320ms var(--ease-out) both;
}
.class-row:nth-child(2) {
  animation-delay: 40ms;
}
.class-row:nth-child(3) {
  animation-delay: 80ms;
}
.class-row:nth-child(n + 4) {
  animation-delay: 120ms;
}
@keyframes list-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.class-row:last-child {
  border-bottom: 1px solid var(--line);
}
.class-name h3 {
  margin-bottom: 8px;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}
.class-name p {
  margin: 0;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
}
.class-sessions {
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.class-entry {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 20px;
}
.class-entry + .class-entry {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.class-days {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}
.class-days span {
  padding: 3px 8px 4px;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
}
.class-days .is-today {
  border-color: var(--gold-deep);
  box-shadow: inset 0 -3px 0 var(--gold);
}
.class-days .is-selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.class-instructor {
  margin: 7px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.class-time {
  margin: 0;
  font: 700 1.45rem / 1.1 var(--display);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

/* Opening hours — kept compact on purpose. */
.hours {
  padding: 48px 0;
  background: var(--paper-deep);
}
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px 8%;
  align-items: start;
}
.hours h2 {
  margin: 0;
  font: 700 1.3rem / 1.3 var(--body);
  letter-spacing: 0;
}
.hours .open-status {
  margin-top: 10px;
}
.hours-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  border-top: 1px solid #b9b7af;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid #c9c7bf;
  font-size: 0.92rem;
}
.hours-row strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.hours-row > span {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.today-tag {
  padding: 1px 6px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hours-list > :is(.loading, .error-message) {
  grid-column: 1 / -1;
}

/* Membership */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 26px 0;
  min-width: 0;
}
.plan + .plan {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.plan h3 {
  margin: 0;
  font-size: 2rem;
}
.plan-period {
  margin: 6px 0 36px;
  font-size: 0.85rem;
  color: var(--muted);
}
.plan-price {
  margin: auto 0 18px;
  font: 800 clamp(2.6rem, 3.6vw, 3.7rem) / 1 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.plan-currency {
  margin-right: 6px;
  font: 800 0.72rem var(--body);
  letter-spacing: 0.1em;
  vertical-align: 0.9em;
}
.plan-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
  transition: color 160ms ease;
}
.plan-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.plan:hover .plan-link {
  color: var(--gold-deep);
}
.plan-link:focus-visible {
  outline: 0;
}
.plan:has(.plan-link:focus-visible) {
  outline: 3px solid var(--gold-deep);
  outline-offset: -3px;
}

/* Contact */
.contact {
  background: var(--ink);
  color: #fff;
}
.contact h2 {
  margin: 0;
}
.contact-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
  margin-bottom: 52px;
}
.contact-heading p {
  max-width: 36ch;
  margin: 0;
  color: var(--muted-dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8%;
}
.detail {
  padding: 22px 0 30px;
  border-top: 1px solid #4a4a47;
}
.detail h3 {
  margin: 0 0 12px;
  font: 800 0.75rem / 1.4 var(--body);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
}
.detail p {
  margin-bottom: 14px;
}
.detail .text-link {
  font-size: 0.88rem;
}
.phone {
  font: 700 2rem / 1.1 var(--display);
  letter-spacing: 0.01em;
}
.phone:hover {
  color: var(--gold);
}
.location-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
.location-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #202020;
}
.map-panel iframe {
  flex: 1;
  width: 100%;
  min-height: 220px;
  border: 0;
  background: #333;
}
.map-note {
  margin: 0;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: #dedbd2;
}
.map-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-note a:hover {
  color: var(--gold);
}

/* Footer */
footer {
  padding: 56px 0;
  background: #0b0b0b;
  color: #bdbdb8;
  font-size: 0.82rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.footer-brand {
  display: inline-block;
}
.footer-brand img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  object-position: left;
}
.footer-id p {
  margin: 12px 0 0;
}
.footer-grid nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  align-content: start;
}
.footer-grid a {
  transition: color 160ms ease;
}
.footer-grid nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.footer-grid a:hover {
  color: var(--gold);
}
.footer-end {
  text-align: right;
}
.footer-end p {
  margin-bottom: 8px;
}
.footer-end a {
  display: inline-block;
  padding: 6px 0;
}

/* Loading, empty and error states */
.loading,
.empty,
.error-message {
  margin: 0;
  padding: 24px 0;
  color: var(--muted);
}
.contact .loading,
.error-message {
  color: inherit;
}
.retry {
  display: block;
  min-height: 44px;
  margin-top: 12px;
  padding: 0 16px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.retry:hover {
  background: #444;
}

/* 404 page */
main.wrap.section > a img {
  width: 96px;
  height: 96px;
  margin-bottom: 32px;
}
main.wrap.section p a {
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

/* Tablet */
@media (max-width: 1080px) {
  .site-header nav {
    gap: 20px;
  }
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .plan:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 900px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .header-whatsapp {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 800;
    transition:
      background-color 160ms ease,
      color 160ms ease;
  }
  .header-whatsapp:hover {
    background: var(--gold);
    color: var(--black);
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 6px 0 12px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
  }
  .menu-toggle svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
  }
  .menu-toggle path {
    transform-box: view-box;
    transform-origin: 12px 12px;
    transition: transform 220ms var(--ease-out);
  }
  .menu-toggle[aria-expanded="true"] path:first-child {
    transform: rotate(45deg) translateY(4px);
  }
  .menu-toggle[aria-expanded="true"] path:last-child {
    transform: rotate(-45deg) translateY(-4px);
  }
  .brand img {
    width: 104px;
    height: 88px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100svh - var(--header-compact));
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px var(--gutter) 24px;
    background: var(--black);
    border-bottom: 1px solid #262624;
    box-shadow: 0 18px 30px rgb(0 0 0 / 0.35);
  }
  .site-header nav.open {
    display: flex;
    animation: menu-in 240ms var(--ease-out);
  }
  @keyframes menu-in {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
  }
  .site-header nav > a:not(.nav-cta) {
    min-height: 58px;
    border-bottom: 1px solid #262624;
    font: 800 1.9rem / 1 var(--display);
    letter-spacing: -0.01em;
  }
  .site-header nav .nav-cta {
    min-height: 54px;
    margin: 20px 0 0;
    padding: 0 18px;
    font-size: 0.95rem;
  }
  .hero-place {
    display: none;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-copy p {
    max-width: 60ch;
  }
  .about-photos figure:first-child {
    width: 88%;
  }
  .class-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .class-name p {
    max-width: 60ch;
  }
  .hours-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-id {
    grid-column: 1 / -1;
  }
}

/* Phone */
@media (max-width: 600px) {
  .hero {
    min-height: max(560px, calc(100svh - var(--header-h)));
  }
  .hero::before {
    background: linear-gradient(0deg, #101010 0%, rgb(16 16 16 / 0.86) 42%, rgb(16 16 16 / 0.2) 72%, rgb(16 16 16 / 0.05) 100%);
  }
  .hero-photo {
    object-position: 38% 0%;
  }
  .hero-content {
    padding-block: 140px 32px;
  }
  .motto {
    margin-bottom: 16px;
    font-size: 0.7rem;
  }
  h1 {
    margin-bottom: 18px;
  }
  .hero-intro {
    margin-bottom: 24px;
    font-size: 1rem;
  }
  .actions .button {
    flex: 1 1 100%;
  }
  .open-status {
    margin-top: 20px;
  }
  .section-head,
  .contact-heading {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .about-photos figure:last-child {
    border-width: 6px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-buttons button {
    min-width: 0;
    padding: 0;
    font-size: 0.75rem;
  }
  .class-row {
    padding: 26px 0;
  }
  .class-entry {
    align-items: start;
  }
  .class-time {
    font-size: 1.3rem;
    padding-top: 2px;
  }
  .hours {
    padding: 40px 0;
  }
  .hours-list {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .plan,
  .plan + .plan,
  .plan:nth-child(3) {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name price"
      "name link";
    align-items: center;
    gap: 0 16px;
    padding: 20px 0;
    border-left: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .plan-name {
    grid-area: name;
  }
  .plan h3 {
    font-size: 1.75rem;
  }
  .plan-period {
    margin: 4px 0 0;
  }
  .plan-price {
    grid-area: price;
    margin: 0;
    font-size: 2.3rem;
    text-align: right;
  }
  .plan-link {
    grid-area: link;
    justify-self: end;
    min-height: 36px;
    font-size: 0.8rem;
  }
  .plan:has(.plan-link:focus-visible) {
    outline-offset: 2px;
  }
  .location-visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .location-visual img {
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .map-panel iframe {
    height: 280px;
    flex: none;
  }
  .footer-brand img {
    width: 120px;
    height: 120px;
  }
  .footer-end {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero::after,
  .hero-content > *,
  .class-row,
  .site-header nav.open {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
