/* ---------- Tokens ---------- */
:root {
  --bg: #e5ded3;
  --bg-soft: #f7f4ef;   /* anasa color */
  --ink: #292927;
  --ink-soft: #4a4a46;
  --line: #8a847a;
  --hero-text: #f7f4ef;
  --hero-sub: #e5ded3;   /* Physiotherapy & Wellness */
  --anasa-spacing: 0.188em;
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-serif: "Tex Gyre Termes", "TeX Gyre Termes", "Times New Roman", Times, serif;
  --font-body: "Open Sans", "Segoe UI", Arial, sans-serif;
  --pad-x: clamp(1.5rem, 6vw, 5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 2.5rem;
}

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 2rem var(--pad-x) 3.5rem;
  /* Put your photo at images/hero.jpg; gradient is the fallback */
  background:
    linear-gradient(rgba(214, 190, 165, 0.25), rgba(214, 190, 165, 0.25)),
    url("images/hero.jpg") center / cover no-repeat,
    linear-gradient(160deg, #d9bfa5, #c9a98c);
}
.hero__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5em;
  color: var(--ink);
}
.hero__content { display: flex; flex-direction: column; align-items: center; }
.hero__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--hero-sub);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 16vw, 11rem);
  letter-spacing: var(--anasa-spacing);
  margin-right: calc(var(--anasa-spacing) * -1);
  line-height: 1.1;
  color: var(--hero-text);
}
.hero__tagline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  letter-spacing: 0;
  color: var(--ink);
  text-transform: uppercase;
}
.hero__btn {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  padding: 0.9rem 3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}
.hero__btn:hover { background: var(--ink); color: var(--hero-text); }

/* ---------- 2. Intro ---------- */
.intro__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 2.5rem;
}
.intro p { font-size: clamp(1.15rem, 1.8vw, 1.5rem); max-width: 40ch; margin-bottom: 1.8rem; }
.intro p:last-child { max-width: 52ch; }

/* ---------- 3 & 4. Services / Methods ---------- */
.service-list { display: grid; grid-template-columns: 1fr; gap: 2.2rem; max-width: 760px; }
.service h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: 0.02em;
}
.service__tag { font-family: var(--font-display); color: var(--ink-soft); font-size: 1.1rem; }
.service p:not(.service__tag) { margin-top: 0.15rem; }

/* ---------- 5. About ---------- */
.about__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  display: inline-block;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 1.8rem;
}
.about__lead { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.6rem); color: #3a4445; margin-bottom: 1.5rem; }
.about__text p { margin-bottom: 0.9rem; text-align: justify; color: #333c3d; }
.about__image { aspect-ratio: 3 / 4; border-radius: 3rem; overflow: hidden; background: #d4c7b4; }
.about__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 6. Therapist ---------- */
.therapist__grid { display: grid; grid-template-columns: 1fr 260px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.therapist__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}
.therapist__name { font-weight: 700; font-style: italic; text-decoration: underline; margin-bottom: 1.6rem; }
.therapist__text p:not(.therapist__name) { margin-bottom: 1.4rem; font-size: 0.98rem; line-height: 1.7; }
.therapist__image {
  aspect-ratio: 251 / 360;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: #d4c7b4;
  position: sticky;
  top: 2rem;
}
.therapist__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- 7. Education ---------- */
.education { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); }
.education__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.2;
}
.education__body { display: grid; gap: 2.8rem; }
.education__block h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; margin-bottom: 0.8rem; }
.education__block li { font-size: 0.98rem; line-height: 1.7; }

/* ---------- 8. Contact ---------- */
.contact { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding-top: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.contact__grid { margin-bottom: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.2; }
.contact__details { display: grid; gap: 2.2rem; }
.contact__item h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact__item a { text-decoration: none; font-size: 1.1rem; }
.contact__item a:hover { text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 0.6rem; }
.social a { font-size: 1.7rem; line-height: 1; display: inline-block; transition: transform 0.25s, opacity 0.25s; }
.social a:hover { transform: translateY(-3px); opacity: 0.7; text-decoration: none; }
.contact__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5vw;               /* wordmark spans ~58% of the width, like the slide */
  letter-spacing: var(--anasa-spacing);
  text-indent: var(--anasa-spacing); /* re-centers the text after trailing letter-spacing */
  line-height: 1;
  text-align: center;
  color: var(--bg-soft);
  margin-top: auto;                /* pushes it to the bottom of the screen */
  height: 0.8em;                   /* shows the whole letters, trimming only their bottom edge */
  overflow: hidden;
  user-select: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 800px) {
  .about__grid, .education, .contact__grid, .therapist__grid { grid-template-columns: 1fr; }
  .therapist__image { order: -1; max-width: 260px; position: static; }
  .about__image { max-width: 420px; }
  .about__text p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__btn { transition: none; }
}
