/*
Theme Name: Zen w/ Jen
Theme URI: https://zenwjen.com
Author: DigiSavvy
Author URI: https://digisavvy.com
Description: Calming coastal wellness block theme — joyful pops of color, scrapbook feel, handwritten headings. Ported from the Zen w/ Jen static design system.
Version: 0.1.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zen-w-jen
*/

/* ==========================================================================
   FONTS — self-hosted (SIL OFL): Fraunces, DM Sans, Caveat
   ========================================================================== */
/* latin-ext */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/Wnz6HAc5bAfYB2Q7aDYYiAzcPDKo.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/Wnz6HAc5bAfYB2Q7ZjYYiAzcPA.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(assets/fonts/rP2Fp2ywxg089UriCZa4ET-DJF4e8BH9.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 400 500; font-display: swap; src: url(assets/fonts/rP2Fp2ywxg089UriCZa4Hz-DJF4e8A.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/rP2Hp2ywxg089UriCZ2IHTWEBlwu8Q.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/rP2Hp2ywxg089UriCZOIHTWEBlw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(assets/fonts/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjdPeQ7ZXk8kD6.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(assets/fonts/6NU58FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChjeveQ7ZXk8g.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* latin-ext */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxCFTeP2Xz5fU8w.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(assets/fonts/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeP2Xz5c.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   DESIGN TOKENS — ACSS-aligned names, ported verbatim from src/tokens.css
   ========================================================================== */
:root {
  /* COLOR — Primary · Sage "Drift" */
  --primary-ultra-light: #eaf0ee;
  --primary-light:       #c9d8d3;
  --primary-semi-light:  #bccec8;
  --primary:             #aec4be;
  --primary-semi-dark:   #8aa8a1;
  --primary-dark:        #6b8b83;
  --primary-ultra-dark:  #46615b;
  --primary-hover:       #9bb5ae;

  /* COLOR — Secondary · Ocean Blue */
  --secondary-ultra-light: #e1ecf0;
  --secondary-light:       #a9c8d3;
  --secondary-semi-light:  #8db5c3;
  --secondary:             #6f9fb3;
  --secondary-semi-dark:   #5c8a9d;
  --secondary-dark:        #4a7a8d;
  --secondary-ultra-dark:  #2e5060;
  --secondary-hover:       #5f93a8;

  /* COLOR — Tertiary · Sun Yellow */
  --tertiary-ultra-light: #fcf0cf;
  --tertiary-light:       #f8dd96;
  --tertiary-semi-light:  #f6d37a;
  --tertiary:             #f4c95b;
  --tertiary-semi-dark:   #e8b73f;
  --tertiary-dark:        #d9a92e;
  --tertiary-ultra-dark:  #a87e1a;
  --tertiary-hover:       #eebe45;

  /* COLOR — Accent · Light Salmon */
  --accent-ultra-light: #fceae4;
  --accent-light:       #f8c8b8;
  --accent-semi-light:  #f6b4a0;
  --accent:             #f4a28c;
  --accent-semi-dark:   #ed8e76;
  --accent-dark:        #a84e3b;
  --accent-ultra-dark:  #8c3e2e;
  --accent-hover:       #ef9479;

  /* COLOR — Blossom Pink */
  --blossom-ultra-light: #fbeaec;
  --blossom-light:       #f8d6d9;
  --blossom:             #f2b6bb;
  --blossom-dark:        #e08a92;
  --blossom-ultra-dark:  #b85d66;

  /* COLOR — Base */
  --base:            #faf7ef;
  --bg-ultra-light:  #fcfbf6;
  --bg-light:        #f4f1e7;
  --bg-sand:         #e9dfca;
  --bg-dark:         #2e3a39;
  --bg-ultra-dark:   #193d40;
  --body-bg-color:   var(--base);
  --white:           #ffffff;
  --black:           #14201f;

  /* COLOR — Neutral */
  --neutral-ultra-light: #f1efe6;
  --neutral-light:       #d9d3c4;
  --neutral:             #6e7c7a;
  --neutral-dark:        #4a5655;
  --neutral-ultra-dark:  #2e3a39;
  --text:                #2e3a39;
  --text-muted:          #6e7c7a;
  --heading-color:       #193d40;
  --border-color:        #e4decf;

  /* COLOR — Semantic / status */
  --info:    #6f9fb3;
  --success: #7fa88a;
  --warning: #f4c95b;
  --danger:  #d96b5a;

  /* TYPOGRAPHY */
  --heading-font-family: "Fraunces", Georgia, "Times New Roman", serif;
  --text-font-family:    "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --script-font-family:  "Caveat", "Segoe Script", cursive;

  --h1: clamp(2.75rem, 1.9rem + 4.2vw, 5rem);
  --h2: clamp(2.15rem, 1.6rem + 2.7vw, 3.5rem);
  --h3: clamp(1.7rem, 1.4rem + 1.5vw, 2.5rem);
  --h4: clamp(1.4rem, 1.25rem + 0.8vw, 1.85rem);
  --h5: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --h6: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);

  --heading-line-height:    1.08;
  --heading-letter-spacing: -0.015em;
  --heading-weight:         600;

  --text-xs:  clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-s:   clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-m:   clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --text-l:   clamp(1.125rem, 1.06rem + 0.3vw, 1.25rem);
  --text-xl:  clamp(1.3rem, 1.2rem + 0.5vw, 1.5rem);
  --text-xxl: clamp(1.5rem, 1.35rem + 0.75vw, 1.875rem);

  --text-line-height:    1.7;
  --text-letter-spacing: 0;

  --eyebrow-letter-spacing: 0.18em;
  --eyebrow-size:           var(--text-xs);

  /* SPACING */
  --space-xs:  clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
  --space-s:   clamp(0.875rem, 0.8rem + 0.4vw, 1.25rem);
  --space-m:   clamp(1.25rem, 1.1rem + 0.75vw, 2rem);
  --space-l:   clamp(2rem, 1.7rem + 1.5vw, 3.25rem);
  --space-xl:  clamp(3rem, 2.5rem + 2.5vw, 5rem);
  --space-xxl: clamp(4.5rem, 3.6rem + 4.5vw, 8rem);

  --section-space-s:   clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --section-space-m:   clamp(3.5rem, 2.8rem + 3.5vw, 6rem);
  --section-space-l:   clamp(4.5rem, 3.5rem + 5vw, 8rem);
  --section-space-xl:  clamp(6rem, 4.5rem + 7vw, 10rem);

  --content-width:   75rem;
  --content-narrow:  44rem;
  --gutter:          clamp(1.25rem, 0.8rem + 2.25vw, 2.5rem);
  --container-gap:   var(--space-l);
  --content-gap:     var(--space-s);
  --grid-gap:        var(--space-m);

  /* RADII · BORDERS · SHADOWS · MOTION */
  --radius-s:     0.375rem;
  --radius:       0.625rem;
  --radius-l:     1.25rem;
  --radius-xl:    2rem;
  --radius-round: 999px;

  --border:       1px solid var(--border-color);
  --border-width: 1px;

  --shadow-s:  0 1px 2px rgba(25, 61, 64, 0.06), 0 2px 6px rgba(25, 61, 64, 0.05);
  --shadow-m:  0 4px 10px rgba(25, 61, 64, 0.07), 0 10px 24px rgba(25, 61, 64, 0.06);
  --shadow-l:  0 12px 28px rgba(25, 61, 64, 0.10), 0 24px 56px rgba(25, 61, 64, 0.08);
  --shadow-photo: 0 2px 4px rgba(25, 61, 64, 0.10), 0 14px 30px rgba(25, 61, 64, 0.12);

  --transition-duration: 0.3s;
  --transition-timing:   cubic-bezier(0.4, 0, 0.2, 1);
  --transition:          var(--transition-duration) var(--transition-timing);
}

/* ==========================================================================
   BASE — reset + element styling (from src/base.css)
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

body { margin: 0; }

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

body {
  font-family: var(--text-font-family);
  font-size: var(--text-m);
  line-height: var(--text-line-height);
  letter-spacing: var(--text-letter-spacing);
  color: var(--text);
  background-color: var(--body-bg-color);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font-family);
  font-weight: var(--heading-weight);
  line-height: var(--heading-line-height);
  letter-spacing: var(--heading-letter-spacing);
  color: var(--heading-color);
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
h5 { font-size: var(--h5); }
h6 { font-size: var(--h6); }

p { max-width: var(--content-narrow); }
p, ul, ol { text-wrap: pretty; }

a {
  color: var(--secondary-dark);
  text-decoration-color: color-mix(in oklab, var(--secondary) 45%, transparent);
  text-underline-offset: 0.18em;
  transition: color var(--transition);
}
a:hover { color: var(--accent-dark); }

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

ul, ol { padding-inline-start: 1.25em; }
li { margin-block: 0.25em; }

strong, b { font-weight: 600; }

blockquote {
  font-family: var(--heading-font-family);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: 1.35;
  color: var(--heading-color);
  margin: 0;
  padding-inline-start: var(--space-m);
  border-inline-start: 3px solid var(--accent);
}

code, pre {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.875em;
}

hr {
  border: 0;
  border-top: var(--border);
  margin-block: var(--space-l);
}

:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

::selection {
  background: var(--tertiary);
  color: var(--heading-color);
}

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

.eyebrow {
  font-family: var(--text-font-family);
  font-size: var(--eyebrow-size);
  font-weight: 600;
  letter-spacing: var(--eyebrow-letter-spacing);
  text-transform: uppercase;
  color: var(--accent-dark);
}

.script {
  font-family: var(--script-font-family);
  font-weight: 600;
  line-height: 1;
  color: var(--secondary-dark);
}

/* ==========================================================================
   WORDPRESS SHIMS — map core block markup onto the design system
   ========================================================================== */
/* Sticky header vs admin bar */
body.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }

/* Core paragraphs inside centered stacks shouldn't fight the measure */
.stack p { margin: 0; }

/* Site title block → script brand */
.site-header .wp-block-site-title,
.site-footer .wp-block-site-title { margin: 0; }
.site-header .wp-block-site-title a,
.site-footer .wp-block-site-title a,
.nav__brand {
  font-family: var(--script-font-family);
  font-size: var(--text-xxl);
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
  line-height: 1;
}
.site-footer .wp-block-site-title a { color: var(--bg-light); }

/* Navigation block → nav links */
.site-header .wp-block-navigation a {
  font-family: var(--text-font-family);
  font-size: var(--text-s);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-header .wp-block-navigation a:hover { color: var(--accent-dark); }

/* Core button block → .btn design system. Variants registered as block styles. */
.wp-block-button .wp-block-button__link {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-color: var(--heading-color);
  --btn-padding-block: 0.85em;
  --btn-padding-inline: 1.6em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--text-font-family);
  font-size: var(--text-m);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  padding: var(--btn-padding-block) var(--btn-padding-inline);
  color: var(--btn-color);
  background-color: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-round);
  transition: background-color var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}
.wp-block-button .wp-block-button__link:hover { background-color: var(--btn-bg-hover); color: var(--btn-color); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.wp-block-button .wp-block-button__link:active { transform: translateY(0); box-shadow: var(--shadow-s); }

.wp-block-button.is-style-primary .wp-block-button__link   { --btn-bg: var(--primary);        --btn-bg-hover: var(--primary-hover);        --btn-color: var(--heading-color); }
.wp-block-button.is-style-secondary .wp-block-button__link { --btn-bg: var(--secondary-dark); --btn-bg-hover: var(--secondary-ultra-dark); --btn-color: var(--white); }
.wp-block-button.is-style-tertiary .wp-block-button__link  { --btn-bg: var(--tertiary);       --btn-bg-hover: var(--tertiary-hover);       --btn-color: var(--heading-color); }
.wp-block-button.is-style-btn-outline .wp-block-button__link {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}
.wp-block-button.is-style-btn-outline .wp-block-button__link:hover { background-color: var(--accent); color: var(--heading-color); }
.wp-block-button.is-style-ghost .wp-block-button__link {
  background-color: transparent;
  color: var(--secondary-dark);
  padding-inline: 0.6em;
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover { background-color: var(--secondary-ultra-light); color: var(--secondary-ultra-dark); transform: none; box-shadow: none; }
/* Sizes via extra class on the button block */
.wp-block-button.btn--s .wp-block-button__link { font-size: var(--text-s); --btn-padding-block: 0.7em; --btn-padding-inline: 1.25em; }
.wp-block-button.btn--l .wp-block-button__link { font-size: var(--text-l); --btn-padding-block: 1em; --btn-padding-inline: 2em; }

/* Post title/content defaults */
.wp-block-post-title { font-size: var(--h1); }
.wp-block-post-content > * { margin-block-start: 0; }

/* ==========================================================================
   COMPONENTS — buttons, cards, typography blocks, forms (src/components.css)
   ========================================================================== */
.btn {
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-color: var(--heading-color);
  --btn-padding-block: 0.85em;
  --btn-padding-inline: 1.6em;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--text-font-family);
  font-size: var(--text-m);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  padding: var(--btn-padding-block) var(--btn-padding-inline);
  color: var(--btn-color);
  background-color: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: var(--radius-round);
  transition: background-color var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
}
.btn:hover { background-color: var(--btn-bg-hover); color: var(--btn-color); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-s); }

.btn--accent    { --btn-bg: var(--accent);          --btn-bg-hover: var(--accent-hover);     --btn-color: var(--heading-color); }
.btn--primary   { --btn-bg: var(--primary);         --btn-bg-hover: var(--primary-hover);    --btn-color: var(--heading-color); }
.btn--secondary { --btn-bg: var(--secondary-dark);  --btn-bg-hover: var(--secondary-ultra-dark); --btn-color: var(--white); }
.btn--tertiary  { --btn-bg: var(--tertiary);        --btn-bg-hover: var(--tertiary-hover);    --btn-color: var(--heading-color); }

.btn--outline {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--accent-dark);
}
.btn--outline:hover { background-color: var(--accent); color: var(--heading-color); transform: translateY(-2px); box-shadow: var(--shadow-m); }

.btn--ghost {
  background-color: transparent;
  color: var(--secondary-dark);
  padding-inline: 0.6em;
}
.btn--ghost:hover { background-color: var(--secondary-ultra-light); color: var(--secondary-ultra-dark); transform: none; box-shadow: none; }

.btn--s { font-size: var(--text-s); --btn-padding-block: 0.7em; --btn-padding-inline: 1.25em; }
.btn--l { font-size: var(--text-l); --btn-padding-block: 1em; --btn-padding-inline: 2em; }

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }

.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__body { display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-m); }
.card__eyebrow { font-size: var(--eyebrow-size); font-weight: 600; letter-spacing: var(--eyebrow-letter-spacing); text-transform: uppercase; color: var(--accent-dark); }
.card__title { font-size: var(--h5); color: var(--heading-color); }
.card__text { font-size: var(--text-s); color: var(--text-muted); margin: 0; }
.card__footer { margin-top: auto; padding-top: var(--space-s); }

.card--soft { background-color: var(--primary-ultra-light); border-color: transparent; }
.card--soft.card--ocean   { background-color: var(--secondary-ultra-light); }
.card--soft.card--sun     { background-color: var(--tertiary-ultra-light); }
.card--soft.card--blossom { background-color: var(--blossom-ultra-light); }

/* Scrapbook "polaroid" photo card */
.card--photo {
  background-color: var(--white);
  border: 0;
  border-radius: var(--radius-s);
  padding: var(--space-xs) var(--space-xs) var(--space-m);
  box-shadow: var(--shadow-photo);
  position: relative;
  rotate: -2deg;
  margin: 0;
}
.card--photo:nth-of-type(even) { rotate: 2deg; }
.card--photo:hover { rotate: 0deg; transform: translateY(-4px); }
.card--photo .card__media { aspect-ratio: 1; border-radius: var(--radius-s); }
.card--photo .card__caption {
  font-family: var(--script-font-family);
  font-size: var(--text-xl);
  color: var(--secondary-dark);
  text-align: center;
  padding-top: var(--space-xs);
}
.card--photo::before {
  content: "";
  position: absolute;
  top: -0.6rem; left: 50%;
  width: 5.5rem; height: 1.6rem;
  translate: -50% 0;
  rotate: -4deg;
  background: color-mix(in oklab, var(--tertiary) 75%, transparent);
  box-shadow: var(--shadow-s);
}

/* Typography blocks */
.stack { display: flex; flex-direction: column; gap: var(--space-s); max-width: var(--content-narrow); }
.stack--center { align-items: center; text-align: center; margin-inline: auto; }
.stack > * { margin: 0; }
.stack .script { font-size: var(--h3); }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-s); }

.hero-title { font-size: var(--h1); }
.hero-title em { font-style: italic; color: var(--accent-dark); }

.display-xl {
  font-family: var(--heading-font-family);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  font-size: clamp(3.5rem, 2rem + 8vw, 9rem);
}

.lede { font-size: var(--text-l); color: var(--text-muted); line-height: 1.6; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--space-s); }
.field label { font-size: var(--text-s); font-weight: 600; color: var(--heading-color); }
.field .hint { font-size: var(--text-xs); color: var(--text-muted); }

.input, .textarea, .select {
  font-family: var(--text-font-family);
  font-size: var(--text-m);
  color: var(--text);
  background-color: var(--white);
  padding: 0.75em 1em;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.input::placeholder, .textarea::placeholder { color: color-mix(in oklab, var(--text-muted) 80%, transparent); }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--secondary) 25%, transparent);
}
.textarea { min-height: 7rem; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--secondary-dark) 50%), linear-gradient(135deg, var(--secondary-dark) 50%, transparent 50%); background-position: calc(100% - 1.1rem) center, calc(100% - 0.75rem) center; background-size: 0.4rem 0.4rem, 0.4rem 0.4rem; background-repeat: no-repeat; padding-right: 2.5rem; }

.check { display: flex; align-items: center; gap: 0.6rem; font-size: var(--text-s); cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; accent-color: var(--accent); }

/* Inline email signup */
.signup {
  display: flex; gap: var(--space-xs); flex-wrap: wrap;
  background-color: var(--white);
  padding: var(--space-xs);
  border: var(--border);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-s);
  max-width: 32rem;
}
.signup .input { flex: 1 1 12rem; border: 0; border-radius: var(--radius-round); box-shadow: none; padding-inline: 1.25em; }
.signup .input:focus { box-shadow: none; }
.signup .btn { flex: 0 0 auto; }

.signup-card {
  background-color: var(--secondary-ultra-light);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-s);
}

/* ==========================================================================
   PAGE CHROME — containers, sections, header, footer, waves (pages/pages.css)
   ========================================================================== */
.container { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--content-narrow); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-space-m); }
.section--alt   { background-color: var(--bg-light); }
.section--ocean { background-color: var(--secondary-ultra-light); }
.section--sun   { background-color: var(--tertiary-ultra-light); }
.section--dark  { background-color: var(--bg-ultra-dark); }
.section--dark :is(h1,h2,h3,h4,p,span) { color: var(--bg-light); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background-color: color-mix(in oklab, var(--base) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in oklab, var(--border-color) 70%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); padding-block: var(--space-s); }
.nav__links { display: flex; align-items: center; gap: var(--space-m); list-style: none; margin: 0; padding: 0; }
.nav__links a { font-family: var(--text-font-family); font-size: var(--text-s); font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: 0.01em; }
.nav__links a:hover { color: var(--accent-dark); }
@media (max-width: 48rem) { .nav__links li:not(:last-child) { display: none; } }

.site-footer { background-color: var(--bg-ultra-dark); color: var(--bg-light); padding-block: var(--section-space-s); }
.site-footer a { color: var(--primary-light); }
.site-footer .nav__brand { color: var(--bg-light); }
.footer-grid { display: grid; gap: var(--space-l); grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }
.footer-grid h4 { color: var(--bg-light); font-size: var(--text-m); margin-bottom: var(--space-xs); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.footer-grid a { font-size: var(--text-s); text-decoration: none; }
.footer-bottom { margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid color-mix(in oklab, var(--bg-light) 20%, transparent); font-size: var(--text-xs); color: color-mix(in oklab, var(--bg-light) 70%, transparent); }
@media (max-width: 48rem) { .footer-grid { grid-template-columns: 1fr; } }

/* CSS-only entrance */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(1.25rem); animation: reveal 0.7s var(--transition-timing) forwards; }
  .reveal:nth-child(2) { animation-delay: 0.08s; }
  .reveal:nth-child(3) { animation-delay: 0.16s; }
  .reveal:nth-child(4) { animation-delay: 0.24s; }
  .reveal:nth-child(5) { animation-delay: 0.32s; }
  @keyframes reveal { to { opacity: 1; transform: none; } }
}

/* Soft wave shape dividers — each divider is a self-contained svg:
   full-bleed <rect> = FROM (top) color, wave path = TO (bottom) color. */
.wave { display: block; line-height: 0; }
.wave > svg { display: block; width: 100%; height: var(--wave-h, clamp(2.5rem, 6vw, 5.5rem)); }
.wave--flip > svg { transform: scaleX(-1); }
.wave--tall { --wave-h: clamp(3.5rem, 8vw, 7rem); }

/* Subtle film grain overlay */
.grain { position: relative; }
.grain::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scrapbook decor */
.tape {
  display: inline-block; padding: 0.3rem 1.4rem; rotate: -3deg;
  background: color-mix(in oklab, var(--tertiary) 78%, transparent);
  font-family: var(--script-font-family); font-size: var(--text-l); color: var(--heading-color);
  box-shadow: var(--shadow-s);
}
.note { font-family: var(--script-font-family); color: var(--secondary-dark); font-size: var(--text-xl); line-height: 1.1; }
.star { color: var(--tertiary-dark); }

/* ==========================================================================
   LAYOUT MODULES — ported from concept pages, namespaced per module
   ========================================================================== */
/* Placeholder gradients (until real photography lands) */
.ph    { background: linear-gradient(135deg, var(--secondary-light), var(--primary-light) 55%, var(--tertiary-light)); }
.ph--2 { background: linear-gradient(135deg, var(--blossom-light), var(--accent-light) 60%, var(--tertiary-light)); }
.ph--3 { background: linear-gradient(135deg, var(--primary-light), var(--secondary-semi-light)); }
.ph--4 { background: linear-gradient(135deg, var(--tertiary-light), var(--accent-light)); }

/* --- Yoga hero — two column with blurred blob ------------------------------ */
.hero-yoga { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-xl); align-items: center; padding-block: var(--section-space-s) var(--section-space-m); }
.hero-yoga > * { position: relative; z-index: 1; }
.hero-yoga::before { content: ""; position: absolute; z-index: 0; right: -3%; top: -6%; width: 55%; aspect-ratio: 1; border-radius: 46% 54% 60% 40% / 52% 44% 56% 48%; background: radial-gradient(circle at 32% 30%, color-mix(in oklab, var(--accent-light) 85%, transparent), transparent 68%); filter: blur(22px); opacity: 0.65; }
.hero-yoga h1 { font-size: var(--h1); }
.hero-yoga h1 em { font-style: italic; color: var(--accent-dark); }
.hero-yoga .hero__img { aspect-ratio: 4/5; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); }
.hero-yoga .hero__img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@media (max-width: 52rem) { .hero-yoga { grid-template-columns: 1fr; } .hero-yoga .hero__img { aspect-ratio: 4/3; } }

/* --- Collage hero (scrapbook home) ---------------------------------------- */
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-l); align-items: center; padding-block: var(--section-space-s) var(--section-space-m); }
.hero-collage h1 { font-size: clamp(2.75rem, 1.8rem + 4.5vw, 5.5rem); }
.hero-collage h1 .script { display: block; color: var(--accent-dark); font-size: 0.7em; }
.collage { position: relative; min-height: 30rem; }
.collage .poly { position: absolute; background: var(--white); padding: 0.6rem 0.6rem 1.2rem; box-shadow: var(--shadow-photo); margin: 0; }
.collage .poly .pic { width: 100%; aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; }
.collage .poly .pic img { width: 100%; height: 100%; object-fit: cover; }
.collage .poly .cap { display: block; font-family: var(--script-font-family); text-align: center; color: var(--secondary-dark); font-size: var(--text-l); padding-top: 0.3rem; }
.collage .p1 { width: 15rem; top: 0; left: 2%; rotate: -5deg; z-index: 2; }
.collage .p2 { width: 13rem; top: 4rem; right: 0; rotate: 5deg; z-index: 3; }
.collage .p3 { width: 12rem; bottom: 0; left: 18%; rotate: 3deg; z-index: 1; }
.collage .blob { position: absolute; inset: 10% 5% 5% 0; background: var(--tertiary-ultra-light); border-radius: 42% 58% 63% 37% / 45% 45% 55% 55%; z-index: 0; }
@media (max-width: 52rem) {
  .hero-collage { grid-template-columns: 1fr; }
  .collage { min-height: 24rem; }
  .collage .p1 { left: 0; } .collage .p2 { right: 2%; } .collage .p3 { left: 30%; }
}

/* --- Marquee --------------------------------------------------------------- */
.marquee { background: var(--accent); color: var(--heading-color); padding-block: var(--space-s); overflow: hidden; }
.marquee__track { display: flex; white-space: nowrap; font-family: var(--script-font-family); font-size: var(--h4); animation: marquee-scroll 22s linear infinite; }
.marquee__track > * { margin: 0; max-width: none; white-space: nowrap; text-wrap: nowrap; padding-right: var(--space-l); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; justify-content: center; flex-wrap: wrap; } }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Newsletter feature band ("letter") ------------------------------------ */
.letter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.letter__art { aspect-ratio: 5/4; border-radius: var(--radius-l); box-shadow: var(--shadow-m); position: relative; }
.letter__art .tape { position: absolute; top: -1rem; left: 1.5rem; }
@media (max-width: 52rem) { .letter { grid-template-columns: 1fr; } .letter__art { order: -1; } }

/* --- Intention beat --------------------------------------------------------- */
.intention { text-align: center; }
.intention .display-xl { color: var(--secondary-dark); }

/* --- Practices grid --------------------------------------------------------- */
.practices { display: grid; gap: var(--space-m); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 60rem) { .practices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 30rem) { .practices { grid-template-columns: 1fr; } }
.practice .card__media { aspect-ratio: 3/2; position: relative; }
.practice .dur { position: absolute; bottom: 0.5rem; right: 0.5rem; background: color-mix(in oklab, var(--bg-ultra-dark) 80%, transparent); color: var(--bg-light); font-size: var(--text-xs); font-weight: 600; padding: 0.2rem 0.6rem; border-radius: var(--radius-round); }

/* --- About splits ----------------------------------------------------------- */
.about-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-xl); align-items: center; }
.about-split .about__img { aspect-ratio: 1; border-radius: var(--radius-l); box-shadow: var(--shadow-m); overflow: hidden; }
.about-split .about__img img { width: 100%; height: 100%; object-fit: cover; }
.about-split .about__photo { width: 100%; max-width: 26rem; rotate: -3deg; background: var(--white); padding: 0.8rem 0.8rem 2rem; box-shadow: var(--shadow-photo); margin: 0; }
.about-split .about__photo .pic { aspect-ratio: 4/5; border-radius: var(--radius-s); overflow: hidden; }
.about-split .about__photo .pic img { width: 100%; height: 100%; object-fit: cover; }
.about-split .about__photo .cap { display: block; text-align: center; font-family: var(--script-font-family); font-size: var(--text-xl); color: var(--secondary-dark); padding-top: 0.4rem; }
@media (max-width: 52rem) { .about-split { grid-template-columns: 1fr; } }

/* --- Testimonials ------------------------------------------------------------ */
.kind { display: grid; gap: var(--space-m); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 52rem) { .kind { grid-template-columns: 1fr; } }
.kind blockquote { font-size: var(--text-l); border: 0; padding: 0; }

.quote-sticky { background: var(--tertiary-ultra-light); border-radius: var(--radius); padding: var(--space-m); rotate: -1.5deg; box-shadow: var(--shadow-s); margin-block: var(--space-l); }
.quote-sticky blockquote { border: 0; padding: 0; font-size: var(--text-xl); }
.quote-sticky--blossom { background: var(--blossom-ultra-light); border-radius: var(--radius-l); padding: var(--space-l); rotate: -1deg; box-shadow: var(--shadow-m); }
.quote-sticky--blossom blockquote { margin-block: var(--space-s); }

/* --- Offer grid (polaroids) -------------------------------------------------- */
.offer-grid { display: grid; gap: var(--space-m); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 48rem) { .offer-grid { grid-template-columns: 1fr; } }

/* --- Social icons ------------------------------------------------------------- */
.social { display: flex; gap: var(--space-s); align-items: center; }
.social a { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-round); background: color-mix(in oklab, var(--bg-light) 14%, transparent); color: var(--bg-light); transition: background var(--transition); }
.social a:hover { background: var(--accent); color: var(--heading-color); }
.social svg { width: 1.25rem; height: 1.25rem; }

/* --- Editorial article (blog concept 1) --------------------------------------- */
.article-head { text-align: center; padding-block: var(--section-space-s) var(--space-l); }
.article-head h1, .article-head .wp-block-post-title { font-size: var(--h1); max-width: 18ch; margin-inline: auto; margin-block: var(--space-s); }
.byline { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; font-size: var(--text-s); color: var(--text-muted); }
.byline .avatar, .byline img { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-round); object-fit: cover; }
.article-hero { aspect-ratio: 16/7; border-radius: var(--radius-l); margin-block: var(--space-l); box-shadow: var(--shadow-m); overflow: hidden; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }

.prose { max-width: var(--content-narrow); margin-inline: auto; }
.prose > * + * { margin-top: var(--space-m); }
.prose h2 { font-size: var(--h3); margin-top: var(--space-l); }
.prose p { font-size: var(--text-l); max-width: none; }
.prose .drop::first-letter { font-family: var(--heading-font-family); font-size: 3.6em; line-height: 0.7; float: left; padding: 0.05em 0.12em 0 0; color: var(--accent-dark); }

.grid-3 { display: grid; gap: var(--space-m); grid-template-columns: repeat(3, 1fr); }
@media (max-width: 48rem) { .grid-3 { grid-template-columns: 1fr; } }

/* --- Journal sheet (blog concept 2) -------------------------------------------- */
.sheet {
  max-width: 52rem; margin: var(--space-xl) auto; background: var(--bg-ultra-light);
  border-radius: var(--radius-l); box-shadow: var(--shadow-l);
  padding: clamp(1.5rem, 1rem + 4vw, 4rem);
  position: relative;
}
.journal-date { font-family: var(--script-font-family); font-size: var(--h4); color: var(--accent-dark); }
.journal-title { font-size: var(--h2); margin-block: var(--space-xs) var(--space-m); max-width: 16ch; }
.journal-title em { color: var(--secondary-dark); font-style: normal; }

/* Inline polaroid floated into text */
.poly--inline { float: right; width: 14rem; margin: 0 0 var(--space-m) var(--space-l); rotate: 3deg; background: var(--white); padding: 0.7rem 0.7rem 1.4rem; box-shadow: var(--shadow-photo); position: relative; }
.poly--inline.poly--left { float: left; margin: 0 var(--space-l) var(--space-m) 0; rotate: -3deg; }
.poly--inline .pic { aspect-ratio: 1; border-radius: var(--radius-s); overflow: hidden; }
.poly--inline .pic img { width: 100%; height: 100%; object-fit: cover; }
.poly--inline figcaption { font-family: var(--script-font-family); text-align: center; color: var(--secondary-dark); font-size: var(--text-l); padding-top: 0.3rem; }
.poly--inline::before { content: ""; position: absolute; top: -0.5rem; left: 50%; translate: -50%; width: 4.5rem; height: 1.3rem; rotate: -5deg; background: color-mix(in oklab, var(--blossom) 80%, transparent); box-shadow: var(--shadow-s); }
@media (max-width: 36rem) { .poly--inline { float: none; width: 100%; margin: var(--space-m) 0; } }

/* Archive header */
.wp-block-query-title.archive-title { font-size: var(--h1); }
.wp-block-query-title .search-term, .wp-block-query-title span { color: var(--accent-dark); }
.stack--center .wp-block-term-description p { margin: 0; }

/* --- Statement cover (YWA "art of waking up" style) -------------------------------- */
.statement-cover { min-height: 34rem; display: grid; place-items: center; }
.statement-cover .statement { font-family: var(--heading-font-family); font-weight: 600; font-style: italic; font-size: clamp(2rem, 1.4rem + 3vw, 3.75rem); line-height: 1.2; letter-spacing: -0.01em; color: var(--white); text-align: center; max-width: 22ch; margin-inline: auto; text-wrap: balance; }
.statement-cover .statement-attr { font-family: var(--script-font-family); font-size: var(--text-xl); color: var(--tertiary-light); text-align: center; }

/* --- Stats band --------------------------------------------------------------------- */
.stats-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-l); text-align: center; }
@media (max-width: 48rem) { .stats-band { grid-template-columns: 1fr; } }
.stat { display: flex; flex-direction: column; gap: 0.25rem; }
.stat__number { font-family: var(--heading-font-family); font-weight: 600; font-size: clamp(2.5rem, 1.8rem + 3.5vw, 4.5rem); line-height: 1; color: var(--secondary-dark); margin: 0; }
.stat__label { font-family: var(--script-font-family); font-size: var(--text-xl); color: var(--text-muted); margin: 0; }

/* --- Press / featured-in strip ------------------------------------------------------- */
.press-strip { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: var(--space-m) var(--space-xl); }
.press-strip .press-label { font-size: var(--eyebrow-size); font-weight: 600; letter-spacing: var(--eyebrow-letter-spacing); text-transform: uppercase; color: var(--text-muted); margin: 0; flex-basis: 100%; max-width: none; text-align: center; }
.press-strip .press-name { font-family: var(--heading-font-family); font-style: italic; font-size: var(--text-xl); color: var(--neutral); margin: 0; opacity: 0.75; }

/* --- Membership / offering pitch ----------------------------------------------------- */
.pitch { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-xl); align-items: center; }
@media (max-width: 52rem) { .pitch { grid-template-columns: 1fr; } }
.pitch__img { aspect-ratio: 4/3; border-radius: var(--radius-xl); box-shadow: var(--shadow-l); overflow: hidden; margin: 0; }
.pitch__img img { width: 100%; height: 100%; object-fit: cover; }
.pitch .checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.pitch .checklist li { margin: 0; padding-inline-start: 1.9rem; position: relative; font-size: var(--text-l); }
.pitch .checklist li::before { content: "✦"; position: absolute; left: 0; top: 0.1em; color: var(--tertiary-dark); }

/* --- Social row ----------------------------------------------------------------------- */
.social-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-s); }
.social-row .wp-block-button .wp-block-button__link { --btn-bg: var(--white); --btn-bg-hover: var(--secondary-ultra-light); --btn-color: var(--secondary-dark); border-color: var(--border-color); }

/* --- Blog index cards ------------------------------------------------------------ */
.post-grid { display: grid; gap: var(--space-m); grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 0; }
.post-grid > li { margin: 0; display: flex; }
.post-grid > li > .card { flex: 1; }
.card__media .wp-block-post-featured-image { height: 100%; }
.card__media .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.byline p { margin: 0; }
.byline .wp-block-post-date, .byline .wp-block-post-author-name { font-size: var(--text-s); color: var(--text-muted); }
.byline .wp-block-post-author-name { font-weight: 700; color: var(--text); }
.article-head .wp-block-post-terms { display: block; }
.article-head .wp-block-post-terms a, .card__eyebrow a { color: inherit; text-decoration: none; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { font-weight: 600; font-size: var(--text-s); text-decoration: none; }

/* --- Media frames: core/image blocks inside design-system shells ------------------- */
.wp-block-image.pic, .wp-block-image.card__media, .wp-block-image.hero__img,
.wp-block-image.about__img { margin: 0; }
.pic, .card__media, .about__img { overflow: hidden; }
.pic img, .card__media img, .hero__img img, .about__img img, .letter__art img {
  width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;
}
.pic { border-radius: var(--radius-s); }
/* Group-based frames: image fills the frame */
.card__media > .wp-block-image { height: 100%; margin: 0; }
.letter__art > .wp-block-image { position: absolute; inset: 0; margin: 0; border-radius: inherit; overflow: hidden; }
.letter__art > .wp-block-image img { height: 100%; }
/* Editable decor text (paragraph versions of former spans) */
.tape { width: fit-content; margin: 0; }
.stack > .tape { align-self: flex-start; }
.stack--center > .tape { align-self: center; }
.tape--corner { position: absolute; top: -1.1rem; left: 2rem; }
[style*="text-align:center"] > .tape, .text-center > .tape { margin-inline: auto; }
.cap, .card__caption, .dur { margin: 0; }
.poly--inline .cap { font-family: var(--script-font-family); text-align: center; color: var(--secondary-dark); font-size: var(--text-l); padding-top: 0.3rem; }
.about-split .about__photo { position: relative; }

/* --- Wide / full alignment support -------------------------------------------------- */
/* Landing pages: post-content is constrained, sections opt into .alignfull.
   Posts/pages: prose is a centered 44rem column; wide/full break out via margins. */
.wp-block-post-content.is-layout-constrained > * { margin-block-start: 0; margin-block-end: 0; }
.grain > * { margin-block-start: 0; margin-block-end: 0; }
body .wp-site-blocks > * { margin-block-start: 0; margin-block-end: 0; }
body .wp-site-blocks main.wp-block-group > * { margin-block-start: 0; margin-block-end: 0; }
.wave, .wave + *, .marquee, .marquee + * { margin-block-start: 0; margin-block-end: 0; }
/* Editorial rhythm inside the prose column */
.prose .wp-block-post-content > * { margin-block: 0; }
.prose .wp-block-post-content > * + * { margin-block-start: var(--space-m); }
.prose .wp-block-post-content > h2 + * { margin-block-start: var(--space-s); }
.prose .alignwide {
  width: min(var(--content-width), calc(100vw - 2 * var(--gutter)));
  max-width: none;
  margin-left: calc(50% - min(var(--content-width), calc(100vw - 2 * var(--gutter))) / 2);
  margin-right: calc(50% - min(var(--content-width), calc(100vw - 2 * var(--gutter))) / 2);
}
.prose .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.script--h3 { font-size: var(--h3); }
.script--h4 { font-size: var(--h4); }
.script--accent { color: var(--accent-dark); }
.eyebrow--sun { color: var(--tertiary); }
.mt-s { margin-top: var(--space-s); } .mt-m { margin-top: var(--space-m); } .mt-l { margin-top: var(--space-l); }
.mb-s { margin-bottom: var(--space-s); } .mb-m { margin-bottom: var(--space-m); } .mb-l { margin-bottom: var(--space-l); }
.mx-auto { margin-inline: auto; }
.text-center { text-align: center; }
@media (max-width: 48rem) { .post-grid { grid-template-columns: 1fr; } }
.post-grid .card .card__media { aspect-ratio: 4/3; }
.post-grid .wp-block-post-title { font-size: var(--h5); margin: 0; }
.post-grid .wp-block-post-title a { color: var(--heading-color); text-decoration: none; }
.post-grid .wp-block-post-title a:hover { color: var(--accent-dark); }
.post-grid .wp-block-post-date { font-size: var(--text-xs); color: var(--text-muted); }
.post-grid .wp-block-post-excerpt__excerpt { font-size: var(--text-s); color: var(--text-muted); margin: 0; }
