/*
Theme Name:   SophiaZW
Theme URI:    https://sophiasway.com
Description:  SophiaZW site design (approved page references 0052 Home, 0054/0084 Explore, 0089 Contact, Books "A Closer Look", 0059 Invite, 0060/0061 Story readers, 0064/0065 Thoughts, 0066 Daoist Practice, 0070 "Well, hello there.", About 0056, Conversations reference). Child theme of Odrin.
Author:       SophiaZW
Template:     odrin
Version:      1.0.23
Text Domain:  sophiazw
*/

/* ===================== Tokens ===================== */
:root {
	--paper: #fbf9f4;
	--cream: #fefaf1;
	--white: #fefefe;
	--ink: #1f1d1a;
	--ink-2: #3a3631;
	--muted: #7a7268;
	--line: #e5ded3;
	--red: #b31b26;           /* logo / accents */
	--red-bright: #cc2a21;    /* buttons */
	--rail-red: #b41212;
	--rail-yellow: #f5b61d;
	--mustard: #ffe179;       /* Explore */
	--sun: #fde16b;           /* Story — bold */
	--stone: #d2cfc8;         /* Get Updates band */
	--navy: #1c2a56;          /* Invite */
	--blush: #efdad2;         /* Early Readers */
	--wine: #650b27;
	--gold: #c3912f;
	--sand: #e6e0da;

	--serif: "EB Garamond", Garamond, "Times New Roman", serif;
	--display: "Playfair Display", "Didot", Georgia, serif;
	--sans: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--cond: "Barlow Condensed", "Arial Narrow", sans-serif;
	--brush: "Kaushan Script", "Brush Script MT", cursive;

	--gutter: clamp(20px, 5vw, 72px);
	--measure: 40rem;
	--rail-w: 72px;
	--rail-right: clamp(24px, 6vw, 110px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 clamp(18px, 1.05rem + .25vw, 20px)/1.62 var(--serif);
	font-feature-settings: "kern", "liga", "onum";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.screen-reader-text, .szw-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.szw-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; }
.szw-skip:focus { left: 8px; }
.szw-page { position: relative; max-width: 1440px; margin: 0 auto; }
.szw-main { position: relative; min-height: 60vh; padding: 0 var(--gutter); padding-right: calc(var(--rail-right) + var(--rail-w) + 28px); outline: 0; }
body.home .szw-main { padding: 0; }

/* ===================== Logo / header ===================== */
.szw-head { padding: 26px var(--gutter) 10px; padding-right: calc(var(--rail-right) + var(--rail-w) + 28px); }
.szw-logo { margin: 0; font: 500 30px/1 var(--display); letter-spacing: -.01em; }
.szw-logo a { text-decoration: none; color: var(--ink); display: inline-block; position: relative; padding-bottom: 8px; }
.szw-logo span { color: var(--red); }
.szw-logo a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46%; height: 2px; background: var(--red); }
.szw-logo a:hover { color: var(--ink); }

/* ===================== Rail (Contact / Explore) ===================== */
.szw-railtrack { position: absolute; top: 0; bottom: 0; right: var(--rail-right); width: var(--rail-w); z-index: 30; }
.szw-rail { position: sticky; top: 0; height: min(100vh, 1040px); max-height: 100%; display: flex; flex-direction: column; }
.szw-rail a {
	display: flex; flex-direction: column; gap: .75em; align-items: center; justify-content: center; text-decoration: none;
	font: 600 clamp(20px, 1.9vw, 30px)/1 var(--cond); letter-spacing: .14em; text-transform: uppercase;
	position: relative; cursor: pointer;
	transition: transform .22s var(--ease), filter .22s var(--ease), box-shadow .22s var(--ease);
}
.szw-rail a span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; display: block; }
.szw-rail__contact { flex: 0 0 38%; background: var(--rail-red); color: #fff; }
.szw-rail__explore { flex: 1 1 auto; background: var(--rail-yellow); color: #fff; justify-content: flex-start !important; padding-top: clamp(22px, 2.6vw, 36px); }
/* Menu affordance (Sophia 2026-10-28: "not obvious that it is a menu"):
   always-visible open cue (works on touch), slide-out + deeper colour on hover, clear keyboard focus. */
.szw-rail a::after {
	content: ""; flex: none; width: 1.5em; height: 1.5em; box-sizing: border-box;
	border: 1.5px solid currentColor; border-radius: 50%; opacity: .7;
	background: no-repeat center / 55% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7' fill='none' stroke='%23ffffff' stroke-width='2.6'/%3E%3C/svg%3E");
	transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.szw-rail__contact::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 5l-7 7 7 7' fill='none' stroke='%23ffffff' stroke-width='2.6'/%3E%3C/svg%3E"); }
.szw-rail a:hover, .szw-rail a:focus-visible {
	transform: translateX(-10px); filter: saturate(1.15) brightness(.93); color: inherit;
	box-shadow: -8px 0 22px rgba(20, 18, 16, .22); z-index: 2;
}
.szw-rail a:hover::after, .szw-rail a:focus-visible::after { opacity: 1; transform: translateX(-3px); }
.szw-rail a:active { filter: saturate(1.2) brightness(.86); }
.szw-rail a:hover, .szw-rail a:focus-visible { color: #fff; }
.szw-rail a:focus-visible { outline: 3px solid #fff; outline-offset: -7px; }
.szw-rail__contact:focus-visible { outline-color: #fff; }
.szw-railtrack--home .szw-rail a:hover, .szw-railtrack--home .szw-rail a:focus-visible { transform: translateX(-1.2cqi); }
@media (prefers-reduced-motion: reduce) {
	.szw-rail a, .szw-rail a::after { transition: none; }
	.szw-rail a:hover, .szw-rail a:focus-visible, .szw-railtrack--home .szw-rail a:hover { transform: none; }
}

.szw-mbar { display: none; }

/* ===================== Footer (common to every page) ===================== */
.szw-foot { background: #f6f2ea; border-top: 1px solid #e3dccf; color: var(--ink-2); font: 400 16px/1.5 var(--serif); position: relative; z-index: 40; }
.szw-foot__inner { max-width: 1240px; margin: 0 auto; padding: 26px var(--gutter) 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.szw-foot p { margin: 0; }
.szw-foot__logo { font: 500 26px/1 var(--display); }
.szw-foot__logo a { text-decoration: none; color: var(--ink); }
.szw-foot__logo span { color: var(--red); }
.szw-foot__tag { margin-top: 8px !important; font-style: italic; color: var(--muted); font-size: 15px; }
.szw-foot__nav { display: grid; grid-template-columns: repeat(3, auto); gap: 0 56px; }
.szw-foot__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.szw-foot__nav a { text-decoration: none; color: var(--ink-2); }
.szw-foot__nav a:hover { color: var(--red); text-decoration: underline; }
.szw-foot__copy { max-width: 1240px; margin: 0 auto !important; padding: 10px var(--gutter) 18px; border-top: 1px solid #e8e1d5; font-size: 13px; color: var(--muted); }
.szw-foot__copy a { color: inherit; text-underline-offset: 3px; }

/* ===================== Shared bits ===================== */
.szw-title { font: 400 clamp(40px, 5.4vw, 66px)/1.05 var(--display); letter-spacing: -.015em; }
.szw-title--center { text-align: center; }
.szw-title--display { font-weight: 600; font-size: clamp(46px, 7.4vw, 96px); letter-spacing: -.03em; }
.szw-redrule { display: block; width: 72px; height: 3px; background: var(--red); margin: 18px 0 26px; }
.szw-redrule--center { margin-left: auto; margin-right: auto; }
.szw-redrule--thick { width: 120px; height: 5px; }
.szw-goldrule { display: block; width: 52px; height: 2px; background: var(--gold); margin: 14px auto; }
.szw-smallcaps, .szw-eyebrow {
	font: 600 13px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.szw-eyebrow { color: var(--red); }
.szw-ph {
	position: absolute; left: 14px; bottom: 12px; z-index: 2;
	font: italic 400 15px/1.2 var(--serif); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.szw-ph--corner { left: auto; right: calc(var(--rail-right) + var(--rail-w) + 14px); bottom: 10px; font-size: 13px; opacity: .9; }
.szw-prose { max-width: var(--measure); }
.szw-generic { max-width: 54rem; margin: 40px auto 80px; }
.szw-empty { color: var(--muted); font-style: italic; text-align: center; }
.szw-arrowlink { color: var(--red); text-decoration: none; border-bottom: 1px solid currentColor; font-size: 20px; padding-bottom: 2px; }
.szw-pagefoot { margin: 46px 0 10px; }
.szw-ornament { display: block; width: 70px; height: 4px; margin: 0 auto 18px; background: linear-gradient(90deg, transparent, var(--red) 25%, var(--red) 75%, transparent); border-radius: 50%; }

/* ===================== Buttons & forms ===================== */
.szw-btn { border: 0; background: none; padding: 0; }
.szw-btn--pill { background: var(--red-bright); color: #fff; border-radius: 10px; padding: 14px 40px; font: 400 26px/1 var(--serif); transition: background .2s; }
.szw-btn--pill:hover { background: #a91f18; }
.szw-btn--block { width: 100%; background: var(--red); color: #fff; padding: 15px 20px; font: 500 16px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.szw-btn--block:hover { background: #95141e; }
.szw-btn--text { color: var(--red); font: 400 26px/1 var(--serif); padding: 6px 0; white-space: nowrap; }
.szw-btn--text:hover { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.szw-btn--wine { background: var(--wine); color: #fff; padding: 0 34px; font: 600 17px/1 var(--sans); border-radius: 0 4px 4px 0; }
.szw-btn--wine:hover { background: #4e0820; }
.szw-btn[disabled], .szw-form.is-busy .szw-btn { opacity: .6; pointer-events: none; }

.szw-form { margin: 0; }
.szw-field { margin: 0 0 16px; }
.szw-form input[type=email], .szw-form input[type=text], .szw-form textarea {
	width: 100%; font: 400 20px/1.4 var(--serif); color: var(--ink); background: transparent;
	border: 0; border-bottom: 1px solid #b9b2a8; padding: 12px 4px; border-radius: 0; appearance: none;
}
.szw-form textarea { border: 1px solid #cfc8bd; border-radius: 6px; padding: 16px 20px; min-height: 9em; resize: vertical; }
.szw-form input::placeholder, .szw-form textarea::placeholder { color: #8b847b; opacity: 1; }
.szw-form input:focus, .szw-form textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 2px 0 -1px var(--ink); }
.szw-form__status { min-height: 1.4em; margin: 12px 0 0; font-style: italic; color: var(--ink-2); }
.szw-form__status.is-error { color: var(--red); font-style: normal; }
.szw-form.is-done .szw-field, .szw-form.is-done .szw-form__row, .szw-form.is-done .szw-btn, .szw-form.is-done .szw-readers { display: none; }
.szw-form.is-done .szw-form__status { font-size: 1.1em; }

/* subscribe — line variant (homepage) */
.szw-form--subscribe .szw-form__row { display: flex; align-items: flex-end; gap: 30px; }
.szw-form--subscribe .szw-field { flex: 1; margin: 0; }
.szw-form--line input[type=email] { border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.szw-form--line input::placeholder { color: transparent; }
.szw-form--panel input[type=email] { border: 1px solid #c9c2b7; border-radius: 4px; padding: 13px 16px; background: #fff; }
.szw-form--panel .szw-btn--text { background: var(--red); color: #fff; padding: 15px 26px; border-radius: 4px; font: 500 16px/1 var(--sans); letter-spacing: .06em; }
.szw-form--panel .szw-btn--text span { display: none; }
.szw-form--panel .szw-form__row { align-items: stretch; gap: 10px; }

/* invite */
.szw-form--invite input[type=email], .szw-form--invite input[type=text], .szw-form--invite textarea {
	border: 1px solid #d9cfc7; border-radius: 2px; background: #fff; padding: 12px 14px; font: 400 17px/1.4 var(--sans);
}
.szw-form--invite input::placeholder, .szw-form--invite textarea::placeholder { color: #6f6a73; }

/* ===================== Panels ===================== */
.szw-scrim { position: fixed; inset: 0; background: rgba(24, 22, 19, .38); z-index: 90; opacity: 0; transition: opacity .35s var(--ease); }
.szw-scrim.is-open { opacity: 1; }
.szw-panel {
	position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; overflow-y: auto; overscroll-behavior: contain;
	transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -18px 0 50px rgba(0,0,0,.12);
}
.szw-panel.is-open { transform: none; }
.szw-panel--explore { width: min(68vw, 1180px); background: var(--mustard); }
.szw-panel--contact { width: min(42vw, 640px); background: var(--cream); }
.szw-panel__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 44px; height: 44px; border: 0; background: none; padding: 8px; }
.szw-panel__close svg { width: 28px; height: 28px; }
.szw-panel__body { padding: 64px clamp(24px, 5vw, 70px) 56px; }
html.szw-lock, html.szw-lock body { overflow: hidden; }

/* ===================== Explore ===================== */
body.szw-slug-explore { background: var(--mustard); }
.szw-explore > p:first-child { font: 400 21px/1.4 var(--serif); margin: 0 0 34px; }
.szw-explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px clamp(22px, 3.4vw, 60px); }
body.szw-slug-explore .szw-explore { max-width: 1060px; margin: 30px auto 70px; }
.szw-tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.szw-tile__img { display: block; aspect-ratio: 1; overflow: hidden; background: rgba(0,0,0,.06); }
.szw-tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.szw-tile:hover .szw-tile__img img { transform: scale(1.035); }
.szw-tile__label { margin-top: 10px; font: 600 11px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #b8141b; }
.szw-tile__title { font: 400 clamp(20px, 1.7vw, 25px)/1.2 var(--serif); margin-top: 2px; }
.szw-tile:hover .szw-tile__title { color: var(--red); }
.szw-tile__desc { font: 400 15px/1.35 var(--serif); color: #4a453f; margin-top: 2px; }

/* ===================== Contact ===================== */
.szw-contact { max-width: 560px; }
.szw-contactpage { max-width: 640px; margin: 30px auto 80px; }
.szw-contact__title { position: relative; display: inline-block; font: 600 clamp(64px, 8vw, 104px)/1 var(--display); letter-spacing: -.035em; margin: 0 0 54px; padding-bottom: 22px; }
.szw-squiggle { position: absolute; left: 0; bottom: -22px; width: 78%; height: auto; }
.szw-contact__invite { font-size: 23px; margin: 0 0 50px; }
.szw-contact__invite a { text-decoration: none; border-bottom: 2px solid var(--rail-yellow); padding-bottom: 2px; }
.szw-contact__note { font: italic 400 36px/1.1 var(--display); margin: 0 0 18px; position: relative; display: inline-block; }
.szw-contact__note::after { content: ""; position: absolute; left: 20%; right: 18%; bottom: -10px; height: 3px; border-radius: 50%; background: var(--rail-yellow); transform: rotate(-1.5deg); }
.szw-form--contact .szw-btn--pill { margin-top: 18px; }
.szw-contact__email { margin: 26px 0 0; font-size: 19px; color: #6b655e; }
.szw-contact__email a { text-decoration: none; }

/* ===================== Home (SZW-IMG-0052 composition, 1092 wide) ===================== */
body.home { background: #fefefe; }
.szw-home { max-width: 1440px; margin: 0 auto; container-type: inline-size; background: var(--white); }
.szw-home__top { position: relative; }
.szw-home__hero { position: relative; aspect-ratio: 1092 / 722; overflow: hidden; }
.szw-home__heroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.szw-logo--home { position: absolute; left: 3.6%; top: 1.4%; font-size: 2.9cqi; z-index: 2; }
.szw-logo--home a::after { width: 34%; }
.szw-logo--banner { position: absolute; left: 3.4%; top: 2.6%; z-index: 4; font-size: 2.5cqi; }
.szw-logo--banner a::after { width: 34%; }
.szw-home__welcome {
	position: absolute; left: 25.4%; top: 9.4%; width: 51%; z-index: 2;
	font: 400 2.42cqi/1.38 var(--serif); color: #141210;
}
.szw-home__welcome p { margin: 0; }
.szw-hello-word { font: 500 4.05cqi/1 var(--display); letter-spacing: -.03em; margin-right: .1em; }
.szw-home__book { position: absolute; left: 41.3%; top: 61%; width: 16.8%; height: 35.4%; z-index: 2; border-radius: 3px; }
.szw-home__book:hover { box-shadow: 0 0 0 2px rgba(179, 27, 38, .35); }
.szw-home__cols { position: relative; aspect-ratio: 1092 / 468; }
.szw-home__photo { position: absolute; left: 4.3%; top: 7%; width: 38.4%; height: 87.4%; overflow: hidden; display: block; }
.szw-home__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.szw-home__photo:hover img { transform: scale(1.02); }
.szw-home__cols::before { content: ""; position: absolute; left: 45.6%; top: 9%; height: 82%; border-left: 1px solid #e3ddd4; }
.szw-home__story { position: absolute; left: 48.3%; top: 12%; width: 24.6%; z-index: 2; }
.szw-home__story .szw-eyebrow { font-size: 1.32cqi; letter-spacing: .2em; color: #c91f26; margin-bottom: 1.6cqi; }
.szw-home__storytitle { font: 400 5cqi/.98 var(--display); letter-spacing: -.035em; margin: 0 0 2.3cqi; }
.szw-home__storytitle a { text-decoration: none; }
.szw-home__storytext { font: 400 2.1cqi/1.3 var(--serif); margin: 0 0 2.3cqi; }
.szw-home__read { color: #c91f26; text-decoration: none; font: 400 2.15cqi/1 var(--serif); }
.szw-home__read:hover { text-decoration: underline; }
.szw-home__phnote { font-size: 1.35cqi; color: #8a837a; margin-top: 3.4cqi; }
.szw-home__storyart { position: absolute; left: 69.6%; top: 7%; width: 26.3%; height: 87.4%; object-fit: cover; }
.szw-railtrack--home { right: auto; left: 78.3%; width: 7.4%; }
.szw-railtrack--home .szw-rail { position: absolute; inset: 0; height: auto; }
.szw-railtrack--home .szw-rail__contact { flex: 0 0 27.8%; }
.szw-railtrack--home .szw-rail a { font-size: 3.05cqi; letter-spacing: .1em; }
.szw-railtrack--home .szw-rail__explore { padding-top: 2.4cqi; }
.szw-updates { background: var(--stone); padding: 3cqi 6% 2.4cqi; text-align: center; }
.szw-updates h2 { font: 400 clamp(26px, 3cqi, 38px)/1 var(--display); letter-spacing: -.02em; margin-bottom: 1.2cqi; }
.szw-updates .szw-form__status { min-height: 0; }
.szw-updates .szw-form { max-width: 700px; margin: 0 auto; }
.szw-updates .szw-form__status { text-align: center; }

/* ===================== About ===================== */
.szw-about { max-width: 820px; margin: 10px auto 70px; }
.szw-about .szw-title { font-size: clamp(38px, 4.6vw, 52px); margin-bottom: 14px; }
.szw-about__sub { text-align: center; color: #71675d; font-size: 19px; font-style: italic; margin: 0 0 48px; }
.szw-dialogue, .szw-conv__thread { max-width: 760px; margin: 0 auto; }
.szw-turn { display: grid; grid-template-columns: 82px 1fr; gap: 18px; margin: 0 0 20px; font-size: 19px; line-height: 1.65; }
.szw-turn__who { color: #77726b; padding-top: 1px; }
.szw-turn.is-primary .szw-turn__who { color: var(--red); font-weight: 600; }
.szw-turn__text { border-left: 1px solid #e8e1d7; padding-left: 18px; }
.szw-turn__text p { margin: 0 0 .7em; }
.szw-turn__text p:last-child { margin: 0; }
.szw-gallery { margin: 70px auto 0; text-align: center; }
.szw-gallery__title { font: 400 36px/1.1 var(--display); margin-bottom: 32px; }
.szw-gallery__grid { max-width: 660px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.szw-gallery__item { width: 84px; height: 84px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.szw-gallery__item img { width: auto; height: auto; max-width: 100%; max-height: 100%; transition: transform .3s var(--ease); }
.szw-gallery__item:hover img { transform: scale(1.08); }
.szw-gallery__hint { font: 13px/1.3 var(--sans); color: #888; margin: 26px 0 0; }

.szw-lightbox { max-width: 94vw; width: 900px; border: 0; padding: 46px 56px 28px; background: var(--cream); color: var(--ink); }
.szw-lightbox::backdrop { background: rgba(24, 23, 20, .78); }
.szw-lightbox__viewer { display: grid; grid-template-columns: 40px 1fr 40px; gap: 14px; align-items: center; }
.szw-lightbox figure { margin: 0; }
.szw-lightbox img { max-height: 76vh; margin: 0 auto; object-fit: contain; }
.szw-lightbox figcaption { text-align: center; margin: 16px auto 0; max-width: 640px; font-size: 17px; }
.szw-lightbox button { border: 0; background: none; padding: 6px; }
.szw-lightbox__close { position: absolute; top: 8px; right: 10px; width: 40px; }

/* ===================== Invite (0059) ===================== */
body.szw-slug-invite-sophia { background: #fdfdfb; }
body.szw-slug-invite-sophia .szw-head { position: absolute; z-index: 5; }
body.szw-slug-invite-sophia .szw-main { padding-left: 0; padding-right: 0; }
.szw-invite { color: var(--navy); max-width: 1440px; margin: 0 auto; }
.szw-invite__hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: center; overflow: hidden; }
.szw-invite__heroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.szw-invite__hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(250, 246, 240, .78) 0%, rgba(250, 246, 240, .52) 34%, rgba(250, 246, 240, 0) 56%); }
.szw-invite__intro { position: relative; z-index: 2; width: min(46%, 560px); margin-left: var(--gutter); padding: 110px 0 60px; }
.szw-invite__title { font: 400 clamp(38px, 4.6vw, 60px)/1.04 var(--serif); letter-spacing: -.01em; margin-bottom: 30px; }
.szw-invite__title em { display: block; color: var(--red); }
.szw-invite__text { font: 400 clamp(18px, 1.5vw, 21px)/1.4 var(--serif); }
.szw-invite__text p { margin-bottom: 1em; }
.szw-ways, .szw-invite__form { text-align: center; padding: 34px var(--gutter) 10px; padding-right: calc(var(--rail-right) + var(--rail-w) + 28px); }
.szw-invite__h2 { font: 400 clamp(30px, 3.2vw, 40px)/1.1 var(--serif); margin-bottom: 30px; }
.szw-invite__h2--big { font-size: clamp(40px, 4.4vw, 56px); }
.szw-ways__list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(6, 1fr); }
.szw-ways__list li { padding: 4px 8px 16px; font: 400 19px/1.15 var(--serif); }
.szw-ways__list a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.szw-ways__list a:hover span { color: var(--red); text-decoration: underline; }
.szw-ways__list li + li { border-left: 1px solid #ccd1dc; }
.szw-ways__list svg { width: 40px; height: 40px; fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.szw-ways__tag { font: italic 400 20px/1.4 var(--serif); margin: 22px 0 30px; }
.szw-invite__form .szw-form { max-width: 850px; margin: 0 auto 60px; text-align: left; }
.szw-invite__form .szw-field { margin-bottom: 14px; }

/* ===================== Book page ===================== */
body.szw-slug-book { background: #f9f6ed; }
body.szw-slug-book .szw-head { position: absolute; z-index: 5; }
body.szw-slug-book .szw-main { padding-left: 0; padding-right: calc(var(--rail-right) + var(--rail-w) + 12px); }
.szw-bookhero { position: relative; max-width: 1240px; margin: 0 auto; aspect-ratio: 1122 / 745; container-type: inline-size; }
.szw-bookhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.szw-bookhero__head { position: absolute; left: 0; right: 0; top: 2.4%; text-align: center; z-index: 2; }
.szw-bookhero__kicker { font: 400 1.4cqi/1 var(--serif); letter-spacing: .4em; color: #8a1c26; text-transform: uppercase; margin: 0 0 1.2cqi; }
.szw-bookhero__title { font: 600 5.3cqi/1 var(--display); letter-spacing: -.03em; color: #141210; }
.szw-bookhero .szw-goldrule { width: 4.6cqi; margin: 1.3cqi auto 1.1cqi; }
.szw-bookhero__lead { font: 400 2.1cqi/1.2 var(--serif); margin: 0 0 .7cqi; }
.szw-bookhero__intro { font: 400 1.55cqi/1.45 var(--serif); color: #5d564e; max-width: 46cqi; margin: 0 auto; }
.szw-book { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.szw-book__stage { position: absolute; inset: 0; }
.szw-book__page {
	position: absolute; display: none; pointer-events: auto; color: #29241e;
	font: 400 1.36cqi/1.52 var(--serif); padding: 0 1cqi;
}
.szw-book__page.is-left { display: block; left: 19.8%; top: 37.5%; width: 28.4%; height: 56.5%; }
.szw-book__page.is-right { display: block; left: 54%; top: 42.4%; width: 23%; height: 51.6%; }
.szw-book__page.is-turning { animation: szw-turn .55s var(--ease); }
@keyframes szw-turn { 0% { opacity: .15; transform: translateX(2%) } 100% { opacity: 1; transform: none } }
.szw-book__kicker { text-align: center; font: 600 .92cqi/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin: 0 0 1.6cqi; }
.szw-book__title { text-align: center; font: 500 2.35cqi/1.12 var(--serif); }
.szw-book__rule { display: block; width: 5cqi; height: 1px; background: var(--gold); margin: 1.6cqi auto 2.4cqi; }
.szw-book__text p { margin: 0 0 1.05em; }
.szw-book__text.has-dropcap p:first-child::first-letter { float: left; font: 400 5.4cqi/.78 var(--serif); color: #c08a2a; margin: .45cqi .7cqi 0 0; }
.szw-book__num { position: absolute; left: 0; right: 0; bottom: 1cqi; text-align: center; font-size: 1.1cqi; color: #6d655c; margin: 0; }
.szw-book__nav {
	position: absolute; top: 59%; width: 4.2cqi; height: 4.2cqi; min-width: 38px; min-height: 38px; transform: translateY(-50%);
	border: 0; border-radius: 50%; background: #fff; color: #7a1222; box-shadow: 0 4px 16px rgba(0,0,0,.12); pointer-events: auto; display: grid; place-items: center;
}
.szw-book__nav svg { width: 46%; }
.szw-book__nav--prev { left: 5.2%; }
.szw-book__nav--next { right: 5.2%; }
.szw-book__nav[disabled] { opacity: .45; cursor: default; }
.szw-book__bar {
	position: relative; pointer-events: auto; max-width: 1240px; margin: 0 auto; display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 24px; padding: 6px 7.3% 28px;
}
.szw-bookhero .szw-book__bar { position: absolute; left: 0; right: 0; top: 100%; }
.szw-book__slider input { width: 100%; max-width: 340px; accent-color: #8a1c26; }
.szw-book__count { margin: 0; font-size: 17px; white-space: nowrap; }
.szw-book__tools { display: flex; gap: 34px; }
.szw-book__tools button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 400 16px/1 var(--serif); }
.szw-book__tools svg { width: 28px; height: 22px; }
.szw-book__chapters { position: absolute; right: 7.3%; top: 100%; z-index: 9; list-style: none; margin: 0; padding: 12px 0; background: #fffdf7; box-shadow: 0 10px 34px rgba(0,0,0,.14); min-width: 240px; }
.szw-book__chapters button { width: 100%; text-align: left; border: 0; background: none; padding: 8px 20px; font-size: 17px; }
.szw-book__chapters button:hover { background: #f3ede1; }
.szw-book:fullscreen { background: #efe9df; }
.szw-bookpage .szw-circle { margin-top: 96px; }
.szw-circle { background: var(--blush); padding: 30px var(--gutter) 34px; text-align: center; }
.szw-circle h2 { font: 600 clamp(30px, 3vw, 38px)/1.1 var(--display); letter-spacing: -.025em; }
.szw-circle__lead { font-size: 20px; max-width: 34em; margin: 10px auto 22px; }
.szw-readers { display: grid; grid-template-columns: 1fr 1fr; text-align: left; max-width: 1000px; margin: 0 auto; }
.szw-readers__col { padding-right: 34px; }
.szw-readers__col--right { border-left: 1px solid #c9b3ab; padding: 0 0 0 34px; }
.szw-readers__head { display: flex; align-items: center; gap: 12px; font: 600 14px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8a1c26; margin: 0 0 14px; }
.szw-readers__head svg { width: 28px; height: 28px; color: #8a1c26; flex: none; }
.szw-readers__join { display: flex; }
.szw-readers__join .szw-field { flex: 1; margin: 0; }
.szw-readers__join input[type=email] { background: #fff; border: 1px solid #e3d3cc; border-right: 0; border-radius: 4px 0 0 4px; padding: 13px 16px; font: 400 17px/1.3 var(--sans); }
.szw-readers__fine, .szw-readers__text { font-size: 17px; line-height: 1.4; margin: 14px 0 0; }
.szw-readers__text { margin: 0 0 10px; color: #3d3833; }
.szw-readers__checks { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 10px 40px; }
.szw-readers__checks label { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.szw-readers__checks input { width: 20px; height: 20px; accent-color: var(--wine); }
.szw-others { max-width: 1000px; margin: 0 auto; padding: 50px var(--gutter) 30px; text-align: center; }
.szw-others .szw-redrule { margin-left: auto; margin-right: auto; }
.szw-others h2 { font: 400 clamp(30px, 3vw, 38px)/1.15 var(--serif); }
.szw-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 60px; text-align: left; }
.szw-quote { margin: 0; }
.szw-quote:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 480px; justify-self: center; }
.szw-quote blockquote { margin: 0 0 8px; font-size: 19px; line-height: 1.4; }
.szw-quote figcaption { font: 400 13px/1.2 var(--sans); color: #a0263a; }
.szw-next { max-width: 1000px; margin: 30px auto 70px; padding: 0 var(--gutter); }
.szw-next h2 { font: 600 clamp(30px, 3vw, 38px)/1.1 var(--display); letter-spacing: -.02em; }
.szw-next > p { font-size: 19px; margin: 6px 0 22px; }
.szw-next__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.szw-next__list li { text-align: center; padding: 0 10px; }
.szw-next__list a { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; padding: 6px; border-radius: 6px; transition: background .2s; }
.szw-next__list a:hover { background: #f1ebe0; color: inherit; }
.szw-next__list li + li { border-left: 1px solid #ddd5c9; }
.szw-next__list svg { width: 40px; height: 36px; margin-bottom: 6px; }
.szw-next__list strong { font-weight: 500; font-size: 19px; }
.szw-next__list span { font-size: 17px; color: #4a453f; }

/* ===================== Story readers ===================== */
.szw-story { max-width: 920px; margin: 0 auto 60px; }
.szw-story__text { max-width: 760px; margin: 0 auto; font-size: clamp(19px, 1.25vw, 22px); line-height: 1.75; }
.szw-story__text p { margin-bottom: 1.35em; }
.szw-story__after { display: flex; justify-content: center; gap: 70px; margin: 50px 0 10px; padding-top: 26px; }
.szw-story__after a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 21px; }
.szw-story__after svg { width: 28px; height: 24px; }
.szw-audio { display: flex; align-items: center; gap: 22px; margin: 0 0 40px; font-size: 20px; }
.szw-audio audio { width: 100%; }
a.szw-audio { text-decoration: none; color: inherit; }
a.szw-audio:hover span:last-child { text-decoration: underline; }
.szw-audio__btn { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #b70f11; color: #fff; flex: none; }
.szw-audio__btn svg { width: 24px; }
/* literary */
body.single-szw_story:has(.szw-story--literary) { background: var(--cream); }
.szw-story--literary .szw-story__band { margin: 0 0 30px; }
.szw-story--literary .szw-story__band img { width: 100%; border-radius: 2px; }
.szw-story--literary .szw-story__kicker { font: 400 15px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: #b70f11; margin: 0 0 22px; }
.szw-story--literary .szw-story__title { font: 600 clamp(52px, 8vw, 104px)/.95 var(--display); letter-spacing: -.04em; }
.szw-story--literary .szw-story__sub { font: 400 clamp(26px, 3.2vw, 38px)/1.2 var(--serif); margin: 22px 0 30px; }
.szw-story--literary .szw-audio { padding-bottom: 32px; border-bottom: 1px solid #d9d2c6; }
.szw-story--literary .szw-story__text > p:first-of-type::first-letter { float: left; font: 400 5.4em/.8 var(--display); color: #b70f11; margin: .06em .12em 0 0; }
.szw-story--literary .szw-story__after a { color: #b70f11; }
/* bold */
body.single-szw_story:has(.szw-story--bold) { background: var(--sun); }
.szw-story--bold .szw-story__head { display: grid; grid-template-columns: 1fr 1.05fr; gap: 20px; align-items: start; margin-bottom: 20px; }
.szw-story--bold .szw-story__title { font: 400 clamp(76px, 12vw, 168px)/.88 var(--brush); color: #e3201b; transform: rotate(-4deg); margin: 10px 0 34px; position: relative; padding-bottom: 20px; }
.szw-story--bold .szw-story__title::after { content: ""; position: absolute; left: 4%; right: 6%; bottom: -6px; height: 10px; background: #e3201b; border-radius: 40% 60% 50% 40%; transform: rotate(-2deg); }
.szw-story--bold .szw-story__sub { font: italic 400 clamp(24px, 2.6vw, 32px)/1.2 var(--serif); margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid #e3201b; display: inline-block; }
.szw-story--bold .szw-story__kicker { font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #3d3622; transform: rotate(-2deg); border-bottom: 2px solid #e3201b; display: inline-block; padding: 6px 0 8px; }
.szw-story--bold .szw-story__snap { transform: rotate(3deg); margin-top: 20px; }
.szw-story--bold .szw-story__snap img { width: 100%; }
.szw-story--bold .szw-audio--ph { background: #fbf6ea; padding: 22px 50px; clip-path: polygon(0 8%, 4% 0, 30% 6%, 60% 0, 96% 5%, 100% 0, 100% 92%, 96% 100%, 70% 94%, 40% 100%, 3% 95%, 0 100%); }
.szw-story--bold .szw-audio__btn { background: #e3201b; }
.szw-story--bold .szw-story__text > p:first-of-type::first-letter { float: left; font: 400 5.6em/.8 var(--brush); color: #111; margin: .05em .14em 0 -.05em; }
.szw-story--bold .szw-story__after { border-top: 3px solid #e3201b; }

/* ===================== Thoughts ===================== */
.szw-thoughtspage { max-width: 760px; margin: 20px auto 60px; }
.szw-thoughtspage .szw-title { font-size: clamp(46px, 5.4vw, 64px); }
.szw-thoughtspage__blurb { font-size: 21px; line-height: 1.5; margin: 0 2.5% 20px; }
.szw-thoughts { display: grid; gap: 10px; }
.szw-thought { background: #eff0e8; padding: 24px 26px 16px; }
.szw-thought:nth-child(3n+2) { background: #f3f0ec; }
.szw-thought p { margin: 0 0 .6em; font-size: 19px; line-height: 1.55; }
.szw-thought .szw-thought__meta { font: 400 12.5px/1.3 var(--sans); color: #8a857d; margin: 6px 0 0; }

/* ===================== Daoist Practice ===================== */
.szw-practice { max-width: 1100px; margin: 0 auto 30px; }
.szw-practice .szw-title { margin-top: 0; }
.szw-practice .szw-smallcaps { margin-top: 10px; }
.szw-practice__intro { font-size: clamp(21px, 2vw, 27px); line-height: 1.35; margin-bottom: 16px; }
.szw-video { position: relative; margin: 0; }
.szw-video img { background: #22201c; width: 100%; aspect-ratio: 1083 / 508; object-fit: cover; }
.szw-video__badge { position: absolute; top: 3.5%; right: 2%; background: rgba(20, 20, 18, .72); color: #fff; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 8px 12px; border-radius: 4px; }
.szw-video__play { text-decoration: none; position: absolute; left: 48.5%; top: 52.6%; transform: translate(-50%, -50%); width: 98px; height: 98px; border-radius: 50%; background: #a91b22; color: #fff; border: 2px solid rgba(255,255,255,.9); display: grid; place-items: center; }
.szw-video__play svg { width: 40px; margin-left: 6px; }
.szw-video__play[disabled] { cursor: default; }
.szw-video figcaption { font-size: 15px; color: #827a70; margin-top: 8px; }
.szw-video iframe, .szw-video video { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.szw-practice__about { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--sand); padding: 22px 30px; margin-top: 30px; }
.szw-practice__about h2 { font: 400 clamp(30px, 3vw, 38px)/1.1 var(--display); margin-bottom: 6px; }
.szw-practice__about p { margin: 0; font-size: 19px; }
.szw-pills { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.szw-pills a { display: block; background: #d9d2ca; border-radius: 999px; padding: 6px 18px; font-size: 17px; text-decoration: none; }
.szw-pills a:hover { background: #cbc2b8; color: inherit; }

/* ===================== Well, hello there. ===================== */
.szw-hello { max-width: 1240px; margin: 0 auto 30px; }
.szw-hello__head { max-width: 800px; margin: 0 0 30px 14%; }
.szw-hello__head .szw-redrule { width: 72px; margin: 6px 0 22px; }
.szw-hello__intro { font-size: 20px; line-height: 1.5; }
.szw-moments { position: relative; display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 0 0 0 10%; }
.szw-moments__media { position: relative; margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 747 / 473; background: #eee8de; }
.szw-moments__media img, .szw-moments__media video, .szw-moments__media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; transition: opacity .35s var(--ease); }
.szw-moments__media.is-swapping img { opacity: 0; }
.szw-moments__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: #fff; color: #1f1d1a; border: 0; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.szw-moments__play svg { width: 30px; margin-left: 4px; }
.szw-moments__pager { display: flex; justify-content: space-between; align-items: center; padding: 14px 5% 0; }
.szw-moments__pager button { border: 0; background: none; width: 40px; height: 40px; padding: 6px; }
.szw-moments__label { font: 500 12px/1 var(--sans); letter-spacing: .3em; color: #444; }
.szw-moments__caption { font: 400 clamp(24px, 2.2vw, 32px)/1.15 var(--display); letter-spacing: -.01em; margin: 0 0 6px; }
.szw-moments__sub { color: #8a847c; font-size: 16px; margin: 0 0 46px; min-height: 1em; }
.szw-moments__surprise { display: block; width: 100%; max-width: 300px; border: 2px solid #d6262a; border-radius: 999px; background: none; color: #c41e24; font: 400 30px/1 var(--serif); padding: 14px 20px; transition: background .2s, color .2s; }
.szw-moments__surprise:hover { background: #c41e24; color: #fff; }
.szw-moments__browse { display: block; margin: 18px auto 0; max-width: 300px; width: 100%; border: 0; background: none; text-decoration: underline; text-underline-offset: .25em; font-size: 17px; }
.szw-moments__teasers { position: absolute; inset: 0; pointer-events: none; }
.szw-moments__teasers button { position: absolute; pointer-events: auto; border: 0; padding: 0; background: #ddd; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.1); transition: transform .3s var(--ease); }
.szw-moments__teasers button:hover { transform: scale(1.04) rotate(-1deg); }
.szw-moments__teasers img { width: 100%; height: 100%; object-fit: cover; }
.szw-moments__teasers button:nth-child(1) { left: -2%; top: -38%; width: 12.5%; aspect-ratio: 185 / 177; }
.szw-moments__teasers button:nth-child(2) { left: -1%; top: 82%; width: 11%; aspect-ratio: 165 / 134; }
.szw-moments__teasers button:nth-child(3) { right: 1%; top: -26%; width: 11%; aspect-ratio: 133 / 133; }
.szw-moments__teasers button:nth-child(4) { right: 0; top: 84%; width: 13%; aspect-ratio: 161 / 135; }
.szw-moments__all { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin-top: 140px; }
.szw-moments__all button { border: 0; padding: 0; background: none; text-align: left; font-size: 15px; }
.szw-moments__all img { aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 6px; }

/* ===================== Conversations ===================== */
.szw-conv { max-width: 820px; margin: 10px auto 60px; }
.szw-conv__kicker { text-align: center; font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #b31b26; margin: 0 0 16px; }
.szw-conv__title { text-align: center; font: 600 clamp(32px, 4vw, 46px)/1.15 var(--display); }
.szw-conv__sub { text-align: center; font-style: italic; color: #4a453f; margin: 12px 0 30px; }
.szw-conv__thread > p { font-size: 19px; margin-bottom: 28px; }
.szw-conv__thread { position: relative; }
.szw-conv .szw-turn { grid-template-columns: 70px 1fr; position: relative; }
.szw-conv .szw-turn::before { content: ""; position: absolute; left: -26px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #c7c2bb; }
.szw-conv .szw-turn.is-primary::before { background: #a51d24; }
.szw-conv .szw-turn.is-other .szw-turn__text { background: #f9efea; border: 0; border-radius: 6px; padding: 14px 18px; }
.szw-conv .szw-turn__text { border-left: 0; padding-left: 0; }
.szw-conv__reflection { margin: 40px 0 0; border: 1px solid #e5b3b3; border-radius: 8px; background: #fbf1ee; padding: 22px 26px; }
.szw-conv__reflection h2 { font: 600 26px/1.1 var(--display); color: #b31b26; margin-bottom: 10px; }
.szw-conv__browse { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 40px; text-align: center; margin: 34px 0 0; }
.szw-conv__browse a { color: #b31b26; text-decoration: none; font-weight: 600; }

/* ===================== Lists (stories, conversations) ===================== */
.szw-listpage { max-width: 1040px; margin: 20px auto 40px; }
.szw-listpage__intro { max-width: 640px; margin: 0 auto 34px; text-align: center; font-size: 20px; }
.szw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 34px; }
.szw-card { text-decoration: none; display: flex; flex-direction: column; }
.szw-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: #eee6d8; display: block; }
.szw-card__img img { width: 100%; height: 100%; object-fit: cover; }
.szw-card__title { font: 400 26px/1.2 var(--display); margin-top: 12px; }
.szw-card__desc { color: #5d564e; font-size: 17px; }
.szw-list { list-style: none; padding: 0; margin: 0 auto; max-width: 720px; }
.szw-list li { border-bottom: 1px solid var(--line); }
.szw-list a { display: block; padding: 22px 0; text-decoration: none; }
.szw-list__title { display: block; font: 400 26px/1.25 var(--display); }
.szw-list__desc { color: #6b655e; font-style: italic; }

/* ===================== Get Updates page ===================== */
.szw-getupdates { max-width: 560px; margin: 70px auto 100px; text-align: center; }
.szw-getupdates__text { font-size: 20px; margin: 18px 0 28px; }
.szw-getupdates .szw-form { text-align: left; }
.szw-getupdates__fine { font-size: 15px; color: var(--muted); margin-top: 18px; }

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
	:root { --rail-w: 60px; --rail-right: 20px; }
	.szw-ways__list { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
	.szw-ways__list li:nth-child(4) { border-left: 0; }
	.szw-panel--contact { width: min(60vw, 640px); }
	.szw-panel--explore { width: 84vw; }
}

@media (max-width: 760px) {
	:root { --gutter: 20px; }
	body { padding-bottom: 56px; }
	.szw-main, .szw-head, .szw-ways, .szw-invite__form { padding-right: var(--gutter); }
	.szw-railtrack { display: none; }
	.szw-mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: 56px; }
	.szw-mbar a { display: flex; align-items: center; justify-content: center; text-decoration: none; font: 600 18px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; }
	.szw-mbar__contact { background: var(--rail-red); color: #fff; }
	.szw-mbar__explore { background: var(--rail-yellow); color: #fff; }
	.szw-panel--explore, .szw-panel--contact { width: 100vw; }
	.szw-panel__body { padding: 64px 20px 90px; }
	.szw-explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
	.szw-tile__desc { font-size: 14px; }
	.szw-foot__inner { flex-direction: column; gap: 18px; padding-top: 22px; }
	.szw-foot__nav { gap: 0 22px; font-size: 15px; }
	.szw-logo--banner { display: none; }

	/* Home: stack the composition */
	.szw-home { container-type: normal; }
	.szw-home__hero { aspect-ratio: auto; display: flex; flex-direction: column; }
	.szw-home__heroimg { position: relative; aspect-ratio: 850 / 722; height: auto; object-position: 0 0; order: 2; }
	.szw-logo--home { position: static; order: 0; font-size: 28px; padding: 22px 20px 8px; }
	.szw-home__welcome { position: static; order: 1; width: auto; padding: 8px 20px 18px; font-size: 21px; line-height: 1.45; }
	.szw-hello-word { font-size: 38px; }
	.szw-home__book { left: 50%; top: auto; bottom: 4%; width: 30%; height: 34%; transform: translateX(-50%); }
	.szw-home__cols { aspect-ratio: auto; display: flex; flex-direction: column; gap: 26px; padding: 26px 20px 34px; }
	.szw-home__cols::before, .szw-home__storyart { display: none; }
	.szw-home__photo, .szw-home__story { position: relative; left: auto; top: auto; width: auto; height: auto; }
	.szw-home__photo img { aspect-ratio: 419 / 409; height: auto; }
	.szw-home__story .szw-eyebrow { font-size: 13px; margin-bottom: 12px; }
	.szw-home__storytitle { font-size: 44px; margin-bottom: 14px; }
	.szw-home__storytext, .szw-home__read { font-size: 21px; }
	.szw-home__phnote { font-size: 14px; margin-top: 18px; }
	.szw-updates { padding: 30px 20px 34px; }
	.szw-updates h2 { font-size: 32px; margin-bottom: 14px; }
	.szw-form--subscribe .szw-form__row { gap: 14px; }
	.szw-form--line input::placeholder { color: #8b847b; }
	.szw-btn--text { font-size: 22px; }

	.szw-turn { grid-template-columns: 1fr; gap: 2px; }
	.szw-turn__text { border-left: 0; padding-left: 0; }
	.szw-conv .szw-turn::before { display: none; }
	.szw-gallery__item { width: 62px; height: 62px; }
	.szw-lightbox { padding: 44px 6px 18px; }
	.szw-lightbox__viewer { grid-template-columns: 30px 1fr 30px; gap: 4px; }

	.szw-invite__hero { min-height: 0; flex-direction: column; align-items: stretch; }
	.szw-invite__hero::before { display: none; }
	.szw-invite__heroimg { position: relative; aspect-ratio: 4 / 3; height: auto; order: 2; }
	.szw-invite__intro { width: auto; margin: 0; padding: 86px 20px 10px; order: 1; }
	.szw-ph--corner { bottom: 8px; }
	.szw-ways__list { grid-template-columns: repeat(2, 1fr); }
	.szw-ways__list li:nth-child(odd) { border-left: 0; }
	.szw-ways__list li:nth-child(4) { border-left: 1px solid #ccd1dc; }

	.szw-bookhero { aspect-ratio: auto; container-type: normal; padding-top: 70px; }
	.szw-bookhero__bg { display: none; }
	.szw-bookhero__head { position: static; padding: 0 20px 18px; }
	.szw-bookhero__kicker { font-size: 13px; margin-bottom: 10px; }
	.szw-bookhero__title { font-size: 44px; }
	.szw-bookhero .szw-goldrule { width: 52px; margin: 12px auto; }
	.szw-bookhero__lead { font-size: 21px; margin-bottom: 8px; }
	.szw-bookhero__intro { font-size: 17px; max-width: none; }
	.szw-book { position: relative; inset: auto; pointer-events: auto; }
	.szw-book__stage { position: relative; margin: 0 16px; background: #fffdf6; box-shadow: 0 10px 30px rgba(60, 40, 20, .14); border-radius: 3px; min-height: 420px; }
	.szw-book__page { font-size: 18px; padding: 34px 26px 52px; }
	.szw-book__page.is-left { position: relative; left: auto; top: auto; width: auto; height: auto; }
	.szw-book__page.is-right { display: none; }
	.szw-book__kicker { font-size: 11px; margin-bottom: 14px; }
	.szw-book__title { font-size: 28px; }
	.szw-book__rule { width: 50px; margin: 14px auto 20px; }
	.szw-book__text.has-dropcap p:first-child::first-letter { font-size: 3.6em; margin: 4px 8px 0 0; }
	.szw-book__num { font-size: 13px; bottom: 14px; }
	.szw-book__nav { top: auto; bottom: -22px; transform: none; width: 44px; height: 44px; }
	.szw-book__nav--prev { left: 20px; } .szw-book__nav--next { right: 20px; }
	.szw-bookhero .szw-book__bar { position: relative; top: auto; grid-template-columns: 1fr; justify-items: center; gap: 14px; padding: 40px 20px 10px; }
	.szw-book__tools { gap: 26px; }
	.szw-bookpage .szw-circle { margin-top: 30px; }
	body.szw-slug-book .szw-main { padding-right: 0; }
	.szw-book__page.is-left { min-height: 420px; }
	.szw-readers { grid-template-columns: 1fr; }
	.szw-readers__col { padding: 0; }
	.szw-readers__col--right { border-left: 0; border-top: 1px solid #c9b3ab; margin-top: 24px; padding: 22px 0 0; }
	.szw-quotes { grid-template-columns: 1fr; }
	.szw-next__list { grid-template-columns: 1fr; gap: 22px; }
	.szw-next__list li + li { border-left: 0; }

	.szw-story--bold .szw-story__head { grid-template-columns: 1fr; }
	.szw-story--bold .szw-story__title { margin-bottom: 26px; }
	.szw-story--bold .szw-audio--ph { padding: 18px 22px; }
	.szw-story__after { gap: 30px; }

	.szw-practice__about { flex-direction: column; align-items: flex-start; }
	.szw-video__play { width: 66px; height: 66px; }
	.szw-video__play svg { width: 28px; }

	.szw-hello__head { margin-left: 0; }
	.szw-moments { grid-template-columns: 1fr; padding: 0; gap: 24px; }
	.szw-moments__teasers { display: none; }
	.szw-moments__sub { margin-bottom: 20px; }
	.szw-moments__all { margin-top: 20px; grid-template-columns: repeat(2, 1fr); }
	.szw-moments__surprise, .szw-moments__browse { max-width: none; }
	.szw-contact__title { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.szw-railtrack, .szw-mbar, .szw-panel, .szw-scrim, .szw-foot__invite { display: none !important; }
	body { background: #fff; }
}

/* ===================== One-on-One (SZW-IMG-0092 Sovereign Counsel) ===================== */
body.szw-slug-one-on-one { background: #101315; }
body.szw-slug-one-on-one .szw-logo a { color: #eee8dd; }
body.szw-slug-one-on-one .szw-logo span { color: #d55a4f; }
body.szw-slug-one-on-one .szw-main { padding-right: calc(var(--rail-right) + var(--rail-w) + 12px); }
.szw-ooo { max-width: 760px; margin: 0 auto; padding: 10px 0 80px; color: #eee8dd; font: 400 20px/1.65 var(--serif); }
.szw-ooo__eyebrow { margin: 0 0 40px; text-align: right; font: 600 12px/1 var(--sans, Arial, sans-serif); letter-spacing: .2em; text-transform: uppercase; color: #b8b6af; }
.szw-ooo h1 { font: 400 clamp(44px, 6vw, 68px)/1.1 var(--display); color: #f3eee4; margin: 0 0 14px; letter-spacing: -.005em; }
.szw-ooo .szw-ooo__sub::after { content: ""; display: block; width: 62px; height: 2px; background: #d55a4f; margin-top: 22px; }
.szw-ooo .szw-ooo__sub { font-style: italic; color: #d9be79; font-size: 23px; margin: 0 0 48px; }
.szw-ooo .szw-ooo__lead { font-size: 24px; line-height: 1.55; }
.szw-ooo h2 { font: 600 12px/1 var(--sans, Arial, sans-serif); letter-spacing: .2em; text-transform: uppercase; color: #d9be79; border-bottom: 1px solid #353c3c; padding-bottom: 15px; margin: 56px 0 26px; }
.szw-ooo p { margin: 0 0 20px; }
.szw-ooo a { color: inherit; text-decoration: underline; text-decoration-color: #d9be79; text-underline-offset: 5px; }
.szw-ooo a:hover, .szw-ooo a:focus-visible { color: #d9be79; }
.szw-ooo .szw-ooo__cta { margin: 48px 0 0; padding: 32px; background: #1b2225; border: 1px solid #3b4748; text-align: center; font-size: 23px; }
.szw-ooo .szw-ooo__foot { margin-top: 56px; text-align: center; font: 500 11px/1.8 var(--sans, Arial, sans-serif); letter-spacing: .14em; color: #b8b6af; }
@media (max-width: 760px) {
	body.szw-slug-one-on-one .szw-main { padding-right: var(--gutter); }
	.szw-ooo { font-size: 18px; }
	.szw-ooo .szw-ooo__lead { font-size: 21px; }
}

/* ===================== Above-the-fold tuning (2026-10-28, measured at 1366×657, 1440×789, 1920×969) ===================== */
@media (min-width: 761px) {
	/* Home: fit hero to the screen height so the free-story row peeks above the fold. */
	.szw-home { max-width: min(1440px, calc((100vh - 56px) * 1092 / 722)); }
	/* Book: page-turn controls stay visible at the bottom of the screen until the book is scrolled past. */
	.szw-book { bottom: -78px; display: flex; flex-direction: column; }
	.szw-book__stage { position: relative; inset: auto; flex: 1 1 auto; }
	.szw-bookhero .szw-book__bar { position: sticky; top: auto; bottom: 0; z-index: 5; background: rgba(249, 246, 237, .94); box-shadow: 0 -6px 16px rgba(20, 18, 16, .06); }
}
/* Stories: shorter opening so the first lines of the story show on the first screen. */
.szw-story--literary .szw-story__band { margin-bottom: 22px; }
.szw-story--literary .szw-story__band img { max-height: 32vh; object-fit: cover; object-position: 50% 100%; }
.szw-story--literary .szw-story__kicker { margin-bottom: 14px; }
.szw-story--literary .szw-story__title { font-size: clamp(52px, min(8vw, 12vh), 104px); }
.szw-story--literary .szw-story__sub { margin: 14px 0 20px; }
.szw-story--literary .szw-audio { padding-bottom: 20px; }
.szw-story--bold .szw-story__snap img { max-height: 48vh; width: auto; max-width: 100%; display: block; margin-left: auto; }
.szw-story--bold .szw-story__title { font-size: clamp(76px, min(12vw, 20vh), 168px); margin-bottom: 24px; }

/* Home: make the book in the hero visibly clickable (owner, 2026-10-28). */
.szw-home__book { cursor: pointer; transition: box-shadow .3s var(--ease); }
.szw-home__book:hover, .szw-home__book:focus-visible { box-shadow: 0 0 0 2px rgba(201, 31, 38, .45), 0 1.2cqi 3cqi rgba(20, 18, 16, .18); outline: none; }
.szw-home__booklabel { position: absolute; right: calc(100% + 1.8cqi); bottom: 12%; display: flex; flex-direction: column; align-items: flex-end; gap: .5cqi; white-space: nowrap; text-align: right; }
.szw-home__bookkicker { font: 600 1.3cqi/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #c91f26; }
.szw-home__bookcta { font: 400 2.05cqi/1.1 var(--serif); color: var(--ink); padding-bottom: .35cqi; border-bottom: 1px solid rgba(201, 31, 38, .55); transition: border-color .3s var(--ease); }
.szw-home__bookcta span { display: inline-block; color: #c91f26; transition: transform .3s var(--ease); }
.szw-home__book:hover .szw-home__bookcta, .szw-home__book:focus-visible .szw-home__bookcta { border-bottom-color: #c91f26; }
.szw-home__book:hover .szw-home__bookcta span, .szw-home__book:focus-visible .szw-home__bookcta span { transform: translate(3px, -3px); }
@media (max-width: 760px) {
	/* phone crop shows the image's left 850/1092: the book sits at 53–75 % across */
	.szw-home__book { left: 53%; width: 21.6%; top: auto; bottom: 3vw; height: 30vw; transform: none; }
	.szw-home__booklabel { left: auto; right: calc(100% + 12px); bottom: 10%; gap: 5px; white-space: normal; width: 38vw; text-align: right; align-items: flex-end; }
	.szw-home__bookkicker { font-size: 11px; }
	.szw-home__bookcta { font-size: 16px; padding-bottom: 3px; }
}

/* Conversations list: make each entry read as a link to the full conversation. */
.szw-list a { transition: background .25s var(--ease); padding-left: 14px; padding-right: 14px; border-radius: 4px; }
.szw-list a:hover, .szw-list a:focus-visible { background: #f6efe6; }
.szw-list__teaser { display: block; margin-top: 10px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.szw-list__more { display: inline-block; margin-top: 12px; color: #b31b26; font-weight: 600; border-bottom: 1px solid rgba(179, 27, 38, .45); }
.szw-list a:hover .szw-list__more { border-bottom-color: #b31b26; }

/* Conversations page: featured (newest) entry. */
.szw-convfeat { max-width: 980px; margin: 0 auto 50px; padding: 34px 40px 30px; background: #fff; border: 1px solid #eadfd3; border-radius: 8px; box-shadow: 0 10px 30px rgba(20, 18, 16, .05); }
.szw-convfeat__kicker { font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #b31b26; margin: 0 0 14px; }
.szw-convfeat__title { font: 600 clamp(28px, 3.2vw, 40px)/1.15 var(--display); margin: 0; }
.szw-convfeat__title a { text-decoration: none; color: inherit; }
.szw-convfeat__title a:hover { color: #b31b26; }
.szw-convfeat__sub { font-style: italic; color: #4a453f; margin: 10px 0 0; }
.szw-convfeat__intro { font-size: 19px; margin: 18px 0 0; }
.szw-convfeat__body { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 34px; align-items: center; margin-top: 26px; }
.szw-convfeat__thread .szw-turn { grid-template-columns: 50px 1fr; gap: 14px; font-size: 17px; margin-bottom: 14px; }
.szw-convfeat__thread .szw-turn.is-other .szw-turn__text { background: #f9efea; border: 0; border-radius: 6px; padding: 12px 16px; }
.szw-convfeat__thread .szw-turn__text { border-left: 0; padding-left: 0; }
.szw-convfeat__more-hint { margin: -4px 0 0 64px; color: #a59d93; letter-spacing: .3em; }
.szw-convfeat__quote { margin: 0; padding: 6px 0 6px 26px; border-left: 3px solid #b31b26; }
.szw-convfeat__quote p { margin: 0; font: 400 clamp(22px, 2.2vw, 28px)/1.45 var(--display); color: #2a2622; }
.szw-convfeat__quote p::before { content: "\201C"; color: #b31b26; }
.szw-convfeat__quote p::after { content: "\201D"; color: #b31b26; }
.szw-convfeat__cta { margin: 22px 0 0; }
.szw-convfeat__cta a { color: #b31b26; font-weight: 600; text-decoration: none; font-size: 18px; border-bottom: 1px solid rgba(179, 27, 38, .45); }
.szw-convfeat__cta a:hover { border-bottom-color: #b31b26; }
.szw-convlist__head { max-width: 720px; margin: 0 auto 6px; font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #6b655e; }
@media (max-width: 760px) {
	.szw-convfeat { padding: 24px 18px; }
	.szw-convfeat__body { grid-template-columns: 1fr; gap: 20px; }
	.szw-convfeat__thread .szw-turn { grid-template-columns: 1fr; gap: 4px; }
	.szw-convfeat__more-hint { margin-left: 0; }
}

/* Home "Get Updates": keep the input line centred under the heading, Subscribe sits to its right. */
.szw-updates .szw-form { max-width: 1000px; }
.szw-updates .szw-form--subscribe .szw-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); column-gap: 28px; align-items: end; }
.szw-updates .szw-form--subscribe .szw-form__row .szw-field { grid-column: 2; margin: 0; }
.szw-updates .szw-form--subscribe .szw-form__row .szw-btn { grid-column: 3; justify-self: start; white-space: nowrap; }
@media (max-width: 760px) {
	.szw-updates .szw-form--subscribe .szw-form__row { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; }
	.szw-updates .szw-form--subscribe .szw-form__row .szw-field { grid-column: 1; }
	.szw-updates .szw-form--subscribe .szw-form__row .szw-btn { grid-column: 2; }
}

/* Home banner type — Option B "Fraunces Soft" (Sophia, 2026-10-28; may change again). */
.szw-home__welcome { left: 28.5%; top: 10.5%; width: 40%; }
.szw-home__welcome .szw-home__hello { font: 300 5.6cqi/1 'Fraunces', var(--display); font-variation-settings: 'SOFT' 100, 'opsz' 144; letter-spacing: -.02em; margin: 0 0 1.6cqi; color: #141210; }
.szw-home__welcome p { font: 400 2.15cqi/1.55 var(--serif); }
.szw-home__welcome .szw-home__signoff { font: italic 400 2.25cqi/1.3 'Fraunces', var(--serif); font-variation-settings: 'SOFT' 100; margin: 1.6cqi 0 0; color: #8a1c26; }
@media (max-width: 760px) {
	.szw-home__welcome { left: auto; top: auto; width: auto; }
	.szw-home__welcome .szw-home__hello { font-size: 46px; margin-bottom: 12px; }
	.szw-home__welcome p { font-size: 19px; }
	.szw-home__welcome .szw-home__signoff { font-size: 20px; margin-top: 12px; }
}

/* Home banner — calmer version 3 (Sophia, 2026-10-28): shorter text, softened blossoms, soft glow behind the words, no book label. */
.szw-home__welcome { width: 34%; top: 16%; }
.szw-home__welcome .szw-home__hello { font-size: 6.4cqi; }
.szw-home__welcome p { font-size: 2.35cqi; }
.szw-home__heroimg { filter: saturate(.62) brightness(1.06) contrast(.92); }
.szw-home__hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 48% 46% at 46% 26%, rgba(255, 255, 255, .88), rgba(255, 255, 255, .55) 55%, rgba(255, 255, 255, 0) 80%); }
.szw-home__booklabel { display: none; }
@media (max-width: 760px) {
	.szw-home__welcome { width: auto; top: auto; }
	.szw-home__welcome .szw-home__hello { font-size: 46px; }
	.szw-home__welcome p { font-size: 19px; }
	.szw-home__hero::after { display: none; }
}

/* About: short introduction in Sophia's voice above the conversation (2026-10-29). */
.szw-about__intro { max-width: 640px; margin: -18px auto 46px !important; text-align: center; font: 400 21px/1.6 var(--serif); color: var(--ink); }
.szw-about__intro a { color: #b31b26; text-decoration: none; border-bottom: 1px solid rgba(179, 27, 38, .45); }
.szw-about__intro a:hover { border-bottom-color: #b31b26; }
@media (max-width: 760px) { .szw-about__intro { font-size: 19px; margin-top: 0 !important; } }

/* About: portrait + "In short" at the top; closing invitation; highlighted line (2026-10-29). */
.szw-about__lead { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; max-width: 760px; margin: 0 auto 54px; }
.szw-about__portrait { position: relative; margin: 0; aspect-ratio: 7 / 10; overflow: hidden; border-radius: 4px; box-shadow: 0 10px 30px rgba(20, 18, 16, .08); }
.szw-about__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.szw-about__portrait .szw-ph { left: 12px; bottom: 10px; }
.szw-about__short h2 { font: 500 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #b31b26; margin: 0 0 14px; }
.szw-about__short p { font: 400 20px/1.6 var(--serif); margin: 0; }
.szw-about .szw-about__intro { margin: 50px auto 10px !important; padding-top: 34px; border-top: 1px solid #e3dccf; }
.szw-hl { display: block; font: italic 400 1.35em/1.4 var(--display); color: #8a1c26; }
@media (max-width: 760px) {
	.szw-about__lead { grid-template-columns: 1fr; gap: 22px; }
	.szw-about__portrait { max-width: 320px; margin: 0 auto; }
}

/* About: denser reading rhythm + 9-photo gallery (Sophia, 2026-10-29). */
.szw-about .szw-title { margin-bottom: 8px; }
.szw-about__sub { margin-bottom: 30px; }
.szw-about__lead { margin-bottom: 36px; gap: 32px; }
.szw-about .szw-turn { margin-bottom: 9px; line-height: 1.5; font-size: 18px; gap: 14px; grid-template-columns: 70px 1fr; }
.szw-about .szw-turn__text { padding-left: 14px; }
.szw-about .szw-about__intro { margin-top: 34px !important; padding-top: 26px; }
.szw-about .szw-gallery { margin-top: 44px; }
.szw-about .szw-gallery__title { margin-bottom: 20px; }
.szw-about .szw-gallery__grid { max-width: 600px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.szw-about .szw-gallery__item { width: auto; height: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; }
.szw-about .szw-gallery__item img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: 50% 25%; }
@media (max-width: 760px) {
	.szw-about .szw-turn { grid-template-columns: 1fr; gap: 2px; font-size: 17px; margin-bottom: 12px; }
	.szw-about .szw-turn__text { padding-left: 0; }
	.szw-about .szw-gallery__grid { gap: 8px; }
	.szw-about .szw-gallery__item { width: auto; height: auto; }
}
/* About: "An AI walks into a conversation…" now introduces the dialogue, below the portrait / In short. */
.szw-about .szw-title { margin-bottom: 30px; }
.szw-about .szw-about__sub { margin: 0 0 22px; }

/* About gallery: visible captions under each photo. */
.szw-about .szw-gallery__grid { align-items: start; }
.szw-gallery__fig { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.szw-about .szw-gallery__fig .szw-gallery__item { width: 100%; }
.szw-gallery__cap { margin: 9px 2px 0; font: 400 14px/1.45 var(--sans); color: #5a544d; text-align: left; }
@media (max-width: 760px) {
	.szw-about .szw-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
	.szw-gallery__cap { font-size: 13px; }
}

/* Thoughts: fold long entries (about 7 lines) with Read more. */
.szw-thought__body.is-folded { max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent); }
.szw-thought__more { display: inline-block; margin: 2px 0 4px; padding: 0; border: 0; background: none; cursor: pointer; font: 600 15px/1.4 var(--sans); letter-spacing: .04em; color: #b31b26; border-bottom: 1px solid rgba(179, 27, 38, .4); }
.szw-thought__more:hover, .szw-thought__more:focus-visible { border-bottom-color: #b31b26; }
.szw-thought__more[hidden] { display: none; }

/* Panels take focus themselves when opened: no focus ring around the panel or its first link. */
.szw-panel:focus { outline: none; }
.szw-contact__invite a { white-space: nowrap; }

/* Moments: show the whole photo (no cropping); a blurred copy fills the sides. */
.szw-moments__media { isolation: isolate; }
.szw-moments__media::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--szw-bg, none) center / cover no-repeat; filter: blur(28px) saturate(1.1); opacity: .55; transition: background-image .35s; }
.szw-moments__media img { position: relative; object-fit: contain; }
/* Bottom-right teaser photo sat on top of "Browse all moments"; keep three teasers. */
.szw-moments__teasers button:nth-child(4) { display: none; }
/* Moments caption: lighter, smaller, conversational (was the large display font). */
.szw-moments__caption { font: italic 400 clamp(19px, 1.5vw, 22px)/1.45 var(--serif); letter-spacing: 0; color: #4a453f; }

/* Invite: Past Conversations (page field szw_past). */
.szw-past { text-align: center; padding: 34px var(--gutter) 10px; padding-right: calc(var(--rail-right) + var(--rail-w) + 28px); }
.szw-past__list { list-style: none; margin: 0 auto 30px; padding: 0; max-width: 760px; text-align: left; }
.szw-past__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 6px 28px; padding: 16px 0; border-top: 1px solid #ccd1dc; font: 400 19px/1.45 var(--serif); }
.szw-past__list li:last-child { border-bottom: 1px solid #ccd1dc; }
.szw-past__where { font-style: italic; color: var(--red); }
@media (max-width: 760px) {
	.szw-past { padding-right: var(--gutter); }
	.szw-past__list li { grid-template-columns: 1fr; gap: 2px; font-size: 18px; }
}
/* Moments: when "Browse all" is open the container grows, so the floating teasers (placed in %) drift into the grid. Hide them then. */
.szw-moments:has(.szw-moments__all:not([hidden])) .szw-moments__teasers { display: none; }
/* Browse-all grid: photos align at the top, captions underneath. */
.szw-moments__all { align-items: start; }
.szw-moments__all button { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; line-height: 1.4; }
