:root {
  --navy: #17212B;
  --navy-deep: #0D171F;
  --navy-mid: #213142;
  --gold: #BE8B3B;
  --gold-light: #D3AA64;
  --paper: #F5F3EE;
  --white: #FFFFFF;
  --ink: #1C2630;
  --muted: #68737D;
  --line: #DED8CD;
  --soft-gold: #F7F0E4;
  --shadow: 0 18px 38px rgba(16, 24, 31, .08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Aptos, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--gold); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 16px; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 274px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: linear-gradient(165deg, #17212B 0%, #0C151D 100%); padding: 28px 18px 22px; color: #fff; }
.brand { display: flex; align-items: center; gap: 13px; padding: 0 9px 25px; border-bottom: 1px solid rgba(255,255,255,.13); }
.brand-mark { width: 53px; height: 53px; flex: 0 0 auto; object-fit: contain; border-radius: 8px; background: #fff; }
.brand-type { display: grid; gap: 3px; }
.brand-type strong { font-size: 17px; letter-spacing: 3.2px; font-weight: 800; }
.brand-type small { color: var(--gold-light); font-size: 9px; letter-spacing: 2.1px; font-weight: 800; }
.nav-list { display: grid; gap: 5px; padding-top: 23px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 10px; color: #D4D8DB; font-weight: 700; font-size: 14px; transition: .18s ease; }
.nav-icon { color: var(--gold-light); width: 17px; text-align: center; font-size: 16px; }
.nav-link:hover, .nav-link.active { background: rgba(190,139,59,.18); color: #fff; }
.nav-link.active { box-shadow: inset 3px 0 0 var(--gold); }
.sidebar-verse { margin-top: auto; padding: 19px 11px 2px; border-top: 1px solid rgba(255,255,255,.13); color: #DEE2E5; }
.sidebar-label { color: var(--gold-light); font-size: 9px; letter-spacing: 1.8px; font-weight: 800; }
.sidebar-verse p { margin: 9px 0 10px; font-family: Georgia, serif; font-size: 14px; line-height: 1.56; }
.sidebar-verse span { color: var(--gold-light); font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }

.mobile-header { display: none; }
.main-content { width: min(1210px, 100%); margin: 0 auto; padding: 34px 34px 42px; }
.section-anchor { scroll-margin-top: 20px; }
.hero-section { position: relative; min-height: 285px; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: minmax(0,1fr) 255px; background: radial-gradient(circle at 95% 10%, rgba(190,139,59,.18), transparent 26%), linear-gradient(125deg, #111D27 0%, #17212B 56%, #263848 100%); color: #fff; box-shadow: var(--shadow); }
.hero-section:after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(120deg, transparent 0 66%, rgba(255,255,255,.035) 66% 67%, transparent 67% 100%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 43px 42px 37px; align-self: center; }
.eyebrow { margin: 0 0 7px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: 1.45px; line-height: 1.2; }
.hero-section .eyebrow { color: var(--gold-light); }
.hero-section h1 { max-width: 620px; margin: 0 0 12px; font-size: clamp(2.1rem, 4.1vw, 3.6rem); line-height: 1.03; letter-spacing: -.045em; }
.hero-status { max-width: 600px; margin: 0 0 25px; color: #DDE3E7; font-size: 17px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 15px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; font-size: 14px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--gold); color: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.16); }
.button-primary:hover { background: #A9782E; }
.button-quiet { color: #F8F7F4; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); }
.button-quiet:hover { background: rgba(255,255,255,.12); }
.button-outline { color: var(--navy); border-color: var(--gold); background: transparent; }
.button-outline:hover { background: var(--soft-gold); }
.hero-side { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px 32px 28px; background: rgba(0,0,0,.10); }
.hero-mark { width: 128px; height: 128px; object-fit: contain; border-radius: 16px; background: #fff; filter: drop-shadow(0 10px 18px rgba(0,0,0,.16)); }
.hero-side-rule { width: 52px; height: 2px; margin: 18px 0 14px; background: var(--gold); }
.hero-side p { margin: 0; color: #E6EAEC; text-align: center; font-size: 13px; line-height: 1.52; }

.today-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr 1fr; gap: 14px; margin-top: 16px; }
.card { min-height: 247px; padding: 21px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 7px 18px rgba(16,24,31,.04); }
.card-topline { display: flex; align-items: center; gap: 8px; }
.card-icon { color: var(--gold); font-size: 17px; line-height: 1; }
.card .eyebrow { margin: 0; font-size: 10px; }
.card h2 { margin: 15px 0 6px; color: var(--navy); font-size: 22px; line-height: 1.11; letter-spacing: -.022em; }
.card-date { margin-top: 17px; color: var(--muted); font-size: 12px; font-weight: 700; }
.reading-primary { margin-top: 5px !important; font-size: 27px !important; }
.reading-companion { min-height: 48px; margin: 0 0 19px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: #8D611E; font-size: 13px; font-weight: 800; }
.text-link:hover { color: var(--navy); }
.reflection-card { background: #FDFCF9; }
.reflection-text { min-height: 71px; margin: 0; color: #454F58; font-size: 14px; line-height: 1.5; }
.reflection-prompt { margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.reflection-prompt span { display: block; color: var(--gold); text-transform: uppercase; font-size: 9px; font-weight: 800; letter-spacing: 1.2px; }
.reflection-prompt p { margin: 4px 0 0; color: var(--navy); font-size: 13px; font-weight: 750; line-height: 1.38; }
.brotherhood-card { background: var(--navy); border-color: var(--navy); color: #fff; }
.brotherhood-card .eyebrow, .brotherhood-card .card-icon { color: var(--gold-light); }
.brotherhood-card h2 { color: #fff; }
.brotherhood-text { min-height: 72px; margin: 0 0 15px; color: #D9E0E4; font-size: 14px; line-height: 1.52; }
.brotherhood-card .text-link { color: var(--gold-light); }
.memory-card { background: linear-gradient(145deg, #F9F4EA, #FFFDFC); }
.memory-card p { min-height: 48px; margin: 0 0 20px; color: var(--muted); font-size: 14px; }

.section-block, .study-section { margin-top: 48px; }
.section-header { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 22px; margin-bottom: 19px; }
.section-header.compact { align-items: center; }
.section-header h2 { margin: 0; color: var(--navy); font-size: 30px; letter-spacing: -.037em; line-height: 1.1; }
.section-intro { max-width: 450px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.52; }
.study-feature-card { display: grid; grid-template-columns: 125px minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 24px 27px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: 14px; box-shadow: 0 7px 18px rgba(16,24,31,.04); }
.study-week-number { color: var(--gold); font-size: 12px; font-weight: 850; letter-spacing: 1.5px; }
.study-copy .eyebrow { margin: 0 0 4px; }
.study-copy h3 { margin: 0 0 6px; color: var(--navy); font-size: 24px; line-height: 1.1; }
.study-copy p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.48; }

.next-gathering-card { display: grid; grid-template-columns: 185px minmax(0,1fr) auto; align-items: center; gap: 24px; padding: 25px 27px; background: linear-gradient(120deg, #F6EFDFF0, #FFFDF9); border: 1px solid #E5D6B9; border-radius: 15px; }
.gathering-date-block { display: grid; gap: 1px; color: var(--navy); }
.gathering-date-block span { color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: 1.35px; }
.gathering-date-block strong { font-size: 25px; line-height: 1.1; }
.gathering-copy h3 { margin: 0 0 5px; color: var(--navy); font-size: 19px; }
.gathering-copy p { margin: 0; color: var(--muted); font-size: 14px; }
.gathering-countdown { color: #8D611E; font-size: 13px; font-weight: 850; white-space: nowrap; }
.gathering-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 12px; }
.gathering-mini { padding: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.gathering-mini.is-next { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.gathering-mini .mini-date { display: block; color: var(--gold); font-size: 10px; font-weight: 850; letter-spacing: 1.1px; }
.gathering-mini strong { display: block; margin: 6px 0; color: var(--navy); font-size: 15px; }
.gathering-mini span:last-child { color: var(--muted); font-size: 12px; line-height: 1.35; }

.plan-notice { display: none; margin: -5px 0 15px; padding: 11px 13px; color: #79551B; background: var(--soft-gold); border-left: 3px solid var(--gold); border-radius: 4px; font-size: 13px; font-weight: 700; }
.reading-plan-list { display: grid; gap: 11px; }
.week-details { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.week-details[open] { box-shadow: 0 7px 18px rgba(16,24,31,.035); }
.week-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 19px; cursor: pointer; list-style: none; }
.week-summary::-webkit-details-marker { display: none; }
.week-summary:hover { background: #FCFBF8; }
.week-summary-title { color: var(--navy); font-size: 16px; font-weight: 850; }
.week-summary-subtitle { color: var(--muted); font-size: 12px; font-weight: 700; }
.week-summary-icon { color: var(--gold); font-size: 20px; transition: transform .2s ease; }
.week-details[open] .week-summary-icon { transform: rotate(45deg); }
.reading-rows { border-top: 1px solid var(--line); }
.reading-row { display: grid; grid-template-columns: 142px minmax(150px, .88fr) minmax(220px, 1.26fr) minmax(260px, 1.45fr); gap: 15px; align-items: start; padding: 16px 19px; border-bottom: 1px solid #EEE9E0; }
.reading-row:last-child { border-bottom: 0; }
.reading-row.is-today { background: #FFF8EB; box-shadow: inset 4px 0 0 var(--gold); }
.reading-row .date-cell { display: grid; gap: 3px; }
.date-main { color: var(--navy); font-size: 14px; font-weight: 850; }
.today-chip { width: fit-content; padding: 2px 6px; color: #8D611E; background: #F0D9AF; border-radius: 3px; font-size: 8px; font-weight: 850; letter-spacing: 1.1px; }
.reading-cell-label { display: block; margin-bottom: 4px; color: var(--gold); text-transform: uppercase; font-size: 8px; font-weight: 850; letter-spacing: 1.1px; }
.reading-ref { color: var(--navy); font-size: 14px; font-weight: 800; line-height: 1.4; }
.reading-note { color: var(--muted); font-size: 13px; line-height: 1.46; }

.memory-section { padding: 42px; border-radius: 17px; background: linear-gradient(125deg, #17212B, #243545); color: #fff; overflow: hidden; position: relative; }
.memory-section:after { content:""; position:absolute; width: 410px; height: 410px; right: -140px; bottom: -180px; border: 1px solid rgba(190,139,59,.23); border-radius: 50%; box-shadow: 0 0 0 38px rgba(190,139,59,.06), 0 0 0 77px rgba(190,139,59,.05), 0 0 0 118px rgba(190,139,59,.04); }
.memory-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; }
.memory-section .eyebrow { color: var(--gold-light); }
.memory-section h2 { margin: 0 0 12px; color: #fff; font-size: 38px; letter-spacing: -.045em; }
.memory-lead { max-width: 640px; margin: 0 0 22px; color: #DCE3E8; font-size: 15px; line-height: 1.62; }
.memory-section .button-outline { color: #fff; border-color: var(--gold); }
.memory-section .button-outline:hover { background: rgba(190,139,59,.14); }
.memory-visual { min-height: 260px; position: relative; display: grid; place-items: center; }
.tree-ring { position: absolute; border: 1px solid rgba(211,170,100,.42); border-radius: 50%; }
.ring-1 { width: 215px; height: 215px; }
.ring-2 { width: 165px; height: 165px; }
.ring-3 { width: 112px; height: 112px; }
.tree-symbol { position: relative; z-index: 1; color: var(--gold-light); font-size: 52px; transform: translateY(-7px); }
.memory-ref { position: absolute; bottom: 25px; color: var(--gold-light); text-align: center; font-size: 11px; font-weight: 800; letter-spacing: 2px; line-height: 1.15; }
.memory-ref strong { color: #fff; font-size: 24px; letter-spacing: 0; }

.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.resource-card { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; align-items: start; gap: 12px; min-height: 120px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.resource-card:hover { transform: translateY(-2px); border-color: #D0B27D; box-shadow: 0 10px 22px rgba(16,24,31,.06); }
.resource-icon { display: grid; place-items: center; width: 31px; height: 31px; color: #8D611E; background: var(--soft-gold); border-radius: 8px; font-size: 18px; font-weight: 850; }
.resource-card strong { display: block; margin: 1px 0 5px; color: var(--navy); font-size: 15px; }
.resource-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.42; }
.resource-arrow { color: var(--gold); font-size: 20px; font-weight: 800; }
.site-footer { display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 28px; margin-top: 54px; padding: 26px 0 2px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 7px; background: #fff; }
.footer-brand span { display: grid; gap: 2px; }
.footer-brand strong { color: var(--navy); font-size: 13px; letter-spacing: 2.5px; }
.footer-brand small { color: var(--gold); font-size: 8px; font-weight: 850; letter-spacing: 1.5px; }
.site-footer p { margin: 0; color: var(--muted); text-align: right; font-family: Georgia, serif; font-size: 14px; font-style: italic; line-height: 1.5; }

@media (max-width: 1120px) {
  .today-grid { grid-template-columns: 1fr 1.15fr; }
  .reading-row { grid-template-columns: 125px .9fr 1.1fr; }
  .reading-note { grid-column: 2 / -1; }
  .resource-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .mobile-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 65px; padding: 9px 16px; background: var(--navy-deep); color: #fff; box-shadow: 0 3px 11px rgba(0,0,0,.24); }
  .mobile-brand { display: flex; align-items: center; gap: 8px; }
  .mobile-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 6px; background: #fff; }
  .mobile-brand span { display: grid; gap: 1px; }
  .mobile-brand strong { font-size: 14px; letter-spacing: 2.5px; }
  .mobile-brand small { color: var(--gold-light); font-size: 8px; letter-spacing: 1.8px; font-weight: 800; }
  .menu-button { display: grid; gap: 4px; width: 38px; height: 38px; place-content: center; padding: 0; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: transparent; color: #fff; }
  .menu-button span:not(.visually-hidden) { display: block; width: 16px; height: 2px; background: #fff; }
  .mobile-nav { display: none; position: absolute; top: 65px; left: 0; right: 0; padding: 8px 16px 15px; background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.12); }
  .mobile-nav.open { display: grid; }
  .mobile-nav a { padding: 11px 2px; color: #E2E6E8; border-bottom: 1px solid rgba(255,255,255,.11); font-size: 14px; font-weight: 800; }
  .main-content { padding: 17px 16px 35px; }
  .hero-section { grid-template-columns: 1fr; min-height: 300px; }
  .hero-content { padding: 32px 27px 27px; }
  .hero-side { display: none; }
  .today-grid { grid-template-columns: 1fr 1fr; }
  .study-feature-card { grid-template-columns: 96px minmax(0,1fr); }
  .study-feature-card .button { grid-column: 2; width: fit-content; }
  .gathering-list { grid-template-columns: 1fr 1fr; }
  .memory-section { padding: 31px 27px; }
  .memory-layout { grid-template-columns: 1fr; }
  .memory-visual { min-height: 200px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; }
  .site-footer p { text-align: left; }
}
@media (max-width: 600px) {
  .hero-section h1 { font-size: 2.3rem; }
  .today-grid { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .reading-companion, .reflection-text, .brotherhood-text, .memory-card p { min-height: 0; }
  .section-block, .study-section { margin-top: 37px; }
  .section-header { grid-template-columns: 1fr; gap: 11px; }
  .section-header h2 { font-size: 27px; }
  .section-header.compact { align-items: start; }
  .study-feature-card { grid-template-columns: 1fr; gap: 12px; padding: 21px; }
  .study-feature-card .button { grid-column: auto; width: 100%; }
  .next-gathering-card { grid-template-columns: 1fr; gap: 12px; padding: 21px; }
  .gathering-countdown { white-space: normal; }
  .gathering-list { grid-template-columns: 1fr; }
  .reading-row { grid-template-columns: 1fr; gap: 9px; padding: 16px; }
  .reading-note { grid-column: auto; }
  .week-summary { align-items: start; }
  .week-summary-title { display: block; }
  .week-summary-subtitle { display: block; margin-top: 3px; }
  .memory-section h2 { font-size: 34px; }
  .memory-visual { min-height: 180px; }
  .ring-1 { width: 170px; height: 170px; }
  .ring-2 { width: 130px; height: 130px; }
  .ring-3 { width: 88px; height: 88px; }
}
