/* =====================================================
   Dana Mae — Intuitive Personalised Coaching
   Warm, culturally-grounded, heart-led.
   ===================================================== */

:root {
  /* Palette — earthy, warm, calming */
  --clay-50:  #fbf5ee;   /* softest cream / paper */
  --clay-100: #f6ecdf;   /* warm cream */
  --clay-200: #ecdcc4;   /* sand */
  --clay-300: #d9b995;   /* warm ochre */
  --clay-400: #c9754d;   /* terracotta */
  --clay-500: #a3562f;   /* deep terracotta */

  --moss-200: #c3c8b4;   /* dusty sage */
  --moss-400: #6f7d5a;   /* sage */
  --moss-600: #4a5a3d;   /* deep pounamu-adjacent */

  --ink:      #2b2622;   /* warm near-black */
  --ink-soft: #4a3f37;   /* warm brown text */
  --ink-mute: #7a6b60;   /* muted text */
  --hair:     rgba(74, 63, 55, 0.15); /* hairlines */

  /* Type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;

  /* Spacing / sizing */
  --wrap:  1200px;
  --wrap-narrow: 780px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Type scale — informational site, spare */
  --text-xs: clamp(11px, 0.8vw, 12px);
  --text-sm: clamp(13px, 0.9vw, 14px);
  --text-base: clamp(16px, 1.05vw, 17px);
  --text-lg: clamp(18px, 1.3vw, 20px);
  --text-xl: clamp(22px, 2.2vw, 30px);
  --text-2xl: clamp(30px, 3.6vw, 46px);
  --text-hero: clamp(44px, 6.5vw, 92px);
}

/* -------- Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--clay-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; max-width: 62ch; }
em { font-style: italic; }

::selection { background: var(--clay-300); color: var(--ink); }

/* -------- Container -------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.container.narrow { max-width: var(--wrap-narrow); }
.centered { text-align: center; }
.centered-block { text-align: center; }
.centered-block p { margin-left: auto; margin-right: auto; }

/* -------- Header -------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 40px);
  color: var(--clay-100);
  transition: transform .35s var(--ease), background .35s var(--ease),
              color .35s var(--ease), box-shadow .35s var(--ease),
              padding .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(251, 245, 238, 0.92);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hair);
  padding-top: 12px; padding-bottom: 12px;
}
.site-header.is-hidden { transform: translateY(-105%); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: currentColor;
}
.brand-mark {
  width: 34px; height: 34px;
  color: currentColor;
  flex: 0 0 auto;
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.01em;
  font-weight: 500;
}
.brand-sub {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 4px;
  opacity: 0.8;
}

.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; gap: clamp(14px, 2.2vw, 28px);
  align-items: center;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.nav-list a {
  position: relative;
  padding: 6px 2px;
  transition: color .2s var(--ease);
}
.nav-list a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-list a:not(.nav-cta):hover::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-cta {
  border: 1px solid currentColor;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.site-header.is-scrolled .nav-cta:hover { background: var(--ink); color: var(--clay-50); border-color: var(--ink); }
.site-header:not(.is-scrolled) .nav-cta:hover { background: var(--clay-50); color: var(--ink); }

@media (max-width: 720px) {
  .brand-sub { display: none; }
  .nav-list li:not(:last-child) { display: none; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform .3s var(--ease), background .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary {
  background: var(--clay-400);
  color: var(--clay-50);
  box-shadow: 0 10px 30px -12px rgba(163, 86, 47, 0.5);
}
.btn-primary:hover {
  background: var(--clay-500);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(163, 86, 47, 0.6);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 140px clamp(20px, 4vw, 40px) 80px;
  color: var(--clay-100);
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('images/hero.webp') center/cover no-repeat;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(43,38,34,.42) 0%, rgba(43,38,34,.15) 40%, rgba(43,38,34,.55) 100%),
    linear-gradient(90deg, rgba(43,38,34,.45) 0%, rgba(43,38,34,0) 55%);
  z-index: -1;
}
.hero-inner {
  max-width: 760px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.hero-inner.is-in { opacity: 1; transform: translateY(0); }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin: 0 0 22px;
  opacity: 0.9;
}
.eyebrow.centered { text-align: center; }

.hero-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--clay-50);
}
.hero-heading em {
  font-style: italic;
  color: var(--clay-200);
}
.hero-lede {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  font-weight: 300;
  max-width: 56ch;
  margin: 0 0 36px;
  color: rgba(251, 245, 238, 0.92);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 1px; height: 44px;
  transform: translateX(-50%);
  overflow: hidden;
}
.hero-scroll span {
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, var(--clay-100), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* -------- Section base -------- */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.section.is-in { opacity: 1; transform: translateY(0); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 32px;
}
.section-title em { color: var(--clay-500); font-style: italic; }
.section-title.centered { text-align: center; margin-left: auto; margin-right: auto; }

.lede {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 55ch;
}

/* -------- Invite / who this is for -------- */
.section-invite {
  background: var(--clay-100);
  position: relative;
}
.section-invite::before {
  content: "";
  position: absolute; inset: 0;
  background: url('images/texture.webp') center/cover no-repeat;
  opacity: 0.45;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.section-invite > * { position: relative; }
.invite-list {
  list-style: none;
  padding: 0; margin: 0 0 32px;
  display: grid;
  gap: 14px;
}
.invite-list li {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.25;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}
.invite-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 14px; height: 1px;
  background: var(--clay-400);
}
.invite-tail {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  font-style: italic;
  color: var(--clay-500);
  margin-top: 24px;
}

/* -------- About / Practice split -------- */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}
.split-side {}
.split-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--clay-100);
  border-left: 2px solid var(--clay-400);
  position: sticky; top: 100px;
}
.split-card blockquote {
  margin: 0;
}
.split-card blockquote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.35;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}
.split-card blockquote em {
  color: var(--clay-500);
}

/* Practice list */
.split-list {
  padding: clamp(28px, 4vw, 44px);
  background: transparent;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.list-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin: 0 0 20px;
}
.split-list ul {
  list-style: none;
  padding: 0; margin: 0;
}
.split-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.split-list li:last-child { border-bottom: none; }

/* -------- Background section -------- */
.section-background {
  background: var(--moss-600);
  color: var(--clay-100);
}
.section-background .section-title { color: var(--clay-50); }
.section-background .section-title em { color: var(--clay-300); }
.section-background .eyebrow { color: var(--clay-200); }
.section-background p { color: rgba(251, 245, 238, 0.9); }

/* -------- Session steps -------- */
.section-session {
  background: var(--clay-50);
}
.session-steps {
  list-style: none;
  padding: 0; margin: 40px 0 0;
  display: grid;
  gap: 4px;
  counter-reset: step;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}
.session-steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 40px);
  padding: 36px 0;
  border-top: 1px solid var(--hair);
  transition: background .3s var(--ease);
}
.session-steps li:last-child { border-bottom: 1px solid var(--hair); }
.session-steps li:hover { background: rgba(217, 185, 149, 0.08); }
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--clay-400);
  line-height: 1;
  padding-top: 4px;
}
.session-steps h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.25;
}
.session-steps p { margin: 0; max-width: 60ch; }

@media (max-width: 640px) {
  .session-steps li { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .step-num { font-size: 22px; }
}

/* -------- Contact -------- */
.section-contact {
  background: linear-gradient(180deg, var(--clay-100) 0%, var(--clay-200) 100%);
  text-align: center;
  position: relative;
}
.section-contact .eyebrow { color: var(--clay-500); }
.section-contact .section-title { color: var(--ink); }
.contact-lede {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 55ch;
  margin: 0 auto 20px;
}
.contact-lede.muted { color: var(--ink-mute); font-style: italic; font-size: clamp(16px, 1.4vw, 18px); }
.section-contact .btn { margin-top: 20px; }

/* Pricing */
.pricing {
  list-style: none;
  padding: 0;
  margin: 44px auto 8px;
  max-width: 560px;
  text-align: left;
  display: grid;
  gap: 20px;
}
.pricing li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(74, 63, 55, 0.18);
}
.pricing li:last-child { border-bottom: none; }

.pricing-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
}
.pricing-name {
  font-size: clamp(20px, 1.9vw, 24px);
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
}
.pricing-dots {
  flex: 1;
  height: 1px;
  background-image: radial-gradient(circle, var(--ink-mute) 1px, transparent 1.4px);
  background-size: 8px 4px;
  background-repeat: repeat-x;
  background-position: 0 center;
  opacity: 0.55;
  transform: translateY(-4px);
}
.pricing-price {
  font-size: clamp(20px, 1.9vw, 24px);
  color: var(--clay-500);
  font-style: italic;
  white-space: nowrap;
}
.pricing-meta {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
}
.tiny-note {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 40px;
}

/* -------- Footer -------- */
.site-footer {
  background: var(--ink);
  color: var(--clay-200);
  padding: 60px 0 40px;
  font-size: 14px;
}
.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--clay-200);
}
.footer-inner .brand-mark { color: var(--clay-300); margin-bottom: 10px; }
.foot-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--clay-100);
  margin: 0 0 4px;
}
.foot-sub { margin: 0; opacity: 0.7; }
.foot-tag {
  font-family: var(--font-display);
  font-style: italic;
  text-align: center;
  color: var(--clay-100);
  margin: 0;
  font-size: 17px;
}
.foot-copy {
  text-align: right;
  margin: 0;
  font-size: 12px;
  opacity: 0.65;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .foot-copy { text-align: center; }
}

/* -------- Reduced motion -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero-inner, .section { opacity: 1; transform: none; }
}
