/* =========================================
   Hale with Thomasi — Pilates Studio
   Calm & Earthy palette
   ========================================= */

:root {
  --sage-900: #2C3A2D;
  --sage-700: #4F6450;
  --sage-500: #6B7E5C;
  --sage-300: #A6B594;
  --beige-500: #C9B79C;
  --beige-300: #E1D3BB;
  --cream-100: #F5EFE6;
  --cream-50:  #FBF8F2;
  --gold:      #A8946E;
  --ink:       #2A2A28;
  --muted:     #6B6B66;
  --line:      #E8DFCF;
  --shadow:    0 10px 30px rgba(44, 58, 45, 0.08);
  --radius:    14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  color: var(--sage-900);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); line-height: 1.2; }
h3 { font-size: 1.3rem; }

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

a { color: var(--sage-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

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

/* ================ Layout ================ */

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

/* ================ Header / Nav ================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--sage-900);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand span { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--sage-900);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.5rem;
  color: var(--sage-900);
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--cream-50);
    padding: 18px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
}

/* ================ Buttons ================ */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .25s ease;
  text-align: center;
}

.btn-primary {
  background: var(--sage-700);
  color: var(--cream-50);
}
.btn-primary:hover {
  background: var(--sage-900);
  color: var(--cream-50);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-900);
  border: 1px solid var(--sage-700);
}
.btn-ghost:hover {
  background: var(--sage-700);
  color: var(--cream-50);
}

.btn-gold {
  background: var(--gold);
  color: var(--cream-50);
}
.btn-gold:hover {
  background: #8e7c5a;
  color: var(--cream-50);
}

/* ================ Hero ================ */

.hero {
  background:
    linear-gradient(rgba(44,58,45,0.45), rgba(44,58,45,0.55)),
    url('https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=1800&q=80') center/cover;
  color: var(--cream-50);
  padding: 130px 0 120px;
  text-align: center;
}
.hero h1 { color: var(--cream-50); margin-bottom: 18px; }
.hero p {
  color: var(--cream-100);
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}
.hero .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-sm {
  background:
    linear-gradient(rgba(44,58,45,0.55), rgba(44,58,45,0.6)),
    url('https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=1800&q=80') center/cover;
  color: var(--cream-50);
  padding: 90px 0 70px;
  text-align: center;
}
.hero-sm h1 { color: var(--cream-50); }
.hero-sm p { color: var(--cream-100); max-width: 640px; margin: 0 auto; }

/* ================ Cards ================ */

.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 26px;
}
.card-body h3 { margin-bottom: 8px; }
.card-body p  { color: var(--muted); margin-bottom: 0; }

/* ================ Pricing ================ */

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.price-card.featured {
  background: var(--sage-700);
  color: var(--cream-50);
  border-color: var(--sage-700);
}
.price-card.featured h3,
.price-card.featured .price,
.price-card.featured li { color: var(--cream-50); }
.price-card.featured .badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--cream-50);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--sage-900);
  line-height: 1;
  margin: 16px 0 4px;
}
.price small { font-size: 0.9rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.price-card .featured-text small { color: var(--cream-100); }

.price-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  text-align: left;
}
.price-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}
.price-card.featured .price-list li { border-bottom-color: rgba(255,255,255,0.18); }
.price-card.featured .price-list li::before { color: var(--beige-300); }

/* ================ About / Split ================ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
}

.value-card {
  background: var(--cream-100);
  padding: 32px;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
}
.value-card h3 { margin-bottom: 10px; }

/* ================ Events ================ */

.event-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  transition: box-shadow .25s ease;
}
.event-row:hover { box-shadow: var(--shadow); }
.event-date {
  background: var(--sage-700);
  color: var(--cream-50);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
}
.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  display: block;
  line-height: 1;
}
.event-date .month {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  margin-top: 6px;
  display: block;
}
.event-meta { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 700px) {
  .event-row { grid-template-columns: 100px 1fr; }
  .event-row .btn { grid-column: 1 / -1; }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(44,58,45,0.85));
  color: var(--cream-50);
  padding: 28px 18px 14px;
  font-size: 0.9rem;
  font-weight: 500;
}
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ================ Forms ================ */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-900);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream-50);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sage-500);
  box-shadow: 0 0 0 3px rgba(107, 126, 92, 0.15);
}
textarea { resize: vertical; min-height: 110px; }

.form-success {
  background: var(--sage-700);
  color: var(--cream-50);
  padding: 22px 24px;
  border-radius: var(--radius);
  margin-top: 16px;
  display: none;
}
.form-success.show { display: block; }
.form-success strong { color: var(--cream-50); }

/* ================ CTA strip ================ */

.cta {
  background: var(--sage-900);
  color: var(--cream-50);
  text-align: center;
  padding: 70px 0;
}
.cta h2 { color: var(--cream-50); margin-bottom: 14px; }
.cta p { color: var(--cream-100); max-width: 540px; margin: 0 auto 28px; }

/* ================ Footer ================ */

.site-footer {
  background: #1f291f;
  color: #c9c9c2;
  padding: 60px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--cream-50);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c9c9c2; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand { color: var(--cream-50); }
.footer-brand p { color: #9c9c95; margin-top: 12px; }

.footer-bottom {
  border-top: 1px solid #2c372c;
  padding-top: 22px;
  text-align: center;
  color: #7e7e78;
  font-size: 0.82rem;
}

/* ================ Utility ================ */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.alt-bg { background: var(--cream-100); }

/* ================ Brand mark / Logo video ================ */

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark video {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-100);
}

/* ================ Coming Soon badge ================ */

.soon-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--cream-50);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 8px;
}
.btn[disabled],
.btn-disabled {
  background: var(--beige-500) !important;
  color: var(--cream-50) !important;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
}

/* ================ Video tiles ================ */

.video-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage-900);
}
.video-tile video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================ Testimonials carousel ================ */

.testimonials {
  position: relative;
}
.testi-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--sage-300) transparent;
}
.testi-track::-webkit-scrollbar { height: 8px; }
.testi-track::-webkit-scrollbar-thumb { background: var(--sage-300); border-radius: 4px; }
.testi-card {
  flex: 0 0 auto;
  width: 280px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.testi-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================ Work-with-me ================ */

.work-hero {
  background: var(--sage-900);
  color: var(--cream-50);
  padding: 110px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.work-hero h1 { color: var(--cream-50); }
.work-hero p { color: var(--cream-100); max-width: 680px; margin: 0 auto; }

.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  padding: 30px 0;
}
.brand-strip span {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--sage-700);
  text-align: center;
  font-size: 1.05rem;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.brand-strip span:last-child { border-right: none; }
@media (max-width: 700px) {
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .brand-strip span:nth-child(2) { border-right: none; }
}

/* ================ Email capture inline ================ */

.email-capture {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 16px auto 0;
}
.email-capture input {
  flex: 1;
  background: #fff;
}
@media (max-width: 520px) {
  .email-capture { flex-direction: column; }
}
