/* "Dusk": one warm dusk tone throughout, taken from the mountain photo.
   Type scale ratio 1.25 on an 8px spacing grid; text columns kept under ~65 characters. */
:root {
  --night: #1e2422;      /* deep slate from the shadowed ridges */
  --night-2: #2a322f;
  --peach: #e9b48f;      /* the dusk sky */
  --peach-soft: #f3d9c3;
  --ivory: #f8f3ed;
  --sand: #efe5da;
  --ink: #1e2422;
  --muted: #55605b;
  --line: rgba(30, 36, 34, 0.14);
  --display: "Jost", "Avenir Next", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s12: 96px; --s16: 128px;
  --radius: 32px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(3.2rem, 7.4vw, 6.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--peach); }
p { margin: 0 0 1em; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--night); color: #fff; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.6; }

/* Header */
.head { position: sticky; top: 0; z-index: 50; padding: var(--s3) 0; background: rgba(248, 243, 237, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s2) var(--s6); flex-wrap: wrap; }
.brand { font: 400 1.5rem/1 var(--display); letter-spacing: 0.06em; text-decoration: none; }
.brand span { font-weight: 300; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }

/* Buttons: one primary action, repeated */
.actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.btn { display: inline-flex; align-items: center; padding: 1em 1.8em; border-radius: 999px; border: 1px solid transparent; font: 500 1rem/1 var(--body); text-decoration: none; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s; }
.btn--primary { background: var(--peach); color: var(--night); box-shadow: 0 10px 30px -12px rgba(233, 180, 143, 0.9); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(233, 180, 143, 1); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero */
.hero { padding: 0; }
.hero__frame { position: relative; isolation: isolate; overflow: hidden; min-height: min(92svh, 900px); display: flex; align-items: flex-end; color: #fff; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 38%; z-index: -2; }
.hero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 29, 27, 0.78) 0%, rgba(24, 29, 27, 0.45) 45%, rgba(24, 29, 27, 0.1) 75%), transparent; }
.hero__frame::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; z-index: 0; pointer-events: none; background: linear-gradient(0deg, var(--ivory) 0%, rgba(248, 243, 237, 0.85) 30%, rgba(248, 243, 237, 0) 100%); }
.hero__grid { position: relative; z-index: 1; }
.hero__grid { width: min(1180px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: var(--s6); align-items: center; padding: var(--s16) 0 calc(var(--s16) + var(--s6)); }
.hero h1 { margin-bottom: var(--s3); }
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 34em; }

/* The breathing guide: a low dusk sun over the hills.
   Breathing in, it lifts a little and its light spreads along the horizon; breathing out, it settles. */
.breath { --ease: cubic-bezier(0.45, 0, 0.55, 1); position: relative; width: min(380px, 100%); aspect-ratio: 1; justify-self: center; align-self: end; }
.breath > * { position: absolute; }
.breath__glow { left: 50%; top: 58%; width: 120%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 232, 210, 0.55) 0%, rgba(243, 196, 160, 0.22) 35%, transparent 65%); transform: translate(-50%, -50%) scale(0.75); opacity: 0.6; transition: transform 6s var(--ease), opacity 6s var(--ease); }
.breath__haze { left: 50%; top: 66%; width: 180%; height: 22%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255, 226, 200, 0.6), rgba(240, 190, 150, 0.2) 45%, transparent 72%); filter: blur(6px); transform: translate(-50%, -50%) scaleX(0.55); opacity: 0.5; transition: transform 6s var(--ease), opacity 6s var(--ease); }
.breath__orb { left: 50%; top: 58%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fff6ec 0%, #fbdcc2 38%, #f0b58e 72%, #e2a07a 100%); box-shadow: 0 0 40px 6px rgba(255, 214, 180, 0.55), 0 0 120px 30px rgba(240, 180, 140, 0.25); transform: translate(-50%, -50%) scale(0.72); transition: transform 6s var(--ease), box-shadow 6s var(--ease); }
.breath.is-in .breath__glow { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.breath.is-in .breath__haze { transform: translate(-50%, -50%) scaleX(1); opacity: 1; }
.breath.is-in .breath__orb { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 60px 14px rgba(255, 214, 180, 0.7), 0 0 160px 50px rgba(240, 180, 140, 0.32); }
.breath__label { left: 50%; top: 82%; transform: translateX(-50%); white-space: nowrap; font: italic 300 1.35rem/1 var(--display); letter-spacing: 0.02em; color: #fff; text-shadow: 0 1px 12px rgba(24, 29, 27, 0.35); transition: opacity 0.6s; }
.breath__label.is-fading { opacity: 0; }

/* Facts */
.facts__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); padding: var(--s6) 0; border-bottom: 1px solid var(--line); }
.facts__list li { display: flex; gap: 12px; align-items: baseline; }
.facts__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--peach); transform: translateY(-1px); }

/* Sections */
.section { padding: clamp(var(--s12), 11vw, 160px) 0; }
.section--tint { background: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s6), 7vw, 120px); align-items: center; }
.two--top { align-items: start; }
.statement { max-width: 46ch; margin: 0 0 clamp(var(--s6), 6vw, 80px); font: 300 clamp(1.6rem, 2.6vw, 2.2rem)/1.25 var(--display); letter-spacing: -0.01em; color: var(--night); }
.statement em { color: #c98a68; }
.statement a { white-space: nowrap; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: rgba(201, 138, 104, 0.5); }
.statement a:hover { text-decoration-color: currentColor; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); }
.card { padding: var(--s4) 0 0; border-top: 1px solid var(--line); }
.card__n { display: block; margin-bottom: var(--s3); font: 300 2rem/1 var(--display); color: #c98a68; }
.card p { margin: 0; color: var(--muted); }
.note { margin-top: var(--s6); color: var(--muted); }
.intro { margin: 0 0 var(--s6); }
.intro p { margin: 0; color: var(--muted); }

.help__head { max-width: 62ch; margin-bottom: var(--s6); }
.areas { display: flex; flex-wrap: wrap; gap: 12px; }
.areas li { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font: 300 1.2rem/1.3 var(--display); background: rgba(255, 255, 255, 0.45); }
.training { margin-top: var(--s6); }
.training__title { margin: 0 0 var(--s2); font: italic 300 1.2rem/1.3 var(--display); }
.training__title em { color: #c98a68; }
.training__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.training__tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font: 300 0.92rem/1.3 var(--display); color: var(--muted); }

/* Photo band with the steps, cropped to the lower ridges */
.band { padding: clamp(var(--s12), 11vw, 160px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s6); }
.steps span { display: grid; place-items: center; width: var(--s6); height: var(--s6); margin-bottom: var(--s3); border-radius: 50%; border: 1px solid #c98a68; color: #c98a68; font: 400 1.25rem/1 var(--display); }
.steps p { margin: 0; color: var(--muted); }

/* About, with the dog photo graded into the same dusk tone */
.portrait { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; isolation: isolate; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: sepia(0.35) saturate(0.85) contrast(0.95) brightness(1.02); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(233, 180, 143, 0.28), rgba(30, 36, 34, 0.18)); mix-blend-mode: multiply; pointer-events: none; }
.creds { margin-top: 0; }
.portrait--small { margin-top: var(--s6); max-width: 420px; aspect-ratio: 4 / 3; }
.portrait--small img { object-position: center 40%; }
.note--tight { margin-top: var(--s2); }
.creds li { padding: 12px 0; border-top: 1px solid var(--line); }
.creds li:last-child { border-bottom: 1px solid var(--line); }

/* Offer lists */
.ticks li, .crosses li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: 15px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 0.8rem; }
.ticks li::before { content: "✓"; background: var(--peach); color: var(--night); }
.crosses li::before { content: "✕"; border: 1px solid var(--night); }
.two--top h2 { margin-bottom: var(--s4); }

/* Questions */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s3) 0; font: 400 1.3rem/1.3 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: #c98a68; font-size: 1.5rem; line-height: 1; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }
.link { text-decoration-color: var(--peach); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Contact */
.contact { padding: 0; }
.contact__frame { padding: clamp(var(--s12), 11vw, 160px) 0; }
.contact__grid { width: min(1180px, 100% - 48px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s6), 7vw, 120px); align-items: start; }

.mail { color: #a8664a; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.form { display: grid; gap: var(--s3); }
.field { display: grid; gap: var(--s1); }
.field label { font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(30, 36, 34, 0.22); background: #fff; color: var(--ink); font: inherit; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--peach); }
.field.is-invalid input { border-color: #a3382c; }
.form .btn { justify-self: start; }
.form__status { margin: 0; min-height: 1.4em; }
.form__status.is-ok { color: #a8664a; }
.form__status.is-err { color: #a3382c; }

/* Footer */
.foot__notes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); padding: var(--s8) 0 var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s4); }
.foot__title { font-weight: 500; color: var(--ink); margin-bottom: 4px !important; }
.foot { padding: var(--s4) 0 var(--s6); font-size: 0.9rem; color: var(--muted); }
.foot__grid { display: grid; grid-template-columns: auto 1fr; gap: var(--s4); }
.foot p { margin: 0; }
.foot__crisis { justify-self: end; text-align: right; max-width: 60ch; }

.offer { grid-template-columns: 0.75fr 1.25fr; }
@media (min-width: 961px) { .offer .ticks li { white-space: nowrap; } }
.help__head { max-width: none; }
.help__head h2 { white-space: nowrap; font-size: min(clamp(2.2rem, 4vw, 3.4rem), 5.8vw); }
#help .statement { margin: var(--s8) 0 0; }
.form .btn--primary { background: linear-gradient(180deg, #efc09f, #e7ae88); box-shadow: 0 0 0 1px rgba(201, 138, 104, 0.2), 0 12px 28px -12px rgba(214, 140, 100, 0.7), 0 0 30px 2px rgba(233, 180, 143, 0.32); }
/* Text under a heading ends where the heading ends */
.help__head { width: fit-content; max-width: 100%; }
.help__head p { width: 0; min-width: 100%; max-width: none; }
.post p { max-width: none; }
.page-intro .article__note { max-width: 820px; }
/* Justified text with hyphenation (the owner wants it justified as much as possible, phones included) */
#approach p, #help .help__head p, #about .lead, .faq details p, .contact p, .prose p, .post p, .article__note { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 960px) {
  .card p, .steps p, .hero .lead, .foot p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
}
.prose p, .prose li { overflow-wrap: anywhere; }
/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .two, .contact__grid { grid-template-columns: 1fr; }
  /* Keep the breathing sun beside the heading, never below it */
  .hero__grid { position: relative; --pt: var(--s16); --bw: clamp(160px, 36vw, 260px); }
  .breath { position: absolute; right: 0; top: calc(var(--pt) - var(--bw)); width: var(--bw); }
  .cards, .steps, .intro { grid-template-columns: 1fr; }
  .intro { gap: var(--s2); }
  .facts__list { grid-template-columns: 1fr 1fr; }
  .portrait { max-width: 520px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 116px; }
  .head { padding: var(--s2) 0; }
  body { font-size: 16px; }
  .wrap, .hero__grid, .contact__grid { width: calc(100% - 32px); }
  .hero__frame::after { background: linear-gradient(180deg, rgba(24, 29, 27, 0.35) 0%, rgba(24, 29, 27, 0.55) 45%, rgba(24, 29, 27, 0.55) 80%, var(--ivory) 100%); }
  .hero__grid { padding: var(--s12) 0 var(--s6); }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 6px; font-size: min(0.86rem, 3.5vw); white-space: nowrap; }
  .hero__grid { padding-top: var(--s8); --pt: var(--s8); }
  .breath__label { font-size: 1.1rem; }
  .hero__frame::before { height: 14%; }
  .facts__list { grid-template-columns: 1fr; }
  .areas li { font-size: 1.05rem; padding: 10px 16px; }
  .foot__grid, .foot__notes { grid-template-columns: 1fr; }
  .foot__crisis { justify-self: start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .breath__orb { transform: translate(-50%, -50%); }
  .breath__glow, .breath__haze { transform: translate(-50%, -50%); }
}

/* Reflections (blog) pages */
.page-intro { padding-top: clamp(var(--s8), 8vw, 120px); }
.page-intro h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
.posts { margin-top: var(--s8); max-width: 820px; }
.post { padding: var(--s4) 0; border-top: 1px solid var(--line); }
.post:last-child { border-bottom: 1px solid var(--line); }
.post h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 0 0 0.4em; }
.post h2 a { text-decoration: none; }
.post h2 a:hover { color: #a8664a; }
.post p { margin: 0; color: var(--muted); }
.post__date { margin-bottom: var(--s1) !important; color: #a8664a !important; }
.article { max-width: 720px; }
.article > p:first-child a { color: #a8664a; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-top: var(--s4); }
.prose { margin-top: var(--s6); }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin: 1.6em 0 0.5em; }
.prose h3 { margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: #c98a68; }
.prose blockquote { margin: 1.4em 0; padding-left: var(--s3); border-left: 2px solid var(--peach); font: italic 300 1.4rem/1.4 var(--display); }
.article__note { margin-top: var(--s8); padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--muted); }

.breath.is-in .breath__glow, .breath.is-in .breath__haze, .breath.is-in .breath__orb { transition-duration: 4s; }

/* The words sit inside the sun (below it on phones, where the sun is too small) */
.breath__orb { z-index: 1; }
.breath__label { z-index: 2; top: 58%; transform: translate(-50%, -50%); font-size: 1.1rem; color: #5e3727; text-shadow: none; }
@media (max-width: 640px) { .breath__label { top: 82%; transform: translateX(-50%); color: #fff; text-shadow: 0 1px 12px rgba(24, 29, 27, 0.35); font-size: 1.1rem; } }

.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[disabled] { opacity: 0.7; cursor: wait; }
