/* AM Fitness | Results By Design */
:root {
  --charcoal: #1C1C1D;
  --charcoal-2: #242426;
  --panel: #2A2A2C;
  --line: #3A3A3D;
  --gold: #C4A06A;
  --gold-soft: #B08D57;
  --cream: #F3ECDE;
  --body: #DDD6C9;
  --muted: #9A958C;
  --display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --cut: 0.34; /* the slant of the AF monogram */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--body);
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--cream); }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--cream); line-height: 1.1; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1.1em; max-width: 64ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--panel { background: var(--charcoal-2); }
.lede { font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--cream); line-height: 1.55; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--gold); color: var(--charcoal); padding: .5rem 1rem; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(28,28,29,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; letter-spacing: .18em; font-size: .95rem; color: var(--cream); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-family: var(--display); font-size: .92rem; font-weight: 600; text-decoration: none; color: var(--body); position: relative; padding-block: .4rem; }
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] { color: var(--cream); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--gold); }
.nav .btn { padding: .7rem 1.2rem; }
.nav .btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--cream); font-family: var(--display); font-weight: 600; font-size: .9rem; padding: .55rem .9rem; cursor: pointer; }

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--charcoal); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.5rem; display: none; }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; margin: -3px 0 0; }
  .nav .btn { margin-top: 1rem; width: 100%; text-align: center; border-bottom: 0; }
}

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .98rem; text-decoration: none; padding: 1rem 1.6rem; border-radius: 2px; border: 1.5px solid var(--gold); background: var(--gold); color: var(--charcoal); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--cream); border-color: var(--cream); color: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--ghost:hover { background: transparent; border-color: var(--cream); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: min(86vh, 820px); }
.hero-copy { align-self: center; padding-block: 4rem; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3.4rem, 8.6vw, 7.4rem); line-height: .92; letter-spacing: -0.035em; margin-bottom: .45em; }
.hero h1 .dot { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--gold); margin-left: .04em; vertical-align: baseline; }
.hero .lede { max-width: 30ch; }
.hero-photo { position: relative; margin-right: calc((100vw - min(100vw - 2.5rem, var(--wrap))) / -2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-block: 3rem 2rem; }
  .hero-photo { margin: 0 -1.25rem; height: 70vh; max-height: 560px; }
  .hero-photo img { clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%); object-position: 50% 12%; }
}

/* Intro statement */
.statement { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.statement h2 { margin: 0; }
@media (max-width: 800px) { .statement { grid-template-columns: 1fr; } }

/* Service rows */
.rows { border-top: 1px solid var(--line); margin-top: 3rem; }
.row { display: grid; grid-template-columns: 1fr 1.4fr 9.5rem; gap: 2rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.row h3 { margin: 0; }
.row p { margin: 0; color: var(--body); }
.row .go { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--gold); white-space: nowrap; text-align: right; }
@media (max-width: 800px) { .row .go { text-align: left; } }
a.row:hover h3 { color: var(--gold); }
@media (max-width: 800px) { .row { grid-template-columns: 1fr; gap: .5rem; } }

/* Steps (a genuine sequence) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; counter-reset: step; }
.step { border-top: 2px solid var(--gold); padding-top: 1.5rem; }
.step::before { counter-increment: step; content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.step p { font-size: 1.05rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Places */
.places { display: flex; flex-wrap: wrap; gap: .75rem 2.5rem; margin-top: 1.5rem; font-family: var(--display); font-weight: 600; color: var(--cream); font-size: 1.15rem; }
.places span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .7rem; vertical-align: middle; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 2.5rem; margin-top: 3rem; }
.testimonial { margin: 0; border-top: 2px solid var(--gold); padding-top: 1.5rem; }
.testimonial::before { content: "\201C"; display: block; font-family: var(--serif); font-weight: 600; font-size: 4.5rem; line-height: .8; color: var(--gold); margin-bottom: .5rem; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-style: italic; color: var(--cream); max-width: 68ch; }
.testimonial figcaption { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .04em; color: var(--gold); }

/* Testimonials page only: upright, more readable quote text */
.page-testimonials .testimonial blockquote p { font-family: var(--serif); font-style: normal; font-optical-sizing: auto; font-size: 1.2rem; line-height: 1.7; max-width: 60ch; color: var(--cream); margin: 0 0 1.15em; }
.page-testimonials .testimonial blockquote p:last-child { margin-bottom: 1.4rem; }

/* Homepage testimonial slider */
.quotes-section { padding-top: 0; }
.quotes-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.quotes-layout > * { min-width: 0; }
.quotes { border-top: 2px solid var(--gold); padding-top: 1.5rem; }
.quotes::before { content: "\201C"; display: block; font-family: var(--serif); font-weight: 600; font-size: 4.5rem; line-height: .8; color: var(--gold); margin-bottom: .5rem; }
.quotes-track { display: grid; touch-action: pan-y; }
.quote-slide { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.quote-slide.is-active, .quotes:not(.is-ready) .quote-slide:first-child { opacity: 1; visibility: visible; transition: opacity .6s ease, visibility 0s; }
.quote-slide blockquote { margin: 0; }
.quote-slide blockquote p { font-family: var(--serif); font-style: italic; color: var(--cream); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.5; max-width: 40ch; margin: 0 0 1.2rem; }
.quote-slide figcaption { font-family: var(--display); font-weight: 600; font-size: .95rem; letter-spacing: .04em; color: var(--gold); }
.quotes-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2rem; }
.quotes-controls[hidden], .q-btn[hidden] { display: none; }
.q-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; border: 1.5px solid var(--gold); border-radius: 2px; color: var(--gold); cursor: pointer; transition: background .2s, color .2s; }
.q-btn:hover { background: var(--gold); color: var(--charcoal); }
.q-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.q-pause { margin-left: auto; }
.q-pause .i-play { fill: currentColor; stroke-width: 1.5; }
.q-pause .i-play, .q-pause[data-state="paused"] .i-pause { display: none; }
.q-pause[data-state="paused"] .i-play { display: block; }
.q-dots { display: flex; flex-wrap: wrap; gap: .15rem; }
.q-dot { width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.q-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--muted); }
.q-dot:hover::before { border-color: var(--gold); }
.q-dot[aria-current="true"]::before { background: var(--gold); border-color: var(--gold); }
.quotes-more { margin: 1.6rem 0 0; font-family: var(--display); font-weight: 600; font-size: .95rem; }
.quotes-more a { color: var(--gold); }
.quotes-more a:hover { color: var(--cream); }
@media (max-width: 800px) { .quotes-layout { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Reflection band */
.reflect { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.reflect h2 { font-family: var(--serif); font-weight: 600; font-style: italic; letter-spacing: 0; }
@media (max-width: 800px) { .reflect { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 1.2rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form .two { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .45rem; font-family: var(--display); font-size: .88rem; font-weight: 600; color: var(--cream); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-family: var(--serif); font-size: 1.05rem; color: var(--cream); background: var(--charcoal); border: 1px solid var(--line); border-radius: 2px; padding: .85rem 1rem; }
.section--panel .form input, .section--panel .form select, .section--panel .form textarea { background: var(--charcoal); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .btn { justify-self: start; }
.form .note { font-size: .92rem; color: var(--muted); margin: 0; }
.hidden { display: none; }
.subscribe { display: grid; gap: 1rem; justify-items: start; }
.subscribe .note { font-size: .92rem; color: var(--muted); margin: 0; }

/* Page intro */
.page-intro { padding-block: clamp(4rem, 9vw, 7rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-intro .lede { max-width: 46ch; }

/* Service detail */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* About */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-photo img { width: 100%; height: auto; }
.signoff { font-family: var(--display); font-weight: 700; letter-spacing: .04em; color: var(--gold); margin-top: 1.6em; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; }
.principles div { border-top: 1px solid var(--line); padding-top: 1.4rem; }
@media (max-width: 800px) { .about, .principles { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.channels { display: grid; gap: 0; border-top: 1px solid var(--line); }
.channel { display: block; padding: 1.4rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.channel strong { display: block; font-family: var(--display); color: var(--cream); font-size: 1.15rem; }
.channel span { color: var(--muted); font-size: 1rem; }
a.channel:hover strong { color: var(--gold); }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* CTA band with the monogram slant */
.cta-band { background: var(--gold); color: var(--charcoal); clip-path: polygon(0 3.5rem, 100% 0, 100% 100%, 0 100%); padding-block: clamp(6rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem); }
.cta-band h2, .cta-band p { color: var(--charcoal); }
.cta-band .btn { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.cta-band .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--charcoal); }
.cta-band .btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.cta-band .btn--ghost:hover { background: var(--charcoal); color: var(--cream); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 4rem 2rem; font-family: var(--display); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot-grid img { width: 150px; margin-bottom: 1rem; }
.foot-grid h4 { font-size: .92rem; color: var(--gold); margin-bottom: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot-grid a { color: var(--body); text-decoration: none; }
.foot-grid a:hover { color: var(--cream); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.float-wa { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50; display: flex; align-items: center; gap: .6rem; background: var(--gold); color: var(--charcoal); font-family: var(--display); font-weight: 700; font-size: .92rem; text-decoration: none; padding: .85rem 1.15rem; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.float-wa:hover { background: var(--cream); color: var(--charcoal); }
.float-wa svg { width: 20px; height: 20px; }

/* Packages */
.spots { display: inline-flex; align-items: center; gap: .6rem; margin: 1.4rem 0 0; font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--gold); }
.spots::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.packages { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.pkg { display: flex; flex-direction: column; padding: 2.6rem 2rem; border-left: 1px solid var(--line); scroll-margin-top: 90px; }
.pkg:first-child { border-left: 0; padding-left: 0; }
.pkg:last-child { padding-right: 0; }
.pkg--featured { box-shadow: inset 0 3px 0 var(--gold); }
.pkg .where { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--gold); margin-bottom: .5rem; }
.pkg h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: .8rem; }
.pkg-intro { color: var(--cream); margin-bottom: 1.4rem; min-height: 3.4em; }
.price { font-family: var(--display); font-weight: 800; color: var(--cream); font-size: clamp(3rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; margin: 0 0 .3rem; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: .35rem; }
.price-note { color: var(--muted); font-size: 1rem; margin-bottom: 1.6rem; }
.options { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.options li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.opt-name { color: var(--cream); }
.opt-name span { display: block; color: var(--muted); font-size: .95rem; }
.opt-price { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--cream); letter-spacing: -0.02em; white-space: nowrap; }
.save-line { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--gold); margin-bottom: 1.4rem; }
.pkg .ticks { margin-bottom: 2rem; }
.pkg > .btn { margin-top: auto; text-align: center; }
.extras { padding-bottom: clamp(4rem, 8vw, 6rem); }
.home-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding-block: 2.2rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.home-line p { margin: 0; color: var(--cream); font-size: 1.2rem; max-width: 56ch; }
.steps--four { grid-template-columns: repeat(4, 1fr); }
.terms { max-width: 62ch; }
.terms h2 { font-size: 1.5rem; }
.terms p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) {
  .packages { grid-template-columns: 1fr; }
  .pkg, .pkg:first-child, .pkg:last-child { padding: 2.4rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .pkg:first-child { border-top: 0; }
  .pkg-intro { min-height: 0; }
  .steps--four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) { .steps--four { grid-template-columns: 1fr; } }
