/*
Theme Name: Dr. Sierra Slay
Theme URI: https://drsierraslay.com/
Author: Mark Frost
Description: A warm, editorial WordPress theme for Dr. Sierra Slay's virtual therapy practice, groups, and books.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dr-sierra-slay
Tags: custom-logo, custom-menu, featured-images, one-column, accessibility-ready, blog
*/

:root {
  --ink: #1b2723;
  --forest: #173f38;
  --forest-deep: #102f2a;
  --moss: #6f8171;
  --cream: #f6f1e8;
  --paper: #fffdf8;
  --taupe: #c5b7a4;
  --sand: #e9dfcf;
  --brass: #b9894d;
  --line: rgba(27, 39, 35, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shadow: 0 22px 65px rgba(24, 41, 35, 0.12);
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
a,
button,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 6vw, 5.75rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
}

h3 {
  font-size: 1.65rem;
}

::selection {
  color: white;
  background: var(--forest);
}

:focus-visible {
  outline: 3px solid #d7a55e;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--forest-deep);
  border-radius: 4px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #e8d9c3;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 14px 24px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  color: white;
  background: var(--forest);
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
  color: var(--forest);
  background: transparent;
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 10px 17px;
  font-size: 0.8rem;
}

.button-light {
  border-color: var(--paper);
  color: var(--forest-deep);
  background: var(--paper);
}

.button-light:hover {
  color: white;
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration-color: rgba(23, 63, 56, 0.35);
  text-underline-offset: 7px;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.text-link-dark {
  color: var(--ink);
  text-decoration-color: rgba(27, 39, 35, 0.35);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(23, 63, 56, 0.09);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.license-bar {
  display: flex;
  min-height: 34px;
  padding: 7px 24px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #f6f1e8;
  background: var(--forest);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.license-bar strong {
  font-weight: 800;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  min-height: 78px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--forest);
  border-radius: 50%;
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: -0.06em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--moss);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.desktop-nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--forest);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: grid;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 19px;
  height: 1.5px;
  background: var(--forest);
}

.mobile-menu nav {
  position: absolute;
  top: 54px;
  right: 0;
  display: grid;
  width: min(290px, calc(100vw - 48px));
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mobile-menu nav > a:not(.button) {
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu nav .button {
  margin-top: 16px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 102px;
  background:
    linear-gradient(90deg, transparent 0 62%, rgba(197, 183, 164, 0.15) 62% 100%),
    var(--cream);
}

.hero-pattern {
  position: absolute;
  right: -110px;
  bottom: -230px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(23, 63, 56, 0.13);
  border-radius: 50%;
}

.hero-pattern::before,
.hero-pattern::after {
  position: absolute;
  border: 1px solid rgba(23, 63, 56, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-pattern::before {
  inset: 64px;
}

.hero-pattern::after {
  inset: 132px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(360px, 0.87fr);
  gap: clamp(60px, 8vw, 112px);
  align-items: center;
}

.hero-copy {
  max-width: 730px;
  padding: 36px 0;
}

.hero-copy h1 {
  color: var(--forest-deep);
}

.hero-lede {
  max-width: 650px;
  margin-bottom: 36px;
  color: #475650;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 30px;
  align-items: center;
}

.credentials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 46px 0 0;
  color: #5b6863;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.credentials span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brass);
}

.portrait-composition {
  position: relative;
  width: min(100%, 470px);
  margin-left: auto;
  padding: 24px 24px 42px 0;
}

.portrait-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: 84%;
  border: 1px solid rgba(185, 137, 77, 0.65);
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.82;
  margin: 0;
  border-radius: 48% 48% 4px 4px / 35% 35% 4px 4px;
  background: var(--taupe);
  box-shadow: var(--shadow);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.015);
}

.portrait-note {
  position: absolute;
  right: -24px;
  bottom: 0;
  width: min(225px, 55%);
  padding: 22px 24px 24px;
  color: white;
  background: var(--forest);
  box-shadow: 0 16px 40px rgba(16, 47, 42, 0.22);
}

.note-kicker {
  display: block;
  margin-bottom: 8px;
  color: #d9c6a8;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.portrait-note strong {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.3;
}

.trust-bar {
  color: white;
  background: var(--forest);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid div {
  display: flex;
  min-height: 118px;
  padding: 26px 28px;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-grid div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-grid strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
}

.trust-grid span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  letter-spacing: 0.025em;
}

.therapy-section {
  background: var(--paper);
}

.section-heading {
  margin-bottom: 66px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: end;
}

.split-heading h2,
.books-heading h2 {
  margin-bottom: 0;
  color: var(--forest-deep);
}

.split-heading > p,
.books-heading > div:last-child > p {
  margin: 0 0 5px;
  color: #59645f;
  font-size: 1.03rem;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.focus-card {
  min-height: 300px;
  padding: 34px 28px 36px;
  border-right: 1px solid var(--line);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.focus-card:first-child {
  border-left: 1px solid var(--line);
}

.focus-card:hover {
  color: white;
  background: var(--forest);
  transform: translateY(-8px);
}

.focus-card:hover p,
.focus-card:hover .card-number {
  color: rgba(255, 255, 255, 0.76);
}

.card-number {
  display: block;
  margin-bottom: 55px;
  color: var(--brass);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.focus-card h3 {
  min-height: 57px;
  margin-bottom: 18px;
}

.focus-card p {
  margin-bottom: 0;
  color: #626c68;
  font-size: 0.91rem;
  line-height: 1.65;
  transition: color 220ms ease;
}

.approach-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--forest-deep);
}

.approach-section::after {
  position: absolute;
  bottom: -270px;
  left: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.approach-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(70px, 10vw, 145px);
}

.approach-intro h2 {
  color: var(--cream);
}

.approach-intro > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
}

.method-list {
  display: flex;
  margin-top: 38px;
  flex-wrap: wrap;
  gap: 10px;
}

.method-list span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  line-height: 1.3;
}

.approach-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.approach-steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.approach-steps li > span {
  padding-top: 5px;
  color: #d1ac79;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.approach-steps h3 {
  margin-bottom: 8px;
  color: var(--cream);
  font-size: 1.45rem;
}

.approach-steps p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.91rem;
  line-height: 1.62;
}

.groups-section {
  background: var(--cream);
}

.group-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  min-height: 470px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.group-monogram {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  color: var(--cream);
  background: var(--taupe);
}

.group-monogram::before,
.group-monogram::after {
  position: absolute;
  border: 1px solid rgba(23, 63, 56, 0.18);
  border-radius: 50%;
  content: "";
}

.group-monogram::before {
  width: 280px;
  height: 280px;
}

.group-monogram::after {
  width: 400px;
  height: 400px;
}

.group-monogram span {
  position: relative;
  z-index: 1;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-style: italic;
  letter-spacing: -0.06em;
  transform: rotate(-8deg);
}

.group-copy {
  align-self: center;
  max-width: 690px;
  padding: 72px clamp(40px, 7vw, 95px);
}

.group-copy h2 {
  color: var(--forest-deep);
}

.group-copy > p:not(.eyebrow) {
  margin-bottom: 29px;
  color: #59645f;
}

.books-section {
  background: var(--paper);
}

.books-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(50px, 9vw, 125px);
  align-items: end;
}

.books-heading .text-link {
  margin-top: 24px;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 24px;
}

.book-card {
  min-width: 0;
}

.cover-wrap {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 385px;
  padding: 34px 28px;
  place-items: center;
  text-decoration: none;
}

.cover-wrap::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(27, 39, 35, 0.12);
  content: "";
  pointer-events: none;
}

.cover-blue {
  background: #dcebf0;
}

.cover-gold {
  background: #efe2ca;
}

.cover-violet {
  background: #dedce8;
}

.cover-sky {
  background: #e4e9ed;
}

.cover-wrap img {
  width: auto;
  height: 315px;
  box-shadow: 0 18px 34px rgba(22, 31, 28, 0.23);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.cover-wrap:hover img {
  box-shadow: 0 24px 42px rgba(22, 31, 28, 0.29);
  transform: translateY(-8px) rotate(-1deg);
}

.book-copy {
  padding: 26px 4px 0;
}

.book-copy > span {
  display: block;
  margin-bottom: 10px;
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-copy h3 {
  margin-bottom: 14px;
  color: var(--forest-deep);
  font-size: 1.45rem;
}

.book-copy p {
  min-height: 92px;
  margin-bottom: 18px;
  color: #5d6863;
  font-size: 0.88rem;
  line-height: 1.63;
}

.book-copy a {
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration-color: rgba(27, 39, 35, 0.3);
  text-underline-offset: 6px;
}

.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(70px, 11vw, 155px);
}

.about-title h2 {
  color: var(--forest-deep);
}

.about-lede {
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.55;
}

.about-copy > p:not(.about-lede) {
  color: #58645f;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
}

.about-details div {
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.about-details div:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.about-details div:nth-child(even) {
  padding-left: 26px;
}

.about-details dt {
  margin-bottom: 4px;
  color: var(--moss);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-details dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.45;
}

.contact-section {
  padding: 52px 0;
  background: var(--paper);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 70px;
  align-items: center;
  padding: clamp(52px, 7vw, 82px);
  color: white;
  background: var(--forest);
}

.contact-card h2 {
  margin-bottom: 18px;
  color: var(--cream);
}

.contact-card > div:first-child > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact-actions {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.phone-link {
  display: flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
}

.phone-link span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.phone-link strong {
  margin-top: 3px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.site-footer {
  color: #cfd8d4;
  background: #0c2622;
}

.footer-top {
  display: flex;
  min-height: 145px;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand .brand-mark {
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.footer-brand .brand-copy small {
  color: #aebcb7;
}

.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

.footer-top nav a {
  color: #d7dfdc;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
}

.footer-top nav a:hover {
  text-decoration-color: #d7dfdc;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(300px, 650px);
  gap: 40px;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 34px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer-bottom p {
  margin-bottom: 0;
}

.crisis-note {
  text-align: right;
}

.crisis-note a {
  color: white;
  font-weight: 800;
}

/* WordPress navigation and content */
.desktop-nav .menu,
.footer-top .menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
}

.desktop-nav .menu-item,
.footer-top .menu-item {
  margin: 0;
}

.mobile-menu .menu {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu .menu a {
  display: block;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
}

.footer-top .menu {
  flex-wrap: wrap;
  gap: 20px 32px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 240px;
  max-height: 54px;
}

.admin-bar .site-header {
  top: 32px;
}

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  display: block;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto !important;
  clip-path: none;
  color: white;
  background: var(--forest-deep);
  font-weight: 700;
}

.group-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.group-list-card {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.group-list-card > span {
  display: block;
  margin-bottom: 22px;
  color: var(--moss);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.group-list-card h3 {
  margin-bottom: 14px;
  color: var(--forest-deep);
}

.group-list-card p {
  color: #5d6863;
  font-size: 0.9rem;
}

.group-list-card a {
  font-size: 0.8rem;
  font-weight: 800;
  text-underline-offset: 6px;
}

.cover-placeholder {
  max-width: 170px;
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1.2;
  text-align: center;
}

.consultation-form {
  grid-column: 1 / -1;
  margin-top: 10px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.consultation-form h3 {
  margin-bottom: 8px;
  color: var(--cream);
}

.consultation-form > p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
}

.consultation-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.consultation-form form > p,
.consultation-form form > div {
  margin: 0;
}

.consultation-form label {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
}

.consultation-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: white;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
}

.consultation-form textarea {
  min-height: 130px;
  resize: vertical;
}

.consultation-form input[type="submit"],
.consultation-form button {
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid var(--paper);
  border-radius: 0;
  color: var(--forest-deep);
  background: var(--paper);
  cursor: pointer;
  font: 700 0.86rem/1.2 var(--sans);
}

.privacy-link {
  margin-left: 10px;
  color: white;
}

.content-main {
  min-height: 65vh;
  padding: 110px 0 120px;
  background: var(--cream);
}

.content-shell {
  display: grid;
  gap: 55px;
}

.narrow-shell {
  max-width: 840px;
}

.content-header {
  max-width: 850px;
  margin-bottom: 52px;
}

.content-header h1 {
  margin-bottom: 18px;
  color: var(--forest-deep);
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.archive-description,
.post-date {
  color: #626c68;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.post-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.55;
  background: var(--sand);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.post-card-image:hover img {
  transform: scale(1.025);
}

.post-card-copy {
  padding: 30px;
}

.post-card-copy > span {
  display: block;
  margin-bottom: 12px;
  color: var(--moss);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-card-copy h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.post-card-copy h2 a {
  text-decoration: none;
}

.post-card-copy p {
  color: #5d6863;
}

.content-article {
  padding: clamp(32px, 6vw, 70px);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.article-image {
  overflow: hidden;
  margin: -10px 0 48px;
  background: var(--sand);
}

.article-image img {
  width: 100%;
  height: auto;
}

.entry-content {
  color: #394741;
  font-size: 1.04rem;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.6em;
  color: var(--forest-deep);
}

.entry-content h2 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

.entry-content h3 {
  font-size: 1.75rem;
}

.entry-content a {
  color: var(--forest);
  font-weight: 700;
  text-underline-offset: 4px;
}

.entry-content blockquote {
  margin: 40px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--brass);
  color: var(--forest-deep);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.article-cta {
  margin: 45px 0 0;
}

.empty-state {
  max-width: 760px;
  padding: clamp(35px, 7vw, 70px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.empty-state h1,
.empty-state h2 {
  color: var(--forest-deep);
}

.navigation.pagination {
  grid-column: 1 / -1;
  margin-top: 30px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  place-items: center;
  border: 1px solid var(--line);
  text-decoration: none;
}

.nav-links .current {
  color: white;
  background: var(--forest);
}

.alignwide {
  width: min(100vw - 48px, 1080px);
  max-width: none !important;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.alignfull {
  width: 100vw;
  max-width: none !important;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-caption,
.gallery-caption {
  max-width: 100%;
  color: #66716c;
  font-size: 0.82rem;
}

.sticky {
  border-top: 4px solid var(--brass);
}

.bypostauthor {
  position: relative;
}

@media (max-width: 1060px) {
  :root {
    --shell: min(100% - 40px, 920px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 56px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid div:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .trust-grid div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .focus-grid,
  .book-grid {
    grid-template-columns: 1fr 1fr;
  }

  .focus-card:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .focus-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .cover-wrap {
    min-height: 470px;
  }

  .cover-wrap img {
    height: 390px;
  }

  .book-copy p {
    min-height: 0;
  }

  .group-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    background: var(--cream);
  }

  .hero-grid,
  .split-heading,
  .approach-grid,
  .group-card,
  .books-heading,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
    padding: 8px 0 0;
  }

  .portrait-composition {
    width: min(90%, 500px);
    margin: 0 auto;
  }

  .split-heading,
  .books-heading,
  .about-grid {
    gap: 32px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .approach-grid {
    gap: 60px;
  }

  .group-card {
    min-height: 0;
  }

  .group-monogram {
    min-height: 280px;
  }

  .contact-card {
    gap: 38px;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  :root {
    --shell: calc(100% - 32px);
  }

  html {
    scroll-padding-top: 116px;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  .section {
    padding: 72px 0;
  }

  .nav-shell {
    min-height: 70px;
  }

  .license-bar {
    min-height: 36px;
    padding-inline: 16px;
    gap: 7px;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .brand-copy strong {
    font-size: 1.02rem;
  }

  .hero {
    padding: 52px 0 76px;
  }

  .hero-lede {
    font-size: 1.14rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    width: auto;
  }

  .credentials {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .credentials span {
    display: none;
  }

  .portrait-composition {
    width: 94%;
    padding-right: 12px;
  }

  .portrait-note {
    right: -10px;
    width: 58%;
    padding: 18px 20px 20px;
  }

  .trust-grid,
  .focus-grid,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid div,
  .trust-grid div:nth-child(2),
  .trust-grid div:last-child {
    min-height: 92px;
    padding: 20px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .focus-card,
  .focus-card:nth-child(2) {
    min-height: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .card-number {
    margin-bottom: 35px;
  }

  .focus-card h3 {
    min-height: 0;
  }

  .approach-steps li {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .group-copy {
    padding: 48px 28px 54px;
  }

  .cover-wrap {
    min-height: 440px;
  }

  .cover-wrap img {
    height: 360px;
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .about-details div:nth-child(odd),
  .about-details div:nth-child(even) {
    padding-left: 0;
    border-right: 0;
  }

  .contact-section {
    padding: 0;
    background: var(--forest);
  }

  .contact-card {
    width: 100%;
    padding: 65px 24px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .group-list,
  .consultation-form form {
    grid-template-columns: 1fr;
  }

  .content-main {
    padding: 72px 0 82px;
  }

  .content-article,
  .post-card-copy {
    padding: 28px 22px;
  }

  .alignwide,
  .alignfull {
    width: calc(100vw - 24px);
  }

  .footer-top {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 38px;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top nav {
    gap: 16px 26px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .crisis-note {
    text-align: left;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .portrait-composition {
    animation: enter 620ms ease both;
  }

  .portrait-composition {
    animation-delay: 100ms;
  }

  @keyframes enter {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
