/* ================================================================
   Diverse Minds Therapist Network
   Palette and type drawn directly from the network's logo mark.
   ================================================================ */

:root {
  /* Colour — sampled from the logo */
  --ink:        #12303C;
  --teal:       #1E4152;
  --teal-2:     #2F5C70;
  --sage:       #5D7350;
  --sage-2:     #8AA07A;
  --clay:       #B97255;
  --clay-2:     #D89478;
  --cta:        #C2491E;
  --cta-hover:  #A03A16;
  --gold:       #B08039;
  --cream:      #FBF5F0;
  --parchment:  #F3E9DE;
  --linen:      #FFFDFA;
  --line:       rgba(18, 48, 60, .14);
  --line-soft:  rgba(18, 48, 60, .08);
  --muted:      #5B6B72;

  /* Type */
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body:    "Karla", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space */
  --wrap: 1180px;
  --gut: clamp(1.15rem, 4vw, 2.5rem);
  --sec: clamp(4rem, 9vw, 7.5rem);

  --shadow-s: 0 1px 2px rgba(18,48,60,.05), 0 6px 18px -12px rgba(18,48,60,.28);
  --shadow-m: 0 2px 4px rgba(18,48,60,.04), 0 22px 50px -28px rgba(18,48,60,.38);
  --arch: 49% 49% 10px 10px / 34% 34% 6px 6px;
}

/* ---- Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--teal); text-underline-offset: .22em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
a:hover { color: var(--clay); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  color: var(--teal);
  text-wrap: balance;
}
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2rem 0; }
::selection { background: var(--sage-2); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  z-index: 200; background: var(--teal); color: #fff; padding: .7rem 1.2rem;
  border-radius: 0 0 10px 10px; text-decoration: none; transition: top .18s ease;
}
.skip:focus { top: 0; color: #fff; }

/* ---- Layout ---------------------------------------------------- */
.wrap { width: min(100% - (var(--gut) * 2), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - (var(--gut) * 2), 780px); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--cream { background: var(--cream); }
.section--parchment { background: var(--parchment); }
.section--teal { background: var(--teal); color: #EAF0F0; }
.section--teal h1, .section--teal h2, .section--teal h3 { color: #FDF8F3; }
.section--teal a { color: var(--clay-2); }

.grid { display: grid; gap: clamp(1.5rem, 3.5vw, 2.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }

/* ---- Type helpers ---------------------------------------------- */
.eyebrow {
  font-family: var(--body);
  font-size: .715rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; flex: none; opacity: .75;
}
.section--teal .eyebrow { color: var(--clay-2); }

h1, .h1 { font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.35rem); font-weight: 400; }
h2, .h2 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3rem); font-weight: 400; }
h3, .h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.005em; }
h4 { font-size: 1.06rem; font-weight: 600; }

.lede {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.32rem);
  line-height: 1.6;
  color: #33505C;
}
.section--teal .lede { color: #D3E0E2; }
.muted { color: var(--muted); }
.serif-em { font-family: var(--display); font-style: italic; font-weight: 400; }

/* ---- Ribbon (tagline that runs across the whole site) ---------- */
.ribbon {
  background: var(--teal);
  color: #E9F0F0;
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .55rem 0;
  position: relative;
  z-index: 60;
}
.ribbon__in {
  display: flex; align-items: center; justify-content: center;
  gap: .85rem; text-align: center; flex-wrap: wrap;
}
.ribbon__tag { font-weight: 700; color: #FDF8F3; }
.ribbon__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; }
.ribbon__verse { color: #AFC4C8; text-transform: none; letter-spacing: .04em; font-size: .78rem; }
.ribbon__verse em { font-family: var(--display); color: var(--clay-2); font-style: italic; }
@media (max-width: 620px) {
  .ribbon { padding: .5rem 0; }
  .ribbon__verse { display: none; }
  .ribbon__sep { display: none; }
  .ribbon__tag { font-size: .68rem; letter-spacing: .1em; }
}

/* ---- Header ---------------------------------------------------- */
.site-head {
  position: sticky; top: 0; z-index: 70;
  background: rgba(255, 253, 250, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-head.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px -26px rgba(18,48,60,.6);
}
.site-head__in {
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: clamp(.7rem, 1.4vw, 1.05rem);
  transition: padding .3s ease;
}
.site-head.is-stuck .site-head__in { padding-block: .6rem; }
.brand { display: block; flex: none; line-height: 0; }
.brand img {
  height: clamp(44px, 5.4vw, 58px); width: auto;
  transition: height .3s ease;
}
.site-head.is-stuck .brand img { height: clamp(40px, 4.4vw, 46px); }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list {
  display: flex; align-items: center; gap: clamp(.7rem, 1.5vw, 1.5rem);
  list-style: none; margin: 0; padding: 0;
}
.nav__list a {
  text-decoration: none;
  font-size: .845rem;
  font-weight: 600;
  letter-spacing: .015em;
  color: var(--ink);
  padding: .3rem 0;
  position: relative;
  white-space: nowrap;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--clay); transition: right .28s cubic-bezier(.22,.8,.3,1);
}
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { right: 0; }
.nav__list a[aria-current="page"] { color: var(--teal); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__close { display: none; }

/* ---- Nav dropdowns --------------------------------------------- */
.nav__item { position: relative; }
.nav__top {
  display: inline-flex; align-items: center; gap: .32rem;
  font-family: var(--body); font-size: .845rem; font-weight: 600; letter-spacing: .015em;
  color: var(--ink); background: none; border: 0; padding: .3rem 0;
  cursor: pointer; position: relative; white-space: nowrap;
}
.nav__top::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--clay); transition: right .28s cubic-bezier(.22,.8,.3,1);
}
.nav__item--sub:hover .nav__top::after,
.nav__item--sub:focus-within .nav__top::after,
.nav__item--sub.is-open .nav__top::after,
.nav__top[data-current="1"]::after { right: 0; }
.nav__top[data-current="1"] { color: var(--teal); }
.nav__chev {
  width: 13px; height: 13px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s cubic-bezier(.22,.8,.3,1);
}
.nav__item--sub:hover .nav__chev,
.nav__item--sub:focus-within .nav__chev,
.nav__item--sub.is-open .nav__chev { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + .75rem); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 232px; list-style: none; margin: 0; padding: .45rem;
  background: var(--linen);
  border: 1px solid var(--line-soft); border-radius: 14px;
  box-shadow: var(--shadow-m); z-index: 100;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .24s cubic-bezier(.22,.8,.3,1), visibility 0s linear .24s;
}
/* Invisible bridge so the pointer can cross the gap without closing. */
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.nav__item--sub:hover > .nav__sub,
.nav__item--sub:focus-within > .nav__sub,
.nav__item--sub.is-open > .nav__sub {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
  transition: opacity .2s ease, transform .24s cubic-bezier(.22,.8,.3,1), visibility 0s;
}
.nav__sub a {
  display: block; padding: .62rem .85rem; border-radius: 9px;
  font-size: .86rem; font-weight: 600; color: var(--ink);
  text-decoration: none; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav__sub a::after { display: none; }
.nav__sub a:hover { background: var(--parchment); color: var(--teal); }
.nav__sub a[aria-current="page"] { background: var(--parchment); color: var(--teal); }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 42px; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span:not(.sr-only) {
  display: block; width: 19px; height: 1.8px; background: var(--teal); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-scrim {
  position: fixed; inset: 0; background: rgba(18,48,60,.45);
  z-index: 80; backdrop-filter: blur(2px); border: 0;
}
/* The header is a stacking context, so the drawer nested inside it can only
   paint as high as the header does. Lift the header above the scrim while the
   menu is open. */
body.menu-open .site-head { z-index: 95; }

/* ---- Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body);
  font-size: .855rem; font-weight: 700; letter-spacing: .05em;
  padding: .78rem 1.5rem;
  border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .22s cubic-bezier(.22,.8,.3,1), background .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--solid { background: var(--cta); color: #FFF9F4; box-shadow: 0 12px 28px -12px rgba(194,73,30,.65); }
.btn--solid:hover { background: var(--cta-hover); color: #FFF9F4; }
.btn--ghost { border-color: var(--line); color: var(--teal); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); background: rgba(30,65,82,.05); color: var(--teal); }
.btn--teal { background: var(--teal); color: #FDF8F3; }
.btn--teal:hover { background: var(--ink); color: #FDF8F3; }
.btn--sage { background: var(--sage); color: #FBFCF8; }
.btn--sage:hover { background: #4C6042; color: #FBFCF8; }
.btn--light { background: #FFF9F4; color: var(--teal); }
.btn--light:hover { background: #fff; color: var(--clay); }
.btn--outline-light { border-color: rgba(255,255,255,.4); color: #FDF8F3; }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

@media (max-width: 480px) {
  /* Safety net: a button label long enough to exceed its container (an
     edited label, a translation, admin-entered text) should wrap onto a
     second line here, not silently force the whole page wider than the
     screen the way `white-space: nowrap` does. */
  .btn { white-space: normal; text-align: center; }
}
.btn--lg { padding: .95rem 1.9rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }

/* Force exactly two buttons to sit side by side on mobile instead of
   stacking full-width — used where a stacked pair reads as too much
   (e.g. the hero). Desktop is untouched; only kicks in below 680px. */
@media (max-width: 680px) {
  .btn-row--split { flex-wrap: nowrap; }
  .btn-row--split .btn { flex: 1 1 0; min-width: 0; white-space: normal; text-align: center; padding-inline: .85rem; }
}

/* ---- Signature: a simple centered divider between sections -------- */
.divider { display: flex; align-items: center; justify-content: center; gap: .65rem; }
.divider::before, .divider::after {
  content: ""; width: 44px; height: 1px; background: var(--line); flex: none;
}
.divider span {
  width: 7px; height: 7px; border-radius: 0 50% 50% 50%;
  background: var(--gold); transform: rotate(45deg); flex: none;
}

/* ---- Hero ------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(138,160,122,.16), transparent 62%),
    radial-gradient(70% 60% at 100% 20%, rgba(216,148,120,.16), transparent 60%),
    var(--cream);
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .82fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .l {
  display: block;
  opacity: 0; transform: translateY(18px);
  animation: rise .9s cubic-bezier(.22,.8,.3,1) forwards;
}
.hero h1 .l:nth-child(1) { animation-delay: .1s; }
.hero h1 .l:nth-child(2) { animation-delay: .24s; color: var(--sage); font-style: italic; }
.hero h1 .l:nth-child(3) { animation-delay: .38s; color: var(--clay); }
.hero__lede, .hero .btn-row, .hero .eyebrow {
  opacity: 0; transform: translateY(14px);
  animation: rise .9s cubic-bezier(.22,.8,.3,1) forwards;
}
.hero .eyebrow { animation-delay: .02s; }
.hero__lede { animation-delay: .5s; }
.hero .btn-row { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__art { position: relative; }
.hero__frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-m);
  aspect-ratio: 3 / 2;
  opacity: 0;
  animation: archIn 1.2s cubic-bezier(.22,.8,.3,1) .3s forwards;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@keyframes archIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.hero__caption {
  position: absolute; left: clamp(-1rem, -2vw, -2.25rem); bottom: 8%;
  background: var(--linen);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: .95rem 1.15rem;
  max-width: 240px;
  box-shadow: var(--shadow-s);
  font-size: .82rem; line-height: 1.5;
  opacity: 0; animation: rise .9s cubic-bezier(.22,.8,.3,1) 1s forwards;
}
.hero__caption strong { display: block; font-family: var(--display); font-size: 1rem; color: var(--teal); font-weight: 600; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__caption { left: auto; right: 4%; bottom: -1.2rem; }
}

/* ---- Page header (interior pages) ------------------------------ */
.pagehead {
  background:
    radial-gradient(80% 90% at 85% 0%, rgba(138,160,122,.18), transparent 60%),
    var(--cream);
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.25rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
}
.pagehead h1 { max-width: 18ch; }
.pagehead .lede { max-width: 62ch; }

/* ---- Feature blocks -------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}
.split--art-first .split__art { order: -1; }
.media {
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-m); position: relative;
}
.media img { width: 100%; }
.media--arch { border-radius: var(--arch); }
.media--tall { aspect-ratio: 4/5; }
.media--tall img { height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  /* Photos that read as full split-column height on desktop become a full
     stacked block on mobile. The fix is to shrink the whole photo — same
     shape, smaller size — not to cap height while width stays full width:
     that forces a short/wide box out of what should be a tall arch or
     portrait, which reads as a squashed, distorted-looking crop even
     though no pixel is actually stretched. Capping max-width instead lets
     the existing aspect-ratio (or the image's own native ratio, for plain
     .media with no ratio class) scale both dimensions together. */
  .hero__art { max-width: 276px; }
  .media, .media--tall { max-width: 276px !important; margin: 0 auto !important; }
  /* The caption card was sized for the original, much larger hero photo —
     at the photo's new smaller size it would be nearly as wide as the
     image itself and bury most of it. Scale it down to match. */
  .hero__caption {
    max-width: 150px; padding: .65rem .8rem; font-size: .72rem; line-height: 1.4;
    right: -6%; bottom: -0.9rem;
  }
  .hero__caption strong { font-size: .85rem; }
}

/* ---- Cards ------------------------------------------------------ */
.card {
  background: var(--linen);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--shadow-s);
  transition: transform .3s cubic-bezier(.22,.8,.3,1), box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
a.card { text-decoration: none; color: inherit; display: block; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: rgba(185,114,85,.35); }
.card h3 { margin-bottom: .45em; }
.card__meta {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--sage); margin-bottom: .7rem;
}
.card__mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: rgba(93,115,80,.12); color: var(--sage);
}
.card__mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Pull quote / attention block ------------------------------ */
.pull {
  border-left: 2px solid var(--gold);
  padding-left: clamp(1.1rem, 2.5vw, 2rem);
}
.pull p:first-child {
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.85rem);
  line-height: 1.34;
  color: var(--teal);
  font-weight: 400;
}

/* ---- Scripture band -------------------------------------------- */
.verse {
  background: var(--teal);
  color: #F4F8F7;
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  position: relative; overflow: hidden;
}
.verse::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 120%, rgba(176,128,57,.28), transparent 70%);
}
.verse > * { position: relative; }
.verse__tag {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.1rem + 2.9vw, 3.4rem);
  line-height: 1.14; color: #FDF8F3; margin: 0 0 1rem; font-weight: 400;
}
.verse__tag span { color: var(--clay-2); font-style: italic; }
.verse__text {
  font-size: clamp(1rem, .95rem + .4vw, 1.2rem);
  color: #C3D3D5; max-width: 46ch; margin-inline: auto;
}
.verse__ref {
  display: block; margin-top: .9rem;
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}

/* ---- Growth ladder (membership) -------------------------------- */
.ladder { margin-top: clamp(2rem, 4vw, 3rem); }
.tier { margin-bottom: 1rem; }

.tier__head {
  position: relative;
  width: 100%; text-align: left; background: var(--linen);
  border: 1px solid var(--line-soft); border-radius: 16px;
  padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.15rem, 2.4vw, 1.75rem);
  cursor: pointer; display: flex; align-items: center; gap: 1.25rem;
  box-shadow: var(--shadow-s);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.tier__head:hover { border-color: rgba(185,114,85,.4); transform: translateY(-2px); }
.tier.is-open .tier__head { border-color: rgba(93,115,80,.45); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.tier__stage {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 700; color: var(--sage); display: block; margin-bottom: .25rem;
}
.tier__name { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); color: var(--teal); font-weight: 500; line-height: 1.1; }
.tier__for { font-size: .875rem; color: var(--muted); margin-top: .3rem; }
.tier__price { margin-left: auto; text-align: right; flex: none; }
.tier__price b { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); color: var(--clay); font-weight: 600; }
.tier__price span { display: block; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tier__chev { flex: none; width: 22px; height: 22px; color: var(--sage); transition: transform .3s cubic-bezier(.22,.8,.3,1); }
.tier__chev svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.tier.is-open .tier__chev { transform: rotate(180deg); }

.tier__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.22,.8,.3,1);
  background: var(--cream);
  border: 1px solid rgba(93,115,80,.45); border-top: 0;
  border-radius: 0 0 16px 16px;
}
.tier.is-open .tier__panel { grid-template-rows: 1fr; }
.tier__panel > div { overflow: hidden; }
.tier__inner { padding: clamp(1.2rem, 2.4vw, 1.9rem) clamp(1.15rem, 2.4vw, 1.75rem); }
.tier__inner .benefits { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.tier__inner .benefits li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.tier__inner .benefits li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 9px; height: 9px; border-radius: 0 50% 50% 50%;
  background: var(--sage-2); transform: rotate(45deg);
}
.tier__inherits {
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .3rem;
}
.tier--featured .tier__head { background: linear-gradient(180deg, rgba(216,148,120,.09), transparent 70%), var(--linen); }
.tier__flag {
  display: inline-block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: #fff; background: var(--clay);
  padding: .22rem .6rem; border-radius: 999px; margin-left: .55rem; vertical-align: middle;
}

@media (max-width: 640px) {
  .tier__head { flex-wrap: wrap; gap: .75rem; }
  .tier__head > div:first-child { flex: 1 1 100%; }
  .tier__price { margin-left: 0; text-align: left; }
  .tier__chev { position: absolute; right: 1.15rem; top: 1.4rem; }
}

/* ---- Testimonials ---------------------------------------------- */
.quote {
  background: var(--linen); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: clamp(1.5rem, 2.8vw, 2.1rem);
  box-shadow: var(--shadow-s); height: 100%;
  display: flex; flex-direction: column;
}
.quote__mark { font-family: var(--display); font-size: 3rem; line-height: .6; color: var(--clay-2); margin-bottom: .6rem; }
.quote__body { font-family: var(--display); font-size: 1.06rem; line-height: 1.55; color: var(--teal); font-weight: 400; flex: 1; }
.quote__who { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); font-size: .85rem; }
.quote__who b { display: block; color: var(--ink); }
.quote__who span { color: var(--muted); }

/* ---- Stat / value rows ----------------------------------------- */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.values li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.values .dot {
  width: 11px; height: 11px; margin-top: .55em; border-radius: 0 50% 50% 50%;
  background: var(--gold); transform: rotate(45deg); flex: none;
}
.values h3 { margin-bottom: .2em; }

/* ---- Simple diamond-bullet list (credentials, short fact lists) --- */
.dot-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.dot-list li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.dot-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 9px; height: 9px; border-radius: 0 50% 50% 50%;
  background: var(--sage-2); transform: rotate(45deg);
}

/* ---- Team profiles ------------------------------------------------ */
.team-block + .team-block { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-soft); }
.team-block__role { font-size: .95rem; color: var(--clay); font-weight: 700; margin-bottom: .2em; }
.team-block__sub { font-family: var(--display); font-style: italic; color: var(--sage); font-size: 1.05rem; margin-bottom: 1.1em; }
.team-block__creds { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sage); margin: 1.75rem 0 0; }

/* ---- Expand/collapse (team bios, and anywhere else a summary needs a
   "read more" reveal) ------------------------------------------------ */
.expand__toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.1rem;
}
.expand__toggle .ico { width: 15px; height: 15px; transition: transform .3s cubic-bezier(.22,.8,.3,1); }
.expand__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.expand__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s cubic-bezier(.22,.8,.3,1);
}
.expand__panel.is-open { grid-template-rows: 1fr; }
.expand__panel > div { overflow: hidden; }
.expand__inner { padding-top: 1.5rem; }

/* ---- Forms ------------------------------------------------------ */
.form { display: grid; gap: 1.35rem; }
.field { display: grid; gap: .4rem; }
.field > label, .fieldset > legend {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal);
}
.field .hint { font-size: .84rem; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=password], .field input[type=url], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: .8rem .95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(93,115,80,.16);
  background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #93A3A8; }
.row-2 { display: grid; gap: 1.35rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.fieldset { border: 1px solid var(--line-soft); border-radius: 14px; padding: 1.35rem; margin: 0; background: var(--linen); }
.fieldset > legend { padding: 0 .5rem; }
.checks { display: grid; gap: .7rem; margin-top: .9rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .96rem; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: .18em; accent-color: var(--sage); flex: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.notice {
  border-radius: 13px; padding: 1rem 1.2rem; font-size: .95rem;
  border: 1px solid; margin-bottom: 1.5rem;
}
.notice--ok    { background: rgba(93,115,80,.09);  border-color: rgba(93,115,80,.35);  color: #3D5136; }
.notice--error { background: rgba(185,114,85,.09); border-color: rgba(185,114,85,.4);  color: #8C4C34; }
.notice--info  { background: rgba(30,65,82,.06);   border-color: rgba(30,65,82,.22);   color: var(--teal); }
.notice p:last-child { margin-bottom: 0; }

/* ---- Tables / lists -------------------------------------------- */
.stack { display: grid; gap: 1rem; }

/* ---- Calendar --------------------------------------------------- */
.cal { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cal { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3rem; } }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.cal__head h2 { margin: 0; font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }
.cal__nav { display: flex; gap: .5rem; }
.cal__nav a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; text-decoration: none; color: var(--teal);
  transition: background .2s ease, border-color .2s ease;
}
.cal__nav a:hover { background: var(--cream); border-color: var(--sage); }
.cal__nav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); text-align: center; padding-bottom: .5rem; }
.cal__day {
  aspect-ratio: 1; border-radius: 10px; background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: .84rem; color: var(--ink); gap: 3px; border: 1px solid transparent;
}
.cal__day--empty { background: transparent; }
.cal__day--today { border-color: var(--gold); font-weight: 700; }
.cal__day--has { background: rgba(93,115,80,.14); border-color: rgba(93,115,80,.3); }
.cal__day a { text-decoration: none; color: inherit; display: contents; }
.cal__pip { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

.event {
  border: 1px solid var(--line-soft); border-radius: 14px; background: var(--linen);
  padding: 1.15rem 1.3rem; display: grid; grid-template-columns: auto 1fr; gap: 1.15rem;
  box-shadow: var(--shadow-s);
}
.event__date {
  text-align: center; background: var(--cream); border-radius: 11px;
  padding: .6rem .7rem; min-width: 62px; align-self: start;
}
.event__date b { display: block; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--teal); }
.event__date span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); font-weight: 700; }
.event h3 { font-size: 1.1rem; margin-bottom: .25em; }
.event__meta { font-size: .84rem; color: var(--muted); margin-bottom: .6rem; }
.event__lock { font-size: .84rem; color: var(--sage); font-weight: 700; }

/* ---- Directory --------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: .7rem; align-items: flex-end; margin-bottom: 2rem; }
.filters .field { flex: 1 1 190px; }
.member__name { font-family: var(--display); font-size: 1.22rem; color: var(--teal); font-weight: 600; margin-bottom: .1em; }
.member__cred { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin-bottom: .8rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; list-style: none; padding: 0; }
.tags li {
  font-size: .74rem; padding: .28rem .68rem; border-radius: 999px;
  background: rgba(93,115,80,.11); color: #4C6042; font-weight: 600;
}

/* ---- Prayer board ------------------------------------------------ */
.prayer {
  border-left: 2px solid var(--gold); padding: .3rem 0 .3rem 1.2rem;
}
.prayer p { font-family: var(--display); font-size: 1.05rem; color: var(--teal); line-height: 1.5; }
.prayer__who { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* ---- Portal ------------------------------------------------------ */
.portal-head {
  background: var(--teal); color: #E8F0F0;
  padding-block: clamp(2.25rem, 5vw, 3.5rem);
}
.portal-head h1 { color: #FDF8F3; margin-bottom: .25em; }
.portal-head p { color: #B7CACD; margin: 0; }
.portal-head .btn--outline-light { margin-top: 1.4rem; }

/* ---- Coming soon -------------------------------------------------- */
.soon {
  display: inline-block; font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--gold); border: 1px solid rgba(176,128,57,.4);
  padding: .25rem .65rem; border-radius: 999px; margin-bottom: 1rem;
}

/* ---- Footer ------------------------------------------------------ */
.site-foot { background: var(--ink); color: #A9BCC1; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .92rem; }
.foot__top { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .foot__top { grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); } }
.foot__mark { width: 62px; height: auto; margin-bottom: 1rem; border-radius: 12px; }
.foot__name { font-family: var(--display); font-size: 1.15rem; color: #FDF8F3; margin: 0 0 .4rem; line-height: 1.25; }
.foot__tag { font-size: .85rem; color: #8FA6AC; margin: 0; }
.foot__tag em { font-family: var(--display); color: var(--gold); font-style: italic; }
.foot__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
.foot__cols h3 { font-family: var(--body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay-2); margin-bottom: .9rem; font-weight: 700; }
.foot__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.foot__cols a { color: #A9BCC1; text-decoration: none; transition: color .2s ease; font-size: .9rem; overflow-wrap: anywhere; }
.foot__cols a:hover { color: #FDF8F3; }
.foot__social { margin-top: 1.1rem !important; }
.foot__note {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; line-height: 1.65; color: #7E959B; max-width: 78ch;
}
.foot__base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .78rem; color: #7E959B; }
.foot__base p { margin: 0; }
.foot__base a { color: #7E959B; }
.foot__base a:hover { color: #FDF8F3; }

/* ---- Scroll reveal ------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.22,.8,.3,1), transform .8s cubic-bezier(.22,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .09s; }
.reveal[data-d="2"] { transition-delay: .18s; }
.reveal[data-d="3"] { transition-delay: .27s; }
.reveal[data-d="4"] { transition-delay: .36s; }

/* ---- Mobile navigation -------------------------------------------- */
@media (max-width: 1024px) {
  /* The header's backdrop-filter would become the containing block for the
     fixed-position drawer, trapping it inside the header. Solid background
     below the desktop breakpoint instead. */
  .site-head {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--linen);
  }
  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: var(--linen);
    z-index: 90;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 5rem 1.75rem 2rem;
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .42s cubic-bezier(.22,.8,.3,1), visibility 0s linear .42s;
    box-shadow: -30px 0 60px -40px rgba(18,48,60,.7);
    margin-left: 0;
  }
  body.menu-open .nav {
    transform: none;
    visibility: visible;
    transition: transform .42s cubic-bezier(.22,.8,.3,1), visibility 0s;
  }
  .nav__close {
    display: grid; place-items: center;
    position: absolute; top: 1.2rem; right: 1.2rem;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--cream); border: 1px solid var(--line-soft); cursor: pointer;
  }
  .nav__close svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line-soft); }
  .nav__list a { display: block; padding: .95rem 0; font-size: 1.05rem; font-family: var(--display); font-weight: 500; letter-spacing: 0; }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { color: var(--clay); }
  .nav__actions { flex-direction: column; align-items: stretch; margin-top: 1.75rem; gap: .7rem; }
  .nav__actions .btn { width: 100%; }

  /* Dropdowns become in-drawer accordions below the desktop breakpoint. */
  .nav__item, .nav__item--sub { position: static; }
  .nav__top {
    display: flex; width: 100%; justify-content: space-between; align-items: center;
    padding: .95rem 0;
    font-family: var(--display); font-size: 1.05rem; font-weight: 500; letter-spacing: 0;
  }
  .nav__top::after { display: none; }
  .nav__top[data-current="1"] { color: var(--clay); }
  .nav__chev { width: 16px; height: 16px; }
  .nav__sub {
    position: static; transform: none; min-width: 0;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    padding: 0 0 .55rem .9rem; margin: 0;
    display: none; transition: none;
  }
  .nav__sub::before { display: none; }
  .nav__item--sub:hover > .nav__sub,
  .nav__item--sub:focus-within > .nav__sub { display: none; transform: none; }
  .nav__item--sub.is-open > .nav__sub { display: block; transform: none; }
  .nav__sub li { border-bottom: 0; }
  .nav__sub a {
    padding: .6rem 0; border-radius: 0; white-space: normal;
    font-family: var(--body); font-size: .98rem; font-weight: 500;
  }
  .nav__sub a:hover { background: none; color: var(--clay); }
  .nav__sub a[aria-current="page"] { background: none; color: var(--clay); }
  body.menu-open { overflow: hidden; }
}

@media (min-width: 1025px) {
  .nav-scrim { display: none !important; }
}

/* ---- Reduced motion ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .l, .hero__lede, .hero .btn-row, .hero .eyebrow, .hero__frame, .hero__caption { opacity: 1; transform: none; }
}

/* ---- Print ---------------------------------------------------------- */
@media print {
  .site-head, .ribbon, .site-foot, .btn, .nav-scrim { display: none !important; }
  body { background: #fff; }
}

/* ---- Inline icon defaults ------------------------------------------- */
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__mark .ico { width: 100%; height: 100%; }

/* ---- Quick-link tiles ------------------------------------------------ */
.tiles { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 218px), 1fr)); }
.tile {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.2rem; border-radius: 14px;
  background: var(--linen); border: 1px solid var(--line-soft);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s);
  transition: transform .28s cubic-bezier(.22,.8,.3,1), border-color .28s ease, box-shadow .28s ease;
}
.tile:hover { transform: translateY(-3px); border-color: rgba(185,114,85,.4); box-shadow: var(--shadow-m); color: var(--ink); }
.tile .ico { width: 22px; height: 22px; color: var(--sage); flex: none; }
.tile b { font-family: var(--display); font-size: 1.02rem; font-weight: 600; color: var(--teal); display: block; line-height: 1.2; }
.tile small { font-size: .8rem; color: var(--muted); }

/* ---- Inline field legend (a question above a checkbox group) --------- */
.field-legend {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin: 0;
}

/* ---- Strict two-up grid (keeps a set of four as 2x2, never 3+1) ------ */
.grid--pair { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- Grouped checkbox blocks (application: topics of interest) ------- */
.check-group + .check-group { margin-top: 1.5rem; }
.check-group__title {
  font-family: var(--display); font-size: 1.02rem; font-weight: 600;
  color: var(--teal); margin: 0; letter-spacing: 0;
}
.checks--cols { margin-top: .75rem; }
@media (min-width: 640px) {
  .checks--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; }
}
.checks--cols .check { font-size: .94rem; }

/* ---- Joining steps: Apply -> Choose & Pay -> Belong ------------------ */
.joinsteps {
  list-style: none; margin: 0 0 2rem; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem;
  counter-reset: none;
}
.joinsteps__item {
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .8rem; border-radius: 12px;
  background: var(--linen); border: 1px solid var(--line-soft);
  font-size: .86rem; font-weight: 600; color: var(--muted);
}
.joinsteps__num {
  flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: .78rem; font-weight: 700;
  border: 1.5px solid var(--line); color: var(--muted); background: var(--cream);
}
.joinsteps__item--now { border-color: var(--teal); color: var(--teal); background: var(--cream); }
.joinsteps__item--now .joinsteps__num { background: var(--teal); border-color: var(--teal); color: var(--linen); }
.joinsteps__item--done { color: var(--sage); }
.joinsteps__item--done .joinsteps__num { background: var(--sage); border-color: var(--sage); color: var(--linen); }
@media (max-width: 520px) {
  .joinsteps__item { flex-direction: column; text-align: center; gap: .35rem; font-size: .78rem; padding: .6rem .3rem; }
}

/* ---- Membership picker (choose.php) ---------------------------------- */
.pick { display: grid; gap: .9rem; margin-top: 1rem; }
@media (min-width: 720px) { .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pick__opt { position: relative; display: block; cursor: pointer; }
.pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick__body {
  display: flex; flex-direction: column; gap: .45rem; height: 100%;
  padding: 1.15rem 1.1rem 1.2rem; border-radius: 14px;
  background: var(--linen); border: 1.5px solid var(--line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pick__opt:hover .pick__body { border-color: var(--teal-2); }
.pick__opt input:focus-visible + .pick__body { outline: 2px solid var(--teal); outline-offset: 2px; }
.pick__opt input:checked + .pick__body {
  border-color: var(--teal); box-shadow: var(--shadow-m);
  background: var(--cream);
}
.pick__opt input:checked + .pick__body::after {
  content: "\2713"; position: absolute; top: .8rem; right: .85rem;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--linen); font-size: .8rem; font-weight: 700;
}
.pick__top { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; padding-right: 1.9rem; }
.pick__name { font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--teal); }
.pick__price { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.pick__price small { font-family: var(--body); font-size: .78rem; font-weight: 600; color: var(--muted); margin-left: 1px; }
.pick__for { font-size: .86rem; color: var(--muted); line-height: 1.4; }
.pick__flag {
  align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--clay); background: rgba(185,114,85,.1); padding: .22rem .55rem; border-radius: 999px;
}
.pick__list { display: flex; flex-direction: column; gap: .3rem; margin-top: .35rem; padding-top: .7rem; border-top: 1px solid var(--line-soft); }
.pick__inherit { font-size: .8rem; font-weight: 700; color: var(--sage); }
.pick__li { font-size: .86rem; color: var(--ink); padding-left: 1rem; position: relative; line-height: 1.4; }
.pick__li::before { content: ""; position: absolute; left: 0; top: .55em; width: 5px; height: 5px; border-radius: 50%; background: var(--sage-2); }

/* ---- Admin: tables, status pills, invoice lines ---------------------- */
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--linen); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 720px; }
.admin-table th {
  text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); padding: .8rem .9rem; border-bottom: 1px solid var(--line); background: var(--cream);
}
.admin-table td { padding: .85rem .9rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table .sub { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.admin-actions form { margin: 0; }
.btn--sm { padding: .42rem .8rem; font-size: .76rem; }
.pill {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .2rem .55rem; border-radius: 999px; white-space: nowrap;
  background: var(--parchment); color: var(--muted);
}
.pill--ok    { background: rgba(93,115,80,.14);  color: var(--sage); }
.pill--warn  { background: rgba(176,128,57,.16); color: #8a6424; }
.pill--bad   { background: rgba(194,73,30,.12);  color: var(--cta-hover); }
.pill--info  { background: rgba(30,65,82,.1);    color: var(--teal); }
.stat-row { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 1.5rem; }
.stat { background: var(--linen); border: 1px solid var(--line-soft); border-radius: 14px; padding: 1rem 1.1rem; }
.stat b { display: block; font-family: var(--display); font-size: 1.7rem; font-weight: 600; color: var(--teal); line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); }
.inv-line { display: grid; grid-template-columns: minmax(0, 1fr) 130px auto; gap: .6rem; align-items: end; }
.inv-line + .inv-line { margin-top: .6rem; }
@media (max-width: 560px) { .inv-line { grid-template-columns: minmax(0, 1fr) 110px; } .inv-line .inv-rm { grid-column: 1 / -1; justify-self: start; } }
.field input[type=search] {
  width: 100%; font: inherit; color: var(--ink); background: var(--linen);
  border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem;
}
.admin-table td:first-child { min-width: 210px; }
.admin-table a.sub { overflow-wrap: anywhere; }
.btn[hidden] { display: none; }
