@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald.d2bdff988e.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* Code 3 Health & Fitness
   Black, white and the red from the gym's racks. One stylesheet, no frameworks.
   The site is black by design, so light- and dark-mode visitors see the same thing. */

:root {
  color-scheme: dark;
  --black: #000000;
  --surface: #141414;
  --surface-2: #1c1c1c;
  --rule: #2e2e2e;
  --line: #555555;
  --white: #ffffff;
  --ash: #b8b8b8;      /* secondary text: 10.6:1 on black */
  --red: #d7191f;      /* fills; white text on it is 5.2:1 */
  --red-deep: #b5141a; /* hover */
  --red-text: #f0453b; /* red as small text on black: 5.6:1 */
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", "sans-serif-condensed", "HelveticaNeue-CondensedBold", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--black);
}
*, *::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: env(safe-area-inset-top, 0px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { color: var(--white); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 48rem; }  /* keeps long forms readable while staying aligned with the page title */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -5rem; z-index: 100;
  background: var(--white); color: var(--black); padding: .75rem 1rem; font-weight: 700; border-radius: 4px;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.875rem; padding: .75rem 1.25rem;
  font: 500 1.0625rem/1 var(--display); letter-spacing: .02em; white-space: nowrap;
  text-decoration: none; border-radius: 4px; border: 2px solid transparent; cursor: pointer;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); color: var(--white); }
.btn-line { border-color: var(--white); color: var(--white); background: transparent; }
.btn-line:hover { background: var(--white); color: var(--black); }
.btn-sm { min-height: 2.75rem; padding: .5rem 1rem; }
.btn-lg { min-height: 3.25rem; padding: .9rem 1.75rem; font-size: 1.1875rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-text {
  background: none; border: 0; padding: .5rem 0; min-height: 2.75rem;
  color: var(--white); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer;
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 1rem 1.75rem; min-height: 4.75rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.brand-logo { width: 3rem; height: 3rem; object-fit: contain; flex: none; }
.brand-words { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand-mark { font: 700 1.875rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand-sub { font-size: .8125rem; color: var(--ash); margin-top: .3rem; }
.nav { display: flex; gap: 1.5rem; }
.nav a { color: var(--ash); font-weight: 500; text-decoration: none; padding: .25rem 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  min-height: 2.75rem; padding: 0 .875rem; border: 1px solid var(--line); border-radius: 4px; font-weight: 600;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--surface-2); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 20;
  display: flex; flex-direction: column; min-width: 14rem; padding: .5rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: 6px;
}
.menu nav a { padding: .75rem; text-decoration: none; border-radius: 4px; }
.menu nav a:hover { background: var(--surface-2); }
.menu nav a[aria-current="page"] { color: var(--white); box-shadow: inset 3px 0 0 var(--red); }
@media (max-width: 880px) {
  .nav { display: none; }
  .menu { display: block; }
}
/* Phones: keep the header on one line, even before the headline font loads */
@media (max-width: 480px) {
  .head-row { gap: .75rem 1rem; }
  .brand { gap: .625rem; }
  .brand-logo { width: 2.5rem; height: 2.5rem; }
  .brand-mark { font-size: 1.625rem; }
  .brand-sub { display: none; }
}
@media (max-width: 359px) {
  .brand-words { display: none; }  /* the shield itself reads CODE 3 */
}

/* Home hero: type carries it, so the first screen needs no image download */
.hero { padding-block: clamp(3.5rem, 11vw, 7.5rem) clamp(3rem, 8vw, 5rem); border-bottom: 1px solid var(--rule); }
.hero-title {
  font: 700 clamp(2.4rem, 7vw, 5.6rem)/.98 var(--display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.hero-title span { display: block; }
.hero-lede { max-width: 56ch; color: var(--ash); font-size: 1.1875rem; margin-top: 2rem; }
.hero-facts { margin-top: 1.5rem; color: var(--ash); font-size: .9375rem; }

/* Sections */
.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--rule); }
.section-tight { padding-top: 0; }
.section-title {
  font: 700 clamp(1.875rem, 4.5vw, 3rem)/1 var(--display);
  text-transform: uppercase; margin-bottom: 2rem;
}
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem 4rem; align-items: start; }
.split .section-title { margin-bottom: 0; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split .section-title { margin-bottom: 1rem; } }
.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1rem; }
.more { font-weight: 600; color: var(--white); }
.more-row { margin-top: 1.5rem; }
.note { margin-top: 1.5rem; color: var(--ash); font-size: .9375rem; }
.note a { color: var(--white); }
.first-visit p { max-width: 56ch; color: var(--ash); margin-bottom: 1.75rem; font-size: 1.125rem; }
.first-visit .cta-row { margin-top: 0; }

.page-head { padding-block: clamp(3rem, 8vw, 5rem) clamp(2rem, 5vw, 3rem); }
.page-head h1 { font: 700 clamp(2.25rem, 6vw, 4.25rem)/1 var(--display); text-transform: uppercase; max-width: 18ch; }
.page-head p { color: var(--ash); max-width: 58ch; margin-top: 1.25rem; font-size: 1.1875rem; }
.page-head p a { color: var(--white); }
.page-head-done { padding-bottom: clamp(4rem, 10vw, 7rem); }

/* Home photo row */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 2.5rem; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
@media (max-width: 640px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip picture:first-child { grid-column: 1 / -1; }
}

/* Price board: membership first, then training and classes */
.plan {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center;
  padding: 1.75rem 0; border-top: 4px solid var(--red); border-bottom: 1px solid var(--rule);
}
.plan-title { font: 500 2rem/1.1 var(--display); margin-bottom: .5rem; }
.plan-info p, .services p { color: var(--ash); }
.plan-buy { display: grid; justify-items: start; gap: .75rem; }
.price { color: var(--ash); }
.amt { font: 700 3rem/1 var(--display); color: var(--white); margin-right: .2rem; }
.fine { font-size: .875rem; color: var(--ash); max-width: 34ch; }
.services { list-style: none; margin: 0; padding: 0; }
.services li {
  display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem 13.5rem; gap: 1rem 2rem; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--rule);
}
.services h3 { font: 500 1.5rem/1.15 var(--display); margin-bottom: .375rem; }
.services .price { font: 500 1.5rem/1 var(--display); color: var(--white); text-align: right; }
.services .btn { width: 100%; }
@media (max-width: 680px) {
  .plan { grid-template-columns: 1fr; }
  .services li { grid-template-columns: minmax(0, 1fr) auto; }
  .services .btn { grid-column: 1 / -1; width: auto; justify-self: start; }
}

/* Events */
.events { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.event {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--rule);
}
.event-when { font: 500 1.375rem/1.1 var(--display); text-transform: uppercase; }
.ev-dow { color: var(--red-text); display: block; font-size: .9375rem; letter-spacing: .04em; }
.ev-tba { color: var(--ash); font-family: var(--body); font-size: .9375rem; text-transform: none; font-weight: 600; }
.event-body h3 { font: 500 1.5rem/1.15 var(--display); margin-bottom: .25rem; }
.event-where { color: var(--ash); }
.event-body p + p { margin-top: .5rem; }
@media (max-width: 640px) { .event { grid-template-columns: 1fr; } }
.empty { color: var(--ash); font-size: 1.125rem; }
.empty a { color: var(--white); }

/* About: every photo at once under a dark tint so the words stay readable */
.wall {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  background: var(--black); border-bottom: 1px solid var(--rule);
}
.wall picture, .wall img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wall img { object-fit: cover; }
.wall-tint {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.62) 36%, rgba(0,0,0,.18) 72%, rgba(0,0,0,0) 100%),
    rgba(0,0,0,.58);
}
.wall-text { position: relative; z-index: 1; width: 100%; padding-block: 7rem clamp(3rem, 9vh, 6rem); }
.wall-text h1 {
  font: 700 clamp(2.5rem, 7vw, 5.5rem)/.95 var(--display);
  text-transform: uppercase; max-width: 13ch; margin-bottom: 1.5rem;
}
.wall-text p { max-width: 56ch; font-size: 1.1875rem; color: #f2f2f2; }
/* Home hero: the same photo wall and tint as the About page. It fills the rest of the
   first screen under the header, so the buttons are visible without scrolling. */
.hero.wall { padding-block: 0; min-height: calc(100vh - 4.75rem - 1px); min-height: calc(100svh - 4.75rem - 1px); }
.hero-text { position: relative; z-index: 1; width: 100%; padding-block: clamp(2.5rem, 7vh, 6rem) clamp(2rem, 7vh, 5rem); }
.hero.wall .hero-lede, .hero.wall .hero-facts { color: #f2f2f2; }  /* brighter so it stays readable over photos */
.wall-text .wall-closer {
  margin-top: 2rem; font: 500 1.625rem/1.15 var(--display); text-transform: uppercase; color: var(--white);
}

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 3rem; }
.person-photo { margin-bottom: 1.25rem; max-width: 26rem; }
.person-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--surface); }
.person h3 { font: 500 1.75rem/1.1 var(--display); text-transform: uppercase; }
.person .role { color: var(--red-text); font-weight: 600; margin: .375rem 0 .875rem; }
.person > p:not(.role) { color: var(--ash); }
.person blockquote { margin: 1.25rem 0 0; padding-left: 1rem; border-left: 3px solid var(--red); }
.person blockquote p { color: var(--white); font-size: 1.0625rem; }

/* Forms */
.form { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.25rem; }
.form > fieldset > legend {
  font: 500 1.5rem/1.2 var(--display); text-transform: uppercase; padding: 0; margin-bottom: 1.25rem;
}
.form fieldset fieldset legend { padding: 0; margin-bottom: .5rem; }
.field { display: grid; gap: .4rem; align-content: start; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.25rem; }
.field-short { max-width: 10rem; }
.form label, .label { font-weight: 600; }
.opt { font-weight: 400; color: var(--ash); font-family: var(--body); text-transform: none; font-size: 1rem; }
.hint { font-size: .9375rem; color: var(--ash); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form textarea {
  width: 100%; min-height: 2.875rem; padding: .7rem .8rem;
  font: inherit; color: var(--white); background: var(--surface);
  border: 1px solid var(--line); border-radius: 4px;
}
.form textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { border-color: var(--white); outline: 2px solid var(--white); outline-offset: 1px; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: var(--red-text); }
.choice { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.form .choice { font-weight: 400; }
.choice input { flex: none; width: 1.375rem; height: 1.375rem; margin: .12rem 0 0; accent-color: var(--red); }
.radio-row { display: flex; gap: 2rem; flex-wrap: wrap; }
.error { color: var(--red-text); font-size: .9375rem; font-weight: 600; }
.error:empty { display: none; }
.sig-pad {
  position: relative; background: #ffffff; border: 2px solid var(--line); border-radius: 4px; overflow: hidden;
}
.sig-pad::after {
  content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 2.25rem;
  border-bottom: 1px solid #c4c4c4; pointer-events: none;
}
.sig-pad canvas { display: block; width: 100%; height: 11rem; touch-action: none; cursor: crosshair; }
.sig-pad.is-invalid { border-color: var(--red-text); }
.sig-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.submit-row { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; }
.status { color: var(--ash); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { border: 2px solid var(--red-text); border-radius: 4px; padding: 1rem 1.25rem; }
.alert:focus { outline: 3px solid var(--white); outline-offset: 3px; }
.alert-title { font-weight: 700; margin-bottom: .5rem; }
.alert ul { margin: 0; padding-left: 1.25rem; }
.alert li + li { margin-top: .25rem; }
.alert a { color: var(--white); }
.notice { border: 2px dashed var(--line); border-radius: 4px; padding: 1rem 1.25rem; margin-bottom: 2rem; color: var(--ash); }
.notice strong { color: var(--white); }
.notice p + p { margin-top: .5rem; }

.waiver-text {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.waiver-text h2 { font: 500 1.5rem/1.2 var(--display); text-transform: uppercase; margin-bottom: 1rem; }
.waiver-text h3 { font: 500 1.1875rem/1.25 var(--display); text-transform: uppercase; margin: 1.5rem 0 .5rem; }
.waiver-text p + p { margin-top: .875rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem 5rem; align-items: start; }
.contact-grid .form { margin-top: 0; gap: 1.5rem; }
.contact-info h2 { font: 500 1.25rem/1.2 var(--display); text-transform: uppercase; margin: 0 0 .5rem; }
.contact-info p { color: var(--ash); margin-bottom: .375rem; }
.contact-info p + h2 { margin-top: 1.75rem; }
.contact-info a { color: var(--white); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.policy h2 { font: 500 1.5rem/1.2 var(--display); text-transform: uppercase; margin: 2.25rem 0 .75rem; }
.policy h2:first-child { margin-top: 0; }
.policy p { color: #dddddd; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: 3rem; color: var(--ash); font-size: .9375rem; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; }
.site-foot h2 { font: 500 1.125rem/1.2 var(--display); text-transform: uppercase; color: var(--white); margin-bottom: .75rem; }
.site-foot p { margin-bottom: .375rem; }
.site-foot a { color: var(--white); }
.site-foot .legal { margin-top: 2.5rem; font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-head, .site-foot, .skip, .cta-row, .menu { display: none; }
  body { background: #fff; color: #000; }
}
