/* Brownings Fitness — art direction: "lacquer method atelier"
   Charcoal studio field · brand lacquer orange · cool stone
   Bodoni Moda + Albert Sans — Upper East Side private-training folio,
   not CrossFit bro, not purple wellness SaaS, not ivory serif house template */

@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Bodoni+Moda:ital,opsz,wght@0,6..96,500;0,6..96,600;0,6..96,700;1,6..96,500&display=swap");

:root {
  --ink: #0c0b0a;
  --charcoal: #161412;
  --studio: #1e1c1a;
  --stone: #cfc8bf;
  --mist: #a8a099;
  --paper: #ebe6df;
  --paper-soft: #f3efe9;
  --lacquer: #f25c12;
  --lacquer-deep: #d44a08;
  --line: rgba(235, 230, 223, 0.12);
  --line-strong: rgba(235, 230, 223, 0.22);
  --line-dark: rgba(12, 11, 10, 0.12);
  --font-display: "Bodoni Moda", "Times New Roman", Georgia, serif;
  --font-body: "Albert Sans", "Segoe UI", sans-serif;
  --max: 1080px;
  --max-wide: 1220px;
  --pad: clamp(1.15rem, 4vw, 2.35rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--paper);
  background:
    radial-gradient(ellipse 900px 520px at 8% -10%, rgba(242, 92, 18, 0.08), transparent 55%),
    radial-gradient(ellipse 700px 480px at 100% 30%, rgba(242, 92, 18, 0.04), transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--charcoal) 45%, #12100e 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lacquer);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--lacquer);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 2 * var(--pad), var(--max-wide));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 11, 10, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 2 * var(--pad), var(--max-wide));
  margin-inline: auto;
}

.brand {
  justify-self: start;
  text-decoration: none;
  line-height: 0;
}

.brand:hover {
  color: inherit;
}

.brand img {
  height: clamp(1.7rem, 3.2vw, 2.15rem);
  width: auto;
}

.nav-desktop-wrap {
  justify-self: center;
}

.nav-desktop {
  display: flex;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--lacquer);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-phone {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--paper);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: 0.5rem var(--pad) 1.25rem;
}

.nav-mobile ul {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.nav-mobile a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-mobile .btn {
  width: 100%;
  justify-content: center;
}

.nav-mobile.is-open {
  display: block;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.35s var(--ease);
}

.btn-lacquer {
  background: var(--lacquer);
  color: var(--ink);
}

.btn-lacquer:hover {
  background: var(--lacquer-deep);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}

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

.btn-ink {
  background: var(--ink);
  color: var(--paper);
}

.btn-ink:hover {
  background: var(--lacquer);
  color: var(--ink);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 11, 10, 0.35) 0%, rgba(12, 11, 10, 0.55) 42%, rgba(12, 11, 10, 0.92) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.55) 0%, transparent 55%);
}

.hero-content {
  width: min(100% - 2 * var(--pad), var(--max-wide));
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 7rem) 0 clamp(2.5rem, 6vh, 3.5rem);
  max-width: 38rem;
  justify-self: start;
  margin-left: max(var(--pad), calc((100% - var(--max-wide)) / 2 + var(--pad)));
}

.hero-brand {
  display: block;
  margin: 0 0 1.35rem;
  width: min(100%, 22rem);
}

.hero-brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 6.2vw, 4.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper-soft);
}

.hero-lede {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--stone);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-paper a:hover {
  color: var(--lacquer-deep);
}

.section-studio {
  background: var(--studio);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-head h2,
.page-hero h1,
.method-block h2,
.panel h2,
.trainer-copy h3,
.loc-card h3,
.tier h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.section-head p {
  margin: 0;
  color: var(--mist);
}

.section-paper .section-head p {
  color: #5c564f;
}

/* Method score */
.method-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.method-score div {
  padding: 1.35rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.method-score div:last-child {
  border-right: 0;
}

.method-score dt {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.method-score dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 500;
  color: var(--paper);
}

.method-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
}

.method-block h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--ink);
}

.method-block p {
  margin: 0 0 1rem;
  color: #3f3a35;
}

.method-block p:last-of-type {
  margin-bottom: 1.5rem;
}

.method-block figure {
  margin: 0;
  overflow: hidden;
}

.method-block img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.92);
}

/* Services index */
.service-index {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.service-index li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.service-index .num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--lacquer);
}

.service-index .name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 500;
}

.service-index .note {
  font-size: 0.85rem;
  color: var(--mist);
  text-align: right;
}

/* Promo band */
.promo-band {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.25rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promo-band h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 500;
}

.promo-band p {
  margin: 0;
  color: var(--mist);
  max-width: 34rem;
}

/* Locations */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.loc-card {
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--lacquer);
}

.loc-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}

.loc-card p {
  margin: 0 0 0.35rem;
  color: var(--mist);
}

.loc-card a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.loc-card a:hover {
  color: var(--lacquer);
  border-color: var(--lacquer);
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
}

.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--mist);
  font-size: 1.08rem;
}

/* About layout */
.about-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.75rem, 5vw, 3.5rem);
  align-items: start;
}

.about-split figure {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.about-split img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 500;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--stone);
}

.cred-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cred-list li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--stone);
  font-size: 0.95rem;
}

.cred-list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Nutrition */
.nutrition-lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.nutrition-lead img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.nutrition-lead p {
  color: var(--stone);
}

.tier-stack {
  display: grid;
  gap: 0;
}

.tier {
  display: grid;
  grid-template-columns: minmax(10rem, 0.45fr) 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.tier:last-child {
  border-bottom: 1px solid var(--line);
}

.tier h3 {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
}

.tier .meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.tier ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--stone);
}

.tier li + li {
  margin-top: 0.45rem;
}

.tier .tier-cta {
  margin-top: 1rem;
}

.nutrition-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.nutrition-strip img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Trainers */
.roster-note {
  margin: 0 0 2rem;
  color: var(--mist);
  max-width: 34rem;
}

.roster {
  display: grid;
  gap: 0;
}

.trainer {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.35rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.trainer:last-child {
  border-bottom: 1px solid var(--line);
}

.trainer-photo {
  margin: 0;
  background: var(--studio);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.trainer-photo.placeholder {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.trainer-copy h3 {
  margin: 0 0 0.2rem;
  font-size: 1.45rem;
}

.trainer-copy .role {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.trainer-copy p {
  margin: 0;
  color: var(--stone);
  font-size: 0.98rem;
}

.roster-group {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.roster-group h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 500;
}

.roster-group > p {
  margin: 0 0 1rem;
  color: var(--mist);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-locs {
  display: grid;
  gap: 1.5rem;
}

.panel {
  padding: 0;
}

.panel h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.contact-line {
  margin: 0 0 0.55rem;
  color: var(--stone);
}

.contact-line a {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
}

.contact-line a:hover {
  color: var(--lacquer);
}

.hours-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.92rem;
}

.form {
  display: grid;
  gap: 0.9rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 0.95rem;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.form-status {
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(242, 92, 18, 0.45);
  background: rgba(242, 92, 18, 0.1);
  color: var(--paper);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
  background: #090807;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 1.85rem;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-brand p,
.footer-col p,
.footer-col a {
  color: var(--mist);
  font-size: 0.92rem;
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.footer-col p {
  margin: 0 0 0.35rem;
}

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

.footer-col a:hover {
  color: var(--lacquer);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.82rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

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

  .hero-media img {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* —— Responsive —— */
@media (max-width: 960px) {
  .nav-desktop-wrap {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .method-block,
  .about-split,
  .nutrition-lead,
  .contact-grid,
  .loc-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-split figure {
    position: static;
  }

  .method-score {
    grid-template-columns: 1fr;
  }

  .method-score div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    padding-inline: 0;
  }

  .method-score div:last-child {
    border-bottom: 0;
  }

  .service-index li {
    grid-template-columns: auto 1fr;
  }

  .service-index .note {
    grid-column: 2;
    text-align: left;
  }

  .promo-band {
    grid-template-columns: 1fr;
  }

  .tier {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .nutrition-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .trainer {
    grid-template-columns: 6.5rem 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: var(--pad);
    margin-right: var(--pad);
    max-width: none;
  }
}

@media (max-width: 560px) {
  .nutrition-strip {
    grid-template-columns: 1fr;
  }

  .trainer {
    grid-template-columns: 1fr;
  }

  .trainer-photo {
    max-width: 12rem;
  }
}
