/* ============================================================
   Samantha Powdrell - Holistic Healing
   ============================================================ */

:root {
  --cream: #F7F2EC;
  --blush: #EBD9D0;
  --sand: #D8C7B2;
  --sage: #8E9B80;
  --sage-deep: #5C6A52;
  --ink: #3D3934;
  --white: #FFFDFB;

  --maxw: 1120px;
  --radius: 20px;
  --arch: 999px 999px 24px 24px;
  --shadow: 0 8px 30px rgba(61, 57, 52, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.4em;
  color: var(--ink);
}

/* Large display type: tight leading, negative tracking as it grows */
h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  /* No balance here: on this 4-line headline it isolates a lone word.
     Natural wrapping ends cleanly on "world." */
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h3 { font-size: 1.6rem; }

p { margin: 0 0 1.1em; }

a { color: var(--sage-deep); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Vertical rhythm: a base, plus a tighter and a more generous variant
   so sections don't all breathe identically. */
section { padding-block: 7rem; }
.section--tight { padding-block: 5rem; }
.section--generous { padding-block: 9rem; }

.rule {
  border: 0;
  border-top: 1px solid var(--sand);
  margin-block: 0;
}

.section--blush { background: var(--blush); }

/* ---------- Typographic bits ---------- */
.label {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.9rem;
  font-weight: 500;
}

.section-head { max-width: 42rem; margin-bottom: 3.5rem; }
.section-head--center {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.section-intro { color: var(--ink); opacity: 0.85; max-width: 38rem; text-wrap: pretty; }

.badge {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 1.4rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.875rem 1.875rem;
  cursor: pointer;
  transition: background 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), transform 100ms ease-out;
  border: 1px solid transparent;
}
/* Instant press feedback (feedback on pointer-down, not release) */
.btn:active { transform: scale(0.97); transition: transform 100ms ease-out; }

.btn--primary {
  background: var(--sage-deep);
  color: var(--cream);
}
.btn--primary:hover { background: #4b5742; }

.btn--secondary {
  background: transparent;
  color: var(--sage-deep);
  border: 1px solid var(--sage-deep);
}
.btn--secondary:hover { background: rgba(92, 106, 82, 0.08); }

.btn--pill-sm {
  background: var(--sage-deep);
  color: var(--cream);
  padding: 9px 20px;
  font-size: 0.85rem;
}
.btn--pill-sm:hover { background: #4b5742; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--sage-deep);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 10px;
  z-index: 200;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Focus states ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
  border-bottom: 1px solid transparent;
}
/* Frosted translucent bar once scrolled, content passing underneath */
.nav--scrolled {
  background: rgba(247, 242, 236, 0.75);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--sand);
}
/* Solid, legible fallback when translucency is reduced or unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav--scrolled { background: var(--cream); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav--scrolled {
    background: var(--cream);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.wordmark { text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark__name {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.5rem;
}
.wordmark__sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--sage);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 180ms var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--sage-deep); }
/* Keep the "Text me" pill readable on its sage-deep fill, in every state */
.nav__links a.btn--pill-sm,
.nav__links a.btn--pill-sm:link,
.nav__links a.btn--pill-sm:visited,
.nav__links a.btn--pill-sm:hover,
.nav__links a.btn--pill-sm:focus,
.nav__links a.btn--pill-sm:focus-visible,
.nav__links a.btn--pill-sm:active {
  color: var(--cream);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

[hidden] { display: none !important; }

.mobile-menu {
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
  padding: 12px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Mobile menu only exists on small screens; desktop uses inline nav */
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}
.mobile-menu a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(216, 199, 178, 0.5);
}
.mobile-menu a.btn {
  border-bottom: 0;
  text-align: center;
  margin-top: 10px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 72px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero__sub {
  font-size: 1.15rem;
  max-width: 28rem;
  opacity: 0.9;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}
.hero__media { display: flex; justify-content: center; }
.hero__img {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 6 / 7;
  object-fit: cover;
}

.arch {
  border-radius: var(--arch);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
}

/* hero settle-on-load */
.hero__img {
  animation: settle 1.6s var(--ease) both;
}
@keyframes settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about__img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  position: sticky;
  top: 110px;
}
/* Pull quote breaks up the bio, with a thin sage line beside it */
.pullquote {
  margin: 2.25rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--sage);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ============================================================
   APPROACH  — three lean text columns, no card chrome
   ============================================================ */
.approach__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.25rem;
}
.approach__row {
  padding-top: 1.75rem;
  border-top: 1px solid var(--sage);
}
.approach__title { margin: 0 0 0.85rem; }
.approach__copy { margin: 0; max-width: 34ch; }

/* ============================================================
   SESSIONS
   ============================================================ */
/* Two cards side by side; featured one is wide and horizontal below */
.sessions__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card--featured { border: 2px solid var(--sage-deep); }
.card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card__body { padding: 1.75rem 1.75rem 1.875rem; }

/* Wide featured card: photo fills the left half, text sits right.
   Height is driven by the text so the photo never leaves dead space. */
.card--wide {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  min-height: 22rem;
}
.card--wide .card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
.card--wide .card__body {
  grid-column: 2;
  align-self: center;
  padding: 2.75rem 3rem;
}
.card--wide h3 { font-size: 2rem; }
.schedule {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
  font-weight: 500;
}
.card h3 { margin-bottom: 0.4rem; }
.detail { color: var(--sage-deep); font-size: 0.95rem; margin-bottom: 0.9rem; }
.card__meta {
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--sage-deep);
  padding-top: 14px;
  border-top: 1px solid var(--sand);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(142, 155, 128, 0.14);
  color: var(--sage-deep);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.tag svg { width: 16px; height: 16px; }

.ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--sage-deep);
  color: var(--cream);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 999px;
}

.sessions__note {
  text-align: center;
  margin-top: 44px;
  margin-bottom: 0;
  color: var(--sage-deep);
  font-size: 0.95rem;
}

/* ============================================================
   WHO IT'S FOR  — large typographic list, no cards
   ============================================================ */
.whofor__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sand);
  max-width: 60rem;
}
.whofor__list li {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--sand);
}

/* ============================================================
   QUOTE BAND
   ============================================================ */
.band {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding: 72px 24px;
}
.band__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0;
  max-width: 900px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.form .field { margin-bottom: 20px; }
.form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 7px;
}
.req { color: var(--sage-deep); }
.opt { color: var(--sage); font-weight: 400; }

.form input,
.form select,
.form textarea {
  width: 100%;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 180ms var(--ease);
}
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: var(--sage-deep); }
.form textarea { resize: vertical; }

.form .error {
  display: block;
  color: #9a5a4e;
  font-size: 0.82rem;
  margin-top: 5px;
  min-height: 1em;
}
.field--invalid input,
.field--invalid textarea { border-color: #b07065; }

.form button { margin-top: 6px; }
.form__status { margin-top: 14px; font-size: 0.95rem; color: var(--sage-deep); }

.form--done {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
}

.contact__card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
}
.contact__item { padding-block: 14px; border-bottom: 1px solid rgba(216, 199, 178, 0.6); }
.contact__item:first-child { padding-top: 0; }
.contact__item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact__item p { margin: 0; }
.contact__label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 4px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--sage-deep);
  color: var(--cream);
  padding-block: 64px;
}
.footer a { color: var(--cream); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}
.footer .wordmark__name { font-size: 1.6rem; }
.footer__tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  margin: 10px 0 0;
}
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { text-decoration: none; opacity: 0.9; }
.footer__nav a:hover { opacity: 1; }
.footer__fine { font-size: 0.85rem; opacity: 0.92; }
.footer__fine p { margin: 0 0 8px; }
.footer__disclaimer { opacity: 0.85; }
.footer__credit a { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding-block: 4.5rem; }
  .section--tight { padding-block: 3.5rem; }
  .section--generous { padding-block: 5.5rem; }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { order: -1; }
  .hero__img { max-width: 360px; aspect-ratio: 6 / 7; }
  .hero { min-height: auto; padding-top: 7.5rem; }

  .about__inner { grid-template-columns: 1fr; gap: 2.25rem; }
  .about__img { position: static; max-width: 380px; }

  /* Approach columns stack to a single column */
  .approach__list { grid-template-columns: 1fr; gap: 2rem; }
  .approach__row { padding-top: 1.5rem; }
  .approach__copy { max-width: none; }

  /* Sessions collapse to single column; wide card becomes photo-over-text */
  .sessions__top { grid-template-columns: 1fr; gap: 1.5rem; }
  .card--wide {
    position: relative; /* anchors the "Signature session" ribbon */
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
    min-height: 0;
  }
  .card--wide .card__img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .card--wide .card__body { grid-column: auto; align-self: auto; padding: 1.75rem 1.75rem 1.875rem; }
  .card--wide h3 { font-size: 1.6rem; }

  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
