/* Inga Michaelsen — resource site (first pass, 2026-06-22)
   Brand: charcoal ink #231f20 / #414042, dusty-blue accent #9dbdc7, warm-neutral paper.
   Calm, modern, spacious — echoes the bold-grotesque wordmark. Contact/booking EXCLUDED. */

:root {
  --ink: #231f20;
  --charcoal: #414042;
  --muted: #6c6a68;
  --paper: #f6f5f2;
  --white: #ffffff;
  --line: #e6e3dd;
  --accent: #9dbdc7;          /* brand dusty blue — fills/shapes */
  --accent-soft: #e7eef1;     /* tint for panels */
  --accent-ink: #356b7b;      /* accessible dusty-blue for links/text on light */
  --accent-deep: #2b5563;     /* hover */
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --wrap: 1140px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration:.001ms!important; transition-duration:.001ms!important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 0.55vw + 0.9rem, 1.14rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--sans); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.18rem, 1.4vw, 1.4rem); letter-spacing: -0.01em; }
p { margin: 0 0 1.1rem; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
strong { font-weight: 700; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.narrow { max-width: 760px; }

.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 1rem;
}
.section-intro { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

section { padding-block: clamp(3.4rem, 7vw, 6rem); scroll-margin-top: 86px; }
.band-tint { background: var(--white); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h2, .band-ink h3 { color: var(--white); }
.band-ink .eyebrow { color: var(--accent); }

/* ---- buttons ---- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .98rem;
  letter-spacing: .01em; padding: .85rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--ink); background: var(--ink); color: var(--white);
  text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn.on-ink { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.on-ink:hover { background: #fff; border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.6rem; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(246,245,242,.86);
  backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav-links a:not(.btn):hover { color: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle svg { width: 30px; height: 30px; }
.nav-toggle .bar { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; transition: .25s; transform-origin: center; }
.nav-mobile { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-mobile { display: block; position: fixed; inset: 72px 0 auto 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 1rem var(--gap) 1.4rem; transform: translateY(-130%);
    transition: transform .3s ease; z-index: 49; box-shadow: 0 18px 40px rgba(35,31,32,.08); }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a { display: block; padding: .7rem 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-mobile a.btn { border: 1.5px solid var(--ink); text-align: center; margin-top: 1rem; color:#fff; }
  .nav-toggle.open .bar-top { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.open .bar-mid { opacity: 0; }
  .nav-toggle.open .bar-bot { transform: translateY(-6px) rotate(-45deg); }
}

/* ---- hero ---- */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--charcoal); max-width: 46ch; margin-top: 1.3rem; }
.hero-creds { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 2.2rem; font-size: .82rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero-creds span { position: relative; }
.hero-creds span + span::before { content: "·"; position: absolute; left: -.75rem; color: var(--accent); }
/* ambient hero loop (thin-line wave flow) — full-bleed, balanced; the wave band sits
   in the lower half so the headline stays clean. Gentle top/bottom paper fade only. */
.hero-media { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; background: var(--paper); }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(246,245,242,.35) 0%, rgba(246,245,242,0) 22%, rgba(246,245,242,0) 78%, var(--paper) 100%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transition: opacity 1.1s ease; }
.hero-video.is-playing { opacity: .48; }

/* ---- symptom list ---- */
.checklist { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .85rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--charcoal); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px;
  border: 2px solid var(--accent); border-radius: 3px; }
.note { font-style: italic; color: var(--muted); margin-top: 1.6rem; }

/* ---- bio split ---- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 880px) { .split { grid-template-columns: 1.4fr 1fr; } }
.bio-card { background: var(--accent-soft); border-radius: 18px; padding: clamp(1.4rem,3vw,2rem); }
.bio-card h3 { margin-top: 0; }

/* ---- outcomes (clean check-list, not a flow chart) ---- */
.outcomes { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.outcomes li { position: relative; padding: .72rem 0 .72rem 2rem; line-height: 1.5; color: var(--charcoal); }
.outcomes li + li { border-top: 1px solid rgba(53,107,123,.16); }
.outcomes li::before { content: "✓"; position: absolute; left: .05rem; top: .72rem;
  color: var(--accent-ink); font-weight: 800; font-size: .96em; line-height: 1.5; }

/* ---- service cards ---- */
.cards { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.3rem, 2.6vw, 1.9rem); display: flex; flex-direction: column; gap: .35rem; }
.card .when { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.card h3 { margin: .1rem 0 .4rem; }
.card p { margin: 0 0 .4rem; color: var(--charcoal); font-size: .98rem; }
.card .lab { font-weight: 700; color: var(--ink); font-size: .9rem; margin-top: .5rem; }
.card ul { margin: .2rem 0 .4rem; padding-left: 1.1rem; color: var(--charcoal); font-size: .94rem; }
.card ul li { margin-bottom: .25rem; }

/* low-bono callout */
.callout { margin-top: 1.6rem; background: var(--ink); color: var(--paper); border-radius: 18px;
  padding: clamp(1.6rem, 3.4vw, 2.4rem); }
.callout h3 { color: #fff; }
.callout .price { font-size: 1.3rem; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; }
.callout p { color: rgba(246,245,242,.85); }

/* ---- proof / stats ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0 0 2.6rem; text-align: center; }
.stat .num { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.stat .num span { color: var(--accent); }
.stat .lab { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,245,242,.7); margin-top: .5rem; }
.quotes { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; } }
.quote { background: rgba(255,255,255,.06); border: 1px solid rgba(157,189,199,.25); border-radius: 16px; padding: 1.6rem; }
.quote p { font-family: var(--serif); font-size: 1.06rem; font-style: italic; color: var(--paper); }
.quote cite { display: block; font-style: normal; font-family: var(--sans); font-weight: 600; font-size: .9rem; color: var(--accent); margin-top: .8rem; }

/* work-in-practice */
.practice { display: grid; gap: 1.4rem; margin-top: 2rem; }
@media (min-width: 820px) { .practice { grid-template-columns: 1fr 1fr; } }
.practice .item { border-left: 3px solid var(--accent); padding-left: 1.3rem; }
.practice .item h3 { margin-bottom: .4rem; }
.practice .item p { color: var(--charcoal); font-size: .98rem; }

/* ---- principles ---- */
.principles { display: grid; gap: 1.1rem; margin-top: 2rem; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; }
.principle h3 { color: var(--accent-ink); }

/* ---- contact (placeholder; booking wired on handoff) ---- */
.contact-box { background: var(--accent-soft); border-radius: 20px; padding: clamp(1.8rem, 4vw, 3rem); text-align: center; margin-top: 1.4rem; }
.contact-box .placeholder { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 1.2rem; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: 3rem; }
.site-footer .foot-logo img { height: 30px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1.4rem 0; }
.site-footer nav a { color: rgba(246,245,242,.8); text-decoration: none; font-size: .95rem; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer .fine { font-size: .82rem; color: rgba(246,245,242,.55); max-width: 60ch; }

/* ---- motion: subtle reveal on scroll (gated; hero never animates; CLS-safe) ---- */
.has-motion main section:not(.hero) > .wrap {
  opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease;
}
.has-motion main section:not(.hero) > .wrap.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .has-motion main section:not(.hero) > .wrap { opacity: 1; transform: none; transition: none; }
}

:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; border-radius: 3px; }
