/* Trailhead (claude-trailhead), designed by Claude. A portable template.
   Mountain morning: a sunrise sky window in the hero, a real bookshelf, a rail of messages
   and calm hairline structure everywhere else. Every rule scoped under .theme-claude-trailhead.
   Nothing site-specific: the hero sticker is the hero caption, the sun mark is the header mark.
   HEX colours only. Content is complete without the theme script. */

.theme-claude-trailhead{
 --paper:#fdfcf9;--ink:#1c2a36;--accent:#b4501c;
 --muted:#46535f;--line:#e2ddd3;--radius:14px;
 --display:'Bricolage Grotesque','Figtree',system-ui,sans-serif;
 --body:'Figtree',system-ui,sans-serif;
 --th-sun:#f0a23b;--th-sun-soft:#f7c27d;--th-dawn:#fde9cf;--th-sky:#d8ebf7;--th-sky-ink:#22608f;--th-night:#1c2a36;--th-night-2:#26394a;--th-stone:#f3efe7;
 --th-wrap:1200px;--th-gutter:clamp(20px,5vw,56px);
 background:var(--paper);color:var(--ink);font-family:var(--body);font-size:18px;line-height:1.6;
 -webkit-font-smoothing:antialiased;overflow-x:clip;
}
.theme-claude-trailhead :is(h1,h2,h3,h4){font-family:var(--display);color:var(--ink);font-weight:700;letter-spacing:-.02em;text-wrap:balance;margin:0}
.theme-claude-trailhead :is(p,li){text-wrap:pretty}
.theme-claude-trailhead a{color:inherit}
.theme-claude-trailhead :is(a,button,input,summary):focus-visible{outline:3px solid var(--th-sky-ink);outline-offset:3px;border-radius:6px}
.theme-claude-trailhead .prose{max-width:66ch}
.theme-claude-trailhead .prose p{margin:0 0 .9em}
.theme-claude-trailhead .prose p:last-child{margin-bottom:0}
/* Eyebrows stay quiet and mostly empty; the one named kicker is the hero's. */
.theme-claude-trailhead .eyebrow{font:600 14px/1.4 var(--body);letter-spacing:0;text-transform:none;color:var(--muted);margin:0 0 8px}
.theme-claude-trailhead .eyebrow:empty,.theme-claude-trailhead .section-heading .eyebrow:empty{display:none}

/* ---------- buttons and links ---------- */
.theme-claude-trailhead .button,.theme-claude-trailhead .header-cta{
 --paper:#ffffff;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border:0;border-radius:999px;
 background:var(--accent);color:#ffffff!important;font:650 16px/1.1 var(--body);letter-spacing:0;text-transform:none;text-decoration:none;
 box-shadow:0 1px 0 #7a3410,0 8px 20px -10px #b4501c;transition:transform .25s cubic-bezier(.22,1,.36,1),background-color .2s ease}
.theme-claude-trailhead .button:hover,.theme-claude-trailhead .header-cta:hover{background:#94400f;transform:translateY(-1px)}
.theme-claude-trailhead .button .ext-icon{opacity:.85}
.theme-claude-trailhead :is(.text-link,.quiet-link){display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--th-sky-ink);font-weight:650;font-size:16px;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:5px;text-decoration-color:#22608f66;border:0}
.theme-claude-trailhead :is(.text-link,.quiet-link):hover{text-decoration-color:currentColor}
.theme-claude-trailhead .quiet-link{color:var(--ink);padding:0 6px}

/* ---------- header (classic) ---------- */
.theme-claude-trailhead .site-header{position:sticky;max-width:none;margin:0;top:0;z-index:30;display:flex;align-items:center;gap:28px;min-height:76px;padding:12px max(var(--th-gutter),calc((100% - 1440px)/2 + var(--th-gutter)));background:#fdfcf9f2;border-bottom:1px solid var(--line);backdrop-filter:saturate(1.2) blur(6px)}
.theme-claude-trailhead .site-header .wordmark{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin-right:auto;font:800 22px/1 var(--display);letter-spacing:-.02em;color:var(--ink);text-decoration:none;white-space:nowrap}
/* The header mark (site setting "show mark") is drawn as a small sun over a ridge; with the mark off, the wordmark stands alone. */
.theme-claude-trailhead .site-header .brand-symbol{flex:none;display:block;width:34px;height:34px;overflow:hidden;border-radius:50%;font-size:0;line-height:0;color:transparent;
 background:linear-gradient(180deg,#f7c27d 0 56%,transparent 56%),radial-gradient(circle at 50% 56%,#f0a23b 0 38%,transparent 39%);
 box-shadow:inset 0 -9px 0 #1c2a36}
.theme-claude-trailhead .site-nav{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.theme-claude-trailhead .site-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;color:var(--ink);font:550 15px/1 var(--body);text-decoration:none;border:0;background:none}
.theme-claude-trailhead .site-nav a:hover{background:var(--th-stone)}
.theme-claude-trailhead .site-nav a.current{background:var(--th-dawn);color:#7a3410}
.theme-claude-trailhead .site-header .header-cta{min-height:44px;padding:0 20px;font-size:15px;white-space:nowrap;box-shadow:none}

/* ---------- page skeleton ---------- */
.theme-claude-trailhead.site .site-main{max-width:none;margin:0;padding:0}
.theme-claude-trailhead.site .site-main>.block{position:relative;max-width:none;margin:0!important;padding:clamp(64px,8vw,112px) max(var(--th-gutter),calc((100% - var(--th-wrap))/2))}
.theme-claude-trailhead.site .site-main>.block.space-compact{padding-top:clamp(40px,5vw,64px);padding-bottom:clamp(40px,5vw,64px)}
.theme-claude-trailhead.site .site-main>.block.space-spacious{padding-top:clamp(88px,11vw,152px);padding-bottom:clamp(88px,11vw,152px)}
.theme-claude-trailhead .section-heading{max-width:760px;margin:0 0 clamp(28px,4vw,48px)}
.theme-claude-trailhead .section-heading h2{font-size:clamp(34px,4.4vw,60px);line-height:1.02;font-weight:750;letter-spacing:-.03em}
.theme-claude-trailhead .section-heading :is(.prose,.section-description){margin-top:16px;color:var(--muted);font-size:18px;max-width:60ch}
.theme-claude-trailhead .section-end-link{margin-top:28px}
.theme-claude-trailhead .small-note{color:var(--muted);font-size:15px}
.theme-claude-trailhead .awaiting-content{padding:24px;border:1px dashed var(--line);border-radius:var(--radius);color:var(--muted)}

/* Sections are separated by spacing and, where a band changes, a plain hairline. No drawn dividers. */

/* ---------- hero: a sunrise window ---------- */
.theme-claude-trailhead.site .site-main>.block-hero{padding-top:clamp(40px,6vw,88px);padding-bottom:clamp(56px,7vw,96px);overflow:hidden}
.theme-claude-trailhead .block-hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);align-items:center;gap:clamp(32px,5vw,80px)}
.theme-claude-trailhead .block-hero .hero-copy{min-width:0}
.theme-claude-trailhead .block-hero .eyebrow{display:inline-flex;align-items:center;gap:10px;margin:0 0 22px;padding:8px 16px 8px 10px;border-radius:999px;background:var(--th-dawn);color:#7a3410;font:650 15px/1.2 var(--body)}
.theme-claude-trailhead .block-hero .eyebrow::before{content:"";width:14px;height:14px;border-radius:50%;background:var(--th-sun);box-shadow:0 0 0 4px #f0a23b40}
.theme-claude-trailhead .block-hero h1{font-size:clamp(56px,8.2vw,96px);line-height:.94;font-weight:800;letter-spacing:-.04em;margin:0 0 22px}
.theme-claude-trailhead .block-hero .hero-kicker{margin:0 0 18px;font:600 clamp(22px,2.1vw,28px)/1.25 var(--display);color:var(--th-sky-ink);letter-spacing:-.01em;max-width:24ch}
.theme-claude-trailhead .block-hero .prose{color:var(--muted);font-size:19px;max-width:48ch}
.theme-claude-trailhead .block-hero .hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:30px}
.theme-claude-trailhead .block-hero .hero-art{position:relative;isolation:isolate;container-type:inline-size;aspect-ratio:5/6;max-width:500px;width:100%;justify-self:end;margin:0;border-radius:260px 260px 28px 28px;overflow:hidden;
 background:linear-gradient(180deg,#bcdcf1 0%,#d8ebf7 34%,#fde9cf 66%,#f7c27d 100%);box-shadow:0 40px 80px -48px #1c2a36}
/* far ridge behind the sun, near ridge in front */
.theme-claude-trailhead .block-hero .hero-art::before,.theme-claude-trailhead .block-hero .hero-art::after{content:"";position:absolute;left:-2px;right:-2px;bottom:0;pointer-events:none}
.theme-claude-trailhead .block-hero .hero-art::before{z-index:0;height:42%;background:#9fbfd6;
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 200' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L60 60 L110 78 L170 30 L215 58 L260 44 L320 76 L380 22 L430 56 L500 40 L500 200 L0 200Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 200' preserveAspectRatio='none'%3E%3Cpath d='M0 90 L60 60 L110 78 L170 30 L215 58 L260 44 L320 76 L380 22 L430 56 L500 40 L500 200 L0 200Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.theme-claude-trailhead .block-hero .hero-art::after{z-index:2;height:24%;background:var(--th-night);
 -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L70 40 L120 56 L190 18 L250 50 L300 34 L360 62 L420 30 L470 46 L500 36 L500 120 L0 120Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
 mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 L70 40 L120 56 L190 18 L250 50 L300 34 L360 62 L420 30 L470 46 L500 36 L500 120 L0 120Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
.theme-claude-trailhead.site .block-hero .hero-image{position:absolute;z-index:1;left:21%;top:calc(40% - 29cqw);width:58%!important;height:auto!important;aspect-ratio:1;max-width:none;margin:0;border-radius:50%;object-fit:cover;border:6px solid #fdfcf9;box-shadow:0 0 0 14px #f0a23b33,0 0 0 30px #f0a23b1f}
.theme-claude-trailhead .block-hero .portrait-placeholder{position:absolute;z-index:1;left:21%;top:calc(40% - 29cqw);width:58%;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:var(--th-sun);font:800 28px/1.1 var(--display);text-align:center;padding:20px}
.theme-claude-trailhead .block-hero .art-caption{position:absolute;z-index:3;right:9%;top:57%;margin:0;max-width:min(76%,24ch);padding:10px 16px;opacity:1;border-radius:18px;background:#fdfcf9;color:var(--ink);font:750 15px/1.2 var(--display);letter-spacing:-.01em;transform:rotate(-6deg);box-shadow:0 10px 24px -12px #1c2a36}
/* The sticker is the hero caption. The script drops it when it only repeats the name, and lays a long caption flat along the foot of the window. */
.theme-claude-trailhead .block-hero .art-caption[data-th-sticker="same"]{display:none}
.theme-claude-trailhead .block-hero .art-caption[data-th-sticker="long"]{left:8%;right:8%;top:auto;bottom:7%;max-width:none;transform:none;text-align:center;font:600 14px/1.35 var(--body)}
.theme-claude-trailhead .block-hero .art-caption::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%;background:var(--th-sun);vertical-align:1px}
.theme-claude-trailhead .block-hero .art-caption:empty{display:none}
.theme-claude-trailhead .block-hero .hero-meta{display:flex;flex-wrap:wrap;gap:8px 28px;margin-top:clamp(36px,5vw,64px);color:var(--muted);font-size:15px;font-weight:550}
.theme-claude-trailhead .block-hero .hero-meta span:empty{display:none}
.theme-claude-trailhead .block-hero .hero-meta:not(:has(span:not(:empty))){display:none}

/* ---------- inner page intro ---------- */
.theme-claude-trailhead .page-intro{position:relative;padding:clamp(56px,7vw,104px) max(var(--th-gutter),calc((100% - var(--th-wrap))/2)) clamp(72px,8vw,112px);margin:0;background:linear-gradient(180deg,#fdfcf9 0%,#eef6fb 55%,#fdf1e0 100%)}
.theme-claude-trailhead .page-intro{border-bottom:1px solid var(--line)}
.theme-claude-trailhead .page-intro .eyebrow{color:var(--muted);font-size:15px;margin-bottom:14px}
.theme-claude-trailhead .page-intro h1{font-size:clamp(48px,7vw,88px);line-height:.96;font-weight:800;letter-spacing:-.04em;max-width:14ch}
.theme-claude-trailhead .page-intro .prose{margin-top:18px;font-size:clamp(18px,1.6vw,21px);color:var(--muted);max-width:56ch}

/* ---------- bookshelf ---------- */
.theme-claude-trailhead .book-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr));gap:clamp(48px,5vw,72px) clamp(32px,4vw,56px)}
/* Each book stands on its own plank. The plank lives in the cover column only (cover width plus a small
   overhang that stays inside the column gap), so it can never run under the description beside it. */
.theme-claude-trailhead .book-card{--th-cover-w:200px;--th-cover-h:292px;--th-book-gap:40px;--th-plank-over:12px;position:relative;display:grid;grid-template-columns:var(--th-cover-w) minmax(0,1fr);gap:var(--th-book-gap);align-items:start;padding:0;background:none;border:0;box-shadow:none}
.theme-claude-trailhead .book-card::after{content:"";position:absolute;left:calc(-1 * var(--th-plank-over));width:calc(var(--th-cover-w) + 2 * var(--th-plank-over));top:var(--th-cover-h);height:14px;border-radius:4px;background:linear-gradient(180deg,#8a5a34,#6b4226);box-shadow:0 14px 20px -12px #1c2a36;pointer-events:none}
.theme-claude-trailhead.site .book-grid .book-cover{position:relative;z-index:1;width:var(--th-cover-w);height:var(--th-cover-h);min-height:0;max-width:none;margin:0;border-radius:3px 10px 10px 3px;object-fit:cover;box-shadow:inset 10px 0 0 #00000026,inset 12px 0 0 #ffffff1f,0 18px 30px -18px #1c2a36;transform-origin:50% 100%;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.theme-claude-trailhead .book-card:hover .book-cover{transform:translateY(-6px) rotate(-1.5deg)}
.theme-claude-trailhead.site .book-cover.placeholder{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;place-items:initial;gap:10px;padding:28px 20px 20px 30px;overflow:hidden;font:800 30px/1 var(--display);letter-spacing:-.03em;text-align:left;
 background:radial-gradient(circle at 78% 64%,#fde9cf 0 13%,transparent 13.5%),linear-gradient(180deg,#f0a23b 0 76%,#1c2a36 76%);color:#1c2a36}
.theme-claude-trailhead.site .book-cover.placeholder>span:first-child{font:800 30px/1 var(--display);letter-spacing:-.03em}
.theme-claude-trailhead.site .book-card:nth-child(2n) .book-cover.placeholder{background:radial-gradient(circle at 76% 62%,#f0a23b 0 12%,transparent 12.5%),linear-gradient(180deg,#1f5580 0 76%,#f7c27d 76%);color:#ffffff}
.theme-claude-trailhead .book-cover.placeholder .th-sub{display:block;font:600 13px/1.3 var(--body);letter-spacing:0}
.theme-claude-trailhead .book-cover.placeholder .th-by{margin-top:auto;font:700 12px/1.2 var(--body);letter-spacing:.02em;color:#fdfcf9}
.theme-claude-trailhead .book-card:nth-child(2n) .book-cover.placeholder .th-by{color:#1c2a36}
.theme-claude-trailhead .book-card>div:last-child{min-width:0}
.theme-claude-trailhead .book-card .eyebrow{display:inline-block;margin:4px 0 12px;padding:5px 12px;border-radius:999px;background:var(--th-stone);color:var(--ink);font-size:14px}
.theme-claude-trailhead .book-card h3{font-size:clamp(24px,2.1vw,30px);line-height:1.1;margin:0 0 8px}
.theme-claude-trailhead .book-card h3+p{margin:0 0 14px;color:var(--th-sky-ink);font-weight:650;font-size:16px}
.theme-claude-trailhead .book-card .prose{font-size:16.5px;color:var(--muted)}
.theme-claude-trailhead .book-card .small-note{display:none}
.theme-claude-trailhead .book-card .button{margin-top:20px}

/* ---------- messages ---------- */
.theme-claude-trailhead .message-search{display:flex;flex-direction:column;gap:8px;max-width:420px;margin:0 0 28px;font:600 15px/1.3 var(--body);color:var(--ink)}
.theme-claude-trailhead .message-search input{min-height:48px;padding:0 18px;border:1.5px solid #c9c2b5;border-radius:999px;background:#ffffff;color:var(--ink);font:500 16px var(--body)}
.theme-claude-trailhead .message-search input::placeholder{color:#5d6a75}
.theme-claude-trailhead .sermon-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:36px 28px}
.theme-claude-trailhead.site .block .sermon-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:0;border:0;background:none;box-shadow:none}
.theme-claude-trailhead.site .sermon-visual{position:relative;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;border-radius:var(--radius);background:var(--th-night)}
.theme-claude-trailhead .sermon-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.theme-claude-trailhead .sermon-card:hover .sermon-thumb{transform:scale(1.04)}
.theme-claude-trailhead .sermon-visual .video-link{--paper:#1c2a36;position:absolute;left:12px;bottom:12px;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px 0 14px;border:0;border-radius:999px;background:#fdfcf9;color:#1c2a36!important;font:650 15px/1 var(--body);cursor:pointer;box-shadow:0 6px 18px -8px #1c2a36}
.theme-claude-trailhead .sermon-visual .video-link span{color:var(--accent);font-size:13px}
.theme-claude-trailhead .sermon-visual .video-link:hover{background:var(--th-sun)}
.theme-claude-trailhead .sermon-visual iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.theme-claude-trailhead .sermon-content{padding:18px 2px 0}
.theme-claude-trailhead .sermon-content .eyebrow{font-size:14px;color:var(--muted);margin:0 0 6px}
.theme-claude-trailhead .sermon-content .th-series{display:inline-flex;align-items:center;gap:8px;margin:0 0 10px;padding:5px 12px 5px 8px;border-radius:999px;background:var(--th-dawn);color:#7a3410;font:650 14px/1.2 var(--body)}
.theme-claude-trailhead .sermon-content .th-series::before{content:"";width:10px;height:10px;border-radius:50%;background:currentColor}
.theme-claude-trailhead .sermon-card[data-th-series="1"] .th-series{background:#dcecf8;color:#1d5780}
.theme-claude-trailhead .sermon-card[data-th-series="2"] .th-series{background:#e3eedd;color:#3d5a2c}
.theme-claude-trailhead .sermon-card[data-th-series="3"] .th-series{background:#efe3f0;color:#6b3b6f}
.theme-claude-trailhead .sermon-content h3{font-size:clamp(20px,1.7vw,24px);line-height:1.18;margin:0 0 8px}
.theme-claude-trailhead .sermon-content>p:empty{display:none}
.theme-claude-trailhead .sermon-content .prose{font-size:15.5px;color:var(--muted)}
.theme-claude-trailhead .welcome-film{width:100%;border-radius:var(--radius)}

/* Messages page: the newest message leads, wide. */
.theme-claude-trailhead.site .block-sermons.variant-featured .sermon-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(20px,3vw,44px);align-items:center}
.theme-claude-trailhead.site .block-sermons.variant-featured .sermon-card:first-child h3{font-size:clamp(28px,3vw,40px);line-height:1.05}
/* Home: the series become a rail that runs off the right edge. */
.theme-claude-trailhead.page-home .block-sermons{overflow:hidden}
.theme-claude-trailhead.page-home .block-sermons .message-search{display:none}
.theme-claude-trailhead.page-home .block-sermons .sermon-list{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:0;padding:4px 0 22px;margin-right:calc(-1 * max(var(--th-gutter),(100vw - var(--th-wrap))/2));padding-right:max(var(--th-gutter),calc((100vw - var(--th-wrap))/2));scrollbar-width:thin;scrollbar-color:#b4501c #efe9df}
.theme-claude-trailhead.site.page-home .block-sermons .sermon-card,.theme-claude-trailhead.site.page-home .block-sermons.variant-featured .sermon-card:first-child{display:flex;flex-direction:column;align-items:stretch;grid-column:auto;gap:0;flex:0 0 min(360px,82vw);scroll-snap-align:start}
.theme-claude-trailhead.site.page-home .block-sermons.variant-featured .sermon-card:first-child{flex-basis:min(480px,86vw)}
.theme-claude-trailhead.site.page-home .block-sermons.variant-featured .sermon-card:first-child h3{font-size:clamp(22px,2vw,28px)}
.theme-claude-trailhead.page-home .block-sermons .sermon-content .prose{display:none}
.theme-claude-trailhead .th-rail-nav{display:flex;gap:10px;margin:-8px 0 20px}
.theme-claude-trailhead .th-rail-nav button{display:grid;place-items:center;width:48px;height:48px;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:transparent;color:var(--ink);font:700 18px/1 var(--body);cursor:pointer;transition:background-color .2s ease,color .2s ease}
.theme-claude-trailhead .th-rail-nav button:hover{background:var(--ink);color:#fdfcf9}
.theme-claude-trailhead .th-rail-nav button[disabled]{opacity:.35;cursor:default;background:transparent;color:var(--ink)}
.theme-claude-trailhead .block-sermons .section-end-link a{font-size:16px}

/* ---------- about ---------- */
.theme-claude-trailhead.site .block .about-grid{display:grid;max-width:none;margin:0;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,5vw,80px);align-items:start}
.theme-claude-trailhead .about-grid .section-heading{margin:0}
.theme-claude-trailhead .about-grid .prose{font-size:19px;line-height:1.65}
.theme-claude-trailhead .about-grid .bio-photo{float:right;width:clamp(140px,16vw,200px);aspect-ratio:1;height:auto;margin:0 0 20px 28px;border-radius:50%;object-fit:cover;border:5px solid #fdfcf9;box-shadow:0 0 0 10px #f0a23b33}
.theme-claude-trailhead .about-grid .timeline:empty{display:none}
.theme-claude-trailhead .timeline{display:grid;gap:18px;margin-top:28px}
.theme-claude-trailhead .timeline>div{padding-top:14px;border-top:1px solid var(--line)}
.theme-claude-trailhead .timeline span{font:700 15px var(--display);color:var(--accent)}
/* Home "software engineer turned pastor" band: morning sky, heading set big. */
.theme-claude-trailhead.site .block.tone-soft{background:linear-gradient(180deg,#eaf3fa 0%,#fdf3e4 100%)}
.theme-claude-trailhead.site .block.tone-soft::before{display:none}
.theme-claude-trailhead .block-about.tone-soft .section-heading h2{font-size:clamp(38px,5vw,68px);line-height:.98;max-width:12ch}
.theme-claude-trailhead .block-about.tone-soft .prose{color:#2e3b47}

/* ---------- around the church (ministries) ---------- */
.theme-claude-trailhead .ministry-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:36px 32px;counter-reset:th-min}
.theme-claude-trailhead .ministry-grid article{position:relative;padding:28px 0 0;border:0;border-top:2px solid var(--ink);background:none;box-shadow:none}
.theme-claude-trailhead .ministry-grid article::before{content:"";position:absolute;top:-8px;left:0;width:14px;height:14px;border-radius:50%;background:var(--th-sun);box-shadow:0 0 0 4px var(--paper)}
.theme-claude-trailhead .ministry-grid article img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);margin-bottom:16px}
.theme-claude-trailhead .ministry-grid h3{font-size:24px;line-height:1.12;margin:0 0 10px}
.theme-claude-trailhead .ministry-grid .prose{font-size:16px;color:var(--muted)}
.theme-claude-trailhead .ministry-grid .text-link{margin-top:8px}

/* ---------- gallery: panorama first ---------- */
.theme-claude-trailhead .ministry-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;columns:auto}
.theme-claude-trailhead .ministry-gallery figure{margin:0;min-width:0;break-inside:avoid}
.theme-claude-trailhead .ministry-gallery .gallery-open{display:block;width:100%;padding:0;border:0;border-radius:var(--radius);overflow:hidden;background:var(--th-stone);cursor:zoom-in}
.theme-claude-trailhead .ministry-gallery img{display:block;width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.theme-claude-trailhead .ministry-gallery .gallery-open:hover img{transform:scale(1.03)}
.theme-claude-trailhead .ministry-gallery figcaption{margin-top:10px;font-size:14.5px;line-height:1.5;color:var(--muted);max-width:70ch}
.theme-claude-trailhead .ministry-gallery figcaption small{display:block;margin-top:4px;font-size:13.5px;color:#56626d}
.theme-claude-trailhead.page-home .ministry-gallery figure:first-child{grid-column:1/-1}
/* The lead picture keeps its own shape when it is a panorama (the script sets --th-lead-ratio); otherwise 16:7. */
.theme-claude-trailhead.page-home .ministry-gallery figure:first-child img{aspect-ratio:var(--th-lead-ratio,16/7)}
.theme-claude-trailhead.page-home .ministry-gallery figure:not(:first-child) img{aspect-ratio:16/9}
.theme-claude-trailhead.page-gallery .ministry-gallery{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.theme-claude-trailhead.page-gallery .ministry-gallery img{aspect-ratio:1}
/* A picture the frame would enlarge, or a panorama it would crop, sits whole inside the same frame (the script marks it). */
.theme-claude-trailhead.site .ministry-gallery .gallery-open:has(img[data-th-fit=natural]){display:grid;place-items:center;aspect-ratio:var(--th-frame,4/3)}
.theme-claude-trailhead.site.site .ministry-gallery figure img[data-th-fit=natural]{aspect-ratio:auto;width:auto;height:auto;max-width:100%;max-height:100%;margin:0;object-fit:contain}

/* ---------- invitation band (dark, night before sunrise) ---------- */
.theme-claude-trailhead.site .site-main>.block.tone-dark{background:radial-gradient(ellipse 70% 55% at 85% 135%,#a2481a 0%,#4f3229 38%,transparent 72%),linear-gradient(180deg,#1c2a36,#26394a);color:#fdfcf9}
.theme-claude-trailhead .appointment-panel{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,5vw,80px);align-items:end;padding:0;border:0;background:none}
.theme-claude-trailhead .appointment-panel .section-heading{margin:0}
.theme-claude-trailhead .block.tone-dark .section-heading h2{font-size:clamp(44px,6vw,80px);line-height:.95;color:#fdfcf9}
.theme-claude-trailhead .block.tone-dark :is(.section-description,.prose,p){color:#e7ecf0}
.theme-claude-trailhead .appointment-panel>div:last-child{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.theme-claude-trailhead .appointment-panel>div:last-child .eyebrow{color:#f7c27d;font-weight:700}
.theme-claude-trailhead.site .block.tone-dark .button{--paper:#1c2a36;background:#f0a23b!important;border-color:#f0a23b!important;color:#1c2a36!important;box-shadow:none}
.theme-claude-trailhead.site .block.tone-dark .button:hover{background:#fdfcf9!important}

/* ---------- invitations page ---------- */
.theme-claude-trailhead .invitation-ribbon{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:32px;align-items:center;padding:clamp(24px,4vw,44px);border-radius:24px;background:var(--th-dawn);border:0}
.theme-claude-trailhead .invitation-ribbon p{margin:0 0 10px;font-size:18px}
.theme-claude-trailhead .ribbon-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.theme-claude-trailhead .ribbon-actions small{color:#5b3a22;font-size:14px}
/* The ribbon is a light dawn card, also inside a dark band: its words stay dark ink on the peach. */
.theme-claude-trailhead.site .block .invitation-ribbon,.theme-claude-trailhead.site .block .invitation-ribbon :is(h2,h3,p,li,.prose){color:#1c2a36}
.theme-claude-trailhead.site .block .invitation-ribbon .eyebrow{color:#7a3510}
.theme-claude-trailhead.site .block .invitation-ribbon .ribbon-actions small{color:#5b3a22}
.theme-claude-trailhead .engagement-list,.theme-claude-trailhead .event-list{display:grid;gap:0;border-top:2px solid var(--ink)}
.theme-claude-trailhead :is(.engagement-list,.event-list)>article{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:clamp(16px,3vw,40px);align-items:start;padding:26px 0;border:0;border-bottom:1px solid var(--line);background:none;box-shadow:none;border-radius:0}
.theme-claude-trailhead :is(.date-tile,.event-date){display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:none;color:var(--ink);font:800 28px/1 var(--display);letter-spacing:-.02em}
.theme-claude-trailhead :is(.date-tile,.event-date) small{font:500 14px/1.4 var(--body);letter-spacing:0;color:var(--muted)}
.theme-claude-trailhead :is(.date-tile,.event-date) .th-month{display:block;font:700 14px/1 var(--body);letter-spacing:.04em;text-transform:uppercase;color:var(--accent)}
.theme-claude-trailhead .engagement-list h3,.theme-claude-trailhead .event-list h3{font-size:24px;margin:0 0 8px}
.theme-claude-trailhead :is(.engagement-list,.event-list) .eyebrow{font-size:14px}
.theme-claude-trailhead :is(.engagement-list,.event-list) p{font-size:16px;color:var(--muted);margin:0;max-width:62ch}

/* ---------- channels, socials, contact ---------- */
.theme-claude-trailhead .channel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:24px}
.theme-claude-trailhead .channel-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:32px;border-radius:24px;background:#ffffff;border:1px solid var(--line);box-shadow:0 24px 48px -40px #1c2a36}
.theme-claude-trailhead .channel-card.channel-youtube{background:linear-gradient(180deg,#ffffff 55%,#fdf1e0)}
.theme-claude-trailhead .channel-card.channel-facebook{background:linear-gradient(180deg,#ffffff 55%,#eaf3fa)}
.theme-claude-trailhead .channel-mark{display:grid;place-items:center;width:52px;height:52px;margin-bottom:12px;border-radius:50%;background:var(--th-sun);color:var(--ink);font-size:22px}
.theme-claude-trailhead .channel-card h3{font-size:26px;margin:0 0 6px}
.theme-claude-trailhead .channel-card>p:not(.eyebrow){color:var(--muted);font-size:16px;margin:0 0 18px}
.theme-claude-trailhead .channel-card .button{margin-top:auto}
.theme-claude-trailhead .network-directory{display:grid;border-top:2px solid var(--ink);max-width:880px}
.theme-claude-trailhead .network-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:18px;align-items:center;min-height:84px;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.theme-claude-trailhead .network-row:hover .network-action{color:var(--accent)}
.theme-claude-trailhead .network-monogram{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--th-dawn);color:#7a3410;font:800 17px var(--display)}
.theme-claude-trailhead .network-row strong{display:block;font:700 22px/1.2 var(--display)}
.theme-claude-trailhead .network-row small{color:var(--muted);font-size:15px}
.theme-claude-trailhead .network-action{display:inline-flex;align-items:center;gap:6px;font-weight:650;color:var(--th-sky-ink)}
.theme-claude-trailhead .social-links{display:flex;flex-wrap:wrap;gap:12px}
.theme-claude-trailhead .social-card{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border:1.5px solid var(--line);border-radius:999px;text-decoration:none;font-weight:650}
.theme-claude-trailhead .contact-desk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;padding:clamp(28px,4vw,48px);border-radius:28px;background:linear-gradient(135deg,#eaf3fa,#fdf1e0);border:0}
.theme-claude-trailhead .contact-desk .section-heading{margin:0}
.theme-claude-trailhead .contact-options{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.theme-claude-trailhead .contact-options h3{font-size:26px}
.theme-claude-trailhead .contact-options p:empty{display:none}
.theme-claude-trailhead .contact-detail{font-weight:650}

/* ---------- study resources / writing / other section types (shared tokens) ---------- */
.theme-claude-trailhead .resource-grid,.theme-claude-trailhead .article-grid,.theme-claude-trailhead .pathway-grid,.theme-claude-trailhead .quote-grid,.theme-claude-trailhead .podcast-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:24px}
.theme-claude-trailhead :is(.note-card,.article-card,.pathway,.quote-grid figure){position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:0;padding:28px;border-radius:20px;background:#ffffff;border:1px solid var(--line);box-shadow:none;color:var(--ink);text-decoration:none}
.theme-claude-trailhead .note-card .resource-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:var(--th-sky);color:var(--th-sky-ink);font-size:20px}
.theme-claude-trailhead :is(.note-card,.article-card,.pathway) h3{font-size:22px;line-height:1.15}
.theme-claude-trailhead :is(.note-card,.article-card) .prose{font-size:16px;color:var(--muted)}
.theme-claude-trailhead .article-card img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:12px}
.theme-claude-trailhead .article-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;width:100%;margin-top:auto;font-size:15px;color:var(--muted)}
.theme-claude-trailhead .pathway:hover{border-color:var(--ink)}
.theme-claude-trailhead .quote-grid blockquote{margin:0;font:600 22px/1.35 var(--display);color:var(--ink)}
.theme-claude-trailhead .quote-grid figcaption{display:flex;gap:12px;align-items:center;font-size:15px;color:var(--muted)}
.theme-claude-trailhead .verse-display{max-width:880px}
.theme-claude-trailhead .verse-slide{margin:0}
.theme-claude-trailhead .verse-slide blockquote{margin:0;font:650 clamp(28px,3.4vw,44px)/1.15 var(--display);letter-spacing:-.02em;color:var(--ink)}
.theme-claude-trailhead .verse-slide figcaption{margin-top:16px;color:var(--accent);font-weight:700}
.theme-claude-trailhead .verse-symbol{color:var(--th-sun);font-size:28px}
.theme-claude-trailhead .verse-controls{display:flex;gap:12px;align-items:center;margin-top:20px}
.theme-claude-trailhead .verse-controls button{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer}
.theme-claude-trailhead .faq-list{display:grid;border-top:2px solid var(--ink);max-width:880px}
.theme-claude-trailhead .faq-list details{border-bottom:1px solid var(--line)}
.theme-claude-trailhead .faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;cursor:pointer;font:700 20px/1.3 var(--display);list-style:none}
.theme-claude-trailhead .faq-list summary span{color:var(--accent);font-size:26px}
.theme-claude-trailhead .content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,64px)}
.theme-claude-trailhead .topic-list{display:grid;gap:0;border-top:2px solid var(--ink)}
.theme-claude-trailhead .topic-list>*{padding:20px 0;border-bottom:1px solid var(--line)}
.theme-claude-trailhead .sample-giving,.theme-claude-trailhead .newsletter-letter{padding:32px;border-radius:24px;background:var(--th-dawn)}
.theme-claude-trailhead .engagement-form{background:#f2f2ef}

.theme-claude-trailhead .pn-ch-follow-title{font-family:var(--display)}

/* ---------- footer (dark, calm grid) ----------
   One grid for the columns and classic variants: identity | pages | follow, then the note under a hairline.
   Every column opens with a 44px first row whose text sits on the same centre line, so the columns share one top line.
   Tablet: identity on its own row, pages and follow side by side. Phone: a single stack. */
.theme-claude-trailhead .site-footer{position:relative;max-width:none;margin:0;padding:clamp(64px,7vw,96px) max(var(--th-gutter),calc((100% - var(--th-wrap))/2)) 40px;background:var(--th-night);color:#e7ecf0;font-size:16px;border-top:1px solid #ffffff1f}
.theme-claude-trailhead.site .site-footer.site-footer:not(.footer-centered){display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,.8fr);grid-template-areas:"id pages socials" "note note note";column-gap:clamp(32px,4vw,64px);row-gap:0;align-items:start;text-align:left}
.theme-claude-trailhead.site .site-footer:not(.footer-centered)>div{grid-area:id;text-align:left}
.theme-claude-trailhead.site .site-footer:not(.footer-centered) .footer-pages{grid-area:pages;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;justify-content:stretch;align-items:start;padding:0}
.theme-claude-trailhead.site .site-footer:not(.footer-centered) .footer-socials{grid-area:socials;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;padding:0}
.theme-claude-trailhead.site .site-footer:not(.footer-centered) .footer-note{grid-area:note;margin:clamp(40px,5vw,64px) 0 0}
.theme-claude-trailhead.site .site-footer.site-footer>div strong{display:block;font:800 30px/44px var(--display);letter-spacing:-.03em;color:#fdfcf9}
.theme-claude-trailhead.site .site-footer.site-footer .footer-blurb{margin:10px 0 0;max-width:40ch;color:#cfd8df;font:400 16px/1.6 var(--body)}
.theme-claude-trailhead.site .site-footer.site-footer :is(.footer-pages,.footer-socials) a{display:inline-flex;align-items:center;gap:10px;min-height:44px;max-width:100%;margin:0;color:#fdfcf9;text-decoration:none;font:600 16px/1.3 var(--body);border:0;white-space:normal;overflow-wrap:anywhere}
.theme-claude-trailhead.site .site-footer .footer-pages a{justify-self:start;align-self:start}
.theme-claude-trailhead.site .site-footer .footer-socials a{align-self:flex-start}
.theme-claude-trailhead.site .site-footer :is(.footer-pages,.footer-socials) a svg{flex:none;width:18px;height:18px;opacity:.8}
.theme-claude-trailhead.site .site-footer.site-footer :is(.footer-pages,.footer-socials) a:hover{color:#f7c27d;text-decoration:underline;text-underline-offset:5px}
.theme-claude-trailhead.site .site-footer.site-footer .footer-note{display:block;padding-top:24px;border-top:1px solid #ffffff29;color:#cfd8df;font:400 14.5px/1.6 var(--body)}
@media(max-width:900px){
 .theme-claude-trailhead.site .site-footer.site-footer:not(.footer-centered){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-areas:"id id" "pages socials" "note note";row-gap:36px}
 .theme-claude-trailhead.site .site-footer:not(.footer-centered) .footer-note{margin-top:4px}
}
@media(max-width:560px){
 .theme-claude-trailhead.site .site-footer.site-footer:not(.footer-centered){grid-template-columns:minmax(0,1fr);grid-template-areas:"id" "pages" "socials" "note";row-gap:28px}
 .theme-claude-trailhead.site .site-footer.site-footer>div strong{font-size:26px;line-height:1.15}
 .theme-claude-trailhead.site .site-footer:not(.footer-centered) .footer-pages{column-gap:16px}
}

/* ---------- phones and tablets ---------- */
@media(max-width:1100px){
 .theme-claude-trailhead .site-nav a{padding:0 9px;font-size:14.5px}
 /* the header CTA returns on wide screens; below this the nav already carries the same page */
 .theme-claude-trailhead.site .site-header .header-cta{display:none}
}
@media(max-width:900px){
 .theme-claude-trailhead .block-hero .hero-grid{grid-template-columns:1fr}
 .theme-claude-trailhead .block-hero .hero-art{justify-self:start;max-width:420px}
 .theme-claude-trailhead.site .block :is(.about-grid,.appointment-panel,.invitation-ribbon,.contact-desk,.content-grid){grid-template-columns:1fr}
 .theme-claude-trailhead :is(.engagement-list,.event-list)>article{grid-template-columns:120px minmax(0,1fr)}
 .theme-claude-trailhead :is(.engagement-list,.event-list)>article>:last-child:is(a){grid-column:2}
}
@media(max-width:760px){
 .theme-claude-trailhead{font-size:17px}
 .theme-claude-trailhead .site-header{min-height:64px;padding:10px 20px;gap:12px}
 .theme-claude-trailhead .site-header .wordmark{font-size:19px;gap:10px}
 .theme-claude-trailhead .site-header .wordmark{min-width:0;white-space:normal;line-height:1.1}
 .theme-claude-trailhead .site-header .brand-symbol{width:28px;height:28px;box-shadow:inset 0 -7px 0 #1c2a36}
 .theme-claude-trailhead.site .site-header .header-cta{display:none}
 .theme-claude-trailhead .site-header .site-menu-toggle{border-color:var(--ink);color:var(--ink);font:650 15px/1 var(--body)}
 .theme-claude-trailhead.site .block-hero .hero-grid{gap:36px!important}
 .theme-claude-trailhead .block-hero .eyebrow{margin-bottom:18px;font-size:14px}
 .theme-claude-trailhead .block-hero h1{font-size:clamp(48px,14vw,64px);margin-bottom:16px}
 .theme-claude-trailhead .block-hero .prose{font-size:17px}
 .theme-claude-trailhead.site .block-hero .hero-art{order:2;width:100%;max-width:340px;aspect-ratio:1/1;margin:0!important;border-radius:200px 200px 24px 24px}
 .theme-claude-trailhead.site .block-hero .hero-image{left:22%;top:calc(46% - 28cqw);width:56%!important;height:auto!important}
 .theme-claude-trailhead .block-hero .art-caption{right:6%;top:64%;font-size:14px}
 .theme-claude-trailhead .section-heading h2{font-size:clamp(32px,9vw,44px)}
 .theme-claude-trailhead.site .book-grid .book-card{--th-cover-w:156px;--th-cover-h:228px;--th-plank-over:10px;grid-template-columns:1fr;gap:34px}
 .theme-claude-trailhead.site .book-grid .book-card::after{height:12px}
 .theme-claude-trailhead.site .book-cover.placeholder{padding:18px 14px 14px 22px;gap:8px}
 .theme-claude-trailhead.site .book-cover.placeholder,.theme-claude-trailhead.site .book-cover.placeholder>span:first-child{font-size:22px}
 .theme-claude-trailhead .book-cover.placeholder .th-sub{font-size:11.5px}
 .theme-claude-trailhead .book-cover.placeholder .th-by{font-size:10.5px}
 .theme-claude-trailhead .book-card h3{font-size:24px}
 .theme-claude-trailhead.page-home .block-sermons .sermon-list{margin-right:-20px;padding-right:20px}
 .theme-claude-trailhead.site.page-home .block-sermons .sermon-card,.theme-claude-trailhead.site.page-home .block-sermons.variant-featured .sermon-card:first-child{flex-basis:80vw}
 .theme-claude-trailhead.site .block-sermons.variant-featured .sermon-card:first-child{grid-template-columns:1fr}
 .theme-claude-trailhead .ministry-gallery{grid-template-columns:1fr}
 .theme-claude-trailhead.page-home .ministry-gallery figure:first-child img{aspect-ratio:var(--th-lead-ratio,4/3)}
 .theme-claude-trailhead :is(.engagement-list,.event-list)>article{grid-template-columns:1fr;gap:10px}
 .theme-claude-trailhead :is(.engagement-list,.event-list)>article>:last-child:is(a){grid-column:auto}
 .theme-claude-trailhead :is(.date-tile,.event-date){flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 12px;font-size:24px}
 .theme-claude-trailhead .channel-card{padding:24px}
 .theme-claude-trailhead .network-row{grid-template-columns:44px minmax(0,1fr);gap:14px}
 .theme-claude-trailhead .network-monogram{width:44px;height:44px}
 .theme-claude-trailhead .network-action{display:none}
 .theme-claude-trailhead .about-grid .bio-photo{float:none;display:block;margin:0 0 20px}
 .theme-claude-trailhead .page-intro h1{font-size:clamp(44px,12vw,60px)}
}

/* ---------- reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
 .theme-claude-trailhead *,.theme-claude-trailhead *::before,.theme-claude-trailhead *::after{transition:none!important;animation:none!important}
 .theme-claude-trailhead .book-card:hover .book-cover,.theme-claude-trailhead .sermon-card:hover .sermon-thumb,.theme-claude-trailhead .ministry-gallery .gallery-open:hover img{transform:none}
 .theme-claude-trailhead.page-home .block-sermons .sermon-list{scroll-behavior:auto}
}

/* W8-F5 invitation form: this design only sets the shared form tokens (src/form.css owns the controls). */
.theme-claude-trailhead .engagement-form{--pn-field-bg:#ffffff;--pn-radius:12px}
