/*
Theme Name: Melanie Gummer — Somatic Experiencing
Theme URI: https://melaniegummertraumatherapy.co.uk/
Author: Built for Melanie Gummer
Description: A calm, body-based theme for a Somatic Experiencing practice. Warm cream and sage palette, Fraunces and Karla typography, arched portraits. Built to keep the design fixed while the words stay editable.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: melanie-se
Tags: one-column, custom-menu, editor-style, translation-ready
*/

/* ==========================================================================
   Melanie Gummer — Somatic Experiencing, Cheltenham
   Single stylesheet. No frameworks, no build step.
   Palette is drawn from Melanie's photograph: sage, warm cream, pale blue.
   Type: Fraunces (soft display serif) + Karla (humanist sans).
   ========================================================================== */

:root {
  --bg:        #FAF7F0;
  --bg-warm:   #F4EFE4;
  --bg-sage:   #EDF0E7;
  --bg-blue:   #E9F1F3;
  --bg-deep:   #2C3A31;
  --ink:       #26302A;
  --ink-soft:  #5A685F;
  --sage:      #7C9080;
  --sage-dark: #47604F;
  --sage-mist: #C9D4C9;
  --blue:      #A9CBD6;
  --blue-deep: #3A6B7C;
  --gold:      #B08947;
  --line:      #E3DDCD;
  --line-soft: #EAE5D8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 69rem;
  --narrow: 43rem;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(38,48,41,.04), 0 10px 30px rgba(38,48,41,.07);
  --shadow-lift: 0 2px 4px rgba(38,48,41,.05), 0 16px 44px rgba(38,48,41,.10);
}

/* --------------------------------------------------------- reset & base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sage-dark); }

:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 480;
  font-variation-settings: "SOFT" 60, "opsz" 40;
  line-height: 1.16;
  color: var(--ink);
  margin: 0 0 .55em;
  letter-spacing: -.012em;
}

h1 { font-size: calc(clamp(2.3rem, 5.4vw, 3.6rem) * var(--heading-scale, 1)); }
h2 { font-size: calc(clamp(1.7rem, 3.4vw, 2.4rem) * var(--heading-scale, 1)); }
h3 { font-size: calc(1.28rem * var(--heading-scale, 1)); font-weight: 540; }

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.15rem, 2.1vw, 1.32rem);
  line-height: 1.68;
  color: var(--ink-soft);
}
.lede-serif {
  font-family: var(--serif);
  font-weight: 420;
  font-variation-settings: "SOFT" 60, "opsz" 20;
  font-style: italic;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--bg-deep);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- layout */

.wrap  { width: 100%; max-width: var(--wrap);   margin-inline: auto; padding-inline: 1.5rem; }
.narrow{ width: 100%; max-width: var(--narrow); margin-inline: auto; padding-inline: 1.5rem; }

section { padding-block: calc(clamp(4rem, 9vw, 6.75rem) * var(--section-scale, 1)); position: relative; }
section.tight { padding-block: calc(clamp(2.75rem, 5vw, 4rem) * var(--section-scale, 1)); }

.band-warm { background: var(--bg-warm); }
.band-sage { background: var(--bg-sage); }
.band-deep {
  background:
    radial-gradient(60rem 30rem at 85% -20%, rgba(169,203,214,.14), transparent 60%),
    radial-gradient(50rem 26rem at 0% 120%, rgba(124,144,128,.25), transparent 60%),
    var(--bg-deep);
  color: #E5EBE4;
}
.band-deep h2, .band-deep h3 { color: #F6F8F4; }
.band-deep .lede { color: #C6D2C8; }
.band-deep a { color: var(--blue); }
.band-deep a:hover { color: #fff; }

.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 37rem; }
.center .btn-row { justify-content: center; }

/* inner-page headers share the hero's soft wash */
.page-head {
  padding-block: clamp(3.5rem, 7vw, 5.25rem) clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(44rem 26rem at 105% 0%, rgba(169,203,214,.24), transparent 62%),
    radial-gradient(36rem 24rem at -10% 110%, rgba(124,144,128,.13), transparent 60%);
}
.page-head > .narrow, .page-head > .wrap { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
  flex: none;
}
.center .eyebrow { justify-content: center; }
.center .eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
  flex: none;
}
.band-deep .eyebrow { color: var(--blue); }
.band-deep .eyebrow::before, .band-deep .eyebrow::after { background: var(--blue-deep); }

.section-head { margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }

/* a small botanical divider between ideas */
.leaf-divider {
  display: flex;
  justify-content: center;
  color: var(--sage);
  margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}
.leaf-divider svg { display: block; }

/* --------------------------------------------------------------- header */

.site-header {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(250,247,240,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 520;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  flex: none;
  width: 2.35rem;
  height: 2.35rem;
  color: var(--sage-dark);
}
.brand b { font-weight: 520; display: block; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-top: .18rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .97rem;
  font-weight: 500;
  padding-block: .25rem;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]:not(.btn) {
  box-shadow: inset 0 -2px 0 var(--sage);
}
.site-nav .btn { padding: .6rem 1.3rem; font-size: .92rem; }
.site-nav a.btn-primary { color: #fff; }
.site-nav a.btn-primary:hover { color: #fff; }

@media (max-width: 46rem) {
  .site-header { position: static; }
  .site-header .wrap { padding-block: 1rem; min-height: 0; gap: .75rem; }
  .site-nav ul { gap: .5rem 1.1rem; }
  .site-nav a { font-size: .9rem; }
  .site-nav .nav-cta { display: none; }
}

/* ----------------------------------------------------------------- hero */

.hero {
  padding-block: clamp(3.75rem, 9vw, 7.25rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46rem 30rem at 108% 8%, rgba(169,203,214,.28), transparent 62%),
    radial-gradient(40rem 28rem at -12% 100%, rgba(124,144,128,.16), transparent 60%);
}
.hero > .wrap { position: relative; }

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.12fr .88fr; }
}

.hero h1 { margin-bottom: .5em; }

/* The text settles in gently on arrival. The portrait deliberately does NOT
   animate: animating its container promotes it to its own compositing layer,
   and in some browsers the photo inside that layer never paints — leaving an
   empty arch. A visible photograph matters more than the flourish. */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero .btn-row {
    animation: rise .9s cubic-bezier(.2,.65,.3,1) both;
  }
  .hero h1 { animation-delay: .07s; }
  .hero .lede { animation-delay: .14s; }
  .hero .btn-row { animation-delay: .21s; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* arched portrait with a soft offset backdrop */
.portrait-frame {
  position: relative;
  max-width: 26.5rem;
  margin-inline: auto;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 6% -5.5% -4.5% 5.5%;
  background: linear-gradient(160deg, var(--sage-mist), var(--blue) 115%);
  border-radius: var(--portrait-shape, 999px 999px var(--radius) var(--radius));
  opacity: .55;
}
.portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center var(--portrait-focus, 22%);
  border-radius: var(--portrait-shape, 999px 999px var(--radius) var(--radius));
  box-shadow: var(--shadow-lift);
}
.portrait-frame figcaption {
  position: relative;
  text-align: center;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: 1.1rem;
  letter-spacing: .02em;
}

/* --------------------------------------------------------------- button */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .99rem;
  font-weight: 700;
  letter-spacing: .01em;
  padding: .9rem 1.8rem;
  border-radius: var(--btn-radius, 999px);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}

.btn-primary {
  background: var(--sage-dark);
  color: #fff;
  border-color: var(--sage-dark);
  box-shadow: 0 8px 20px rgba(var(--sage-dark-rgb, 71 96 79), .28);
}
.btn-primary:hover {
  background: var(--sage-darker, #3A5142);
  border-color: var(--sage-darker, #3A5142);
  color: #fff;
  box-shadow: 0 10px 24px rgba(var(--sage-dark-rgb, 71 96 79), .34);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,.5);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: #fff;
  transform: translateY(-1px);
}

.band-deep .btn-primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.band-deep .btn-primary:hover { background: #fff; border-color: #fff; color: var(--ink); }

.band-deep .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.band-deep .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }

/* ---------------------------------------------------------------- cards */

.grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}

/* four equal cards: 1 up on phones, 2 up on tablets, 4 up on desktop */
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 34rem) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  box-shadow: 0 1px 2px rgba(38,48,41,.03);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sage-mist);
  transform: translateY(-2px);
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .99rem; line-height: 1.7; margin-bottom: 0; }

.card .card-icon {
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-sage);
  color: var(--sage-dark);
  margin-bottom: 1.15rem;
}
.card .card-icon svg { display: block; }
.card:nth-child(even) .card-icon { background: var(--bg-blue); color: var(--blue-deep); }

.band-warm .card, .band-sage .card { background: var(--bg); }

/* ----------------------------------------------------------- checklist */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .95rem;
}
.checklist li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--bg-sage);
  border: 1px solid var(--sage-mist);
}
.checklist li::after {
  content: "";
  position: absolute;
  left: .33rem;
  top: .62em;
  width: .5rem;
  height: .26rem;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: rotate(-45deg);
}
.band-deep .checklist li { color: #D3DCD4; }
.band-deep .checklist li::before { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.band-deep .checklist li::after { border-color: var(--blue); }

/* ---------------------------------------------------------- testimonial */

.quotes {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
}
@media (min-width: 52rem) {
  .quotes { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

blockquote.quote {
  position: relative;
  margin: 0;
  background: #FFFDF8;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.4rem 2.1rem 2.1rem;
  box-shadow: 0 1px 2px rgba(38,48,41,.03);
}
.band-warm blockquote.quote, .band-sage blockquote.quote { background: var(--bg); }

blockquote.quote::before {
  content: "\201C";
  position: absolute;
  top: .45rem;
  left: 1.6rem;
  font-family: var(--serif);
  font-size: 4.25rem;
  line-height: 1;
  color: var(--sage-mist);
  pointer-events: none;
}

blockquote.quote p {
  font-family: var(--serif);
  font-weight: 420;
  font-variation-settings: "SOFT" 60, "opsz" 16;
  font-size: 1.09rem;
  line-height: 1.72;
  color: var(--ink);
}

blockquote.quote cite {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: .89rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
blockquote.quote cite::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: var(--sage);
}

.stars {
  color: var(--gold);
  letter-spacing: .16em;
  font-size: .92rem;
  margin-bottom: 1rem;
}

/* ------------------------------------------------------------ fee panel */

.facts {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  background: #FFFDF8;
  box-shadow: var(--shadow);
}
.facts .facts-title {
  padding: 1.15rem 1.6rem .95rem;
  background: var(--bg-sage);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-dark);
}
.facts dl { margin: 0; display: grid; gap: 0; }
.facts dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 1.6rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: .99rem;
}
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-soft); margin: 0; }
.facts dd { margin: 0; font-weight: 700; text-align: right; color: var(--ink); }

/* --------------------------------------------------------------- footer */

.site-footer {
  background:
    radial-gradient(50rem 24rem at 100% 0%, rgba(169,203,214,.10), transparent 55%),
    var(--bg-deep);
  color: #B6C2B9;
  padding-block: 4rem 2.5rem;
  font-size: .94rem;
}
.site-footer a { color: #D6E0D8; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}
.site-footer h2 {
  font-size: .82rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #F2F5F1;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer address { font-style: normal; }

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
}
.footer-brand .mark { flex: none; width: 2.1rem; height: 2.1rem; color: var(--sage-mist); margin-top: .1rem; }

.colophon {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.13);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: .85rem;
  color: #9FAEA3;
}

/* ---------------------------------------------------------------- notes */

.prose > * + h2 { margin-top: 2.4em; }
.prose em { color: var(--sage-dark); }

.editor-note {
  background: #FFF7DF;
  border: 1px dashed #D9B44A;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: #6B5312;
  margin-bottom: 2rem;
}
.editor-note strong { color: #4A3A08; }

/* =========================================================================
   WordPress integration
   Everything below adapts the static design to WordPress markup so that
   content typed in the editor comes out looking like the original pages.
   ========================================================================= */

/* --- accessibility helper WordPress expects --------------------------- */

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip-path: none;
  background: var(--bg-deep);
  color: #fff;
  padding: .75rem 1.25rem;
  height: auto;
  width: auto;
  left: 0;
  top: 0;
  z-index: 100;
}

/* --- prose defaults so editor content matches the original pages ------ */

/* An unordered list typed in the editor becomes the sage checklist.
   Add the class "plain" to a list to opt out. */
.prose ul:not(.plain):not(.checklist) {
  list-style: none;
  margin: 0 0 1.3em;
  padding: 0;
  display: grid;
  gap: .95rem;
}
.prose ul:not(.plain):not(.checklist) > li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-soft);
}
.prose ul:not(.plain):not(.checklist) > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--bg-sage);
  border: 1px solid var(--sage-mist);
}
.prose ul:not(.plain):not(.checklist) > li::after {
  content: "";
  position: absolute;
  left: .33rem;
  top: .62em;
  width: .5rem;
  height: .26rem;
  border-left: 2px solid var(--sage-dark);
  border-bottom: 2px solid var(--sage-dark);
  transform: rotate(-45deg);
}

.prose ol { padding-left: 1.3rem; }
.prose ol li { margin-bottom: .55rem; color: var(--ink-soft); }

.prose blockquote:not(.quote) {
  margin: 2rem 0;
  padding: .25rem 0 .25rem 1.5rem;
  border-left: 3px solid var(--sage);
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.75rem 0;
}

.prose img, .prose .wp-block-image img { border-radius: var(--radius-sm); }
.prose figure { margin: 2rem 0; }
.prose figcaption {
  font-size: .88rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: .7rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: .98rem;
}
.prose th, .prose td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.prose th { font-weight: 700; color: var(--ink); }
.prose td { color: var(--ink-soft); }

/* --- WordPress block alignment --------------------------------------- */

.prose .alignwide {
  width: 100%;
  max-width: none;
}
.prose .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.prose .alignleft {
  float: left;
  margin: .4rem 1.75rem 1.25rem 0;
  max-width: 45%;
}
.prose .alignright {
  float: right;
  margin: .4rem 0 1.25rem 1.75rem;
  max-width: 45%;
}
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-buttons { margin: 2rem 0; }

/* The block editor's own button markup, styled as our pill button. */
.wp-block-button__link {
  display: inline-block;
  font-family: var(--sans);
  font-size: .99rem;
  font-weight: 700;
  padding: .9rem 1.8rem;
  border-radius: var(--btn-radius, 999px);
  text-decoration: none;
  background: var(--sage-dark);
  color: #fff;
  border: 1px solid var(--sage-dark);
  box-shadow: 0 8px 20px rgba(var(--sage-dark-rgb, 71 96 79), .28);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.wp-block-button__link:hover {
  background: var(--sage-darker, #3A5142);
  border-color: var(--sage-darker, #3A5142);
  color: #fff;
  transform: translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: rgba(255,255,255,.5);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: #fff;
}

/* --- nav: the menu WordPress prints --------------------------------- */

.site-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: .34rem;
  height: .34rem;
  margin-left: .45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--sage);
}
.site-nav .nav-cta.current-menu-item > a,
.site-nav .nav-cta.current_page_item > a { box-shadow: none; }
.site-nav .nav-cta > a {
  display: inline-block;
  font-weight: 700;
  padding: .6rem 1.3rem;
  border-radius: var(--btn-radius, 999px);
  background: var(--sage-dark);
  color: #fff;
  border: 1px solid var(--sage-dark);
  box-shadow: 0 8px 20px rgba(var(--sage-dark-rgb, 71 96 79), .28);
  transition: background-color .2s ease, transform .2s ease;
}
.site-nav .nav-cta > a:hover {
  background: var(--sage-darker, #3A5142);
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 46rem) {
  .site-nav .nav-cta { display: none; }
}

/* --- comments are switched off, but style any stray output ----------- */

.no-comments { display: none; }

/* --- admin bar offset ------------------------------------------------ */

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 46rem) {
  body.admin-bar .site-header { top: 0; }
}

/* A section that opens with an eyebrow label then its heading: the heading
   should sit tight under the label, not take the usual big run-in margin. */
.prose > .eyebrow + h2 { margin-top: 0; }
