/* ==========================================================================
   Saige: editorial "brief" system
   Navy #14202E · Sage #6F9A70 · Light sage #8DB58C · Paper #F4F2EC
   ========================================================================== */

:root {
  --sg-paper: #F4F2EC;
  --sg-paper-deep: #EAE6DC;
  --sg-navy: #14202E;
  --sg-navy-soft: #1E2D3F;
  --sg-sage: #6F9A70;
  --sg-sage-ink: #4A7350;
  --sg-sage-light: #8DB58C;
  --sg-rule: #D6D1C4;
  --sg-muted: #55606B;
  --sg-max: 1240px;
  --sg-gutter: clamp(1.25rem, 4vw, 3rem);
  --sg-label-col: clamp(9rem, 16vw, 14rem);
  --sg-serif: "Source Serif 4", Georgia, serif;
  --sg-sans: "IBM Plex Sans", system-ui, sans-serif;
  --sg-mono: "IBM Plex Mono", ui-monospace, monospace;
  --sg-display: "Barlow Semi Condensed", "IBM Plex Sans", sans-serif;
  --sg-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
html, body { overflow-x: clip; }
body { background: var(--sg-paper); color: var(--sg-navy); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--sg-sage-light); color: var(--sg-navy); }
:where(a, button, summary):focus-visible { outline: 2px solid var(--sg-sage); outline-offset: 3px; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.sg-main { margin: 0; }
.sg-main > * { margin-block-start: 0 !important; }

/* Reusable labels ---------------------------------------------------------- */
.sg-kicker,
.sg-label {
  font-family: var(--sg-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sg-sage-ink);
  margin: 0;
}
.sg-kicker span,
.sg-label span { color: var(--sg-sage); padding: 0 0.35em; display: inline-block; transform: skewX(-14deg); }

/* Header ------------------------------------------------------------------- */
.sg-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--sg-paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sg-rule);
}
.admin-bar .sg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sg-header { top: 46px; } }
.sg-header__inner {
  max-width: calc(var(--sg-max) + 2 * var(--sg-gutter)); margin: 0 auto; padding: 0.85rem var(--sg-gutter); box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.sg-header__inner > * { margin: 0 !important; }
.sg-brand { display: block; line-height: 0; }
.sg-brand img { width: clamp(118px, 12vw, 150px); height: auto; }
.sg-nav { font-family: var(--sg-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.sg-nav .wp-block-navigation-item__content { color: var(--sg-navy); text-decoration: none; padding: 0.35rem 0; position: relative; }
.sg-nav .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--sg-sage);
  transition: right .35s var(--sg-ease);
}
.sg-nav .wp-block-navigation-item__content:hover::after { right: 0; }
.sg-nav .wp-block-navigation__container { gap: clamp(1rem, 2.4vw, 2.25rem); }
.sg-nav .sg-nav__cta .wp-block-navigation-item__content {
  border: 1px solid var(--sg-navy); padding: 0.5rem 0.95rem; transition: background .25s, color .25s;
}
.sg-nav .sg-nav__cta .wp-block-navigation-item__content::after { display: none; }
.sg-nav .sg-nav__cta .wp-block-navigation-item__content:hover { background: var(--sg-navy); color: var(--sg-paper); }
.sg-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--sg-paper); padding: 2rem var(--sg-gutter); }
.sg-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.5rem; font-size: 1rem; }

/* Hero --------------------------------------------------------------------- */
.sg-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(92vh, 900px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(3.5rem, 9vw, 7.5rem) var(--sg-gutter) 0;
  max-width: none;
}
/* Signature: the shield's S-curve, drawn as a single sage hairline through the hero */
.sg-hero::before {
  content: ""; position: absolute; z-index: -1;
  top: -2%; bottom: 7.5rem; right: clamp(-6rem, 2vw, 6rem); width: min(46vw, 620px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 200' preserveAspectRatio='none'%3E%3Cpath d='M58 0 C8 62 92 128 42 200' fill='none' stroke='%236F9A70' stroke-width='1.1' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  opacity: .9;
}
/* Faint split-shield watermark, right edge */
.sg-hero::after {
  content: ""; position: absolute; z-index: -2;
  top: 50%; right: max(-14vw, -12rem); width: min(52vw, 640px); aspect-ratio: 84 / 112;
  transform: translateY(-55%);
  background: url("../img/saige-mark-color.svg") no-repeat center / contain;
  opacity: .035;
}
.sg-hero__inner { max-width: var(--sg-max); width: 100%; margin: 0 auto; }
.sg-hero__inner > * { margin-block-start: 0; }
.sg-hero__title {
  font-size: clamp(2.9rem, 8.2vw, 6.6rem) !important;
  line-height: 0.98 !important; letter-spacing: -0.03em !important; font-weight: 500;
  max-width: 15ch; margin: 1.6rem 0 0 !important;
}
.sg-hero__title em { font-style: italic; color: var(--sg-sage-ink); font-weight: 400; position: relative; white-space: nowrap; }
.sg-hero__title em::after {
  content: ""; position: absolute; left: 0.05em; right: 0.05em; bottom: 0.06em; height: 0.07em;
  background: var(--sg-sage); transform: skewX(-14deg) scaleX(0); transform-origin: left;
  animation: sg-draw 1.1s .5s var(--sg-ease) forwards;
}
@keyframes sg-draw { to { transform: skewX(-14deg) scaleX(1); } }
.sg-hero__lede {
  font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--sg-muted);
  max-width: 38rem; margin: 1.75rem 0 0 !important;
}
.sg-actions { margin-top: 2.25rem !important; gap: 0.85rem; }
.wp-block-button__link, .sg-memo__btn { box-sizing: border-box; }
.sg-actions .wp-block-button__link { transition: background .25s, color .25s, transform .25s var(--sg-ease); }
.sg-actions .wp-block-button__link:hover { transform: translateY(-2px); }
.sg-btn-ghost .wp-block-button__link { background: transparent !important; color: var(--sg-navy) !important; box-shadow: inset 0 0 0 1px var(--sg-navy); }
.sg-btn-ghost .wp-block-button__link:hover { background: var(--sg-navy) !important; color: var(--sg-paper) !important; }

.sg-hero__meta {
  max-width: var(--sg-max); width: 100%; margin: clamp(3rem, 8vw, 5.5rem) auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--sg-navy);
}
.sg-hero__meta > div { padding: 1rem 1.25rem 1.6rem 0; border-right: 1px solid var(--sg-rule); }
.sg-hero__meta > div + div { padding-left: 1.25rem; }
.sg-hero__meta > div:last-child { border-right: 0; }
.sg-hero__meta dt { font-family: var(--sg-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sg-muted); }
.sg-hero__meta dd { margin: 0.35rem 0 0; font-weight: 500; font-size: 0.98rem; }
.sg-hero__meta a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--sg-sage); }

/* Navy statement band ------------------------------------------------------ */
.sg-band { background: var(--sg-navy); color: var(--sg-paper); padding: clamp(4rem, 10vw, 8rem) var(--sg-gutter) clamp(2.5rem, 5vw, 3.5rem); }
.sg-band > * { max-width: var(--sg-max); margin-left: auto !important; margin-right: auto !important; }
.sg-band__statement {
  font-family: var(--sg-serif); font-weight: 400;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em;
  max-width: var(--sg-max); margin-top: 0 !important;
}
.sg-band__statement { text-wrap: balance; }
.sg-band__statement { box-sizing: border-box; width: 100%; padding-right: max(0px, calc(100% - 24ch)); }
.sg-band__statement em { color: var(--sg-sage-light); }
.sg-terms {
  list-style: none; padding: 1.4rem 0 0; margin-top: clamp(3rem, 7vw, 5rem) !important;
  border-top: 1px solid rgba(244, 242, 236, .18);
  display: flex; flex-wrap: wrap; gap: 0.4rem 0;
  font-family: var(--sg-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(244, 242, 236, .72);
}
.sg-terms li + li::before { content: "/"; color: var(--sg-sage-light); padding: 0 0.9em; display: inline-block; transform: skewX(-14deg); }

/* Numbered sections -------------------------------------------------------- */
.sg-section, .sg-principal, .sg-contact {
  display: grid; grid-template-columns: var(--sg-label-col) minmax(0, 1fr);
  column-gap: clamp(1.5rem, 4vw, 4rem);
  max-width: calc(var(--sg-max) + 2 * var(--sg-gutter));
  margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) var(--sg-gutter);
  position: relative;
}
.sg-section > *, .sg-principal > *, .sg-contact > * { margin: 0 !important; }
.sg-section::before, .sg-principal::before, .sg-contact::before {
  content: ""; position: absolute; top: 0; left: var(--sg-gutter); right: var(--sg-gutter); height: 1px; background: var(--sg-navy);
}
.sg-label { position: sticky; top: 6.5rem; align-self: start; padding-top: 0.6rem; }
.sg-section__body > * { margin-block-start: 0; }
.sg-section__title {
  font-size: clamp(2rem, 4.6vw, 3.6rem) !important; letter-spacing: -0.025em !important;
  max-width: 18ch; margin: 0 0 clamp(2.5rem, 5vw, 4rem) !important;
}

/* Full-bleed tinted variant */
.sg-section--deep { max-width: none; background: var(--sg-paper-deep); }
.sg-section--deep::before { display: none; }
.sg-section--deep { grid-template-columns: var(--sg-label-col) minmax(0, 1fr); }
@media (min-width: 1340px) {
  .sg-section--deep { padding-left: calc((100vw - var(--sg-max)) / 2); padding-right: calc((100vw - var(--sg-max)) / 2); }
}

/* Service rows */
.sg-rows { border-top: 1px solid var(--sg-rule); }
.sg-rows > * { margin: 0 !important; }
.sg-row {
  display: grid; grid-template-columns: 3.5rem minmax(0, 0.9fr) minmax(0, 1.3fr); column-gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.75rem 0; border-bottom: 1px solid var(--sg-rule);
  transition: background .3s, padding .4s var(--sg-ease);
}
.sg-row > * { margin: 0 !important; }
.sg-row__num { font-family: var(--sg-mono); font-size: 0.85rem; color: var(--sg-muted); padding-top: 0.3rem; transition: color .3s; }
.sg-row__title { font-size: clamp(1.25rem, 2vw, 1.5rem) !important; transition: transform .4s var(--sg-ease); }
.sg-row__text { color: var(--sg-muted); }
.sg-row:hover { background: linear-gradient(90deg, rgba(111, 154, 112, .07), transparent 70%); }
.sg-row:hover .sg-row__num { color: var(--sg-sage-ink); }
.sg-row:hover .sg-row__title { transform: translateX(6px); }

/* Phases table */
.sg-phases { width: 100%; border-collapse: collapse; font-size: 1rem; }
.sg-phases th {
  text-align: left; font-family: var(--sg-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sg-muted); padding: 0 1rem 0.8rem 0; border-bottom: 1px solid var(--sg-navy);
}
.sg-phases td { padding: 1.4rem 1.5rem 1.4rem 0; border-bottom: 1px solid var(--sg-rule); vertical-align: top; }
.sg-phases td:first-child { font-family: var(--sg-serif); font-size: 1.35rem; white-space: nowrap; width: 22%; }
.sg-phases td:last-child { font-weight: 500; width: 30%; }
.sg-phases td:nth-child(2) { color: var(--sg-muted); }
.sg-phases__n { font-family: var(--sg-mono); font-size: 0.78rem; color: var(--sg-sage-ink); margin-right: 0.6rem; vertical-align: 0.2em; }

/* Audience cards */
.sg-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.sg-cards > * { margin: 0 !important; }
.sg-card { border-top: 3px solid var(--sg-navy); padding-top: 1.4rem; transition: border-color .3s; }
.sg-card h3 { margin: 0 0 0.75rem !important; }
.sg-card p { color: var(--sg-muted); margin: 0; }
.sg-card:hover { border-color: var(--sg-sage); }

/* Principal */
.sg-principal { overflow: hidden; }
.sg-principal::after {
  content: ""; position: absolute; right: calc(var(--sg-gutter) - 2rem); bottom: -4rem; width: min(30vw, 340px); aspect-ratio: 84 / 112;
  background: url("../img/saige-mark-color.svg") no-repeat center / contain; opacity: .05; pointer-events: none;
}
.sg-principal__text { font-family: var(--sg-serif); font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.45; max-width: 34ch; margin: 0 !important; }
.sg-signature { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.5rem; margin: 2.5rem 0 0 !important; padding-top: 1.25rem; border-top: 1px solid var(--sg-rule); max-width: 34rem; }
.sg-signature__name { font-family: var(--sg-display); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 1.05rem; }
.sg-signature__role { font-family: var(--sg-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sg-muted); }
.sg-signature a { margin-left: auto; font-family: var(--sg-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none; }

/* FAQ */
.sg-faq { border-top: 1px solid var(--sg-rule); margin: 0 !important; }
.sg-faq:last-child { border-bottom: 1px solid var(--sg-rule); }
.sg-faq summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--sg-serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); padding: 1.35rem 3rem 1.35rem 0;
  transition: color .25s;
}
.sg-faq summary::-webkit-details-marker { display: none; }
.sg-faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sg-mono); font-size: 1.3rem; color: var(--sg-sage-ink); transition: transform .3s var(--sg-ease);
}
.sg-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.sg-faq summary:hover { color: var(--sg-sage-ink); }
.sg-faq p { color: var(--sg-muted); max-width: 60ch; margin: 0 0 1.5rem !important; }

/* Contact memo */
.sg-contact { padding-bottom: clamp(5rem, 11vw, 9rem); }
.sg-contact__intro { font-size: 1.15rem; color: var(--sg-muted); max-width: 40rem; margin: -1.5rem 0 2.5rem !important; }
.sg-memo { background: #FFFFFF; border: 1px solid var(--sg-rule); box-shadow: 0 1px 0 var(--sg-rule), 0 30px 60px -40px rgba(20, 32, 46, .35); max-width: 46rem; }
.sg-memo__row { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1rem 1.6rem; border-bottom: 1px solid var(--sg-rule); }
.sg-memo__k { font-family: var(--sg-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sg-muted); padding-top: 0.2rem; }
.sg-memo ol { margin: 0; padding-left: 1.1rem; }
.sg-memo li { margin: 0.15rem 0; }
.sg-memo li::marker { font-family: var(--sg-mono); color: var(--sg-sage-ink); font-size: 0.85em; }
.sg-memo__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; padding: 1.6rem; }
.sg-memo__btn {
  display: inline-block; text-decoration: none; background: var(--sg-navy); color: var(--sg-paper) !important;
  font-family: var(--sg-display); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem;
  padding: 0.95rem 1.5rem; transition: background .25s, transform .25s var(--sg-ease);
}
.sg-memo__btn:hover { background: var(--sg-sage-ink); transform: translateY(-2px); }
.sg-memo__btn--ghost { background: transparent; color: var(--sg-navy) !important; box-shadow: inset 0 0 0 1px var(--sg-navy); }
.sg-memo__btn--ghost:hover { background: var(--sg-navy); color: var(--sg-paper) !important; }
.sg-memo__note { margin: 0; padding: 0.9rem 1.6rem 1.1rem; border-top: 1px dashed var(--sg-rule); font-family: var(--sg-mono); font-size: 0.72rem; color: var(--sg-muted); }

/* Footer ------------------------------------------------------------------- */
.sg-footer { background: var(--sg-navy); color: rgba(244, 242, 236, .8); padding: clamp(3.5rem, 7vw, 5.5rem) var(--sg-gutter) 0; margin: 0; }
.sg-footer a { color: var(--sg-paper); text-decoration: none; border-bottom: 1px solid rgba(141, 181, 140, .55); }
.sg-footer a:hover { border-color: var(--sg-sage-light); }
.sg-footer__inner { max-width: var(--sg-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.sg-footer__inner > * { margin: 0 !important; }
.sg-footer__brand img { width: 170px; height: auto; }
.sg-footer__brand p { margin: 1.25rem 0 0; max-width: 26ch; font-family: var(--sg-serif); font-size: 1.2rem; color: var(--sg-paper); line-height: 1.4; }
.sg-footer__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; margin: 0; }
.sg-footer__meta dt { font-family: var(--sg-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sg-sage-light); }
.sg-footer__meta dd { margin: 0.35rem 0 0; }
.sg-doccontrol {
  max-width: var(--sg-max); margin: clamp(3rem, 6vw, 4.5rem) auto 0 !important; padding: 1.2rem 0 1.6rem;
  border-top: 1px solid rgba(244, 242, 236, .16);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  font-family: var(--sg-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(244, 242, 236, .55);
}

/* Inner pages -------------------------------------------------------------- */
.sg-page { padding: clamp(3.5rem, 8vw, 6rem) var(--sg-gutter) clamp(4rem, 9vw, 7rem); }
.sg-page__title { font-size: clamp(2.4rem, 5.5vw, 4rem) !important; margin-bottom: 2rem !important; }

/* Scroll reveal (progressive enhancement) --------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sg-row, .sg-card, .sg-phases tbody tr, .sg-faq, .sg-memo, .sg-section__title, .sg-band__statement {
      animation: sg-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%;
    }
  }
}
@keyframes sg-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sg-hero__title em::after { animation: none; transform: skewX(-14deg) scaleX(1); }
  * { transition: none !important; }
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
  .sg-hero__meta { grid-template-columns: repeat(2, 1fr); }
  .sg-hero__meta > div:nth-child(2) { border-right: 0; }
  .sg-hero__meta > div:nth-child(3) { padding-left: 0; border-top: 1px solid var(--sg-rule); }
  .sg-hero__meta > div:nth-child(4) { border-top: 1px solid var(--sg-rule); }
  .sg-row { grid-template-columns: 3rem minmax(0, 1fr); }
  .sg-row__text { grid-column: 2; margin-top: 0.6rem !important; }
  .sg-cards { grid-template-columns: 1fr; }
  .sg-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .sg-section, .sg-principal, .sg-contact, .sg-section--deep { grid-template-columns: 1fr; }
  .sg-label { position: static; margin-bottom: 1.5rem !important; padding-top: 0; }
  .sg-hero { min-height: auto; }
  .sg-hero::before { width: 70vw; right: -18vw; opacity: .55; }
  .sg-hero::after { width: 90vw; right: -40vw; }
  .sg-phases thead { display: none; }
  .sg-phases, .sg-phases tbody, .sg-phases tr, .sg-phases td { display: block; width: auto !important; }
  .sg-phases tr { padding: 1.2rem 0; border-bottom: 1px solid var(--sg-rule); }
  .sg-phases td { border: 0; padding: 0.2rem 0; white-space: normal !important; }
  .sg-phases td:last-child::before { content: "You get: "; font-family: var(--sg-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--sg-sage-ink); font-weight: 400; }
  .sg-memo__row { grid-template-columns: 1fr; gap: 0.35rem; }
  .sg-footer__meta { grid-template-columns: 1fr; }
  .sg-signature a { margin-left: 0; }
}
@media (max-width: 480px) {
  .sg-hero__meta { grid-template-columns: 1fr; }
  .sg-hero__meta > div { border-right: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--sg-rule); }
  .sg-hero__meta > div:first-child { border-top: 0; }
  .sg-actions .wp-block-button, .sg-memo__btn { width: 100%; text-align: center; }
  .sg-actions .wp-block-button__link { width: 100%; }
}

/* ==========================================================================
   1.1.0 additions: search-friendly headings, links, credentials, service pages
   ========================================================================== */

/* Hero: the keyword H1 keeps the old kicker look; the slogan keeps the old H1 look */
h1.sg-kicker { font-weight: 400; line-height: 1.65; letter-spacing: 0.08em; }
.sg-kicker .sg-kicker__sec { color: inherit; padding: 0; display: inline; transform: none; }
p.sg-hero__title { font-family: var(--sg-serif); color: var(--sg-navy); }
.sg-hero__lede a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--sg-sage); }

/* "Learn more" links */
.sg-more {
  display: inline-block; margin-left: 0.25rem; white-space: nowrap;
  font-family: var(--sg-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sg-sage-ink); text-decoration: none; border-bottom: 1px solid var(--sg-sage-light);
}
.sg-more:hover { color: var(--sg-navy); border-color: var(--sg-navy); }

/* Principal credentials */
.sg-headshot { margin: 2rem 0 0 !important; }
.sg-headshot img { width: 160px; height: auto; display: block; border: 1px solid var(--sg-rule); }
.sg-credentials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 2rem 0 0 !important; max-width: 40rem; }
.sg-credentials dt { font-family: var(--sg-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sg-muted); }
.sg-credentials dd { margin: 0.3rem 0 0; }

/* Footer extras */
.sg-footer__brand .sg-footer__place { font-family: var(--sg-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sg-sage-light); margin-top: 1rem; }
.sg-footer__links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }

/* Placeholders (only visible when "Preview placeholders" is switched on) */
mark.sg-placeholder { background: #FFE58A; color: var(--sg-navy); font-family: var(--sg-mono); font-size: 0.85em; padding: 0 0.3em; }
.sg-todo { margin: 2rem 0 0 !important; padding: 1rem; border: 1px dashed var(--sg-muted); max-width: 22rem; font-size: 0.9rem; color: var(--sg-muted); }

/* Service pages */
.sg-hero--page { min-height: 0; padding-bottom: clamp(3rem, 7vw, 5rem); }
.sg-hero--page .sg-hero__title { font-size: clamp(2.4rem, 5.6vw, 4.4rem) !important; max-width: 20ch; }
.sg-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--sg-sage-light); }
.sg-crumbs a:hover { color: var(--sg-navy); }
.sg-prose { max-width: 46rem; }
.sg-prose > * { margin: 0 0 1.1rem !important; }
.sg-prose p, .sg-prose li { color: var(--sg-muted); }
.sg-prose p strong, .sg-prose li strong { color: var(--sg-navy); font-weight: 600; }
.sg-prose h3 { margin: 2.2rem 0 0.8rem !important; }
.sg-prose ul, .sg-prose ol { padding-left: 1.2rem; }
.sg-prose li { margin: 0.35rem 0; }
.sg-prose li::marker { color: var(--sg-sage-ink); }
.sg-prose .sg-source { font-family: var(--sg-mono); font-size: 0.75rem; letter-spacing: 0.04em; }
.sg-related { list-style: none; padding: 0 !important; border-top: 1px solid var(--sg-rule); }
.sg-related li { margin: 0; padding: 0.9rem 0; border-bottom: 1px solid var(--sg-rule); }
.sg-related a { font-family: var(--sg-serif); font-size: 1.2rem; text-decoration: none; }

@media (max-width: 760px) {
  .sg-credentials { grid-template-columns: 1fr; }
}
