/* ---- Phoenix demo bar (shared by every concept; not part of the template) ---- */
:root { --phx-h: 2.25rem; }
@media (max-width: 40rem) { :root { --phx-h: 3.5rem; } }
.phx-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--phx-h);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: 0 1rem; background: #111; color: #f2f2f2;
  font: 500 .78rem/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: .01em;
}
.phx-bar p { margin: 0; }
.phx-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.phx-bar a:hover { text-decoration-thickness: 2px; }
.phx-bar a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }
.phx-bar__tag { display: none; }
.phx-bar__sep { opacity: .6; margin: 0 .25rem; }
.phx-bar__back { white-space: nowrap; opacity: .85; }
@media (max-width: 40rem) {
  .phx-bar { align-items: center; font-size: .7rem; line-height: 1.25; }
  .phx-bar__msg { max-width: 68%; }
}

/* ===== Counselling · Concept B · Journal =====
   Newsreader (optical sizes) + Hanken Grotesk · linen, umber, olive · slow editorial reveals */
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-opsz-normal.woff2) format("woff2-variations"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url(../fonts/newsreader-latin-opsz-italic.woff2) format("woff2-variations"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url(../fonts/hanken-grotesk-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --linen: #f1ebe2; --paper: #faf7f2; --tint: #e8dfd2; --umber: #2a211b; --muted: #65574b; --line: #d6c9b8;
  --olive: #56622f; --olive-2: #444e24; --rose: #dcc3b8;
  --serif: "Newsreader", Georgia, serif; --sans: "Hanken Grotesk", system-ui, sans-serif;
  --slow: cubic-bezier(.25, .1, .1, 1);
  --header-h: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--phx-h) + var(--header-h)); -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-top: var(--phx-h); background: var(--linen); color: var(--umber); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
/* paper grain (inline SVG noise, no request) */
body::before { content: ""; position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: italic; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 1100; background: var(--umber); color: var(--paper); padding: .6rem 1rem; }
.skip-link:focus { top: calc(var(--phx-h) + .5rem); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }

/* Header */
.header { position: sticky; top: var(--phx-h); z-index: 50; background: var(--linen); border-bottom: 1px solid transparent; transition: border-color .6s var(--slow); }
.header.is-scrolled { border-color: var(--line); }
.header__row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { font: 500 1.35rem var(--serif); text-decoration: none; letter-spacing: -.01em; }
.brand em { font-weight: 400; color: var(--olive); }
.brand__demo { font: 400 .8rem var(--sans); color: var(--muted); }
.nav { display: none; gap: 2rem; align-items: center; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:not(.nav__book):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nav__book { border-bottom: 1.5px solid var(--olive); color: var(--olive); font-weight: 600; padding-bottom: .1rem; }
.nav__book:hover { color: var(--umber); border-color: var(--umber); }
.menu-btn { display: none; background: none; border: 1px solid var(--umber); border-radius: 999px; padding: .45rem 1.1rem; font: italic 500 1.05rem var(--serif); color: var(--umber); cursor: pointer; }
.menu-btn[aria-expanded="true"] { background: var(--umber); color: var(--linen); }
.menu { display: grid; padding: 0 1.25rem 1rem; }
.menu a { font: 400 2.1rem/1.1 var(--serif); text-decoration: none; padding: .6rem 0; border-top: 1px solid var(--line); display: flex; gap: .9rem; align-items: baseline; }
.menu span { font: italic 400 1rem var(--serif); color: var(--muted); width: 1.8rem; }
.js .menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--linen); border-bottom: 1px solid var(--line); overflow: hidden; max-height: 0; visibility: hidden; transition: max-height .8s var(--slow), visibility 0s .8s; padding-block: 0; }
.js .menu[data-open="true"] { max-height: 26rem; visibility: visible; padding-bottom: 1rem; transition: max-height .8s var(--slow), visibility 0s; }
@media (min-width: 54rem) { .nav { display: flex; } .menu { display: none !important; } }
@media (max-width: 53.99rem) { .js .menu-btn { display: inline-block; } }

/* Hero */
.hero { padding-top: 3.5rem; }
.meta { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.meta span { margin: 0 .4rem; color: var(--line); }
.hero__title { font: 350 clamp(2.9rem, 9vw, 8.2rem)/.95 var(--serif); font-optical-sizing: auto; letter-spacing: -.03em; margin-top: 1.5rem; }
.hero__title .line { display: block; }
.hero__title em { color: var(--olive); font-weight: 300; }
.hero__row { display: grid; gap: 2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
@media (min-width: 56rem) { .hero__row { grid-template-columns: 1fr auto; align-items: start; gap: 4rem; } }
.hero__lead { font: 400 1.35rem/1.5 var(--serif); max-width: 38rem; color: var(--muted); }
.hero__cta { display: grid; gap: .6rem; justify-items: start; }
.small { font-size: .85rem; color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: .75rem; background: var(--olive); color: #fff; font: 500 1rem/1 var(--sans); padding: 1.05rem 1.6rem; text-decoration: none; border: 0; cursor: pointer; transition: background .5s var(--slow), gap .5s var(--slow); }
.btn:hover { background: var(--olive-2); gap: 1.1rem; }
.hero__img { margin-top: 3.5rem; }
.hero__img img { width: 100%; height: clamp(18rem, 48vw, 36rem); object-fit: cover; filter: sepia(.18) saturate(.9); }

/* Chapters */
.chapter { padding-block: 5rem; }
.chapter--tint { background: var(--tint); }
.chapter__grid { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .chapter__grid { grid-template-columns: 13rem 1fr; gap: 3rem; } .chapter__label { position: sticky; top: calc(var(--phx-h) + var(--header-h) + 2rem); align-self: start; } }
.chapter__label { font: 500 .8rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: .6rem; align-items: baseline; }
.chapter__label span { font: italic 400 1.4rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--olive); }
.h2 { font: 380 clamp(2.2rem, 5vw, 4rem)/1.04 var(--serif); letter-spacing: -.025em; text-wrap: balance; max-width: 44rem; }
.h2 em { color: var(--olive); font-weight: 350; }

.index { margin-top: 2.5rem; border-top: 1px solid var(--umber); }
.index li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .25rem 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); position: relative; }
.index li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--olive); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--slow); }
.index li:hover::after { transform: scaleX(1); }
@media (min-width: 48rem) { .index li { grid-template-columns: 3.5rem 1fr 1.2fr; align-items: baseline; } }
.index__n { font: italic 400 1rem var(--serif); color: var(--muted); }
.index h3 { font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--serif); letter-spacing: -.01em; transition: transform .6s var(--slow), color .6s; }
.index li:hover h3 { transform: translateX(6px); color: var(--olive); }
.index p { color: var(--muted); grid-column: 2; }
@media (min-width: 48rem) { .index p { grid-column: 3; } }

.statement { background: var(--umber); color: var(--linen); padding-block: 5.5rem; }
.statement__text { font: 300 clamp(2rem, 5.2vw, 4.4rem)/1.1 var(--serif); letter-spacing: -.02em; max-width: 60rem; text-wrap: balance; }
.statement__text em { color: var(--rose); }

.about { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) { .about { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } }
.about__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 30% 50%; filter: sepia(.12); }
.about__text p { margin-top: 1.25rem; font-size: 1.12rem; color: var(--muted); max-width: 36rem; }
.dropcap::first-letter { float: left; font: 400 4.6rem/.8 var(--serif); color: var(--olive); margin: .35rem .6rem 0 0; }

.timeline { display: grid; gap: 0; margin-top: 2.5rem; }
@media (min-width: 56rem) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline li { padding: 1.5rem 0; border-top: 1px solid var(--umber); }
@media (min-width: 56rem) { .timeline li { padding: 1.5rem 2rem 0 0; } .timeline li + li { padding-left: 2rem; border-left: 1px solid var(--line); } }
.timeline__word { font: italic 300 3.4rem/1 var(--serif); color: var(--olive); }
.timeline h3 { font: 500 1.35rem var(--serif); margin-top: 1rem; }
.timeline p { color: var(--muted); margin-top: .4rem; }

.addon-slot { margin-block: 1rem; padding: 1rem 1.25rem; border: 1px dashed var(--line); font-size: .9rem; color: var(--muted); }

.contact { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .contact { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.lead { font: 400 1.3rem/1.5 var(--serif); color: var(--muted); margin-top: 1.25rem; }
.contact__list { margin-top: 2rem; border-top: 1px solid var(--line); }
.contact__list li { display: grid; grid-template-columns: 5rem 1fr; padding: .8rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__list span { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font: 400 1.2rem var(--serif); text-decoration: none; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--olive); text-decoration: underline; text-underline-offset: 4px; }
.sidenote { margin-top: 2rem; padding-left: 1.25rem; border-left: 2px solid var(--olive); font-size: .95rem; color: var(--muted); display: grid; gap: .6rem; }
.sidenote strong { color: var(--umber); }
.sidenote a { color: var(--umber); font-weight: 600; }
.form { display: grid; gap: 1.2rem; background: var(--paper); padding: 1.5rem; border: 1px solid var(--line); align-content: start; }
@media (min-width: 40rem) { .form { padding: 2.25rem; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 500; font-size: .95rem; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea { width: 100%; font: 400 1.05rem var(--sans); color: var(--umber); background: var(--linen); border: 1px solid var(--line); border-radius: 2px; padding: .85rem 1rem; transition: border-color .4s, background .4s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); background: #fff; }
.form__privacy { font-size: .85rem; color: var(--muted); }
.form .btn { justify-self: start; }
.form-status:empty { display: none; }
.form-status { border-left: 3px solid var(--olive); background: var(--tint); padding: .8rem 1rem; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { background: var(--umber); color: var(--linen); padding-block: 4rem 1.5rem; margin-top: 4rem; }
.footer__big { font: 300 clamp(2.8rem, 10vw, 8rem)/.95 var(--serif); letter-spacing: -.035em; }
.footer__big em { color: var(--rose); }
.footer__grid { display: grid; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(241,235,226,.2); }
@media (min-width: 52rem) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__tag { color: #cfc3b5; max-width: 22rem; font: 400 1.15rem/1.5 var(--serif); }
.footer__h { font: 500 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #cfc3b5; margin-bottom: .7rem; }
.footer ul { display: grid; gap: .35rem; }
.footer ul a { text-decoration: none; overflow-wrap: anywhere; } .footer ul a:hover { text-decoration: underline; }
.footer :focus-visible { outline-color: var(--linen); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; font-size: .85rem; color: #cfc3b5; }

/* Reveal: lines rise from a baseline mask; images wipe open left to right */
.reveal [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--slow), transform 1.1s var(--slow); }
.reveal [data-reveal].is-in { opacity: 1; transform: none; }
.reveal .hero__title .line[data-reveal] { transform: translateY(.5em); transition: opacity 1.2s var(--slow), transform 1.2s var(--slow); }
.reveal .hero__title .line[data-reveal].is-in { transform: none; }
.reveal [data-reveal="wipe"] { opacity: 1; transform: none; }
.reveal [data-reveal="wipe"] img { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--slow); }
.reveal [data-reveal="wipe"].is-in img { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal [data-reveal], .reveal .hero__title .line[data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .reveal [data-reveal="wipe"] img { clip-path: none; }
}
