/* Faith in Motion for Associates. Own stylesheet (fonts shared in style with the book's look). */
@font-face { font-family: "Playfair Display"; src: url(/fonts/playfair-display-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(/fonts/playfair-display-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(/fonts/instrument-sans-var.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
:root { --navy: #14222E; --navy2: #1D3140; --paper: #F4ECDF; --paper2: #EADFCC; --ink: #1E2A33; --ink2: #4E5A62; --gold: #FAD491; --amber: #E8A04A; --amber-ink: #2A1A06; --line: rgba(30,42,51,.14); --r: 16px;
  --serif: "Playfair Display", Georgia, serif; --book: "Cormorant Garamond", Georgia, serif; --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--navy); min-height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
main { max-width: 720px; margin: 0 auto; padding: 20px 20px 80px; min-height: calc(100vh - 56px); }
main.dark { color: var(--paper); background: var(--navy); }
main.paper { background: var(--paper); }
body:has(main.paper) { background: var(--paper); }
h1, h2 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: .4em 0 .35em; }
h1 { font-size: 2rem; } h2 { font-size: 1.35rem; }
h1:focus { outline: none; }
p { margin: .5em 0 .8em; }
.body { font-size: 1.06rem; }
.quiet { opacity: .78; font-size: .95rem; }
.help { color: var(--ink2); font-size: .92rem; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--gold); margin: 0 0 .3em; }
.eyebrow.dark { color: #8A5A16; }
.label { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 700; color: #8A5A16; margin: 1.6em 0 .4em; }
.dark .label { color: var(--gold); }
/* top bar */
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 56px; padding: 0 10px; padding-top: env(safe-area-inset-top); background: rgba(20,34,46,.96); color: var(--paper); backdrop-filter: blur(8px); }
.top-title { font-weight: 600; font-size: .95rem; opacity: .85; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 24px; height: 24px; }
.brand { text-decoration: none; padding: 4px 6px; }
.mark { font-family: var(--serif); font-size: 1.05rem; display: inline-flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.mark i { font-weight: 400; }
.mark small { font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.offline { background: #3D2A10; color: var(--gold); text-align: center; font-size: .88rem; padding: 6px 12px; }
/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; background: var(--navy); color: var(--paper); font-weight: 600; text-decoration: none; cursor: pointer; text-align: center; }
.dark .btn { background: var(--paper); color: var(--ink); }
.btn-gold, .dark .btn-gold { background: var(--amber); color: var(--amber-ink); }
.btn-ghost, .dark .btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn.is-off { opacity: .55; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 14px 0; }
.stack { display: grid; gap: 12px; margin: 18px 0; }
.linkish { background: none; border: 0; padding: 6px 0; color: inherit; text-decoration: underline; cursor: pointer; }
.linkish.small, .small { font-size: .88rem; }
.danger { color: #9B2C1F; }
.btn.danger { background: #9B2C1F; color: #fff; }
.textlink { color: #7A4A0C; font-weight: 600; }
.dark .textlink { color: var(--gold); }
/* cards */
.card { background: #FFF9F0; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin: 16px 0; }
.dark .card { background: var(--navy2); border-color: rgba(244,236,223,.12); color: var(--paper); }
.card h2 { margin-top: .1em; }
.card.soon { border-style: dashed; }
a.card { display: block; text-decoration: none; }
.card.due { border: 2px solid var(--amber); }
.book-card { display: flex; gap: 14px; align-items: center; }
.book-card img { flex: none; border-radius: 4px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.book-card p { margin: .2em 0; }
/* fields */
.field { display: grid; gap: 6px; margin: 14px 0; font-weight: 600; font-size: .98rem; }
.field.inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
input[type=text], input[type=email], input[type=date], select, textarea { width: 100%; font: 400 1rem/1.5 var(--sans); padding: 12px 14px; border: 1.5px solid rgba(30,42,51,.28); border-radius: 12px; background: #fff; color: var(--ink); }
.field.inline input, .field.inline select { width: auto; }
textarea { resize: vertical; min-height: 96px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; }
.saved { font-size: .85rem; color: #2F6B3A; opacity: 0; transition: opacity .3s; }
.saved.on { opacity: 1; }
/* welcome */
.welcome { padding: 0; position: relative; min-height: 100vh; max-width: none; display: flex; flex-direction: column; justify-content: flex-end; }
.hero { position: absolute; inset: 0; overflow: hidden; }
.hero .photo, .day-hero .photo { width: 100%; height: 100%; object-fit: cover; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,34,46,.25) 0%, rgba(20,34,46,.55) 45%, rgba(20,34,46,.96) 78%); }
.welcome-body { position: relative; max-width: 640px; margin: 0 auto; padding: 40vh 24px 48px; }
.display { font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: 1.02; }
.display i { font-weight: 400; }
.display .for { display: block; font-family: var(--sans); font-size: .9rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-top: .6em; font-weight: 600; }
.lede { font-size: 1.1rem; margin: 1em 0 1.4em; }
/* hello */
.portrait-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.portrait { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.portrait-img { width: 100%; height: 100%; object-fit: cover; }
.sign { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.cover { margin: 18px auto; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.checklist { padding-left: 1.3em; } .checklist li { margin: .5em 0; }
.checklist svg { vertical-align: middle; }
/* today */
.today-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 14px; }
.ring { width: 112px; height: 112px; flex: none; }
.ring-bg { fill: none; stroke: rgba(244,236,223,.15); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--amber); stroke-width: 10; stroke-linecap: round; }
.ring-n { fill: var(--paper); font: 700 30px var(--serif); }
.ring-of { fill: var(--paper); opacity: .7; font: 600 11px var(--sans); }
.day-card { display: block; border-radius: 20px; overflow: hidden; background: var(--navy2); text-decoration: none; color: var(--paper); margin: 10px 0 18px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.day-card-img { aspect-ratio: 16/9; overflow: hidden; }
.day-card-img .photo { width: 100%; height: 100%; object-fit: cover; }
.day-card-body { padding: 16px 18px 20px; }
.day-card .btn { margin-top: 6px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.tile { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border-radius: 14px; background: var(--navy2); text-decoration: none; font-size: .85rem; font-weight: 600; }
.tile svg { width: 26px; height: 26px; color: var(--gold); }
/* walk */
.week { margin: 10px 0 28px; }
.week-head { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 21/9; }
.week-head .photo { width: 100%; height: 100%; object-fit: cover; }
.week-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,34,46,0) 30%, rgba(20,34,46,.9)); }
.week-title { position: absolute; left: 16px; bottom: 10px; right: 16px; }
.week-title h2 { margin: 0; color: var(--paper); }
.week-intro { margin: 10px 2px; }
.days { list-style: none; padding: 0; margin: 0; }
li.day a, li.day .row { display: grid; grid-template-columns: 28px 64px 1fr auto; align-items: center; gap: 10px; padding: 11px 6px; text-decoration: none; border-bottom: 1px solid rgba(244,236,223,.1); }
li.day svg { width: 26px; height: 26px; }
.day-n { font-weight: 700; font-size: .85rem; color: var(--gold); }
li.day.ahead .day-t { opacity: .8; }
li.day.today a { background: rgba(232,160,74,.12); border-radius: 10px; }
.lock { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; border: 1px solid rgba(244,236,223,.4); border-radius: 999px; padding: 2px 8px; }
/* day */
main.day { padding: 0 0 80px; }
.day-hero { position: relative; aspect-ratio: 4/3; max-height: 420px; width: 100%; overflow: hidden; color: var(--paper); }
.day-hero .hero-veil { background: linear-gradient(180deg, rgba(20,34,46,.1) 20%, rgba(20,34,46,.92) 92%); }
.day-hero-text { position: absolute; left: 20px; right: 20px; bottom: 14px; }
.day-hero-text h1 { margin: .1em 0 .3em; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.chips li { font-size: .74rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(250,212,145,.18); color: var(--gold); }
.day-body { padding: 4px 20px; }
.read { background: #FBF3E3; border-color: #E6CFA5; }
.bookref { font-weight: 600; color: var(--ink2); }
.nudge { font-size: .88rem; color: var(--ink2); margin-top: 10px; }
.verse { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--amber); }
.verse p { font-family: var(--book); font-size: 1.32rem; line-height: 1.4; margin: .2em 0; }
.verse cite { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--ink2); }
.quote { margin: 24px 0; padding: 18px 20px; background: var(--navy); color: var(--paper); border-radius: var(--r); }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--book); font-style: italic; font-size: 1.4rem; line-height: 1.35; margin: 0 0 .4em; }
.quote figcaption { font-size: .85rem; color: var(--gold); }
.quote .textlink { color: var(--gold); display: inline-block; margin-top: 8px; }
.q span { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.step { border: 2px solid var(--amber); }
.step.is-done { border-color: #2F6B3A; }
.done-note { color: #2F6B3A; font-weight: 600; font-size: .92rem; }
.plan { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.plan .field { margin: 8px 0; font-weight: 500; font-size: .9rem; }
.prevnext { display: flex; justify-content: space-between; margin: 26px 0; }
/* journal */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .86rem; font-weight: 600; text-decoration: none; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.entry h2 a { text-decoration: none; }
.qa .q { font-weight: 700; margin-bottom: .1em; }
.qa .a, .note .a { white-space: pre-wrap; }
/* share */
.share-preview { min-height: 200px; display: grid; place-items: center; background: var(--paper2); border-radius: var(--r); padding: 10px; }
.share-img { max-height: 62vh; width: auto; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
ul.plain { list-style: none; padding: 0; } ul.plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
/* groups */
.summary .big { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin: 0 0 8px; }
.bar { display: grid; grid-template-columns: 84px 1fr 44px; align-items: center; gap: 8px; margin: 4px 0; font-size: .88rem; }
.bar-t { height: 10px; background: var(--paper2); border-radius: 999px; overflow: hidden; }
.bar-f { display: block; height: 100%; background: var(--amber); border-radius: 999px; }
.bar-n { text-align: right; font-weight: 700; }
.members { list-style: none; padding: 0; margin: 0 0 10px; }
.member { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.m-day { font-size: .86rem; color: var(--ink2); }
.tools { margin-top: 12px; } .tools summary, details.card summary { cursor: pointer; font-weight: 700; }
.code { font-family: ui-monospace, Menlo, monospace; font-size: 1.2rem; letter-spacing: .12em; }
/* sheets */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; max-height: 86vh; overflow: auto; z-index: 41; background: var(--paper); color: var(--ink); border-radius: 22px 22px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; box-shadow: 0 -10px 40px rgba(0,0,0,.3); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h2 { margin: .4em 0; }
body.sheet-open { overflow: hidden; }
.menu { list-style: none; padding: 0; margin: 0; } .menu li { border-bottom: 1px solid var(--line); }
.menu a, .menu .linkish { display: block; padding: 14px 4px; text-decoration: none; font-weight: 600; width: 100%; text-align: left; }
.help-link { color: #9B2C1F; }
.line { margin: 10px 0; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 12px; z-index: 60; max-width: 90vw; font-size: .95rem; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
@media (min-width: 720px) { h1 { font-size: 2.4rem; } main.day { padding-top: 16px; } .day-hero { border-radius: 20px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* Draft markers: copy not yet approved by Herman */
.draft-pill { display: inline-block; font: 600 .72rem/1.2 var(--sans); letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: #FCE3B0; color: #5A3405; border: 1px solid #E8A04A; margin: 6px 0; white-space: nowrap; }
.draft-dot { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 2px 7px; background: #FCE3B0; color: #5A3405; margin-left: 4px; white-space: nowrap; }
.walk-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 20px; }
.card.review { margin-top: 14px; }
.card.walk-with .btn-row { margin-top: 10px; }
/* ---- alignment (Oct 18): side by side, toolkit, tracks, book map, member check-in ---- */
.tiles { grid-template-columns: repeat(3, 1fr); }
.tile span { text-align: center; line-height: 1.2; }
.ask { font-family: var(--serif, "Playfair Display"); margin: 1.2em 0 .4em; }
.btn-choice { display: grid; gap: 2px; text-align: left; justify-items: start; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-choice .quiet { font-weight: 400; font-size: .86rem; }
.btn-choice.on { border-color: var(--amber); box-shadow: 0 0 0 2px var(--amber) inset; }
.side { margin: 22px 0; }
.side-cols { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #FFF9F0; }
@media (min-width: 640px) { .side-cols { grid-template-columns: 1fr 1fr; } }
.side-book { padding: 16px 18px; background: var(--navy); color: var(--paper); }
.side-book blockquote { margin: 0; }
.side-book blockquote p { font-family: var(--book); font-style: italic; font-size: 1.25rem; line-height: 1.35; margin: .2em 0 .4em; }
.side-biz { padding: 16px 18px; color: var(--ink); }
.side-biz p { margin: .2em 0; }
.side-h { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; margin: 0 0 .3em; }
.side-book .side-h, .side-src, .side-book .side-read, .side-book a { color: var(--gold); }
.side-biz .side-h { color: #8A5A12; }
.side-src { font-size: .85rem; margin: 0; }
.card .side-src, .fear .side-src, .info-step .side-src { color: #8A5A12; }
.side-read { font-size: .82rem; margin: .4em 0 0; opacity: .9; }
.team-line { font-size: .92rem; color: var(--ink2); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 12px; }
.other-step { margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: rgba(232,160,74,.1); }
.other-step summary { font-weight: 700; cursor: pointer; }
.members-half { border-left: 4px solid var(--amber); }
.tool-list { display: grid; gap: 10px; margin: 14px 0; }
.tool-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: #FFF9F0; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.tool-n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.tool-body { display: grid; gap: 2px; } .tool-body .quiet { font-size: .84rem; color: var(--ink2); }
.free-tag { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: #DDEFD8; color: #1F4D1A; border-radius: 999px; padding: 2px 8px; font-weight: 700; }
.paper .lock { border-color: var(--line); color: var(--ink2); }
.when { margin: .4em 0 1em; }
.choice { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 14px 0; }
.choice legend { font-weight: 600; padding: 0 4px; }
.choice .opt { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; }
.info-step { background: rgba(232,160,74,.08); }
.fear .fear-words { font-family: var(--book); font-style: italic; font-size: 1.2rem; line-height: 1.35; margin: .2em 0; }
.milestone .checklist li { margin: .35em 0; }
.member-list li.member-row { display: grid; gap: 8px; padding: 10px 0; }
.member-row.is-due .m-line { color: #8A3B00; }
.member-row .btn-row { margin: 0; }
.add-member { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; margin-top: 12px; }
@media (max-width: 480px) { .add-member { grid-template-columns: 1fr; } }
.members-due .due-line { font-weight: 700; margin: .2em 0; }
.track-card.focus { border: 2px solid var(--gold); }
.sessions { list-style: none; padding: 0; }
.sessions li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sessions li.walked .textlink { text-decoration: line-through; opacity: .75; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; }
.map-row .side { margin: 8px 0; }
.quote.small p { font-size: 1.15rem; }
.small { font-size: .86rem; }
.fear .costume { margin: .4em 0 0; font-size: .95rem; color: var(--ink2); }
