/* ==========================================================================
   P10 Rehab Co. — Design system + layouts
   Concept: "Athletic precision with breathing room"
   Motif:   The Angle — a 12° cut taken from the logo's slant. Used on image
            corners, section edges, label ticks and active states.
   WordPress theme stylesheet (from the approved static design).
   Brand colours and fonts follow Appearance → Editor → Styles.
   Structure:
     1. Tokens          5. Header / nav       9. Page blocks
     2. Base            6. Media              10. Footer
     3. Type            7. Sections           11. Utilities / motion
     4. Buttons, forms  8. Components
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --black: var(--wp--preset--color--black, #000000);
  --white: var(--wp--preset--color--white, #ffffff);
  --blush: var(--wp--preset--color--blush, #DDABA9);
  --pale: var(--wp--preset--color--pale, #EFD8D8);

  --ink: var(--black);
  --ink-soft: var(--wp--preset--color--ink-soft, #2e2e2e);
  --muted: var(--wp--preset--color--muted, #595959);          /* 7:1 on white */
  --line: rgba(0, 0, 0, 0.14);
  --line-dark: rgba(255, 255, 255, 0.22);
  --tint: var(--wp--preset--color--tint, #faf6f5);           /* barely-there warm white for alternating bands */

  --font-display: var(--wp--preset--font-family--display, 'Poppins', 'Helvetica Neue', Arial, sans-serif);
  --font-body: var(--wp--preset--font-family--body, 'Montserrat', 'Helvetica Neue', Arial, sans-serif);

  --wrap: 1360px;
  --gutter: clamp(20px, 4.5vw, 64px);
  --gap: clamp(16px, 2.4vw, 32px);
  --section: clamp(5rem, 11vw, 10rem);
  --section-tight: clamp(3rem, 6vw, 5.5rem);

  --cut: clamp(28px, 4.2vw, 72px);     /* The Angle: corner cut size */
  --slant: -12deg;                      /* The Angle: tick slant */

  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);   /* one easing curve site-wide */
  --dur-1: .2s;                            /* colour and state changes */
  --dur-2: .35s;                           /* movement: arrows, underlines, panels */
  --focus: var(--black);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
figure { margin: 0; }
.page-hero__grid > *, .sec-head > *, .founder > *, .split > *, .cta > *, .duo > *, .mprev > *, .faq > *, .band > *, .modules > *, .footer__top > * { min-width: 0; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--blush); }
html { accent-color: var(--black); caret-color: var(--black); scrollbar-color: var(--ink-soft) var(--tint); }
::selection { background: var(--pale); color: var(--black); }
.on-dark ::selection, .site-header ::selection { background: var(--blush); color: var(--black); }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

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

.skip-link {
  position: absolute; left: 1rem; top: -200px; z-index: 200;
  background: var(--black); color: var(--white); padding: .75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 3. Type ------------------------------------------------------------------ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.05; letter-spacing: -0.025em; }
.display {
  font-size: clamp(2.75rem, 6.6vw, 6rem);
  line-height: .95; letter-spacing: -0.04em; font-weight: 600;
}
.display--page { font-size: clamp(2.625rem, 5.6vw, 5.25rem); }
.h1 { font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -0.03em; font-weight: 500; }
.h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
.h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.18; letter-spacing: -0.015em; }
.h4 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
/* Card titles (duo, plans, recovery services) share one size below section headings */
.duo__head .h2, .plan .h2, .module .h2 { font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: 1.08; }
.lead { font-size: clamp(1.125rem, 1.45vw, 1.3125rem); line-height: 1.6; color: var(--ink-soft); max-width: 34em; font-weight: 400; }
.on-dark .lead { color: rgba(255, 255, 255, .86); }
.muted { color: var(--muted); }
.on-dark .muted { color: rgba(255, 255, 255, .74); }
.light { font-weight: 300; }

/* Uppercase label with the angled tick */
.label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--font-body); font-weight: 600; font-size: .8125rem;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
}
.label::before { /* the blush facet from the P */
  content: ''; width: 13px; height: 15px; background: var(--blush); flex: none;
  clip-path: polygon(38% 0, 100% 100%, 30% 100%, 0 62%);
}
/* Tagline lockup, as in the logo: rule · TEXT · rule */
.tagline {
  display: inline-flex; align-items: center; gap: 1rem;
  font-family: var(--font-body); font-weight: 500; font-size: .875rem; letter-spacing: .16em; text-transform: uppercase;
}
.tagline::before, .tagline::after { content: ''; width: 32px; height: 2px; background: var(--blush); flex: none; }
.label--plain::before { display: none; }

/* Numerical label: "01 / 05" */
.num {
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
  font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--muted);
}
.on-dark .num { color: rgba(255, 255, 255, .7); }

/* Blush angled underline for one key word */
.mark { position: relative; z-index: 0; white-space: nowrap; font-style: italic; font-weight: 300; letter-spacing: -0.03em; padding-right: .06em; }
.mark::after {
  content: ''; position: absolute; z-index: -1;
  left: .04em; right: .02em; bottom: .02em; height: .07em;
  background: var(--blush);
}

/* 4. Buttons + links + forms ---------------------------------------------- */
.btn {
  --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black);
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 54px; padding: 0 1.625rem;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd); border-radius: 0;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.btn .i { transition: transform var(--dur-2) var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn:hover { --btn-bg: var(--blush); --btn-fg: var(--black); --btn-bd: var(--blush); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--black); --btn-bd: var(--black); }
.btn--outline:hover { --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--blush); --btn-fg: var(--black); --btn-bd: var(--blush); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.7); }
.btn--outline-light:hover { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }
.btn--blush { --btn-bg: var(--blush); --btn-fg: var(--black); --btn-bd: var(--blush); }
.btn--blush:hover { --btn-bg: var(--black); --btn-fg: var(--white); --btn-bd: var(--black); }
.btn--sm { min-height: 44px; padding: 0 1.125rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  font-family: var(--font-display); font-weight: 500; font-size: 1rem; text-decoration: none;
  background: linear-gradient(var(--blush), var(--blush)) 0 calc(100% - 8px) / 100% 2px no-repeat;
  transition: background-size var(--dur-2) var(--ease);
}
.link-arrow:hover { background-size: 0 2px; background-position: 100% calc(100% - 8px); }
.link-arrow .i { transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

.field { display: grid; gap: .5rem; }
.field label, .field legend { font-weight: 600; font-size: .9375rem; }
.field .hint { font-size: .875rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: .75rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid rgba(0,0,0,.4); border-radius: 0;
  transition: border-color var(--dur-1) var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--black); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 3px solid var(--blush); outline-offset: 0; border-color: var(--black); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
/* GoDaddy's Site Designer prints high-specificity input and submit-button rules
   (wp-site-designer-contrast-fallback) built on colour presets this theme doesn't
   have, which strips borders and button colours. Keep the theme's own look. */
.input, .select, .textarea { background: var(--white) !important; color: var(--ink) !important; border: 1.5px solid rgba(0,0,0,.4) !important; }
.input:hover, .select:hover, .textarea:hover, .input:focus-visible, .select:focus-visible, .textarea:focus-visible { border-color: var(--black) !important; }
button.btn[type="submit"] { background: var(--btn-bg) !important; color: var(--btn-fg) !important; border: 1.5px solid var(--btn-bd) !important; padding: 0 1.625rem !important; font-family: var(--font-display) !important; font-size: 1rem !important; }

/* 5. Header + navigation --------------------------------------------------- */
.site-header {
  position: relative; z-index: 100; --focus: var(--blush);
  background: var(--black); color: var(--white); border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--dur-1) var(--ease);
}
.header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; min-height: 44px; }
.logo img { height: 30px; width: auto; transform-origin: left center; transition: transform var(--dur-2) var(--ease); }
.site-header.is-scrolled .logo img { transform: scale(.88); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0,0,0,.6); }
.site-footer .logo img { height: 44px; }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: clamp(1rem, 2vw, 2.25rem); }
.nav a {
  color: rgba(255,255,255,.88); position: relative; display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem; text-decoration: none; white-space: nowrap;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px;
  background: var(--blush); transform: skewX(var(--slant)) scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: skewX(var(--slant)) scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.book { position: relative; }
.book__panel {
  color: var(--black); --focus: var(--black); position: absolute; right: 0; top: calc(100% + 12px); width: min(340px, calc(100vw - 32px));
  background: var(--white); border: 1.5px solid var(--black); padding: .5rem;
}
.book__panel[hidden] { display: none; }
.book__panel:not([hidden]), .mobile-nav:not([hidden]) { animation: p10-drop var(--dur-2) var(--ease); }
@keyframes p10-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.book__panel a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem;
  padding: 1rem 1rem; text-decoration: none; border-bottom: 1px solid var(--line);
}
.book__panel a:last-child { border-bottom: 0; }
.book__panel a:hover { background: var(--pale); }
.book__panel strong { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.book__panel small { grid-column: 1; font-size: .8125rem; color: var(--muted); }
.book__panel .i { grid-row: 1 / span 2; grid-column: 2; }

.menu-toggle {
  display: none; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer; color: var(--white);
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px auto; transition: transform var(--dur-2) var(--ease), opacity var(--dur-1); }
.menu-toggle span:nth-child(2) { width: 18px; margin-left: 11px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; overflow-y: auto;
  background: var(--black); color: var(--white); padding: 1.5rem var(--gutter) 2.5rem;
  display: flex; flex-direction: column; gap: 2rem;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ol { list-style: none; border-top: 1px solid var(--line-dark); }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav ol a {
  display: flex; align-items: baseline; gap: 1rem; padding: 1rem 0; min-height: 56px; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.625rem, 7vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.1;
}
.mobile-nav ol a .num { font-size: .875rem; }
.mobile-nav ol a .num { color: rgba(255,255,255,.6); }
.mobile-nav ol a[aria-current="page"]::after { content: ''; width: 18px; height: 3px; background: var(--blush); transform: skewX(var(--slant)); align-self: center; }
.mobile-nav__book { display: grid; gap: .75rem; }
.mobile-nav__meta { font-size: .9375rem; color: rgba(255,255,255,.72); }

@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header__actions { margin-left: auto; }
  :root { --header-h: 68px; }
}
@media (max-width: 420px) {
  .logo img { height: 24px; }
}

/* 6. Media (photography) ----------------------------------- */
.media {
  position: relative; overflow: hidden; margin: 0; max-width: 100%;
  aspect-ratio: var(--ratio, 4 / 5); color: var(--black);
  background: linear-gradient(160deg, #f4efee 0%, #ebe4e3 100%);
}
.on-dark .media { color: var(--white); background: radial-gradient(120% 90% at 72% 18%, #2c2c2c 0%, #151515 55%, #0b0b0b 100%); }
html.js .media > img:not(.is-loaded) { opacity: 0; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); transition: transform 1.1s var(--ease), opacity .7s var(--ease); }
/* One grade across client and stock photography: slightly muted colour, firmer contrast */
.media > img { filter: saturate(.82) contrast(1.04); }
.media--cut  { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.media--cut-tl { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }
.media--cut-tr { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.media--light { background: radial-gradient(120% 90% at 72% 18%, #f7eaea 0%, var(--pale) 60%, #e6c9c8 100%); color: var(--black); }
.media--tint { background: radial-gradient(120% 90% at 72% 18%, #f3f1f0 0%, #e6e1e0 60%, #d9d2d1 100%); color: var(--black); }
@media (max-width: 700px) { .media { aspect-ratio: var(--ratio-m, var(--ratio, 4 / 5)); } }

 @media (hover: hover) { .media:hover > img, a:hover .media > img, .duo__item:hover .media > img { transform: scale(1.03); } }

.figcap { display: flex; gap: .75rem; align-items: baseline; margin-top: .85rem; font-size: .875rem; color: var(--muted); }
.on-dark .figcap { color: rgba(255,255,255,.72); }

/* 7. Sections -------------------------------------------------------------- */
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--black); color: var(--white); }
.section--pale { background: var(--pale); color: var(--black); }
.section--tint { background: var(--tint); }
.section--rule { border-top: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }
.section--hero { padding-top: clamp(2.5rem, 6vw, 5rem); }
/* The Angle as a section transition */
.edge-top { clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); padding-top: calc(var(--section) + var(--cut)); margin-top: calc(var(--cut) * -1); }
.edge-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding-bottom: calc(var(--section) + var(--cut)); }

.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head__body { display: grid; gap: 1.25rem; }
.sec-head__body > h2 { max-width: 16ch; }
@media (min-width: 900px) {
  .sec-head__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: end; }
  .sec-head__body > h2 { grid-column: 1; grid-row: 1 / span 3; }
  .sec-head__body > :not(h2) { grid-column: 2; }
}

/* 8. Components ------------------------------------------------------------ */

/* Index strip (homepage quick-find) */
.index { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .index { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.index a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.25rem; align-items: start;
  padding: 1.75rem clamp(1rem, 2vw, 2rem); text-decoration: none; min-height: 44px;
  transition: background-color var(--dur-2) var(--ease);
}
.index a + a { border-top: 1px solid var(--line); }
@media (min-width: 800px) { .index a + a { border-top: 0; border-left: 1px solid var(--line); } }
.index a:hover { background: var(--pale); }
.index strong { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
.index span.desc { grid-column: 1; font-size: .9375rem; color: var(--muted); }
.index .i { grid-row: 1 / span 2; grid-column: 2; width: 1.4em; height: 1.4em; margin-top: .15rem; transition: transform var(--dur-2) var(--ease); }
.index a:hover .i { transform: translateX(4px); }

/* Service list — scannable rows, not cards */
.svc-list { list-style: none; border-top: 1.5px solid var(--black); }
.on-dark .svc-list { border-top-color: var(--white); }
.svc {
  display: grid; gap: .5rem 2rem; padding: clamp(1.5rem, 2.6vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line); position: relative;
}
.on-dark .svc { border-bottom-color: var(--line-dark); }
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); align-items: start; }
}
.svc__name { display: flex; flex-direction: column; gap: .5rem; }
.svc__meta { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; font-size: .9375rem; }
@media (min-width: 900px) { .svc__meta { align-items: flex-end; text-align: right; } }
.svc__meta dl { margin: 0; display: grid; gap: .35rem; }
.svc__meta dt { display: inline; font-weight: 600; }
.svc__meta dd { display: inline; margin: 0; }
.svc::before {
  content: ''; position: absolute; left: 0; top: -1.5px; height: 3px; width: 0;
  background: var(--blush); transition: width .6s var(--ease);
}
.svc:hover::before, .svc:focus-within::before { width: 100%; }

/* Duo (two-part business introduction) */
.duo { display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
@media (min-width: 900px) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 7rem); }
  .duo > :nth-child(2) { margin-top: clamp(6rem, 14vw, 13rem); }
}
.duo__item { display: grid; gap: 1.5rem; align-content: start; }
.duo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 1.5px solid var(--black); padding-top: 1rem; }
.duo__list { list-style: none; display: grid; gap: .5rem; }
.duo__list li { display: flex; gap: .75rem; align-items: baseline; }
.duo__list li::before { content: ''; width: 10px; height: 2px; background: var(--black); transform: skewX(var(--slant)); flex: none; position: relative; top: -.25em; }

/* Steps (What to expect / How a visit works) */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }
.step { padding: 1.75rem 0; border-top: 1.5px solid currentColor; display: grid; gap: .85rem; align-content: start; position: relative; }
@media (min-width: 760px) { .step { padding: 1.75rem 2rem 0 0; } }
.step__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.04em; }
.step::before { content: ''; position: absolute; top: -1.5px; left: 0; width: 48px; height: 5px; background: var(--blush); transform: skewX(var(--slant)); transform-origin: left top; }

/* Principles (numbered, ruled text grid) */
.principles { display: grid; gap: 0; list-style: none; }
@media (min-width: 760px) { .principles { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); column-gap: var(--gap); } }
.principle { border-top: 1px solid var(--line); padding: 1.5rem 0 2rem; display: grid; gap: .75rem; align-content: start; }
.on-dark .principle { border-top-color: var(--line-dark); }

/* FAQ */
.faq { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.faq__intro { display: grid; gap: 1.25rem; }
.faq__list { border-top: 1.5px solid var(--black); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.375rem 0; min-height: 56px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.35; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 18px; height: 18px; flex: none;
  background: linear-gradient(currentColor, currentColor) center / 18px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 18px no-repeat;
  transition: background-size var(--dur-2) var(--ease);
}
.faq details[open] summary::after { background-size: 18px 2px, 2px 0; }
.faq__answer { padding: 0 3rem 1.75rem 0; color: var(--ink-soft); max-width: 44em; }

/* CTA band */
.cta { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.cta__options { display: grid; border-top: 1.5px solid currentColor; }
.cta__options a {
  display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center;
  padding: 1.375rem 0; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.2); min-height: 44px;
}
.on-dark .cta__options a { border-bottom-color: var(--line-dark); }
.cta__options strong { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.625rem); letter-spacing: -0.02em; }
.cta__options small { font-size: .9375rem; }
.cta__options .i { grid-row: 1 / span 2; grid-column: 2; width: 1.6em; height: 1.6em; transition: transform var(--dur-2) var(--ease); }
.cta__options a:hover .i { transform: translate(4px, -4px) rotate(-45deg); }

/* Recovery service modules */
.modules { display: grid; gap: var(--gap); }
@media (min-width: 900px) {
  .modules { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .module--wide { grid-column: span 7; }
  .module--narrow { grid-column: span 5; }
  .module--third { grid-column: span 4; }
  .module--full { grid-column: 1 / -1; }
}
.module { border: 1px solid var(--line); display: flex; flex-direction: column; background: var(--white); }
.on-dark .module { border-color: var(--line-dark); background: rgba(255,255,255,.02); }
.module__facts { margin-top: auto; }
.module__body { padding: clamp(1.5rem, 2.6vw, 2.25rem); display: grid; gap: 1.25rem; }
.module__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.on-dark .module__facts, .on-dark .module__facts div + div { border-color: var(--line-dark); }
.module__facts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.module__facts div { padding: 1rem clamp(1rem, 2.6vw, 2.25rem); display: grid; gap: .35rem; }
.module__facts div + div { border-left: 1px solid var(--line); }
.module__facts dt { font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.on-dark .module__facts dt { color: rgba(255,255,255,.72); }
.module__facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.benefits { list-style: none; display: grid; gap: .5rem; }
.benefits li { display: flex; gap: .75rem; align-items: baseline; }
.benefits li::before { content: ''; width: 10px; height: 2px; background: var(--blush); transform: skewX(var(--slant)); flex: none; position: relative; top: -.25em; }

/* Membership plans */
.billing { display: inline-flex; border: 1.5px solid var(--black); padding: 4px; gap: 4px; margin-bottom: 2.5rem; }
.billing[hidden] { display: none; }
.billing button {
  min-height: 44px; padding: 0 1.25rem; border: 0; cursor: pointer;
  background: transparent; color: var(--black); font: 500 .9375rem var(--font-display);
}
.billing button[aria-pressed="true"] { background: var(--black); color: var(--white); }
.plans { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.plan { border: 1.5px solid var(--black); padding: clamp(1.75rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; align-content: start; position: relative; background: var(--white); }
@media (min-width: 900px) { .plan + .plan { border-left: 0; } }
.plan--featured { background: var(--black); color: var(--white); --focus: var(--blush); }
.plan--featured .muted { color: rgba(255,255,255,.75); }
.plan__flag { position: absolute; top: 0; right: 0; width: 64px; height: 64px; background: var(--blush); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.plan__price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; font-family: var(--font-display); }
.plan__price .amount { font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__includes { list-style: none; display: grid; gap: .75rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.plan--featured .plan__includes { border-top-color: var(--line-dark); }
.plan__includes li { display: flex; gap: .75rem; align-items: baseline; }
.plan__includes li::before { content: ''; width: 10px; height: 2px; background: var(--blush); transform: skewX(var(--slant)); flex: none; position: relative; top: -.25em; }
.plan .btn { width: 100%; }
.plan__note { font-size: .875rem; margin-top: -.5rem; }
.credit-key { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; margin-top: 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.credit-key ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 2rem; font-size: .9375rem; }
.credit-key strong { font-family: var(--font-display); font-weight: 600; margin-right: .35rem; }
.page-hero--compact { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 3.5vw, 3rem); }
.page-hero--compact .page-hero__top { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }

.table-box { overflow-x: auto; border-top: 1.5px solid var(--black); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9375rem; }
.compare caption { text-align: left; padding: 0 0 1rem; }
.compare th, .compare td { padding: 1.125rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.compare tbody th { font-weight: 600; width: 32%; }
.compare .col-featured { background: var(--tint); }

/* Pull quote: the founder's philosophy in her words */
.quote { margin: clamp(3rem, 6vw, 5rem) 0 0; padding-top: 2rem; border-top: 1.5px solid var(--black); max-width: 52rem; }
.quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
.quote footer { margin-top: 1rem; font-size: .9375rem; color: var(--muted); }

/* Profiles */
.team { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) var(--gap); }
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } .team > :nth-child(3n+2) { margin-top: 4rem; } }
.profile { display: grid; gap: 1rem; align-content: start; }
.profile__meta { display: grid; gap: .35rem; border-top: 1px solid var(--line); padding-top: 1rem; }
@media (min-width: 900px) { .team--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem); } .team--duo > :nth-child(2) { margin-top: 5rem; } }
.profile__creds { list-style: none; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-soft); }
.founder--next { margin-top: clamp(4rem, 8vw, 7rem); }

/* Founder block */
.founder { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; } .founder--flip > :first-child { order: 2; } }
.founder__body { display: grid; gap: 1.5rem; }
.creds { list-style: none; display: grid; border-top: 1px solid var(--line); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.contact-list { margin: 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list dd { margin: 0; }
.creds li { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; padding: 1rem 0; border-bottom: 1px solid var(--line); }


/* Status chip */
.status { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem; border: 1.5px solid currentColor; font-weight: 600; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; }
.status::before { content: ''; width: 8px; height: 8px; background: var(--blush); border-radius: 50%; }


/* 9. Page blocks ----------------------------------------------------------- */


/* Black header: blush Book button inverts to white on hover */
.site-header .btn--blush:hover { --btn-bg: var(--white); --btn-fg: var(--black); --btn-bd: var(--white); }

/* Home hero (dark, full-bleed photography) */
.hero-x { background: var(--black); color: var(--white); position: relative; overflow: hidden; }
.hero-x__grid { display: grid; }
.hero-x__copy { display: grid; gap: clamp(1.5rem, 2.4vw, 2.25rem); align-content: center; padding-block: clamp(2.5rem, 6vw, 6rem); position: relative; z-index: 1; }
.hero-x__copy .display { font-size: clamp(2.75rem, 6.4vw, 6rem); }
.hero-x__media { position: relative; min-height: 0; overflow: hidden; isolation: isolate; z-index: 0; }
.hero-x__media .media { height: 100%; aspect-ratio: auto; }
.hero-x__meta { display: flex; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line-dark); font-size: .9375rem; color: rgba(255,255,255,.74); }
.hero-x__meta strong { color: var(--white); font-weight: 600; }
@media (min-width: 960px) {
  .hero-x__grid { grid-template-columns: minmax(0, 6.2fr) minmax(0, 5.8fr); min-height: clamp(560px, calc(100vh - var(--header-h) - 120px), 820px); }
  .hero-x__copy { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: clamp(2rem, 4vw, 4rem); }
  .hero-x__media .media { position: absolute; inset: 0; }
}
@media (max-width: 959px) {
  .hero-x__grid { position: relative; }
  .hero-x__copy { padding-inline: var(--gutter); padding-block: clamp(5rem, 22vw, 9rem) 2.5rem; min-height: min(88svh, 760px); align-content: end; }
  .hero-x__media { position: absolute; inset: 0; }
  .hero-x__media .media { position: absolute; inset: 0; aspect-ratio: auto; clip-path: none; }
  .hero-x__media .media::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,.92) 75%); }
}
.hero-x .index { border-color: var(--line-dark); }
.hero-x .index a + a { border-color: var(--line-dark); }
.hero-x .index a:hover { background: #141414; }
.hero-x .index span.desc { color: rgba(255,255,255,.72); }
/* Inner page hero */
.page-hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 6vw, 5rem); }
.page-hero__top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 4vw, 3rem); padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.on-dark .page-hero__top { border-bottom-color: var(--line-dark); }
.page-hero__grid { display: grid; gap: 2rem 3rem; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
.page-hero__body { display: grid; gap: 1.5rem; }

/* Wide photo band with overlap */
.band { display: grid; gap: var(--gap); }
@media (min-width: 900px) {
  .band { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: end; }
  .band__main { grid-column: 1 / span 8; }
  .band__side { grid-column: 9 / span 4; display: grid; gap: 2rem; }
}

/* Recovery hero (distinct atmosphere) */
.r-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
.r-hero__title { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .r-hero__title { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; column-gap: 3rem; } }
.r-hero .media { --ratio: 21 / 9; --ratio-m: 4 / 3.6; }

/* Membership preview (home) */
.mprev { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .mprev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(2rem, 6vw, 6rem); } }
.mprev__rows { list-style: none; border-top: 1.5px solid var(--black); }
.mprev__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1.5rem; align-items: baseline; padding: 1.125rem 0; border-bottom: 1px solid rgba(0,0,0,.16); }
.mprev__price { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; min-width: 5.5em; text-align: right; }
@media (min-width: 900px) { .split--media { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 8vw, 8rem); } }

/* Vault */
/* The Vault title is a wordmark, not running display type: the one size exception */
.vault-title { font-size: clamp(4rem, 13vw, 12rem); line-height: .84; letter-spacing: -0.04em; font-weight: 700; }
.vault-title .outline { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
@supports not (-webkit-text-stroke: 1px black) { .vault-title .outline { color: var(--white); } }

/* Vault: offer + locked previews */
.vault-price { display: flex; align-items: baseline; gap: .5rem; font-family: var(--font-display); }
.vault-price .amount { font-size: clamp(2.75rem, 5vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--blush); }
.vault-tiles { display: grid; gap: clamp(2rem, 3vw, 2.5rem) var(--gap); }
@media (min-width: 640px) { .vault-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .vault-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtile { position: relative; display: grid; gap: 1rem; align-content: start; }
.vtile__lock {
  position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .7rem; background: var(--black); color: var(--white); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
}
.vtile__lock .i { width: 1em; height: 1em; }
.vtile__meta { display: grid; gap: .4rem; }

/* Generic split */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: center; } .split--top { align-items: start; } }
.stack { display: grid; gap: 1.5rem; align-content: start; }
.stack--sm { gap: .85rem; }

/* 10. Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-dark); background: var(--black); color: var(--white); padding-top: clamp(4rem, 8vw, 7rem); --focus: var(--blush); }
.footer__top { display: grid; gap: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 900px) { .footer__top { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.33fr)); column-gap: 2rem; } }
.footer__brand { display: grid; gap: 1.5rem; align-content: start; }
.footer__tagline { color: rgba(255,255,255,.86); }
.footer__col h2 { font-family: var(--font-body); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 1rem; }
.footer__col ul { list-style: none; display: grid; gap: .15rem; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-decoration-color: var(--blush); text-decoration-thickness: 2px; }
.footer__col address { font-style: normal; display: grid; gap: .5rem; color: rgba(255,255,255,.86); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 1.5rem 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; font-size: .875rem; color: rgba(255,255,255,.72); }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer__bottom a { display: inline-flex; min-height: 44px; align-items: center; }
.footer__credit { opacity: .6; display: block; margin-top: .35rem; }
@media (min-width: 640px) { .footer__credit { display: inline; margin-top: 0; } .footer__credit::before { content: "·"; margin-inline: .5em; } }
.footer__credit a { display: inline; min-height: 0; text-decoration: underline; text-underline-offset: .2em; }
.footer__credit a:hover { opacity: 1; color: #fff; }

/* 11. Utilities + motion --------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: clamp(3rem, 6vw, 5rem); }
.mb-2 { margin-bottom: 2rem; }
.maxw-s { max-width: 34em; } .maxw-m { max-width: 42em; }
.center { text-align: center; }

/* The one authored moment: the hero photograph is unveiled along the logo's 12° angle.
   Content is never hidden waiting on JS; .reveal classes are inert. */
.hero-x__media::after {
  content: ''; position: absolute; inset: 0 -30%; z-index: 2; background: var(--black);
  transform: skewX(var(--slant)); transform-origin: left top;
  animation: p10-unveil 1.15s cubic-bezier(.16, 1, .3, 1) .2s both;
}
@keyframes p10-unveil { from { transform: skewX(var(--slant)) translateX(0); } to { transform: skewX(var(--slant)) translateX(115%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-x__media::after { display: none; }
  .media > img { transform: none !important; }
}

/* 12. WordPress ------------------------------------------------------------ */
/* The header's template part is the sticky element (its block sits inside it). */
.p10-header-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100; }
:where(.wp-site-blocks) > * { margin-block: 0; }
:where(.wp-block-post-content, .entry-content) > * { margin-block: 0; }
/* Angled section edges overlap the section above (beats core's flow-layout spacing) */
.wp-block-post-content > .edge-top, .entry-content > .edge-top { margin-block-start: calc(var(--cut) * -1); }
.mobile-nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px)); }
/* Core's skip link */
.skip-link.screen-reader-text:focus { clip: auto; clip-path: none; width: auto; height: auto; top: 1rem; left: 1rem; z-index: 200; background: var(--black); color: var(--white); padding: .75rem 1.25rem; font-weight: 600; }
/* Contact form states */
.status[role="status"] { margin: 0; }
.form-grid [role="alert"] { margin: 0; color: #a3261d; font-weight: 600; }
/* Posts, search and plain pages */
/* Journal (blog): hero, card grid, pagination */
.p10-blog-hero { display: grid; gap: 1.25rem; max-width: 52rem; }
.p10-blog__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) var(--gap); }
@media (min-width: 640px) { .p10-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .p10-blog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.p10-blog__grid > .wp-block-post { display: grid; gap: 1.25rem; align-content: start; margin: 0; }
.p10-card__media { margin: 0; overflow: hidden; background: var(--pale); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.p10-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.04); transition: transform 1.1s var(--ease); }
.p10-card__media a:hover img, .p10-card__media a:focus-visible img { transform: scale(1.04); }
.p10-card__body { display: grid; gap: .75rem; align-content: start; }
.p10-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.p10-card__meta .label a, .page-hero__top .label a { color: inherit; text-decoration: none; }
.p10-card__meta .num, .page-hero__top .num { margin: 0; }
.p10-card__title { margin: 0; }
.p10-card__title a { color: inherit; text-decoration: none; background: linear-gradient(var(--blush), var(--blush)) 0 100% / 0 2px no-repeat; transition: background-size var(--dur-2) var(--ease); }
.p10-card__title a:hover, .p10-card__title a:focus-visible { background-size: 100% 2px; }
.p10-card__excerpt p { margin: 0; }
.p10-blog__grid .wp-block-read-more { justify-self: start; }
/* Newest article leads the first page, full width with the image beside the text */
@media (min-width: 900px) {
  body:not(.paged) .p10-blog:not(.p10-related) .p10-blog__grid > .wp-block-post:first-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  body:not(.paged) .p10-blog:not(.p10-related) .p10-blog__grid > .wp-block-post:first-child .p10-card__title { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.025em; font-weight: 500; }
}
.p10-pagination { margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: 1.25rem; border-top: 1.5px solid var(--black); font-family: var(--font-display); font-weight: 500; gap: 1rem; }
.p10-pagination a { color: inherit; text-decoration: none; }
.p10-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding-inline: .5rem; }
.p10-pagination .page-numbers.current { background: var(--black); color: var(--white); }
.p10-search { max-width: 34rem; }
.p10-search .wp-block-search__inside-wrapper { display: flex; gap: .5rem; }
.p10-search .wp-block-search__input { flex: 1; min-height: 3.25rem; padding: 0 1rem; border: 1.5px solid var(--black); border-radius: 0; font: inherit; }
.p10-search .wp-block-search__button { min-height: 3.25rem; padding: 0 1.5rem; border: 0; border-radius: 0; background: var(--black); color: var(--white); font-family: var(--font-display); font-weight: 500; cursor: pointer; }
/* Single article */
.p10-single__head { display: grid; gap: 1.25rem; max-width: 56rem; }
.p10-single__byline .wp-block-post-author__content { display: flex; gap: .4rem; align-items: baseline; font-size: .9375rem; }
.p10-single__byline .wp-block-post-author__byline { width: auto; margin: 0; font-size: inherit; color: var(--muted); }
.p10-single__byline .wp-block-post-author__name { margin: 0; font-weight: 600; }
.p10-single__media { margin: 0 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.p10-single__media img { width: 100%; height: 100%; object-fit: cover; }
.p10-single__body { display: grid; gap: 2.5rem; max-width: 46rem; margin-inline: auto; }
.p10-single__body .p10-prose { font-size: 1.0625rem; line-height: 1.75; }
.p10-single__tags a { color: inherit; }
.p10-post-nav { display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1.5px solid var(--black); }
@media (min-width: 640px) { .p10-post-nav { grid-template-columns: 1fr 1fr; } .p10-post-nav .post-navigation-link-next { text-align: right; } }
.p10-post-nav a { display: grid; gap: .35rem; color: inherit; text-decoration: none; font-family: var(--font-display); font-weight: 500; font-size: 1.125rem; line-height: 1.3; }
.p10-post-nav .post-navigation-link__label { font-family: var(--font-body, inherit); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p10-post-nav a:hover .post-navigation-link__title { text-decoration: underline; text-decoration-color: var(--blush); text-decoration-thickness: 2px; }
.p10-related__title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.p10-article .wrap { display: grid; gap: 1.5rem; max-width: 52rem; }
.p10-prose > * + *, .p10-prose > .wp-block-post-content > * + * { margin-top: 1.25em; }
.p10-prose h2, .p10-prose h3 { margin-top: 1.75em; }
.p10-prose h2 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 500; }
.p10-prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
.p10-prose ul, .p10-prose ol { padding-left: 1.25em; }
.p10-prose li + li { margin-top: .4em; }
.p10-prose a { text-decoration-color: var(--blush); text-decoration-thickness: 2px; }
.p10-prose img { height: auto; }
