/* ===========================================================
   Ley Kitzing — Somatic Therapy & Bodywork
   Design tokens
   =========================================================== */

/* Fonts are self-hosted (no requests to Google servers) */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('fonts/fraunces-latin-opsz-normal.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('fonts/fraunces-latin-opsz-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/jost-latin-500-normal.woff2') format('woff2'); }

:root {
  /* colour, drawn from the practice's own business card */
  --cream:        #fbf3e6;
  --cream-deep:   #f1e6d3;
  --paper:        #fffdf9;
  --ink:          #322d27;
  --ink-soft:     #5c554c;
  --wine:         #4a1720;
  --wine-soft:    #6e2a34;
  --coral:        #e2a084;
  --coral-soft:   #f0d2c1;
  --sage:         #6b7057;
  --sage-soft:    #dcdcc3;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Jost', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  --max-w: 74rem;
  --pad: clamp(1.25rem, 4vw, 4rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.65;
  font-size: 1.06rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 440;
  color: var(--wine);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.002em;
}

h1 { font-weight: 400; }

p { margin: 0 0 1.1em; max-width: 42rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

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

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------- eyebrow / kicker text (used sparingly, not as decoration) ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  color: var(--sage);
  margin: 0 0 0.9em;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 243, 230, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(50, 45, 39, 0.1);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { width: 28px; height: 28px; flex-shrink: 0; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.28rem;
  color: var(--wine);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.98rem;
}

.nav-links li { margin-left: clamp(1rem, 3vw, 2.1rem); }
.nav-links li:first-child { margin-left: 0; }

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a.is-active { color: var(--wine); }

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--wine);
}

.nav-links a:hover { color: var(--wine); }

.nav-cta {
  border: 1px solid var(--wine);
  color: var(--wine) !important;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  font-size: 0.92rem !important;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: var(--wine); color: var(--paper) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(50,45,39,0.1);
    flex-direction: column;
    padding: 0.5rem var(--pad) 1.5rem;
    gap: 1rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { display: inline-block; width: fit-content; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 1rem;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--wine);
  color: var(--wine);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--wine); color: var(--paper); }
.btn-solid {
  background: var(--wine);
  color: var(--paper);
}
.btn-solid:hover { background: var(--wine-soft); color: var(--paper); }

/* ---------- decorative leaf shapes (original, inspired by the practice's palette) ---------- */
.leaf-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.leaf-field svg { position: absolute; opacity: 0.55; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  max-width: 13ch;
}

.hero .lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-photo {
  position: relative;
}

.hero-photo .frame {
  border-radius: 3px 140px 3px 140px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(74, 23, 32, 0.35);
}

.hero-photo .tag {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  background: var(--paper);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--wine);
  box-shadow: 0 12px 30px -12px rgba(74,23,32,0.3);
}

@media (max-width: 500px) {
  .hero-photo .tag { display: none; }
}

/* ---------- generic section rhythm ---------- */
.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-alt {
  background: var(--cream-deep);
}

.section-wine {
  background: var(--wine);
  color: var(--cream);
}
.section-wine h2, .section-wine h3 { color: var(--cream); }
.section-wine p { color: rgba(251,243,230,0.85); }

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

/* ---------- intro strip on home ---------- */
.intro-strip {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
@media (max-width: 780px) {
  .intro-strip { grid-template-columns: 1fr; }
}
.intro-strip .frame {
  border-radius: 130px 6px 130px 6px;
  overflow: hidden;
  max-width: 320px;
}

/* ---------- frame sizing: keeps tall source photos at a normal,
   intentional proportion instead of running their full original length ---------- */
.frame {
  background: var(--cream-deep);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--portrait img { object-position: center 22%; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--wide img { object-position: center; }

/* ---------- pillar links (Home -> About / How I work / Contact) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(50,45,39,0.16);
}
@media (max-width: 780px) {
  .pillars { grid-template-columns: 1fr; }
}
.pillar {
  padding: 2.4rem 2rem 2.4rem 0;
  border-bottom: 1px solid rgba(50,45,39,0.16);
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: padding-left 0.25s ease;
}
.pillars .pillar:nth-child(2) { padding-left: 2rem; }
.pillars .pillar:nth-child(3) { padding-left: 2rem; padding-right: 0;}
@media (max-width: 780px) {
  .pillars .pillar,
  .pillars .pillar:nth-child(2),
  .pillars .pillar:nth-child(3) { padding: 2rem 0; }
}
.pillar:hover { padding-left: 0.6rem; }
.pillars .pillar:nth-child(2):hover { padding-left: 2.6rem; }
.pillars .pillar:nth-child(3):hover { padding-left: 2.6rem; }

.pillar .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage);
  font-size: 1rem;
  display: block;
  margin-bottom: 0.6rem;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; }
.pillar .goto { color: var(--wine); font-size: 0.95rem; }

/* ---------- list-with-check (who this is for) ---------- */
.soft-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.soft-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 1.03rem;
}
.soft-list svg { flex-shrink: 0; margin-top: 0.3rem; }

/* ---------- two column text/image blocks ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}
.split.reverse .split-media { order: 2; }
@media (max-width: 820px) {
  .split.reverse .split-media { order: 0; }
}
.split-media .frame {
  overflow: hidden;
  border-radius: 4px 110px 4px 110px;
}
.split.reverse .split-media .frame {
  border-radius: 110px 4px 110px 4px;
}

/* ---------- quote / pull ---------- */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--wine);
  max-width: 32rem;
  line-height: 1.5;
  margin: 0;
}

/* ---------- divider mark (echoes the line-drawing on the card) ---------- */
.mark {
  width: 46px;
  height: 46px;
  margin: 0 0 1.5rem;
  color: var(--sage);
}
.mark.center { margin-left: auto; margin-right: auto; }

/* ---------- practicalities list (how-i-work) ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(50,45,39,0.16);
  border-bottom: 1px solid rgba(50,45,39,0.16);
  padding: 2.4rem 0;
}
@media (max-width: 780px) {
  .facts { grid-template-columns: 1fr; gap: 1.6rem; }
}
.facts dt {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage);
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}
.facts dd { margin: 0; font-size: 1.08rem; }

/* ---------- approach cards (methods) ---------- */
.methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 780px) {
  .methods { grid-template-columns: 1fr; }
}
.method {
  padding: 2rem 0 0;
  border-top: 1px solid rgba(74,23,32,0.35);
}
.method h3 { font-size: 1.25rem; }

/* ---------- timeline-ish about bio (not numbered, connected by a rule) ---------- */
.bio-thread {
  border-left: 1px solid rgba(50,45,39,0.2);
  padding-left: 2rem;
  display: grid;
  gap: 2.2rem;
}
@media (max-width: 600px) {
  .bio-thread { padding-left: 1.2rem; }
}
.bio-thread h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* ---------- topics tag row ---------- */
.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.topics span {
  border: 1px solid var(--sage);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--paper);
  border-radius: 4px 90px 4px 90px;
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.contact-line {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-line:last-child { margin-bottom: 0; }
.contact-line svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--wine); }
.contact-line a { color: var(--ink); text-decoration: none; }
.contact-line a:hover { color: var(--wine); text-decoration: underline; }
.contact-line .label {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  color: var(--sage);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(50,45,39,0.16);
  padding: 2.6rem 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}
.footer-grid .brand-name { font-size: 1.05rem; }
.footer-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}
.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--wine); }
.footer-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.2rem;
}

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); max-width: 18ch; }
.page-hero .lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 40rem; }

/* utility */
.stack-lg > * + * { margin-top: 1.6rem; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- legal pages ---------- */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { font-size: 1rem; }
