/* Don Mullen theme (design v2): light linen, forest green from the Appalachian sunset photo,
   rust from the TreeStone logo, IBM Plex type. Loaded after the original stylesheets, so
   everything that makes the new look lives in this one file. Delete the <link> to it to undo. */

/* ---- Type: IBM Plex Serif and Sans, self-hosted (SIL Open Font License, see /fonts/) ---- */
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Serif"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-serif-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

/* ---- Palette (measured from the logo and the sunset photo) ---- */
:root {
  --linen:    #f4efe4;   /* page background */
  --paper:    #e9e4d4;   /* quiet alternate bands */
  --obsidian: #252126;   /* ink: the logo's near-black */
  --bark:     #5f5449;   /* the logo's brown */
  --forest:   #2f3621;   /* deep green from the photo */
  --moss:     #4a5434;   /* mid green from the photo */
  --rust:     #c4733f;   /* the logo's arc: accents, markers, rules */
  --rust-deep:#9a4a22;   /* buttons and links, where text must read */
  --rust-dark:#7c3a1a;   /* button hover */
  --sunset:   #e8cca0;   /* gold from the photo: fine detail on forest */

  --slate:   var(--forest);
  --oxblood: var(--rust-deep);
  --gold:    var(--rust);
  --sage:    var(--moss);

  --bg-sunk:    var(--paper);
  --heading:    var(--forest);
  --text-soft:  var(--moss);
  --on-gold:    var(--linen);
  --dk-text:    var(--linen);
  --dk-soft:    #d8d3c3;
  --dk-link:    var(--sunset);
  --dk-voice:   var(--sunset);
  --rule-quiet: #e0d8c6;
  --rule-dark:  #56603d;
  --rule-slate: #56603d;

  --font-display: "IBM Plex Serif", Georgia, serif;
  --font-label:   "IBM Plex Sans", system-ui, sans-serif;
  --font-body:    "IBM Plex Sans", system-ui, sans-serif;
  --track-label:  0.14em;
}
/* On forest green, the accent becomes the photo's sunset gold. */
.stretch--panel, .site-footer, .bleed { --gold: var(--sunset); }
body.is-field .site-footer { background: var(--forest); }

/* ---- Headings and display text: sturdier weights, sentence case ---- */
h1, h2, h3, h4 { font-weight: 500; }
h1 { letter-spacing: -0.015em; }
.title { font-weight: 500; font-variant-caps: normal; letter-spacing: -0.01em; font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1.08; }
.bleed--hero .title { font-weight: 500; }
em, i, .hero__sub, .pullquote, .pillar__sub, .testimonial blockquote, .epigraph blockquote p,
.hero--plain .hero__sub, .bleed .close-quote blockquote p, .poem__epigraph { font-weight: 400; }
.bleed--hero .hero__sub { font-weight: 500; }
.poem-list a, .poem__text, .retreat__when, .session__when, .pillars--numbered .pillar::before { font-weight: 400; }

/* ---- The wordmark: logo and name side by side, the name centred on the logo ---- */
.wordmark, .wordmark:has(.wordmark__mark) { display: inline-flex; flex-direction: row; align-items: center; gap: 0.95rem; }
.wordmark::after, .wordmark:has(.wordmark__mark)::after { display: none; }
.wordmark__mark { height: 3.6rem; flex: 0 0 auto; }
.wordmark__name, .wordmark:has(.wordmark__mark) .wordmark__name { font-weight: 500; font-variant-caps: normal; letter-spacing: 0.06em;
  font-size: 2rem; line-height: 1; align-self: center; grid-column: auto; transition: color var(--transition); }
.wordmark__name::first-letter { font-size: 1em; }
.wordmark:hover { color: var(--heading); }
.wordmark:hover .wordmark__name { color: var(--rust); }
@media (max-width: 30rem) {
  .wordmark__mark { height: 2.9rem; }
  .wordmark__name, .wordmark:has(.wordmark__mark) .wordmark__name { font-size: 1.6rem; letter-spacing: 0.05em; }
}

/* ---- Header on wide screens: logo and name on the left, menu on the right ---- */
@media (min-width: 65.0625rem) {
  .site-header__inner { flex-direction: row; justify-content: space-between; align-items: center; gap: var(--s-4);
    padding-block: var(--s-2); }
  .nav { margin-left: auto; width: auto; }
  .nav__list { justify-content: flex-end; }
}

/* ---- Top menu: plain labels, and a rust dot above the current page ---- */
.nav__list > li:not(:last-child)::after { content: none; }
.nav__list a { font-weight: 500; letter-spacing: 0.14em; color: var(--bark); position: relative; }
.nav__list a { transition: color var(--transition); }
.nav__list a:hover, .nav__list a[aria-current="page"]:hover { color: var(--rust); }
.nav__list a[aria-current="page"] { color: var(--forest); font-weight: 600; }
.nav__list a[aria-current="page"]::before { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
@media (min-width: 65.0625rem) {
  .nav__list { gap: 0 clamp(1rem, 1.6vw, 1.6rem); }
  .nav__list a[aria-current="page"] { border-bottom: 0; padding-bottom: 0; }
  .nav__list a[aria-current="page"]::before { left: 50%; top: -0.55rem; margin-left: -3px; }
}
@media (max-width: 65rem) {
  .nav__list a[aria-current="page"] { border-bottom: 1px solid var(--rule-quiet); padding-bottom: var(--s-2); }
  .nav__list a[aria-current="page"]::before { left: -0.85rem; top: 50%; margin-top: -3px; }
}

/* ---- Buttons: deep rust everywhere, readable at 5.4:1 ---- */
.btn, .section--dark .btn, .stretch--panel .btn, .bleed .btn, .site-footer .btn {
  font-weight: 500; letter-spacing: 0.12em; border-radius: 2px;
  background: var(--rust-deep); border-color: var(--rust-deep); color: var(--linen);
}
.btn:hover, .section--dark .btn:hover, .stretch--panel .btn:hover, .bleed .btn:hover, .site-footer .btn:hover {
  background: var(--rust-dark); border-color: var(--rust-dark); color: var(--linen);
}
.btn--ghost { background: transparent; color: var(--rust-deep); border-color: var(--rust-deep); }
.btn--ghost:hover { background: var(--rust-deep); color: var(--linen); }

/* ---- Forest-green bands, with the woven lines ---- */
.stretch--panel::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("/img/weave.svg") center / 100% 100% no-repeat; opacity: .5; }
.stretch--panel .door { border-color: rgba(232, 204, 160, .38); background: rgba(47, 54, 33, .55); }
.stretch--panel .door:hover { border-color: var(--sunset); background: rgba(47, 54, 33, .75); }
.stretch--panel .door p { color: #e3dfd2; }
.door:hover { background: rgba(196, 115, 63, .06); }

/* ---- Small things ---- */
.title__rule { background: var(--rust); }
.signup .field input, .field input, .field textarea { border-bottom-color: var(--rust); }
:focus-visible { outline-color: var(--rust); }

/* Page heroes: the headline sits tight, not tracked out */
.bleed .title { letter-spacing: -0.005em; font-size: clamp(2rem, 3.8vw, 3.25rem); }
/* Service cards on the green band: one fine line, as on the design board */
.door--framed { outline: 0; }
.door--framed:hover { outline: 0; border-color: var(--sunset); }

/* Photo bands: inner-page heroes get a forest tint; quote and call-to-action bands become forest with woven lines */
/* Page headers are photographs now: a neutral dark veil keeps their colour and the headline readable */
.bleed--page .bleed__photo::after { background:
    radial-gradient(ellipse 52% 70% at 50% 50%, rgba(28, 25, 22, .42), rgba(28, 25, 22, .16) 75%, rgba(28, 25, 22, 0)),
    linear-gradient(to bottom, rgba(28, 25, 22, .22), rgba(28, 25, 22, .32)); }
.bleed:not(.bleed--hero):not(.bleed--page) .bleed__photo::after { background: rgba(47, 54, 33, .88); }
.bleed:not(.bleed--hero):not(.bleed--page)::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("/img/weave.svg") center / 100% 100% no-repeat; opacity: .45; }
.bleed:not(.bleed--hero):not(.bleed--page) > .wrap { position: relative; z-index: 1; }

/* Testimonials: upright text with a rust rule beside each */
.testimonial { border-top: 0; padding-top: 0; border-left: 2px solid var(--rust); padding-left: var(--s-3); }
.testimonial blockquote, .testimonials .testimonial blockquote { font-style: normal; font-weight: 400; color: var(--text);
  font-size: clamp(1.0625rem, 1.25vw, 1.15rem); line-height: 1.65; }
.testimonial blockquote em, .testimonial blockquote i { font-style: normal; color: inherit; }
.testimonial cite { color: var(--moss); }

/* Bookmarks land just below the (now shorter) sticky header on wide screens */
@media (min-width: 65.0625rem) { main [id] { scroll-margin-top: 7rem; } }
.testimonial { background-image: none; }

/* Photo caption under the research photo on Resources */
.research-photo figcaption { margin-top: 0.65rem; font-family: var(--font-body); font-size: var(--step-meta); line-height: 1.5; color: var(--dk-soft); }

/* Home: the dot sits beside the name, at the height the menu dots use */
.wordmark__name { position: relative; }
.wordmark[aria-current="page"] .wordmark__name::after { content: ""; position: absolute; left: calc(100% + 0.5rem);
  top: 1px; width: 6px; height: 6px; border-radius: 50%; background: var(--rust); }
[hidden] { display: none !important; }

/* Contact header: the mushroom stays whole on the left; the quote sits over the dark ferns */
.bleed--text-right .bleed__photo img { object-position: 30% 14%; }
@media (min-width: 52rem) {
  .bleed--text-right .bleed__photo img { object-position: 50% 21%; }
  .bleed--text-right .bleed__inner { align-items: flex-end; text-align: right; }
  .bleed--text-right > .wrap.bleed__inner { max-width: none; width: 100%; padding-inline: 0 6vw; }
  .bleed--text-right .bleed__inner > * { max-width: min(25ch, 38vw); }
  .bleed--text-right .hero__sub { font-size: clamp(1.5rem, 2.1vw, 2rem); }
  .bleed--text-right .bleed__photo::after { background: linear-gradient(to right, rgba(28, 25, 22, .05) 30%, rgba(28, 25, 22, .45) 75%); }
}
@media (max-width: 51.99rem) {
  .bleed--text-right .bleed__inner { justify-content: flex-end; min-height: 100%; padding-top: 9.5rem; }
}

/* Support page: The Vision Guide, with the 'Wait. Before You Name It' card */
.vg-intro { max-width: 44rem; }
.vg-card { margin-top: var(--s-5); max-width: 60rem; background: var(--linen); border: 1px solid var(--rule-quiet);
  border-top: 3px solid var(--forest); padding: clamp(1.5rem, 4vw, 3rem); }
.vg-card__eyebrow, .vg-item__label { font-family: var(--font-label); font-weight: 500; font-size: var(--step-label);
  letter-spacing: var(--track-label); text-transform: uppercase; color: var(--moss); margin: 0; }
.vg-card h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.1; margin: var(--s-2) 0 var(--s-1); color: var(--forest); }
.vg-card__sub { font-family: var(--font-display); font-style: italic; font-size: var(--step-sub-2); color: var(--rust-deep); margin: 0 0 var(--s-4); }
.vg-card__lead { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; line-height: 1.6; max-width: 46rem;
  border-left: 2px solid var(--rust); padding-left: var(--s-3); margin: 0 0 var(--s-5); }
.vg-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4) var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .vg-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; } }
.vg-item { margin: 0; }
.vg-item h4 { font-size: 1.2rem; line-height: 1.3; margin: 0.35rem 0 0.3rem; color: var(--ink, var(--obsidian)); }
.vg-item p:last-child { margin: 0; font-size: 0.97rem; color: var(--bark); }
.vg-card__close { font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55;
  text-align: center; color: var(--forest); max-width: none; margin: var(--s-5) auto var(--s-4); }
.vg-card__credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-4); border-top: 1px solid var(--rule-quiet);
  padding-top: var(--s-3); font-family: var(--font-label); font-size: var(--step-meta); color: var(--bark); }
.vg-download { margin: var(--s-3) 0 0; max-width: none; font-size: var(--step-meta); color: var(--bark); }
.vg-download a { color: var(--rust-deep); white-space: nowrap; }

/* About: Path and Training in three groups */
.lineage__group { font-size: var(--step-sub); color: var(--forest); margin: var(--s-5) 0 var(--s-2); }
.lineage__group:first-of-type { margin-top: var(--s-3); }
.lineage + .lineage__group { margin-top: var(--s-5); }
