@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-800-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f3eb;
  --white: #fffcf6;
  --ink: #1b1610;
  --dark: #20160e;
  --muted: #60554a;
  --line: #d9cebf;
  --gold: #ffc42e;
  --rust: #a04a19;
  --body: 'DM Sans', system-ui, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --shell: 1224px;
  --ease-out: cubic-bezier(.2, .72, .28, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--ink); background: var(--paper); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ab520d; outline-offset: 5px; }
:where(.hero, .workouts, .visit) :focus-visible { outline-color: var(--gold); }
section[id] { scroll-margin-top: 96px; }
.shell { width: min(calc(100% - 100px), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(4.25rem, 8vw, 8rem); }
.skip-link { position: fixed; z-index: 10; top: 1rem; left: 1rem; background: var(--gold); padding: 10px 16px; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, p, figure, dl { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .91;
  letter-spacing: -.024em;
  text-transform: uppercase;
}
h2 { font-size: clamp(3.1rem, 6.4vw, 6.2rem); }
h3 { font-size: clamp(2.05rem, 3.65vw, 3.75rem); }
.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.eyebrow span { width: 19px; height: 8px; flex: 0 0 auto; background: var(--rust); transform: skewX(-24deg); }
.hero .eyebrow span, .workouts .eyebrow span, .visit .eyebrow span { background: var(--gold); }

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .22s var(--ease-out);
}
.button-small { min-height: 44px; padding-inline: 16px; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover { background: #50321e; }
.button-gold { color: var(--ink); background: var(--gold); }
.button-gold:hover { background: #ffda7c; }
.button-outline { min-height: 44px; border-color: var(--line); }
.button-outline:hover:enabled { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button-outline:disabled { opacity: .45; cursor: default; }
button:not(:disabled) { cursor: pointer; }
.text-link { font-weight: 700; text-underline-offset: .35em; }
.text-link:hover { color: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; min-height: 78px; }
.brand { display: block; width: 160px; justify-self: start; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.primary-nav a, .site-footer nav a {
  font-size: .9375rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:hover, .site-footer nav a:hover { text-decoration: underline; text-underline-offset: .35em; }
.header-contact { justify-self: end; }

.hero {
  --hero-pad: max(48px, calc((100% - var(--shell)) / 2));
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  min-height: clamp(520px, 49vw, 650px);
  max-width: 1664px;
  margin: 14px auto 0;
  padding: 84px var(--hero-pad);
  overflow: clip;
  background: #21170f;
  color: var(--white);
}
.hero-visual { position: absolute; inset: 0 0 0 37%; z-index: -1; overflow: hidden; }
.hero-visual picture { display: block; height: 100%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #21170f 0%, #21170fe8 13%, #21170f54 39%, transparent 73%),
              linear-gradient(0deg, #21170f80 0%, transparent 36%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 5%;
  width: 90px;
  height: 14px;
  transform: skewX(-32deg);
  background: repeating-linear-gradient(90deg, var(--gold) 0 9px, transparent 9px 15px);
}
.hero-content { max-width: 100%; }
.hero .eyebrow { color: #f5ebd9; margin-bottom: 26px; }
.hero h1 { font-size: clamp(4.15rem, 8.7vw, 8.9rem); }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-text { max-width: 375px; margin-top: 24px; color: #f2e6d5; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 28px; }
.hero-caption {
  position: absolute;
  bottom: 30px;
  right: var(--hero-pad);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: #21170fe0;
  font-size: .8125rem;
  font-weight: 700;
}
.hero-caption span { height: 8px; width: 8px; background: var(--gold); }

.quick-info { display: grid; grid-template-columns: .8fr .75fr 1.45fr; border-bottom: 1px solid var(--line); }
.quick-info > * { padding: 24px 26px; text-decoration: none; }
.quick-info > :first-child { padding-left: 0; }
.quick-info > * + * { border-left: 1px solid var(--line); }
.quick-info p { font-size: .875rem; color: var(--muted); }
.quick-info strong { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.25; }
.quick-info a:hover strong { text-decoration: underline; text-underline-offset: .25em; }

.about { display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); }
.about-media { position: relative; aspect-ratio: 1.14; }
.about-media img:first-child { width: 76%; height: 91%; object-fit: cover; object-position: center 38%; }
.about-media img + img { position: absolute; width: 40%; height: 54%; right: 0; bottom: 0; border: 7px solid var(--paper); object-fit: cover; object-position: 44% center; }
.about-copy > p:not(.eyebrow) { max-width: 530px; margin-top: 21px; color: var(--muted); }
.feature-list { margin: 19px 0 26px; }
.feature-list > div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.feature-list dt { font-weight: 700; }
.feature-list dd { margin: 2px 0 0; color: var(--muted); }

.workouts { color: var(--white); background: var(--dark); }
.section-intro { display: flex; justify-content: space-between; align-items: end; gap: 24px 36px; margin-bottom: 36px; }
.section-intro > p { max-width: 335px; }
.workouts .section-intro > p { color: #e1d3c1; }
.workout-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workout-card { display: flex; min-width: 0; flex-direction: column; background: #302317; border-bottom: 3px solid var(--gold); }
.workout-card img { aspect-ratio: 1.06; object-fit: cover; object-position: 50% 34%; }
.workout-card:nth-child(2) img { object-position: 50% 48%; }
.workout-card-copy { padding: 19px 22px 24px; }
.workout-card p { margin-top: 10px; color: #e1d3c1; }
.workout-card details { margin-top: 13px; border-top: 1px solid #765d42; border-bottom: 0; }
.workout-card summary { padding: 12px 0 0; }
.workout-card summary::after { border-color: var(--gold); margin-right: 3px; }

.gallery .section-intro { align-items: end; }
.gallery-controls { display: flex; gap: 8px; flex-shrink: 0; }
.gallery-track {
  --gap: 14px;
  display: grid;
  gap: var(--gap);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-color: #a0744d var(--line);
  padding-bottom: 9px;
}
.gallery-track figure { min-width: 0; scroll-snap-align: start; }
.gallery-track img { aspect-ratio: 1.26; object-fit: cover; object-position: center 54%; }
.gallery-track figure:nth-child(3) img { object-position: center 35%; }
.gallery-track figcaption { padding-block: 11px; font-weight: 700; }
.gallery-track[tabindex] { cursor: grab; }
.gallery-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery-pagination { display: flex; justify-content: center; gap: 3px; margin-top: 10px; }
.gallery-pagination button { display: grid; place-items: center; width: 32px; height: 36px; padding: 0; border: 0; background: transparent; }
.gallery-pagination button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #a08872; transition: background-color .2s, transform .22s var(--ease-out); }
.gallery-pagination button[aria-current="true"]::before { background: var(--rust); transform: scale(1.45); }

.join { display: grid; grid-template-columns: 1.18fr 1fr; background: var(--gold); }
.join-copy { align-self: center; padding: clamp(32px, 6.2vw, 86px); padding-right: 24px; }
.join h2 { font-size: clamp(3rem, 5.7vw, 5.75rem); }
.join p:not(.eyebrow) { max-width: 375px; margin: 22px 0 25px; }
.join > img { width: 100%; height: 100%; max-height: 510px; object-fit: cover; object-position: center 44%; }

.reviews { padding-bottom: 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(20px, 2.35vw, 32px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  background: var(--white);
}
.review-stars { color: #9a560b; letter-spacing: .15em; font-size: 1.125rem; line-height: 1; }
.review-card blockquote { margin: 0; font-size: 1.0625rem; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 5px; }
.review-author strong, .review-author strong + span { display: block; }
.review-author strong { line-height: 1.3; }
.review-author strong + span { color: var(--muted); font-size: .875rem; }
.review-initials {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  font-size: .875rem;
  font-weight: 700;
}

.faq { display: grid; grid-template-columns: .85fr 1fr; gap: 36px; align-items: start; }
.faq-questions { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  flex: 0 0 10px;
  height: 10px;
  border-right: 2px solid var(--rust);
  border-bottom: 2px solid var(--rust);
  transform: rotate(45deg) translate(-2px, -2px);
}
details[open] summary::after { transform: rotate(225deg); }
details p { margin: 0 22px 17px 0; color: var(--muted); }
details a { font-weight: 700; text-underline-offset: .18em; }

@keyframes hero-picture {
  from { opacity: .04; transform: scale(1.18); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes reveal {
  from { opacity: 0; transform: translate(var(--reveal-x, 0px), var(--reveal-y, 34px)); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-visual img { animation: hero-picture 1.28s var(--ease-out) both; }
  .hero .eyebrow, .hero h1 { animation: fade-in .86s .24s var(--ease-out) both; }
  .hero-text, .hero-actions, .hero-caption { animation: fade-in .8s .49s var(--ease-out) both; }
  .hero-actions:focus-within { animation: none; }
  [data-reveal].is-revealed { animation: reveal .7s var(--reveal-delay, 0s) var(--ease-out) both; }
  [data-reveal="from-left"] { --reveal-x: -32px; --reveal-y: 0px; }
  .workout-card:nth-child(2), .review-card:nth-child(3n + 2) { --reveal-delay: .08s; }
  .workout-card:nth-child(3), .review-card:nth-child(3n) { --reveal-delay: .16s; }
  [data-reveal].is-revealed:focus-within { animation: none; }
  details[open] > p { --reveal-y: 8px; animation: reveal .27s var(--ease-out) both; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { transform: translateY(-2px); }
  .button:not(:disabled):active { transform: translateY(0); }
}

.visit { padding-block: clamp(54px, 7.4vw, 104px); background: var(--dark); color: var(--white); }
.visit-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: clamp(30px, 6vw, 84px); }
address { font-style: normal; color: #eadccd; margin: 20px 0 25px; }
.visit-hours { border-top: 1px solid #725b46; }
.visit-hours > div { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 3px 14px; padding: 14px 0; border-bottom: 1px solid #725b46; }
.visit-hours dt { color: #eadccd; }
.visit-hours dd { margin: 0; font-weight: 700; }
.visit-hours a { text-underline-offset: .25em; }

.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; min-height: 100px; padding-block: 16px; }
.footer-inner p { font-size: .875rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 64px); }
  .hero { --hero-pad: 32px; }
  .header-inner { gap: 14px; }
  .header-inner .brand { width: 137px; }
  .primary-nav { gap: 15px; }
  .header-contact { padding-inline: 10px; }
  .workout-card-copy { padding-inline: 15px; }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 67px; }
  .header-inner .brand { width: 135px; }
  .header-contact { display: none; }
  .primary-nav { grid-column: 1 / -1; align-items: stretch; gap: 0; flex-direction: column; padding-bottom: 12px; }
  .primary-nav a { display: block; padding: 10px 0; border-top: 1px solid var(--line); }
  .menu-toggle {
    display: inline-flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding-inline: 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    font-size: .9375rem;
    color: var(--ink);
    font-weight: 700;
  }
  .menu-icon { width: 13px; height: 10px; border-block: 2px solid currentColor; }
  .hero { --hero-pad: 20px; min-height: 0; justify-content: start; margin-top: 0; padding: 48px var(--hero-pad) 0; }
  .hero h1 { font-size: clamp(2.95rem, 14.35vw, 6.25rem); }
  .hero .eyebrow { margin-bottom: 19px; }
  .hero-text { margin-top: 18px; font-size: 1rem; }
  .hero-actions { margin-top: 20px; }
  .hero-visual { width: calc(100% + 2 * var(--hero-pad)); height: clamp(225px, 62vw, 370px); position: relative; inset: auto; margin: 23px calc(-1 * var(--hero-pad)) 0; order: 1; }
  .hero-visual img { object-position: center 59%; }
  .hero-visual::after { background: linear-gradient(180deg, #21170f 0%, #21170f20 29%, transparent 56%, #21170f4d 100%); }
  .hero-caption { bottom: 22px; }
  .hero::after { right: 23px; height: 9px; }
  .quick-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-info > * { padding: 16px 12px; }
  .quick-info > :last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 27px; }
  .about-media { order: 1; }
  .section-intro { align-items: start; flex-direction: column; margin-bottom: 24px; }
  .gallery .section-intro { align-items: start; gap: 18px; }
  .workout-grid { gap: 12px; }
  .workout-card h3 { font-size: clamp(1.7rem, 5vw, 3.15rem); }
  .workout-card-copy { padding: 15px; }
  .gallery-track { grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-card:nth-child(n) { --reveal-delay: 0s; }
  .join-copy { padding: 28px 20px; }
  .faq, .visit-inner { grid-template-columns: 1fr; }
  .footer-inner { justify-content: flex-start; }
}
@media (max-width: 520px) {
  .hero-actions { gap: 12px 15px; }
  .hero-actions .text-link { font-size: .875rem; }
  .button { padding-inline: 14px; }
  .workout-grid, .reviews-grid { grid-template-columns: 1fr; }
  .workout-card img { aspect-ratio: 1.45; object-position: center 36%; }
  .workout-card h3 { font-size: 2.5rem; }
  .workout-card:nth-child(n) { --reveal-delay: 0s; }
  .gallery-track { grid-auto-columns: 84%; }
  .join { grid-template-columns: 1fr; }
  .join > img { aspect-ratio: 1.45; max-height: 320px; }
  .faq { gap: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding-block: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
