/* Layout: cream "card stock" pages, deep-green serif headings, gold hairlines; ink-wash mountains and the red seal as the brand's two signature marks. */
:root {
  --paper: #F4EFE3;        /* card stock */
  --paper-deep: #EAE2D0;   /* tinted band */
  --ink: #1E2A1F;          /* deep green-black, headings + text */
  --ink-soft: #4A5547;     /* secondary text */
  --green: #2F4A33;        /* buttons, links */
  --gold: #A9843F;         /* hairlines, icons, accents */
  --gold-soft: rgba(169, 132, 63, .35);
  --seal: #A3301E;         /* chop seal red, used sparingly */
  --on-dark: #F4EFE3;

  --f-display: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --f-body: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --f-label: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;

  --step-0: 1.1875rem;   /* 19px body */
  --step-1: 1.4rem;
  --step-2: 1.9rem;
  --step-3: clamp(2.2rem, 4vw, 2.9rem);
  --step-4: clamp(2.7rem, 6.2vw, 4.4rem);
  --measure: 38rem;
  --wide: 72rem;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; color: var(--ink); line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); letter-spacing: -.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0; max-width: var(--measure); }
.prose { display: grid; gap: 1.05em; }
.prose p { max-width: var(--measure); }

.label {
  font-family: var(--f-label);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.rule { height: 1px; background: var(--gold); border: 0; margin: 0; width: 100%; max-width: 30rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--gold-soft); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: .9rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 52px; height: 52px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 600; font-size: 1.55rem; line-height: 1; }
.brand-sub { display: block; font-family: var(--f-label); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: .4rem 1.6rem; flex-wrap: wrap; }
.nav a { font-family: var(--f-label); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--f-label); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; padding: .95rem 1.5rem; border-radius: 2px;
  background: var(--green); color: var(--on-dark); border: 1px solid var(--green);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.hero-text { display: grid; gap: 1.4rem; min-width: 0; }
.hero-text .lede { font-size: 1.3rem; line-height: 1.5; color: var(--ink-soft); max-width: 34rem; }
.hero-art { position: relative; min-width: 0; }
.hero-art svg { display: block; width: 100%; height: auto; }
.seal {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.9rem; background: var(--seal); color: #F6E9DC;
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-size: 1.7rem; line-height: 1;
  border-radius: 3px; transform: rotate(-2deg);
  box-shadow: inset 0 0 0 2px rgba(246,233,220,.25);
}
.hero-art .seal { position: absolute; right: 16%; bottom: 14%; }
.page-hero .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; display: grid; gap: 1.2rem; }
.page-hero .lede { font-size: 1.3rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section + .section { border-top: 1px solid var(--gold-soft); }
.band { background: var(--paper-deep); }
.section-head { display: grid; gap: .9rem; margin-bottom: 2.4rem; max-width: 46rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 4rem; align-items: start; }
.split > * { min-width: 0; }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; }
.focus { display: grid; gap: .8rem; align-content: start; padding-top: 1.2rem; border-top: 1px solid var(--gold); }
.focus p { color: var(--ink-soft); }

.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem 3.5rem; }
.method { display: grid; grid-template-columns: 2.6rem minmax(0,1fr); gap: 1rem; align-items: start; }
.method .ico { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--paper); }
.method .ico svg { width: 1.3rem; height: 1.3rem; }
.method h3 { margin-bottom: .45rem; }
.method p { color: var(--ink-soft); }

.phases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; counter-reset: phase; border-top: 1px solid var(--gold); }
.phase { padding: 1.6rem 1.6rem 1.6rem 0; display: grid; gap: .5rem; align-content: start; }
.phase + .phase { padding-left: 1.6rem; border-left: 1px solid var(--gold-soft); }
.phase .num { font-family: var(--f-display); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.phase p { color: var(--ink-soft); font-size: 1.05rem; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.5rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .55rem; height: 1px; background: var(--gold); }
.cols-2 { columns: 2; column-gap: 2.5rem; }
.cols-2 li { break-inside: avoid; }

.quote { font-family: var(--f-display); font-size: var(--step-2); line-height: 1.25; font-weight: 500; font-style: italic; max-width: 40rem; text-wrap: balance; }

.callout { border-left: 2px solid var(--gold); padding: .2rem 0 .2rem 1.4rem; display: grid; gap: .7rem; max-width: 44rem; }
.callout p { color: var(--ink-soft); }

/* conditions page */
.cond { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1.5rem 4rem; padding-block: 2.6rem; border-top: 1px solid var(--gold-soft); }
.cond:first-of-type { border-top: 0; padding-top: 0; }
.cond > * { min-width: 0; }
.cond .side { display: grid; gap: .7rem; align-content: start; }
.cond .side .label { color: var(--gold); }
.cond .body { display: grid; gap: 1.1rem; }
.cond .lead-cond h2 { color: var(--green); }

/* about */
.creds { display: grid; gap: 0; border-top: 1px solid var(--gold); }
.creds div { display: grid; grid-template-columns: 7.5rem minmax(0,1fr); gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--gold-soft); }
.creds dt { font-family: var(--f-label); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); padding-top: .25rem; }
.creds dd { margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem 4.5rem; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 2.4rem minmax(0,1fr); gap: .9rem; align-items: center; }
.contact-list .ico { width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--paper); }
.contact-list .ico svg { width: 1.1rem; height: 1.1rem; }
.contact-list span.v { overflow-wrap: anywhere; }
form.contact { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.1rem; }
label.lbl { font-family: var(--f-label); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: #FBF8F1;
  border: 1px solid #CFC3A6; border-radius: 2px; padding: .7rem .8rem; width: 100%;
}
textarea { min-height: 9rem; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form-note { font-size: .98rem; color: var(--ink-soft); }
.form-status { font-family: var(--f-label); font-size: .85rem; letter-spacing: .04em; color: var(--green); }
.hidden-field { position: absolute; left: -9999px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--green); color: var(--on-dark); }
.cta-band .wrap { padding-block: clamp(3rem, 7vw, 5rem); display: grid; gap: 1.3rem; justify-items: start; position: relative; z-index: 1; }
.cta-band h2 { color: var(--on-dark); max-width: 36rem; }
.cta-band p { color: #D9D6C6; max-width: 36rem; }
.cta-band .btn { background: var(--paper); color: var(--green); border-color: var(--paper); }
.cta-band .btn:hover { background: transparent; color: var(--paper); }
.cta-band .ridge { position: absolute; right: -4%; bottom: -2px; width: min(60%, 46rem); opacity: .22; pointer-events: none; }

/* footer */
.site-footer { border-top: 1px solid var(--gold-soft); background: var(--paper); }
.site-footer .wrap { padding-block: 3rem 2.2rem; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1fr); gap: 2rem 3rem; }
.site-footer .wrap > * { min-width: 0; }
.site-footer h4 { font-family: var(--f-label); font-size: .74rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 .8rem; }
.site-footer p, .site-footer li { font-size: 1.02rem; color: var(--ink-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--ink-soft); }
.fine { grid-column: 1 / -1; border-top: 1px solid var(--gold-soft); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center; }
.fine p { font-size: .92rem; max-width: 52rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0,1fr); }
  .hero-art { max-width: 34rem; }
  .trio { grid-template-columns: minmax(0,1fr); gap: 1.8rem; }
  .split, .cond, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .site-footer .wrap { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .site-footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  :root { --step-0: 1.125rem; }
  .methods { grid-template-columns: minmax(0,1fr); }
  .phases { grid-template-columns: minmax(0,1fr); }
  .phase, .phase + .phase { padding: 1.3rem 0; border-left: 0; }
  .phase + .phase { border-top: 1px solid var(--gold-soft); }
  .cols-2 { columns: 1; }
  .field-row { grid-template-columns: minmax(0,1fr); }
  .nav { gap: .2rem 1.1rem; }
  .nav a { font-size: .72rem; letter-spacing: .12em; }
  .brand-name { font-size: 1.35rem; }
  .creds div { grid-template-columns: minmax(0,1fr); gap: .2rem; }
  .site-footer .wrap { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* next page link: walks visitors through the site in order */
.next-page { border-top: 1px solid var(--gold-soft); }
.next-page .wrap { padding-block: clamp(2.2rem, 5vw, 3.4rem); }
.next-link { display: grid; gap: .5rem; justify-items: start; text-decoration: none; color: var(--ink); max-width: 40rem; }
.next-link .label { color: var(--gold); }
.next-title { font-family: var(--f-display); font-weight: 600; font-size: var(--step-3); line-height: 1.1; color: var(--green); }
.next-title .arrow { display: inline-block; transition: transform .25s; }
.next-link:hover .next-title { color: var(--ink); }
.next-link:hover .arrow { transform: translateX(.35em); }
.next-blurb { color: var(--ink-soft); }

/* practitioner portrait */
.portrait { margin: 0; max-width: 24rem; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px var(--gold-soft), 0 14px 30px -18px rgba(30, 42, 31, .45); }
