:root {
  --ink: #0f2e2e;        /* deep teal, from the logo */
  --teal: #4fb3aa;       /* logo teal */
  --chalk: #eef2f1;
  --muted: #47615f;
  --muted-dark: #b7ccc9;
  --green: #2e9b57;      /* bumper plate colours */
  --yellow: #f2c230;
  --red: #d63a2f;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Mukta', system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font: 400 1.125rem/1.6 var(--body);
  color: var(--ink);
  text-wrap: pretty;
  background: var(--chalk);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 900; line-height: 0.95; margin: 0; }
h2 { font-size: clamp(2.5rem, 7vw, 4.5rem); margin-bottom: 2rem; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--yellow); padding: 0.5rem 1rem; }
.skip:focus { top: 1rem; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem var(--gutter);
  background: var(--ink); color: var(--chalk);
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; min-height: 44px; }
.brand img { border-radius: 50%; background: #fff; }
.brand span { font: 700 1.5rem/1 var(--display); }
.top nav { display: none; gap: 0.5rem; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; text-decoration: none; color: var(--muted-dark); }
.top nav a:hover { color: var(--chalk); }
@media (min-width: 760px) { .top nav { display: flex; } }

/* Hero */
.hero { display: grid; background: var(--ink); color: var(--chalk); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; }
.hero-copy { padding: 2rem var(--gutter) 3rem; }
.logotype { display: grid; font-size: clamp(5rem, min(22vw, 20svh), 11rem); line-height: 0.82; text-transform: uppercase; letter-spacing: -0.01em; }
.hero-lede { max-width: 36ch; margin: 1.5rem 0 0.25rem; color: var(--muted-dark); }
.hero-np { margin: 0 0 1.5rem; font-weight: 600; color: var(--teal); }
.status { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1.5rem; font-weight: 600; }
.dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #e3806f; flex: none; }
.status.is-open .dot { background: #5ad08a; box-shadow: 0 0 0 4px rgb(90 208 138 / 0.2); }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: min(calc(100svh - 64px), 780px); }
  .hero-photo { order: 2; }
  .hero-photo img { height: 100%; aspect-ratio: auto; }
  .hero-copy { align-self: center; padding-block: 4rem; }
}

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 599px) { .actions .btn { flex: 1 1 auto; } }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 2px solid transparent;
}
.btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: #ffd34d; }
.btn-ghost { border-color: rgb(238 242 241 / 0.45); color: var(--chalk); }
.btn-ghost:hover { border-color: var(--chalk); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--chalk); }

/* Sections */
.section { padding: clamp(4rem, 10vw, 7rem) max(var(--gutter), (100% - 1200px) / 2); }

/* Training */
.training { display: grid; gap: 2.5rem; }
.training-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; align-content: start; }
.training-photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.training-photos img:first-child { grid-column: span 2; }
.services { display: grid; gap: 0 2rem; margin: 0; }
.services div { padding: 1rem 0; border-top: 2px solid rgb(15 46 46 / 0.1); }
.services dt { font: 700 1.6rem/1.1 var(--display); margin-bottom: 0.3rem; }
.services dd { margin: 0; color: var(--muted); }
.extras { margin: 1.5rem 0 0; font-weight: 600; }
@media (min-width: 600px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .training { grid-template-columns: 5fr 6fr; gap: 4rem; align-items: start; }
  .training-photos { position: sticky; top: 2rem; }
}

/* Photos */
.photos { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(9rem, 30vw, 14rem); grid-auto-flow: dense; gap: 0.75rem; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }

/* Membership: plates on a bar */
.membership { background: var(--ink); color: var(--chalk); overflow-x: clip; }
.membership-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.membership-head h2 { margin: 0; }
.toggle { display: inline-flex; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: rgb(238 242 241 / 0.1); }
.toggle label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.4rem; border-radius: 999px; font-weight: 700; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle label:has(input:checked) { background: var(--chalk); color: var(--ink); }
.toggle label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.bar { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding: 3rem 0 1.5rem; }
.bar::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 14px; translate: -50% 0;
  border-radius: 7px; background: linear-gradient(90deg, #6e7d7c, #d9e0df 45%, #8b9998);
}
.plate {
  --hub: calc(var(--size) * 0.24);
  position: relative; display: grid; grid-template-rows: 1fr var(--hub) 1fr; justify-items: center;
  width: var(--size); height: var(--size); border-radius: 50%;
  text-decoration: none; color: var(--chalk);
  background: radial-gradient(circle, #0b1716 0 calc(var(--hub) * 0.38), #c9d2d1 0 calc(var(--hub) * 0.5), var(--c) 0);
  box-shadow:
    inset 0 0 0 calc(var(--size) * 0.03) rgb(0 0 0 / 0.25),
    inset 0 0 0 calc(var(--size) * 0.07) var(--c),
    inset 0 0 0 calc(var(--size) * 0.075) rgb(255 255 255 / 0.25),
    0 18px 30px rgb(0 0 0 / 0.35);
  transition: translate 0.2s;
}
.plate:hover { translate: 0 -4px; }
.plate-green { --c: var(--green); --size: 10rem; }
.plate-yellow { --c: var(--yellow); --size: 12rem; color: var(--ink); }
.plate-red { --c: var(--red); --size: 14rem; }
.plate-term { align-self: end; padding-bottom: 0.35rem; font-weight: 700; line-height: 1.15; text-align: center; }
.plate-term small { display: block; font-size: 0.8rem; font-weight: 600; opacity: 0.9; }
.plate-price { grid-row: 3; align-self: start; padding-top: 0.2rem; font: 900 calc(var(--size) * 0.15)/1 var(--display); }
@media (min-width: 860px) {
  .bar { flex-direction: row; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); padding-block: 4rem 2rem; }
  .bar::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 14px; translate: 0 -50%; background: linear-gradient(#6e7d7c, #d9e0df 45%, #8b9998); }
  .plate-green { --size: min(13rem, 21vw); }
  .plate-yellow { --size: min(15.5rem, 25vw); }
  .plate-red { --size: min(18rem, 29vw); }
}
/* The one motion moment: plates roll onto the bar */
.bar.is-waiting .plate { transform: translateX(-110vw) rotate(-540deg); }
.bar.is-loaded .plate { transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.2s; }
.bar.is-loaded .plate-yellow { transition-delay: 0.12s, 0s; }
.bar.is-loaded .plate-red { transition-delay: 0.24s, 0s; }

.plate-hint { text-align: center; margin: 0 0 2.5rem; color: var(--muted-dark); }
.membership-notes { max-width: 60ch; }
.membership-notes p { margin: 0 0 0.75rem; }
.membership-notes .fine { font-size: 0.95rem; color: var(--muted-dark); }

/* Reviews */
.rating { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 0.75rem; margin: 0 0 2.5rem; color: var(--muted); }
.rating-num { font: 900 4rem/1 var(--display); color: var(--ink); }
.quotes { display: grid; gap: 2rem; }
.quotes figure { margin: 0; padding-left: 1.25rem; border-left: 4px solid var(--teal); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { margin: 0 0 0.5rem; }
.quote-lead blockquote p { font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 600; line-height: 1.35; }
.quotes figcaption { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .quotes { grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; column-gap: 4rem; }
  .quote-lead { grid-row: span 2; }
}

/* Visit */
.visit { display: grid; gap: 2.5rem; padding-top: 0; }
.visit address { font-style: normal; font-size: 1.25rem; font-weight: 600; }
.visit address p { margin: 0 0 0.25rem; }
.visit address [lang="ne"] { font-size: 1.05rem; font-weight: 400; color: var(--muted); }
.hours { border-collapse: collapse; margin: 1.5rem 0; width: 100%; max-width: 24rem; }
.hours th, .hours td { padding: 0.6rem 0; border-bottom: 2px solid rgb(15 46 46 / 0.1); }
.hours th { text-align: left; font-weight: 600; }
.hours td { text-align: right; }
.storefront { margin: 2rem 0 0; }
.storefront img { border-radius: var(--radius); width: 100%; }
.storefront figcaption { margin-top: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); background: #d9e3e1; }
@media (min-width: 900px) {
  .visit { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .map { height: 100%; min-height: 520px; }
}

/* Footer */
.foot { padding: clamp(4rem, 9vw, 6rem) max(var(--gutter), (100% - 1200px) / 2) calc(2rem + 80px); background: var(--ink); color: var(--chalk); }
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.foot-motto { margin: 0 0 3rem; padding-bottom: 3rem; border-bottom: 2px solid rgb(238 242 241 / 0.12); }
.foot-motto blockquote { margin: 0; }
.foot-motto p { max-width: 15ch; font: 900 clamp(2.75rem, 8vw, 6rem)/0.9 var(--display); text-wrap: balance; }
.foot-motto figcaption { margin-top: 1rem; color: var(--muted-dark); }
.foot-grid { display: grid; gap: 2.5rem 2rem; }
.foot h3 { margin: 0 0 0.75rem; font: 700 1.4rem/1 var(--display); color: var(--teal); }
.foot address { font-style: normal; margin-bottom: 0.5rem; }
.foot address p { margin-bottom: 0.35rem; }
.foot-np, .foot-brand p:not(.foot-name) { color: var(--muted-dark); }
.foot-brand img { border-radius: 50%; background: #fff; margin-bottom: 1rem; }
.foot .foot-name { font: 900 2rem/1 var(--display); margin-bottom: 0.5rem; }
.foot-brand > p { max-width: 30ch; }
.foot .foot-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgb(238 242 241 / 0.25); }
.foot-social a:hover { border-color: var(--yellow); }
.foot-social svg { width: 20px; height: 20px; fill: currentColor; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list a, .foot-link { display: inline-flex; align-items: center; min-height: 44px; }
.foot-link { font-weight: 700; color: var(--yellow); }
.foot-hours { margin: 0 0 1rem; }
.foot-hours div { padding: 0.4rem 0; }
.foot-hours dt { font-weight: 600; }
.foot-hours dd { margin: 0; color: var(--muted-dark); }
.foot .status { margin: 0; font-size: 0.95rem; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid rgb(238 242 241 / 0.12); font-size: 0.9rem; color: var(--muted-dark); }
@media (max-width: 599px) {
  .foot-grid { grid-template-columns: 1fr 1fr; grid-auto-flow: dense; }
  .foot-grid > * { grid-column: span 2; }
  .foot-grid > :has(.foot-hours), .foot-grid > nav { grid-column: auto; }
}
@media (min-width: 600px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: span 2; } }
@media (min-width: 900px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-brand { grid-column: auto; } }
@media (min-width: 1200px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr 0.8fr; } }
@media (min-width: 900px) { .foot { padding-bottom: 2rem; } }

/* Mobile call bar: floats in once the hero buttons scroll away */
.callbar {
  position: fixed; z-index: 5; left: 50%; bottom: calc(0.75rem + env(safe-area-inset-bottom));
  width: min(26rem, calc(100% - 1.5rem)); translate: -50% 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.4rem;
  border-radius: 999px; background: rgb(15 46 46 / 0.94); backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgb(15 46 46 / 0.35);
}
.callbar.is-hidden { translate: -50% calc(100% + 2rem); visibility: hidden; }
@media (prefers-reduced-motion: no-preference) { .callbar { transition: translate 0.3s ease, visibility 0.3s; } }
.callbar .btn { padding: 0 1rem; }
.btn-wa { background: #1f7a45; color: #fff; }
.btn-wa:hover { background: #24904f; }
@media (min-width: 900px) { .callbar { display: none; } }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgb(15 46 46 / 0.88); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -3.25rem; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--chalk); color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
