:root {
  --navy:   #10303f;   /* deep water */
  --beluga: #4f8ba6;   /* beluga blue */
  --beluga-d: #2f6a85;
  --mist:   #eef5f8;
  --line:   #d5e3ea;
  --orange: #e8801a;
  --ink:    #16252d;
  --muted:  #52707e;
  --paper:  #fbfcfd;
  --serif: "Syncopate", system-ui, -apple-system, "Segoe UI", sans-serif; /* headlines */
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;        /* body */
  --measure: 40rem;
  --max: 68rem;
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--paper); line-height: 1.7; font-size: 1.05rem;
}
a { color: var(--beluga-d); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
.wrap { max-width: none; margin: 0; padding: 0 clamp(24px, 5vw, 88px); }
.measure { max-width: 46rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
.brand { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
nav { display: flex; gap: 6px 24px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding: 4px 0; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--navy); }
nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }

/* Typography */
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0 0 20px; letter-spacing: -.01em; }
h2 { font-size: 1.8rem; margin: 0 0 14px; }
h3 { font-size: 1.25rem; margin: 0 0 8px; }
p { margin: 0 0 1.1em; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; margin: 0 0 14px; }
.sub { font-size: 1.3rem; color: var(--muted); font-family: var(--sans); max-width: 34rem; }
.note { color: var(--muted); font-size: .9rem; }
.todo { color: #8aa5b2; font-style: italic; }

/* Sections */
section { padding: 72px 0; }
.page-head { padding: 88px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.hero { padding: 110px 0 96px; }
.hero .with-photo { grid-template-columns: 1fr 320px; align-items: center; gap: 72px; }
.hero .sub { max-width: 40rem; }
.hero.net { position: relative; overflow: hidden; background: var(--navy); min-height: max(540px, calc(100vh - 56px)); min-height: max(540px, calc(100svh - 56px)); display: flex; align-items: center; padding: 96px 0; }
.hero.net canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero.net::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(16,48,63,.94) 0%, rgba(16,48,63,.8) 38%, rgba(16,48,63,0) 78%); }
.hero.net .wrap { position: relative; z-index: 2; width: 100%; }
.hero.net h1 { color: #fff; }
.hero.net h1 em { color: #8cc3da; }
.hero.net .sub { color: #c9dde7; }
.hero.net .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.hero h1 em { color: var(--beluga-d); font-style: normal; font-weight: 500; }
.rule { width: 56px; height: 3px; background: var(--orange); border: 0; margin: 0 0 28px; }
.alt { background: var(--mist); }
.dark { background: var(--navy); color: #d6e6ee; }
.dark h2, .dark h3, .dark strong, .dark label { color: #fff; }
.dark a { color: #bcd7e2; }
.dark a:hover { color: var(--orange); }
.dark .note { color: #9fbccb; }
.dark .todo { color: #7fa3b5; }
.dark .btn { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.dark .btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.dark .form-status { color: #fff; }
.dark .timeline dt { color: #f0a45d; border-top-color: rgba(255,255,255,.2); }
.dark .timeline dd { border-top-color: rgba(255,255,255,.2); }
.dark .timeline > :nth-last-child(-n+2) { border-bottom-color: rgba(255,255,255,.2); }
.dark .timeline dt.hl, .dark .timeline dd.hl { background: rgba(255,255,255,.08); }
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.two-col > h2 { margin: 0; }

/* Buttons */
.btn { display: inline-block; padding: 12px 26px; border-radius: 3px; background: var(--orange); color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1.5px solid var(--orange); cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { margin-left: 10px; }
.link-row .btn.ghost { margin-left: 0; }

/* Lists & cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.card .tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--beluga-d); margin-bottom: 10px; }
.card .tag.emerging { color: var(--orange); }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 12px 0; border-top: 1px solid var(--line); }
.plain li:last-child { border-bottom: 1px solid var(--line); }
.bullets { padding-left: 1.2em; }
.bullets li { margin-bottom: .4em; }

/* Verse */
.verse { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.verse blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--navy); max-width: 34rem; margin: 0 auto 10px; line-height: 1.5; }
.verse cite { color: var(--orange); font-style: normal; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }

/* Photo placeholder */
.photo { aspect-ratio: 4 / 5; background: var(--mist); border: 1px dashed var(--beluga); border-radius: 4px; display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; padding: 16px; }
.with-photo { display: grid; grid-template-columns: 2fr 1fr; gap: 56px; align-items: start; }

/* Forms */
form { display: grid; gap: 18px; max-width: var(--measure); }
label { font-size: .88rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
input, select, textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--beluga); border-color: var(--beluga); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* Post list / article */
.post { padding: 22px 0; border-top: 1px solid var(--line); }
.post:last-child { border-bottom: 1px solid var(--line); }
.post time { color: var(--muted); font-size: .85rem; }
article.essay { padding: 64px 0; }
article.essay p, article.essay li { max-width: var(--measure); font-size: 1.12rem; }

footer { background: var(--navy); color: #bcd7e2; padding: 44px 0; font-size: .9rem; }
footer a { color: #fff; }
footer a:hover { color: var(--orange); }
.foot-verse { margin: 0 auto 36px; padding: 0 0 36px; border-bottom: 1px solid rgba(255,255,255,.15); text-align: center; max-width: 40rem; }
.foot-verse p { font-family: var(--sans); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.35rem); line-height: 1.55; color: #fff; margin: 0 0 12px; }
.foot-verse cite { color: var(--orange); font-style: normal; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.foot-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.socials { list-style: none; display: flex; gap: 6px 20px; margin: 0; padding: 0; flex-wrap: wrap; }
.esv { margin: 22px 0 0; font-size: .76rem; opacity: .75; max-width: 52rem; line-height: 1.5; }

/* Photos & placeholders */
.photo.landscape { aspect-ratio: 3 / 2; }
.photo.cover { aspect-ratio: 2 / 3; max-width: 280px; }
.photos { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 36px; }

/* Timeline */
.timeline { display: grid; grid-template-columns: 9rem 1fr; gap: 0 28px; margin: 0; }
.timeline dt { font-family: var(--serif); color: var(--beluga-d); font-weight: 600; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline dd { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline dt.hl, .timeline dd.hl { background: var(--mist); }
.timeline dd.hl { padding-left: 16px; padding-right: 16px; }
.timeline dt.hl { padding-left: 16px; }
.timeline > :nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }

/* Book + misc */
.book { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.logo-img { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.covers { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 62rem; margin-top: 32px; }
.covers figure { margin: 0; }
.covers img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 10px 28px rgba(16,48,63,.3); }
.covers figcaption { margin-top: 12px; font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }
.cover-img { display: block; width: 100%; max-width: 280px; height: auto; border-radius: 3px; box-shadow: 0 10px 28px rgba(16,48,63,.3); }
.covers.music { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 20px; }
.btn.disabled { opacity: .5; pointer-events: none; }
.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0; }
.form-status { margin: 0; font-size: .95rem; color: var(--navy); }
.status-line { display: inline-block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--beluga-d); }
.status-line.pub { color: #2f7a4f; }

@media (max-width: 760px) {
  .book { grid-template-columns: 1fr; gap: 28px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline dt { padding-bottom: 0; border-bottom: 0 !important; }
  .timeline dd { border-top: 0; padding-top: 4px; }
}

@media (max-width: 760px) {
  .two-col, .with-photo { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 72px 0; }
  .hero .with-photo { grid-template-columns: 1fr; gap: 32px; }
  .hero.net { min-height: calc(100vh - 90px); min-height: calc(100svh - 90px); padding: 72px 0; }
  .hero.net::before { background: rgba(16,48,63,.82); }
  .btn.ghost { margin: 12px 0 0; }
  section { padding: 52px 0; }
}

/* Larger feature section (Home: What I do) */
section.feature { padding: 64px 0; }
.feature .measure { max-width: none; }
section.feature.center { display: flex; align-items: center; }
.feature .two-col { grid-template-columns: minmax(380px, 30%) 1fr; gap: 40px; align-items: center; }
@media (max-width: 760px) { .feature .two-col { grid-template-columns: 1fr; gap: 24px; } }
.feature.center .wrap { width: 100%; align-items: center; }
.feature .two-col > h2 { text-align: center; }
@media (max-width: 760px) { section.feature.center { min-height: 0; } }
.feature .two-col .grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature h2 { font-size: clamp(2.4rem, 4.5vw, 3.8rem); }
@media (max-width: 760px) { section.feature { padding: 72px 0; } }

/* Scroll thread */
#thread { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; overflow: visible; }
#thread .base { stroke: rgba(79,139,166,.5); stroke-width: 2.5; fill: none; }
#thread .lit-glow { stroke: rgba(232,128,26,.28); stroke-width: 11; fill: none; stroke-linecap: round; }
#thread .lit-line { stroke: var(--orange); stroke-width: 4; fill: none; stroke-linecap: round; }
#thread .tip { r: 7px; fill: #fff4e4; filter: drop-shadow(0 0 10px rgba(232,128,26,1)); }
#thread .branch, #thread .under { stroke: var(--orange); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 0 4px rgba(232,128,26,.6)); }
#thread .under { stroke-width: 2.5; transition: none; }
#thread .branch.on { stroke-dashoffset: 0; }
#thread .node { r: 6px; fill: var(--paper); stroke: var(--beluga); stroke-width: 2; transition: r .4s cubic-bezier(.3,1.6,.5,1), fill .3s, stroke .3s, filter .3s; }
#thread .node.on { r: 11px; fill: var(--orange); stroke: #fff4e4; stroke-width: 3; filter: drop-shadow(0 0 10px rgba(232,128,26,.95)); }
#thread .end { r: 0px; fill: var(--orange); filter: drop-shadow(0 0 5px rgba(232,128,26,.9)); transition: r .2s; }
#thread .end.on { r: 5px; transition: r .35s cubic-bezier(.3,1.6,.5,1); }
#thread .cap { r: 5px; fill: var(--paper); stroke: var(--beluga); stroke-width: 2; transition: fill .3s, stroke .3s, filter .3s; }
#thread .cap.on { fill: var(--orange); stroke: var(--orange); filter: drop-shadow(0 0 6px rgba(232,128,26,.9)); }
#thread .ping { fill: none; stroke: var(--orange); stroke-width: 2.5; opacity: 0; }
#thread .ping.go { animation: ping 1s ease-out forwards; }
@keyframes ping { from { r: 11px; opacity: .95; } to { r: 46px; opacity: 0; } }
html.js-thread main h2.thread-item { opacity: .3; transform: translateX(-22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js-thread main h2.thread-item.thread-lit { opacity: 1; transform: none; }
@media (max-width: 760px) {
  #thread .lit-line { stroke-width: 3; }
  #thread .lit-glow { stroke-width: 8; }
  #thread .node.on { r: 7px; }
  #thread .node { r: 4px; }
  @keyframes ping { from { r: 7px; opacity: .95; } to { r: 28px; opacity: 0; } }
}
@media (prefers-reduced-motion: reduce) { #thread .branch, #thread .under, #thread .node { transition: none; } #thread .ping { display: none; } }

/* room below the last section so the thread can finish its last detour */
main > section:last-of-type { padding-bottom: 150px; }

/* Whole-page floating network (drawn over section backgrounds, under the text) */
body { position: relative; }
#page-net-wrap { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; pointer-events: none; }
#page-net { position: absolute; left: 0; top: 0; pointer-events: none; }
main .wrap { position: relative; z-index: 2; }

/* Syncopate is very wide, so headline sizes are scaled down (remove this block if the font changes) */
.brand { font-size: 1rem; letter-spacing: .02em; }
h1 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); letter-spacing: 0; line-height: 1.2; }
h2 { font-size: 1.3rem; line-height: 1.25; }
h3 { font-size: .95rem; line-height: 1.3; }
.page-head h1 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); }
.feature h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.timeline dt { font-size: .9rem; }
.covers figcaption { font-size: .85rem; }
.hero.net h1 em, .hero h1 em { font-weight: 400; }

/* About page photo */
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.about-photo figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }

/* About photo: crop to a gentler shape and center the text beside it */
.with-photo { align-items: center; }
.about-photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 63%; }
.with-photo .measure p { font-size: 1.15rem; }

/* Newsletter consent + caption labels */
label.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; line-height: 1.5; }
.consent input { flex: none; width: 18px; height: 18px; margin-top: 3px; padding: 0; accent-color: var(--orange); }
.dark label.consent { color: #d6e6ee; font-weight: 400; }
.cap-label { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--beluga-d); font-weight: 600; margin-bottom: 3px; }

/* Footer verse: quieter */
.foot-verse { max-width: 44rem; margin: 0 auto 28px; padding: 0 0 28px; border-bottom-color: rgba(255,255,255,.08); }
.foot-verse p { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.62); margin: 0 0 8px; }
.foot-verse cite { font-size: .68rem; letter-spacing: .12em; color: rgba(232,128,26,.7); font-weight: 500; }

/* Page title band: dark blue like the home hero */
.page-head { background: var(--navy); border-bottom: 0; padding: 72px 0 56px; }
.page-head h1 { color: #fff; }
.page-head .sub { color: #c9dde7; }

/* tall content next to a feature heading: keep the heading at the top */
.feature.top .two-col { align-items: start; }

/* Logo on a light chip so dark logos read on navy */
.logo-chip { display: block; height: 52px; width: auto; background: #fff; padding: 8px 14px; border-radius: 4px; margin: 0 0 12px; }
.logo-chip.sq { height: 110px; padding: 4px; }
.logo-white { display: block; height: 44px; width: auto; margin: 0 0 14px; }

/* Timeline logos sit under the dates */
.timeline dt img { display: block; margin: 12px 0 0; height: auto; }
.timeline dt .logo-chip { width: 100%; max-width: 124px; padding: 6px 8px; }
.timeline dt .logo-chip.sq { width: 92px; max-width: 100%; padding: 3px; }
.timeline dt .logo-white { width: 100%; max-width: 124px; }

/* Never stretch or squish timeline logos: keep their natural proportions */
.timeline dt img { object-fit: contain; }
.timeline dt .logo-chip, .timeline dt .logo-chip.sq, .timeline dt .logo-white { height: auto; }
.timeline dt .logo-chip.sq { width: 100px; }

/* Center the timeline logos in the date column */
.timeline dt img { margin-left: auto; margin-right: auto; }

/* Timeline dates stay on one line */
.timeline { grid-template-columns: 11.5rem 1fr; }
.timeline dt { white-space: nowrap; font-size: .85rem; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; } }

/* HE REMAINS artwork under its date */
.timeline dt .logo-art { display: block; width: 100px; height: auto; margin: 12px auto 0; border-radius: 4px; }

/* Center the dates above their logos */
.timeline dt { text-align: center; }
@media (max-width: 760px) { .timeline dt { text-align: left; } .timeline dt img { margin-left: 0; margin-right: 0; } }

/* Timeline entries: organization, role line, then description */
.timeline .role { display: block; margin: 2px 0 8px; color: #f0a45d; font-weight: 500; font-size: .95rem; }

/* Subtle project thumbnails */
.thumbs { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin: 22px 0 18px; }
.thumbs a { display: block; line-height: 0; }
.thumbs img { height: 120px; width: auto; border-radius: 3px; box-shadow: 0 4px 14px rgba(16,48,63,.18); opacity: .92; transition: opacity .2s, transform .2s; }
.thumbs a:hover img { opacity: 1; transform: translateY(-3px); }

[hidden] { display: none !important; }


/* ---- Animated idea flow (essays): boxes connected by arrows that draw as you scroll ---- */
.flow { position: relative; display: flex; flex-direction: column; gap: 104px; max-width: 1060px; margin: 0 auto; padding: 28px 0 8px; }
.flow-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.idea { position: relative; z-index: 1; width: min(720px, 100%); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--orange); border-radius: 6px; padding: 30px 34px; }
@media (min-width: 900px) {
  .idea:nth-of-type(odd) { align-self: flex-start; }
  .idea:nth-of-type(even) { align-self: flex-end; }
}
.idea .idx { display: block; font-family: var(--serif); font-size: .72rem; letter-spacing: .16em; color: var(--orange); margin-bottom: 10px; }
.idea h3 { color: #fff; font-size: 1rem; margin: 0 0 14px; }
.idea p { color: #d6e6ee; font-size: 1.04rem; max-width: none; margin: 0 0 1em; }
.idea p:last-child { margin-bottom: 0; }
.idea p.big { font-family: var(--serif); color: #fff; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.35; margin-bottom: 18px; }
.idea strong { color: #fff; }
.idea a { color: #bcd7e2; }

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 18px; }
.mini { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 5px; padding: 16px 18px; }
.mini h4 { margin: 0 0 8px; font: 600 .7rem var(--serif); letter-spacing: .1em; text-transform: uppercase; color: #f0a45d; }
.mini p { font-size: .95rem; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 18px; }
.chips span { border: 1px solid rgba(240,164,93,.65); color: #f0a45d; border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 14px; }
.steps .mini { position: relative; }
.steps .mini + .mini::before { content: "\2192"; position: absolute; left: -26px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.2rem; }

/* gentle reveal; the arrow that leads to a box decides when the box appears */
html.js-flow .idea { opacity: 0; transform: translateY(26px) scale(.985); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js-flow .idea.in { opacity: 1; transform: none; }
html.js-flow .idea .mini, html.js-flow .idea .chips span { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
html.js-flow .idea.in .mini, html.js-flow .idea.in .chips span { opacity: 1; transform: none; }
html.js-flow .idea.in .mini:nth-child(2), html.js-flow .idea.in .chips span:nth-child(2) { transition-delay: .15s; }
html.js-flow .idea.in .mini:nth-child(3), html.js-flow .idea.in .chips span:nth-child(3) { transition-delay: .3s; }
html.js-flow .idea.in .chips span:nth-child(4) { transition-delay: .45s; }

.flow-svg .guide { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1.5; stroke-dasharray: 3 7; }
.flow-svg .link { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; }
.flow-svg .node { fill: #10303f; stroke: rgba(255,255,255,.4); stroke-width: 2; r: 5px; transition: fill .3s, stroke .3s; }
.flow-svg .node.on { fill: var(--orange); stroke: #fff4e4; filter: drop-shadow(0 0 6px rgba(232,128,26,.9)); }
.flow-svg .head { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.flow-svg .head.on { opacity: 1; }

@media (max-width: 760px) {
  .flow { gap: 72px; }
  .idea { padding: 24px 22px; }
  .pair, .steps { grid-template-columns: 1fr; }
  .steps .mini + .mini::before { content: "\2193"; left: 50%; top: -22px; transform: translateX(-50%); }
  .steps { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .idea, .idea .mini, .idea .chips span { transition: none !important; }
}

/* Essay listing card on Perspectives: easier to read than the old plain list */
.post-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 6px; padding: 30px 34px; max-width: 780px; box-shadow: 0 2px 12px rgba(16,48,63,.06); }
.post-card .meta { margin: 0 0 12px; font-size: .88rem; color: var(--muted); }
.post-card h3 { margin: 0 0 14px; font-size: 1.3rem; line-height: 1.35; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--orange-dk); }
.post-card p { font-size: 1.08rem; line-height: 1.7; margin: 0 0 14px; }
.post-card .read-link { display: inline-block; font-weight: 600; color: var(--beluga-d); text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.post-card .read-link:hover { color: var(--orange-dk); }

/* Perspectives: subscribe sits in the dark title band, on the right */
.head-split { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 56px; align-items: center; }
.head-subscribe { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--orange); border-radius: 6px; padding: 26px 28px; }
.head-subscribe h3 { margin: 0 0 10px; font-size: 1rem; }
.head-subscribe p { color: #d6e6ee; font-size: .98rem; margin: 0 0 16px; }
.head-subscribe form { gap: 14px; max-width: none; }
.head-subscribe a { color: #bcd7e2; }
.head-subscribe .consent { color: #d6e6ee; font-size: .88rem; }
.head-subscribe .form-status { color: #fff; font-size: .9rem; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; gap: 32px; } }

/* Subscribe box: wider and shorter (email and button share a row) */
.head-split { grid-template-columns: 1fr minmax(380px, 580px); gap: 44px; }
.head-subscribe { padding: 22px 28px; }
.head-subscribe h3 { margin-bottom: 8px; }
.head-subscribe > p { margin-bottom: 14px; }
.head-subscribe form { grid-template-columns: 1fr auto; gap: 10px 12px; align-items: end; }
.head-subscribe form > label:first-child { grid-column: 1; grid-row: 1; }
.head-subscribe form > div { grid-column: 2; grid-row: 1; }
.head-subscribe form > .consent { grid-column: 1 / -1; grid-row: 2; }
.head-subscribe form > .form-status { grid-column: 1 / -1; grid-row: 3; }
.head-subscribe .btn { padding: 12px 22px; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .head-subscribe form { grid-template-columns: 1fr; }
  .head-subscribe form > div { grid-column: 1; grid-row: auto; }
}

section[id] { scroll-margin-top: 90px; }

/* Flow pages: light backdrop with white boxes (instead of an all-blue page) */
.flow-section .idea { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--orange); box-shadow: 0 2px 14px rgba(16,48,63,.08); }
.flow-section .idea h3 { color: var(--navy); }
.flow-section .idea p { color: var(--ink); }
.flow-section .idea p.big { color: var(--navy); }
.flow-section .idea strong { color: var(--navy); }
.flow-section .idea a { color: var(--beluga-d); }
.flow-section .idea .idx { color: var(--orange-dk); }
.flow-section .mini { background: var(--mist); border: 1px solid var(--line); }
.flow-section .mini h4 { color: var(--orange-dk); }
.flow-section .chips span { border-color: var(--orange-dk); color: var(--orange-dk); background: #fff; }
.flow-section .steps .mini + .mini::before { color: var(--orange-dk); }
.flow-section .flow-svg .guide { stroke: rgba(16,48,63,.2); }
.flow-section .flow-svg .node { fill: #fff; stroke: var(--beluga); }
.flow-section .flow-svg .node.on { fill: var(--orange); stroke: #fff; filter: drop-shadow(0 0 5px rgba(232,128,26,.6)); }

/* The three Thirteenth Flame covers, small, under the November 2026 date */
.timeline dt .books { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.timeline dt .books img { width: 50px; height: auto; margin: 0; border-radius: 2px; box-shadow: 0 3px 10px rgba(0,0,0,.35); }
@media (max-width: 760px) { .timeline dt .books { justify-content: flex-start; } }

/* Hero faith line */
.hero-faith { margin-top: 18px; font-size: .95rem; color: rgba(255,255,255,.72); max-width: 640px; }
.hero-faith span { color: var(--orange); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-left: 4px; white-space: nowrap; }
