/* ============================================================
   Carla Fields Fitness — energetic training studio site (Decatur, GA)
   Built by Margam · margam.io
   ============================================================ */
:root {
  --bg: #ffffff;            /* white page */
  --bg-2: #f4f1f6;          /* soft eggplant-tinted section */
  --ink: #1c1420;           /* near-black eggplant ink */
  --muted: #6c6172;         /* grey-violet body text */
  --eggplant: #2a1830;      /* deep eggplant block */
  --eggplant-2: #3c2147;    /* lighter eggplant */
  --plum: #5a2d6b;          /* purple accent (studio walls) */
  --lime: #b8ff2e;          /* vivid lime accent */
  --lime-ink: #2a1830;      /* text that sits ON lime */
  --lime-dark: #9fe600;     /* lime hover */
  --teal: #18b9b0;          /* studio teal, used sparingly */
  --line: #e7e1ec;          /* hairline */
  --radius: 14px;
  --shadow: 0 26px 50px -28px rgba(28, 20, 32, 0.55);
  --display: "Oswald", "Archivo", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8.5vw, 104px) 0; }
.section--alt { background: var(--bg-2); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: 0.005em; line-height: 1.04; text-transform: uppercase; }
h1 em, h2 em, .brand em { font-style: normal; color: var(--plum); }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; color: var(--plum); margin-bottom: 14px; }
.eyebrow--light { color: var(--lime); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; padding: .8em 1.5em; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: .22s var(--ease); white-space: nowrap; }
.btn--sm { padding: .58em 1.05em; font-size: .86rem; }
.btn--lg { padding: .92em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.btn--solid:hover { background: var(--lime-dark); border-color: var(--lime-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(159, 230, 0, .6); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--plum); color: var(--plum); transform: translateY(-2px); }

/* brand / nav */
.brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; line-height: .95; display: inline-flex; flex-direction: column; }
.brand span { color: var(--plum); font-size: .74em; letter-spacing: .22em; }
.brand--light { color: #fff; font-size: 1.55rem; align-items: center; }
.brand--light span { color: var(--lime); }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav__links { display: flex; gap: 28px; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--plum); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 820px) { .nav__links { display: none; } }
@media (max-width: 420px) { .nav__call { display: none; } }

/* hero */
.hero { padding: clamp(36px, 6vw, 66px) 0 clamp(28px, 5vw, 46px); position: relative; }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 8vw, 5.6rem); margin-bottom: 22px; letter-spacing: -0.01em; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: var(--eggplant); color: #fff; border-radius: 8px;
  padding: 8px 16px; font-size: .92rem; margin-bottom: 22px; box-shadow: var(--shadow); }
.rating strong { font-family: var(--display); font-size: 1.05rem; }
.stars { color: var(--lime); letter-spacing: 1px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 48ch; margin-bottom: 30px; }
.lede em { font-style: normal; color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; }
.hero__art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 22%; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__badge { position: absolute; bottom: -16px; left: -16px; background: var(--lime); color: var(--lime-ink); font-family: var(--display);
  font-weight: 700; text-transform: uppercase; font-size: 1.06rem; line-height: .98; text-align: center; letter-spacing: .04em;
  width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); transform: rotate(-9deg); border: 3px solid var(--bg); }
@media (max-width: 760px) { .hero__in { grid-template-columns: 1fr; } .hero__art { max-width: 400px; margin: 8px auto 0; } }

/* ribbon */
.ribbon { background: var(--eggplant); color: #fff; overflow: hidden; padding: 14px 0; border-top: 3px solid var(--lime); border-bottom: 3px solid var(--lime); }
.ribbon__track { display: flex; align-items: center; gap: 24px; width: max-content; white-space: nowrap;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 1.18rem; animation: scroll 34s linear infinite; }
.ribbon i { color: var(--lime); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* section heads */
.head { text-align: center; max-width: 660px; margin: 0 auto clamp(34px, 5vw, 54px); }
.head h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.head__sub { color: var(--muted); margin-top: 10px; }

/* gallery (masonry) */
.masonry { column-count: 3; column-gap: 16px; }
.tile { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 16px; background: none; cursor: pointer;
  border-radius: 12px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); position: relative; }
.tile img { width: 100%; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.07); }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; column-gap: 12px; } .tile { margin-bottom: 12px; } }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__art { position: relative; }
.about__art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__art::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 96px; height: 96px; border: 5px solid var(--lime); border-radius: 12px; z-index: -1; }
.about__copy h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.about__copy p { color: var(--muted); margin-bottom: 14px; }
.about__copy strong { color: var(--ink); }
.link { color: var(--plum); font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link:hover { color: var(--ink); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__art { max-width: 380px; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: .3s var(--ease); border-top: 4px solid var(--plum); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-top-color: var(--lime); }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__price { display: block; margin-top: 14px; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--plum); font-size: .82rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; border-left: 4px solid var(--lime); }
.review__stars { color: var(--lime); letter-spacing: 2px; -webkit-text-stroke: .4px var(--plum); }
.review blockquote { margin: 0; font-size: 1.06rem; line-height: 1.6; }
.review figcaption { color: var(--ink); font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; margin-top: auto; }
.review figcaption span { color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; font-family: var(--body); }
.reviews__cta { text-align: center; margin-top: clamp(26px, 4vw, 40px); }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; } }

/* book / cta (eggplant) */
.section--cta { background: linear-gradient(155deg, var(--eggplant), var(--plum)); color: #fff; }
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.order h2 { font-size: clamp(2.1rem, 5vw, 3.3rem); margin-bottom: 26px; }
.order h2 em { color: var(--lime); }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.steps span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: var(--lime); color: var(--lime-ink);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; }
.order__call { margin-top: 26px; color: #e9d9f0; }
.order__call a { color: var(--lime); border-bottom: 1px solid; }
.order__form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: .82rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 1rem; background: var(--bg-2); color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(90,45,107,.16); }
.form__note { margin-top: 14px; text-align: center; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: var(--plum); }
@media (max-width: 760px) { .order { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.visit h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 24px; }
.info { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.info b { min-width: 92px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.info a:hover { color: var(--plum); }
.info--hours { align-items: flex-start; }
.hours { list-style: none; padding: 0; display: grid; gap: 6px; flex: 1; }
.hours li { display: flex; justify-content: space-between; color: var(--muted); max-width: 320px; }
.visit__map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--ink); color: #fff; text-align: center; padding: 48px 0; border-top: 3px solid var(--lime); }
.footer__in p { margin-top: 12px; color: #c9bfd0; }
.footer__in a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__by { font-size: .9rem; margin-top: 18px; }
.footer__by a { color: var(--lime); border-color: rgba(184,255,46,.4); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,12,22,.93); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }

/* reveals */
.js .section .head, .js .about, .js .cards, .js .reviews, .js .order, .js .visit, .js .masonry { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .in { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [class] { opacity: 1 !important; transform: none !important; }
}
