/* ─────────────────────────────────────────────────────
   TWAP — The Whole Athlete Project
   Stylesheet: minimalist, pastel, Inter font
   ───────────────────────────────────────────────────── */

/* ── Variables ─────────────────────────────────────── */
:root {
  /* Pastel pink palette */
  --blue:        #fce7f3;   /* pastel pink background accents */
  --blue-mid:    #f9a8d4;   /* medium pink for borders */
  --blue-ink:    #6b1f3f;   /* deep rose for headings */
  --green:       #fdf2f8;   /* light blush */
  --green-mid:   #f472b6;
  --purple:      #fce7f3;   /* soft pink */
  --purple-mid:  #f9a8d4;

  /* Neutrals */
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-400:    #94a3b8;
  --gray-600:    #475569;
  --gray-800:    #1e293b;

  /* Typography */
  --font:        'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 7rem 0;
  --nav-h:       64px;
  --radius:      10px;
  --radius-sm:   6px;

  /* Transitions */
  --ease:        0.2s ease;
}

/* ── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
textarea { resize: vertical; }

/* ── Container ─────────────────────────────────────── */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Section layout ────────────────────────────────── */
/* Two-column: narrow label on the left, content on the right */
.section-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 3.5rem;
  align-items: start;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  padding-top: 0.35rem;  /* align with h2 cap height */
}

/* ── Typography ────────────────────────────────────── */
h1 {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--blue-ink);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
}

p {
  color: var(--gray-600);
  font-size: 0.975rem;
  margin-bottom: 0.9rem;
}

p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-400);
  margin-bottom: 1.1rem;
}

/* ── Button ────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--blue-ink);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--ease), transform var(--ease);
}
.btn:hover {
  background: #16304f;
  transform: translateY(-1px);
}

/* ── Header / Nav ──────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--nav-h);
}

.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--blue-ink);
  margin-right: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}
.nav-link:hover {
  color: var(--gray-800);
  background: var(--gray-100);
}

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
#hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
#hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 2rem 1rem;
}
#mobile-menu.open { display: block; }

.mob-link {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.mob-link:last-child { border-bottom: none; }
.mob-link:hover { color: var(--gray-800); }

/* ── Hero ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(155deg, #fce7f3 0%, var(--white) 55%, #fdf4ff 100%);
}

.hero-content { padding: 5rem 2rem; }

.hero-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* ── About ─────────────────────────────────────────── */
#about {
  padding: var(--section-pad);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

/* ── Mission ───────────────────────────────────────── */
#mission {
  padding: var(--section-pad);
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
}

blockquote {
  border-left: 2px solid var(--blue-mid);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 0;
  background: #fce7f3;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.975rem;
  color: var(--gray-800);
  line-height: 1.75;
  font-style: normal;
}

/* ── Contact ───────────────────────────────────────── */
#contact {
  padding: var(--section-pad);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

/* Form */
#contact-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.925rem;
  color: var(--gray-800);
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(249,168,212,0.25);
}

/* ── Footer ────────────────────────────────────────── */
#site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 3rem 0;
  background: var(--off-white);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--blue-ink);
}

.footer-inner p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* Instagram link */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
  margin-top: 0.25rem;
}
.instagram-link:hover {
  color: var(--blue-ink);
  border-color: var(--blue-mid);
  background: #fce7f3;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

/* ── Gallery ───────────────────────────────────────── */
#gallery {
  padding: var(--section-pad);
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

/* header row inside gallery reuses .section-layout */
#gallery .section-layout {
  margin-bottom: 2rem;
}

/* CSS grid: 3 equal columns, auto rows at ~240px */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 0.75rem;
  grid-auto-flow: dense; /* backfill gaps left by wide/tall cells */
}

.photo-cell {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  margin: 0;
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-cell:hover img {
  transform: scale(1.03);
}

/* Wide card: spans 2 columns */
.photo-wide {
  grid-column: span 2;
}

/* Tall card: spans 2 rows */
.photo-tall {
  grid-row: span 2;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 640px) {
  /* Stack section labels above content on mobile */
  .section-layout {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .section-label {
    padding-top: 0;
  }

  .nav-links { display: none; }
  #hamburger { display: flex; }

  .hero-content { padding: 4rem 2rem 3rem; }

  h1 { font-size: 2.4rem; }

  /* Single column photo grid on mobile */
  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .photo-wide,
  .photo-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
