/* Laura Martin Fitness — polished refresh
   Design language derived from the site's WordPress theme family
   (soft light-green background #d1e4dd, dark-slate ink #28303d), refined. */

:root {
  /* Palette */
  --bg: #eef3eb;            /* airy sage white (was #d1e4dd, lightened) */
  --bg-deep: #dcead6;
  --surface: #ffffff;
  --ink: #28303d;           /* theme dark gray — primary text */
  --muted: #5b6472;
  --accent: #1e8a4c;        /* fresh fitness green */
  --accent-ink: #ffffff;
  --accent-soft: #e3f0e4;
  --line: rgba(40, 48, 61, .12);

  /* Type */
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape & motion */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(40, 48, 61, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.12rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--accent); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(238, 243, 235, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; }
.brand-mark { display: inline-flex; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-text b { color: var(--accent); font-weight: 800; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .94rem; transition: color .15s var(--ease); }
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--accent-ink) !important;
  padding: .5rem 1.15rem; border-radius: 999px; font-weight: 700;
  box-shadow: 0 6px 18px -8px rgba(30, 138, 76, .65);
}
.nav-cta:hover { background: #177a41; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; font-weight: 700; font-family: var(--font-body);
  padding: .85rem 1.6rem; border-radius: 999px;
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px rgba(30, 138, 76, .7); }
.btn-primary:hover { background: #177a41; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  max-width: 76rem; margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.25rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700;
  color: var(--accent); margin-bottom: 1rem;
}
.accent-word { color: var(--accent); }
.hero-lead { font-size: clamp(1.02rem, 1.7vw, 1.2rem); color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.hero-media { position: relative; justify-self: center; width: 100%; max-width: 30rem; margin: 0; }
.hero-media::before {
  content: ""; position: absolute; z-index: -1;
  top: -8%; right: -10%; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(145deg, var(--bg-deep), #cfe4c6);
}
.hero-media img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
  border-radius: 28px; box-shadow: var(--shadow);
}

/* Hero — Option 2: blended background (page body class "hero-blend") */
body.hero-blend .hero-blend__hero {
  position: relative; max-width: none; min-height: 38rem; overflow: hidden; isolation: isolate;
  display: block; padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
.hero-blend__bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero-blend__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 38%, #000 62%);
}
body.hero-blend .hero-blend__inner {
  max-width: 76rem; margin: 0 auto; min-height: 30rem;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}

/* ---------- Sections ---------- */
.section { max-width: 64rem; margin: 0 auto; padding: clamp(2.75rem, 6vw, 5rem) clamp(1rem, 4vw, 2.5rem); }
.section h2 { text-align: center; }
.section-lede { text-align: center; color: var(--muted); margin: -.4em 0 2.2em; }

.section-alt { max-width: none; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); }
.section-alt > .trainer-grid { max-width: 64rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -16px rgba(40, 48, 61, .28); }
.card-icon {
  display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); border-radius: 14px; margin-bottom: 1rem;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { color: var(--accent); }
.card p { color: var(--muted); margin: 0; }

/* ---------- Trainer ---------- */
.trainer-grid {
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start;
  grid-template-areas: "photo copy" "quote quote";
  grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
}
.photo-card { grid-area: photo; margin: 0; max-width: 24rem; }
.photo-card img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1 / 1; object-fit: cover; object-position: center top;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.photo-card figcaption {
  margin-top: .75rem; text-align: center;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
}
.quote { grid-area: quote; max-width: none; }
.trainer-copy { grid-area: copy; }
.trainer-copy h2 { text-align: left; }
.trainer-grid { row-gap: clamp(1.75rem, 3vw, 3rem); }
.trainer-copy .lead { color: var(--ink); font-weight: 700; font-family: var(--font-head); font-size: 1.12rem; }
.trainer-copy p { color: var(--muted); }

.creds { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.creds li { position: relative; padding-left: 1.6rem; color: var(--ink); font-weight: 600; }
.creds li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: .95rem; height: .95rem; border-radius: 50%;
  background: var(--accent-soft); border: 2px solid var(--accent);
}

.quote {
  margin: 0; padding: 1.75rem 1.9rem; background: var(--surface);
  border-radius: var(--radius); border-left: 5px solid var(--accent);
  box-shadow: var(--shadow);
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; line-height: 1.55;
  color: var(--ink);
}

/* ---------- Contact ---------- */
.contact { max-width: 64rem; }
.contact-panel {
  background: var(--ink); color: #fff; text-align: center;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  box-shadow: 0 24px 50px -24px rgba(28, 35, 51, .65);
}
.contact-panel h2 { color: #fff; }
.contact-panel p { color: #c7cdd8; margin-bottom: 1.6rem; }
.contact-panel .btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.contact-panel .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- YouTube ---------- */
.video-section { max-width: 64rem; }
.video-embed {
  position: relative; width: min(100%, 56rem); margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #000;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 2.25rem 1rem 2.75rem; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0 0 .4rem; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* Comparison badge — only present in the hero-option2.html preview file */
.variant-tag {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 200;
  background: rgba(40, 48, 61, .82); color: #fff;
  font-size: .74rem; font-weight: 600; padding: .45rem .85rem; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .4);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; row-gap: .2rem; }
  .site-nav { gap: 1rem; }
  .nav-cta { padding: .45rem .9rem; font-size: .85rem; }
  .brand-text { font-size: .95rem; }
}

@media (max-width: 560px) {
  .site-nav {
    gap: .5rem; flex-basis: 100%; justify-content: space-evenly;
    padding: .1rem 0 .3rem; order: 1;
  }
  .site-nav a:not(.nav-cta) { font-size: .82rem; }
  .nav-cta { flex-grow: 0; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; max-width: 22rem; }
  .hero-media::before { top: -6%; right: -6%; }
  /* Option 2 mobile: photo sits above copy with a downward fade */
  body.hero-blend .hero-blend__hero { min-height: auto; display: flex; flex-direction: column; align-items: center; padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
  body.hero-blend .hero-blend__bg { position: relative; inset: auto; width: 100%; height: 20rem; }
  body.hero-blend .hero-blend__bg img {
    object-position: center 18%;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 78%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 78%);
  }
  body.hero-blend .hero-blend__inner { min-height: auto; align-items: center; text-align: center; padding: 0 clamp(1rem, 4vw, 2.5rem); }
  .trainer-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "quote"; align-items: center; }
  .photo-card { margin: 0 auto; }
  .trainer-copy h2 { text-align: center; }
}

@media (max-width: 420px) {
  .site-nav { gap: .75rem; }
  .site-nav a:not(.nav-cta) { font-size: .85rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
