:root {
  --sand: #efe8de;
  --sand-dark: #ded2c0;
  --ink: #2b241d;
  --ink-soft: #55493d;
  --cream: #faf7f2;
  --accent: #b08d63;
  --serif: 'Playfair Display', serif;
  --sans: 'Jost', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }

a { color: inherit; text-decoration: none; }

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

.eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
.eyebrow.center { text-align: center; }

/* Placeholder image blocks — swap these divs for <img> once real photos are added */
.placeholder-img {
  background: repeating-linear-gradient(135deg, var(--sand-dark), var(--sand-dark) 10px, var(--sand) 10px, var(--sand) 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.placeholder-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: rgba(250, 247, 242, 0.85);
  padding: 0.4rem 0.8rem;
  border-radius: 2px;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem clamp(1.5rem, 5vw, 4rem);
  color: #fff;
  transition: background 0.3s ease, padding 0.3s ease, color 0.3s ease;
}
.nav.scrolled {
  background: rgb(250, 247, 242);
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
}
.nav-links a { position: relative; padding-bottom: 4px; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px; height: 1.5px;
  background: currentColor;
  display: block;
}

/* HERO */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,12,9,0.55) 0%, rgba(15,12,9,0.15) 55%, rgba(15,12,9,0.05) 100%),
    linear-gradient(180deg, rgba(20,16,12,0.2) 0%, rgba(20,16,12,0.1) 40%, rgba(20,16,12,0.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 6rem;
  max-width: 900px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.08;
  font-weight: 400;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-content p {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  max-width: 480px;
  font-weight: 300;
  opacity: 0.92;
  margin-bottom: 3rem;
}

.see-more {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}
.badge-circle {
  position: relative;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  animation: spin 14s linear infinite;
}
.badge-svg { width: 100%; height: 100%; }
.badge-svg text { font-size: 15px; letter-spacing: 1.5px; fill: #fff; text-transform: uppercase; }
.badge-arrow {
  position: absolute;
  animation: spin-reverse 14s linear infinite;
  font-size: 1rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-reverse { to { transform: rotate(-360deg); } }

/* ABOUT */
.about { background: var(--sand); }
.about-text {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}
.about-text h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 1.6rem; }
.about-text p { color: var(--ink-soft); max-width: 640px; margin-bottom: 2rem; }

.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--sand-dark);
  max-width: 640px;
}
.about-stat { display: flex; flex-direction: column; }
.about-stat-number { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); line-height: 1; }
.about-stat-label { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--accent); margin-top: 0.4rem; }
.about-stat-divider { width: 1px; height: 40px; background: var(--sand-dark); }
.about-stat-note { font-family: var(--serif); font-style: italic; color: var(--ink-soft); font-size: 1.05rem; }

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 1000px;
}
.about-highlight { border-left: 2px solid var(--accent); padding-left: 1rem; }
.about-highlight h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.about-highlight p { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 0; }

@media (max-width: 700px) {
  .about-highlights { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; }
}
.text-link {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}
.text-link span { transition: transform 0.25s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-underline {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.9rem;
}

/* BRANDS MARQUEE */
.brands { padding: 3.5rem 0; background: var(--cream); border-top: 1px solid var(--sand-dark); border-bottom: 1px solid var(--sand-dark); }
.brands-label {
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
}
.brands-track { overflow: hidden; }
.brands-row {
  display: flex;
  align-items: center;
  gap: 4.5rem;
  width: max-content;
  animation: marquee 22s linear infinite;
  color: var(--ink-soft);
}
.brands-row span { white-space: nowrap; }

/* Brand wordmarks — each styled distinctly, like real logotypes */
.logo-rore {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.logo-optimum {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-yazio {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.logo-wethlete {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-girlstrip {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: 0.01em;
}
.logo-complem {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}
.logo-hydrasport {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.logo-forus {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
}
.logo-gymbeam {
  font-family: var(--sans);
  font-weight: 700;
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SERVICES */
.services { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem); text-align: center; }
.services h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 780px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(43,36,29,0.18); }
.service-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 55%, rgba(20,16,12,0.55) 100%);
}
.service-card h3 {
  position: absolute;
  left: 1.6rem; right: 1.6rem; bottom: 1.6rem;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

/* TESTIMONIAL */
.testimonial {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background: var(--sand);
  max-width: 900px;
  margin: 0 auto;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.testimonial-author { font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.05em; }

/* WHY */
.why { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.why-media { min-height: 380px; order: 2; overflow: hidden; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-text {
  padding: clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1.4rem; max-width: 480px; }
.why-text p { color: var(--ink-soft); max-width: 460px; margin-bottom: 2.2rem; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 0.9rem 2.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  width: fit-content;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

/* INSTAGRAM */
.instagram { padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) 0; text-align: center; }
.instagram-handle {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 2.5rem;
}
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  max-width: 1100px;
  margin: 0 auto;
}
.ig-item { aspect-ratio: 1/1; overflow: hidden; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; }

/* FOOTER */
footer { margin-top: 4.5rem; background: var(--ink); color: var(--sand); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand h3 { font-size: 1.6rem; color: var(--cream); margin-bottom: 1rem; }
.footer-brand p { color: #cfc3b3; font-size: 0.9rem; max-width: 320px; }
.footer-heading {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.9rem; color: #cfc3b3; }
.footer-links a:hover, .footer-contact a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  font-size: 0.78rem;
  color: #a89b89;
}

/* PRICING */
.pricing {
  padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}
.pricing h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); margin-bottom: 0.8rem; }
.pricing .eyebrow.center { text-align: left; margin-bottom: 2.5rem; }
.pricing-list { border-top: 1px solid var(--sand-dark); }
.pricing-row { padding: 1.8rem 0; border-bottom: 1px solid var(--sand-dark); }
.pricing-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.6rem;
}
.pricing-row-head h3 {
  font-size: 1.3rem;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.pricing-tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
}
.pricing-amount {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  white-space: nowrap;
}
.pricing-row ul { color: var(--ink-soft); font-size: 0.92rem; list-style: none; }
.pricing-row li { margin-bottom: 0.3rem; }
.pricing-note { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.5rem; }
.pricing > .btn-outline { display: block; width: fit-content; margin: 2.5rem auto 0; }

@media (max-width: 600px) {
  .pricing-row-head { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}

/* SUB-PAGES (service detail pages) */
.page-banner {
  position: relative;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
}
.page-banner-bg { position: absolute; inset: 0; }
.page-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0.3) 0%, rgba(20,16,12,0.1) 40%, rgba(20,16,12,0.6) 100%);
}
.page-banner-content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 3rem;
  color: #fff;
}
.page-banner-content .eyebrow { color: #fff; opacity: 0.85; }
.page-banner-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.page-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-intro p { color: var(--ink-soft); font-size: 1.05rem; }

.page-gallery { padding: 0 clamp(1.5rem, 5vw, 4rem) clamp(4rem, 6vw, 6rem); }
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.page-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.page-gallery-item { aspect-ratio: 4 / 5; overflow: hidden; }

.page-cta {
  text-align: center;
  padding: 0 1.5rem clamp(4rem, 8vw, 6rem);
}
.page-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }

@media (max-width: 700px) {
  .page-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr; }
  .why-media { min-height: unset; aspect-ratio: 4 / 5; order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--cream);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 3rem;
    font-size: 1rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
}
