/*
Theme Name: Библия за общим столом
Description: Тёплый домашний сайт Библейского кружка при Сормовском соборе.
Version: 2.1.2
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: bible-home
*/

:root {
  --home-cream: #fff9ef;
  --home-paper: #fffdf8;
  --home-ink: #3f2d24;
  --home-muted: #756255;
  --home-clay: #b94f32;
  --home-clay-dark: #953e28;
  --home-gold: #efbd50;
  --home-sun: #fff0c8;
  --home-blue: #dcecf0;
  --home-peach: #f8e0cf;
  --home-line: #e5d7c6;
  --home-serif: Georgia, 'Times New Roman', serif;
  --home-sans: 'Trebuchet MS', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--home-ink); background: var(--home-cream); font-family: var(--home-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, summary, input { touch-action: manipulation; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; flex: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--home-serif); font-weight: 400; letter-spacing: -.045em; }
h2 { font-size: clamp(34px, 3.5vw, 46px); line-height: 1.16; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
p + p { margin-top: 14px; }
em { font-weight: inherit; }
::selection { background: #f4d78c; color: var(--home-ink); }
:focus-visible { outline: 3px solid #906023; outline-offset: 5px; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
.container { width: min(1220px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 18px; z-index: 300; background: var(--home-ink); color: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 14px; }

/* A familiar, welcoming header. */
.site-top { position: sticky; top: 0; z-index: 100; background: #fff9eff5; border-bottom: 1px solid #eadac9; backdrop-filter: blur(12px); }
.admin-bar .site-top { top: 32px; }
.top-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.home-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; line-height: 1.25; }
.brand-icon { width: 43px; height: 43px; display: grid; place-items: center; color: var(--home-clay); background: #f8e2ca; border-radius: 14px; transform: rotate(-5deg); }
.brand-icon svg { width: 26px; height: 26px; }
.brand-text { font-weight: 700; font-size: 16px; letter-spacing: -.025em; }
.brand-text small { display: block; font-weight: 400; font-size: 10px; margin-top: 5px; letter-spacing: .045em; color: var(--home-muted); }
.main-nav { display: flex; align-items: center; gap: 27px; font-size: 13px; }
.main-nav a { padding: 8px 0; transition: color .2s ease; }
.main-nav a:hover { color: var(--home-clay); }
.top-join { border-radius: 30px; background: var(--home-clay); color: #fffaf0; padding: 12px 20px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s; }
.top-join:hover { background: var(--home-clay-dark); transform: translateY(-2px); }
.nav-toggle { display: none; background: var(--home-paper); border: 1px solid var(--home-line); border-radius: 30px; padding: 10px 16px; min-height: 44px; font-size: 13px; }

/* A shared parish table sets the atmosphere of the first screen. */
.welcome { position: relative; background: radial-gradient(ellipse at 85% 45%, #f5ddb3 0%, #fff3df 36%, var(--home-cream) 72%); }
.welcome-inner { width: min(1440px, calc(100% - 80px)); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 52px; padding-block: 52px; }
.welcome-copy { max-width: 530px; min-width: 0; }
.welcome-visual { min-width: 0; margin: 0; }
.welcome-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; border: 7px solid #fffdf8; border-radius: 34px 12px 34px 12px; box-shadow: 0 20px 55px #70461e20; }
.tagline { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 7px 14px; border-radius: 30px; color: #80502d; background: #ffefcce8; border: 1px solid #e6c991; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .015em; }
.welcome h1 { font-size: clamp(57px, 5.3vw, 77px); line-height: 1.04; margin: 25px 0 24px; }
.welcome h1 em { color: var(--home-clay); }
.welcome-copy .intro { max-width: 380px; color: #675144; font-size: 17px; line-height: 1.75; }
.welcome-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 23px; margin-top: 29px; }
.action, .button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 54px; padding: 16px 25px; background: var(--home-clay); border: 1px solid var(--home-clay); color: #fffaf3; border-radius: 32px; font-size: 14px; font-weight: 600; line-height: 1.4; transition: background .22s, transform .22s, box-shadow .22s; }
.action:hover, .button:hover { background: var(--home-clay-dark); border-color: var(--home-clay-dark); transform: translateY(-3px); box-shadow: 0 9px 18px #953e281c; }
.top-join.action { min-height: 44px; padding: 12px 20px; font-size: 13px; gap: 16px; }
.action svg, .button svg { width: 18px; height: 18px; }
.button:disabled { opacity: .65; cursor: wait; transform: none; }
.soft-link { font-size: 13px; line-height: 1.5; color: #70513f; text-decoration: underline; text-decoration-color: #bea48c; text-underline-offset: 6px; }
.soft-link:hover { color: var(--home-clay); text-decoration-color: currentColor; }
.welcome-note { margin-top: 23px; font-size: 11px; color: #80664f; line-height: 1.65; }
.image-credit { margin-top: 10px; text-align: right; color: var(--home-muted); font-size: 9px; line-height: 1.4; }
.ribbon { background: var(--home-gold); color: #62421d; padding: 17px 0; font-size: 13px; line-height: 1.5; }
.ribbon > .container, .ribbon-inner { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 32px; }
.ribbon span { display: inline-flex; align-items: center; gap: 10px; }
.ribbon .dot { font-size: 11px; opacity: .6; }
.ribbon span[aria-hidden='true'] { font-size: 11px; opacity: .6; }

/* Compact sections with warm, useful visual grouping. */
.home-section { padding: 72px 0; }
.section-title { margin-bottom: 34px; }
.eyeline { display: block; color: var(--home-clay); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; line-height: 1.6; margin-bottom: 13px; }
.section-title p { color: var(--home-muted); max-width: 640px; font-size: 16px; margin-top: 18px; }
.together { background: var(--home-cream); }
.welcome-block { display: grid; grid-template-columns: 1.4fr .65fr; gap: 75px; align-items: center; margin-bottom: 37px; }
.together-copy { max-width: 600px; }
.together-copy h2 { margin-bottom: 20px; }
.together-copy p { max-width: 520px; color: var(--home-muted); font-size: 16px; }
.tea-note { background: var(--home-blue); border: 1px solid #c7dfe3; padding: 28px 32px; border-radius: 26px 26px 26px 6px; transform: rotate(3deg); box-shadow: 0 8px 0 #acd2d51c; max-width: 315px; justify-self: end; }
.tea-note svg { width: 53px; height: 53px; color: #477780; margin-bottom: 13px; }
.tea-note h3, .tea-note strong { display: block; font-family: var(--home-serif); font-size: 25px; font-weight: 400; line-height: 1.25; margin-bottom: 10px; }
.tea-note p { font-size: 13px; line-height: 1.65; color: #526e70; }
.tea-note > span { display: block; font-size: 12px; line-height: 1.65; color: #526e70; }
.welcome-block .section-title { margin-bottom: 0; }
.ritual-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.ritual { position: relative; min-width: 0; padding: 27px 28px 28px; border-radius: 20px; background: var(--home-sun); }
.ritual.sun { background: #fff0c8; }
.ritual.clay { background: #f9e1d0; }
.ritual.blue { background: #dfedf0; }
.ritual-icon { color: #ac752a; margin-bottom: 22px; }
.ritual-icon svg { width: 45px; height: 45px; }
.ritual.clay .ritual-icon { color: #ad6448; }
.ritual.blue .ritual-icon { color: #477b85; }
.ritual h3 { font-size: 21px; margin-bottom: 12px; }
.ritual p { font-size: 14px; line-height: 1.8; color: #725b4c; }
.ritual.blue p { color: #52686c; }
.ritual-index { position: absolute; top: 27px; right: 25px; font-size: 11px; font-weight: 600; color: #8d745e; }

/* The course reads as six approachable chapters, three at a time. */
.journey { background: #f8f1e6; }
.journey-head { display: flex; justify-content: space-between; gap: 35px; align-items: center; margin-bottom: 25px; }
.journey-head .section-title { margin-bottom: 0; }
.journey-head .section-title p { max-width: 600px; }
.two-years { max-width: 205px; padding: 18px 22px; background: #f0e2c9; border-radius: 18px; font-size: 13px; color: #7a5d3e; transform: rotate(2deg); line-height: 1.65; flex: none; }
.two-years strong { font-family: var(--home-serif); font-size: 26px; font-weight: 400; display: block; color: var(--home-ink); margin-bottom: 3px; }
.year-tabs { display: inline-flex; flex-wrap: wrap; gap: 5px; padding: 5px; background: #eaddc9; border-radius: 32px; margin-bottom: 25px; }
.year-tabs button { border: 0; border-radius: 28px; padding: 11px 22px; min-height: 44px; color: #6e5948; background: transparent; font-size: 13px; font-weight: 600; transition: background .2s, color .2s; }
.year-tabs button[aria-selected='true'] { background: var(--home-ink); color: var(--home-cream); box-shadow: 0 3px 6px #39271d15; }
.year-tabs button:not([aria-selected='true']):hover { background: #f8f1e6; }
.year-panel[hidden] { display: none !important; }
.chapter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; align-items: start; }
.chapter { min-width: 0; padding: 26px; border-radius: 19px; border: 1px solid #e4cf9e; background: #fff4d8; }
.chapter:nth-child(2) { background: #fae6d8; border-color: #e7cdb9; }
.chapter:nth-child(3) { background: #e4eff1; border-color: #c5dde0; }
.chapter-num { display: inline-grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; background: #f2d78f; color: #7b5425; font-family: var(--home-serif); font-size: 21px; margin-right: 9px; margin-bottom: 20px; }
.chapter:nth-child(2) .chapter-num { background: #f0c5a7; color: #8c4f36; }
.chapter:nth-child(3) .chapter-num { background: #bcdde2; color: #3e6a72; }
.chapter-month { font-size: 11px; color: var(--home-muted); vertical-align: middle; }
.chapter-top { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.chapter-top .chapter-num { flex: none; margin: 0; }
.chapter h3 { font-family: var(--home-serif); font-size: 26px; font-weight: 400; line-height: 1.2; min-height: 63px; margin-bottom: 17px; }
.chapter-reading { font-size: 13px; line-height: 1.65; color: #725e4d; min-height: 43px; }
.chapter details { margin-top: 20px; border-top: 1px solid #bda58255; }
.chapter details summary { padding: 16px 18px 0 0; font-size: 12px; font-weight: 600; color: #8a5035; position: relative; }
.chapter details summary::after { content: '+'; position: absolute; right: 0; top: 13px; font-size: 19px; font-weight: 400; }
.chapter details[open] summary::after { content: '−'; }
.chapter details summary > span[aria-hidden='true'] { display: none; }
.chapter details p { margin-top: 13px; color: #725e4d; font-size: 14px; line-height: 1.75; }
.journey-note { margin-top: 18px; font-size: 11px; color: #8c7965; max-width: 800px; line-height: 1.65; }

/* Recognisable situations, with optional deeper reading. */
.for-you { background: #f9e8d9; }
.for-you .section-title { text-align: center; margin-bottom: 33px; }
.for-you .section-title p { margin-inline: auto; max-width: 590px; }
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: start; }
.audience-card { grid-column: span 2; min-width: 0; border: 1px solid #e8cfbb; border-radius: 20px; background: #fffaf2; transition: transform .25s, box-shadow .25s; }
.audience-card:nth-child(2) { background: #fff1d3; border-color: #ead6aa; }
.audience-card:nth-child(3) { background: #eaf2f3; border-color: #ccdee0; }
.audience-card:nth-last-child(-n+2) { grid-column: span 3; }
.audience-card:nth-child(4) { background: #f7eddf; }
.audience-card:nth-child(5) { background: #fff9ec; }
.audience-card:hover { transform: translateY(-3px); box-shadow: 0 9px 22px #8460410b; }
.audience-card summary { padding: 26px 27px 23px; min-height: 248px; display: flex; flex-direction: column; }
.audience-symbol { font-family: var(--home-serif); font-style: italic; font-size: 25px; color: #bc7652; margin-bottom: 15px; line-height: 1; }
.audience-card:nth-child(2) .audience-symbol { color: #a7792f; }
.audience-card:nth-child(3) .audience-symbol { color: #56808a; }
.audience-card h3 { font-size: 21px; line-height: 1.35; margin-bottom: 12px; }
.audience-preview { font-size: 13px; line-height: 1.7; color: var(--home-muted); margin-bottom: 18px; }
.audience-more { display: block; font-size: 11px; font-weight: 600; color: #9c5c3c; margin-top: auto; }
.audience-card[open] { box-shadow: 0 9px 22px #8460410b; }
.audience-body { margin: 0 27px; padding: 20px 0 26px; border-top: 1px solid #dcc7b3; }
.audience-body p { font-size: 14px; line-height: 1.8; color: #6e5849; }
.audience-body blockquote { margin: 14px 0; padding-left: 17px; border-left: 3px solid #d2a36f; font: italic 18px/1.6 var(--home-serif); color: #896044; }

/* A compact host introduction leaves room for a real portrait later. */
.host-section { background: var(--home-cream); }
.host-card { display: grid; grid-template-columns: 230px 1fr; gap: 47px; align-items: center; padding: 35px; border-radius: 25px; background: #fffdf8; border: 1px solid #e9ddce; box-shadow: 0 8px 22px #4f352005; }
.host-picture { position: relative; min-height: 260px; border-radius: 18px; background: #dcebef; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #6d9397; }
.host-picture::before { content: ''; position: absolute; width: 165px; height: 165px; border: 1px solid #b7d4d7; border-radius: 50%; }
.host-picture > span { position: relative; font: italic 76px/1 var(--home-serif); letter-spacing: -.06em; }
.host-picture > .host-picture-note { position: absolute; bottom: 22px; left: 15px; right: 15px; text-align: center; font: 12px/1.5 var(--home-sans); letter-spacing: .02em; color: #547b80; }
.host-picture img { width: 100%; height: 280px; object-fit: cover; position: relative; }
.host-copy { max-width: 670px; }
.host-copy h2 { margin-bottom: 17px; }
.host-copy p { font-size: 15px; line-height: 1.8; color: var(--home-muted); }
.host-copy .host-role { font-size: 16px; color: #73543f; }
.host-copy .soft-link { display: inline-block; margin-top: 20px; }

/* Practical details have a distinct, calm blue home. */
.practical-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.where-card { background: #dcecf0; border-radius: 24px; padding: 34px; border: 1px solid #c6dfe3; }
.where-card .eyeline { color: #477b83; }
.where-card h2 { font-size: 39px; margin-bottom: 24px; }
.where-address { font-size: 17px; line-height: 1.65; margin-bottom: 12px; }
.where-card p:not(.where-address) { font-size: 13px; line-height: 1.75; color: #577075; }
.time-options { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding-top: 24px; margin-top: 24px; border-top: 1px solid #b6d1d7; margin-bottom: 17px; align-items: center; }
.time-options .time-or { font-size: 11px; color: #779399; text-align: center; }
.where-card > small { display: block; font-size: 11px; color: #577075; line-height: 1.6; }
.time-options label, .time-options span { font-size: 12px; display: block; color: #5b7375; }
.time-options strong { display: block; font: 400 34px/1.4 var(--home-serif); color: #3d646b; }
.questions-list { min-width: 0; }
.questions-list h2 { margin-bottom: 21px; }
.questions-list > .eyeline { margin-bottom: 11px; }
.question { border-bottom: 1px solid #e4d5c3; }
.question summary { position: relative; padding: 20px 30px 20px 0; font-size: 15px; font-weight: 600; line-height: 1.55; }
.question summary::after { content: '+'; position: absolute; right: 0; top: 18px; color: #a36843; font-size: 24px; line-height: 1.3; font-weight: 400; }
.question[open] summary::after { content: '−'; }
.question summary > span[aria-hidden='true'] { display: none; }
.question p { color: var(--home-muted); padding-bottom: 20px; padding-right: 25px; font-size: 14px; line-height: 1.8; }

/* The sign-up feels like leaving a note for the organiser. */
.signup-section { background: #f9e9c6; border-top: 1px solid #eddbb3; }
.signup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.signup-layout > :first-child { max-width: 510px; }
.signup-layout h2 { font-size: clamp(39px, 4vw, 55px); margin-bottom: 23px; }
.signup-layout p { color: #846546; font-size: 16px; line-height: 1.8; }
.signup-layout .eyeline { color: #a96b30; }
.signup-layout .signup-note { margin-top: 25px; font-size: 12px; color: #95734d; }
.signup-postscript { margin-top: 25px; font: italic 25px/1.4 var(--home-serif); color: #b4743d; transform: rotate(-3deg); transform-origin: left center; }
.signup-layout > .section-title { margin-bottom: 0; }
.signup-form { background: #fffcf5; padding: 32px; border: 1px solid #e4d2ad; border-radius: 23px; box-shadow: 8px 10px 0 #ddbd7c1c; }
.signup-form .field { display: block; color: #71533e; font-size: 12px; font-weight: 600; line-height: 1.5; margin-bottom: 19px; }
.signup-form input[type='text'], .signup-form input[type='tel'], .signup-form input[type='number'] { display: block; width: 100%; min-width: 0; min-height: 50px; margin-top: 8px; padding: 12px 14px; background: #fbf4e8; border: 1px solid #e1cfb6; border-radius: 10px; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--home-ink); transition: background .2s, border-color .2s; }
.signup-form input::placeholder { color: #aa927a; opacity: 1; }
.signup-form input:focus { background: white; border-color: #b88356; }
.form-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 15px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 11px; color: #8a725b; line-height: 1.65; margin: 4px 0 22px; }
.consent input { width: 17px; height: 17px; flex: none; margin: 2px 0 0; accent-color: var(--home-clay); }
.signup-form .button { width: 100%; }
.signup-form .form-help, .form-help { font-size: 11px; line-height: 1.7; color: #8f7963; margin-top: 15px; }
.privacy-details { margin-top: 16px; font-size: 11px; color: #8a7158; }
.privacy-details summary { text-decoration: underline; text-decoration-color: #b8a18b; text-underline-offset: 3px; }
.signup-form .privacy-details p { font-size: 11px; line-height: 1.7; color: #8a7158; margin-top: 10px; }
.form-result { background: #e9efdb; border: 1px solid #c7d3ae; border-radius: 11px; padding: 16px; margin-bottom: 22px; color: #5d6c3e; font-size: 14px; }
.form-result.error { background: #fbe8de; border-color: #dfb99f; color: #974f32; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.home-footer { background: #553727; color: #f7e9d5; padding: 34px 0 25px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.home-footer .brand-text small { color: #d1b7a0; }
.home-footer .brand-icon { color: #f0c88d; background: #704a32; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-brand { font-family: var(--home-serif); font-size: 25px; line-height: 1.4; }
.footer-inner > div > p { font-size: 11px; color: #d1b7a0; margin-top: 5px; }
.footer-note { color: #cbaa8d; font-size: 10px; line-height: 1.6; margin-top: 25px; padding-top: 18px; border-top: 1px solid #805d444f; }
.simple-page { padding: 65px 0; min-height: 55vh; }
.simple-page h1 { font-size: 44px; margin-bottom: 25px; }
.simple-page p { max-width: 800px; }

@media (max-width: 1100px) {
  .main-nav { gap: 18px; font-size: 12px; }
  .top-inner { gap: 18px; }
  .brand-text { font-size: 14px; }
  .brand-text small { font-size: 9px; }
  .welcome-inner { gap: 32px; padding-block: 42px; }
  .welcome h1 { font-size: clamp(45px, 5.3vw, 59px); }
  .welcome-block { gap: 45px; }
  .ritual { padding: 25px; }
  .chapter { padding: 23px; }
  .chapter h3 { font-size: 24px; }
  .chapter-month { font-size: 10px; }
  .audience-card summary { padding: 24px; min-height: 265px; }
  .audience-body { margin-inline: 24px; }
  .host-card { gap: 35px; }
  .signup-layout { gap: 45px; }
  .practical-grid { gap: 35px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 56px); }
  .top-inner { min-height: 76px; }
  .brand-text { font-size: 15px; }
  .brand-text small { font-size: 10px; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 14px 28px 22px; background: var(--home-cream); border-bottom: 1px solid var(--home-line); flex-direction: column; align-items: stretch; gap: 0; font-size: 15px; box-shadow: 0 12px 20px #4f352008; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; }
  .nav-toggle { display: block; margin-left: auto; }
  .top-join { display: none; }
  .welcome-inner { width: calc(100% - 56px); gap: 26px; }
  .welcome h1 { font-size: clamp(39px, 5.3vw, 48px); }
  .welcome-copy .intro { font-size: 15px; }
  .welcome-actions { gap: 17px; }
  .home-section { padding: 60px 0; }
  .welcome-block { gap: 35px; grid-template-columns: 1.3fr .8fr; }
  .tea-note { padding: 24px; }
  .tea-note h3, .tea-note strong { font-size: 23px; }
  .ritual-grid, .chapter-grid { gap: 15px; }
  .ritual { padding: 23px 20px; }
  .ritual h3 { font-size: 19px; }
  .ritual p { font-size: 13px; }
  .chapter { padding: 21px 18px; }
  .chapter-num { margin-right: 4px; width: 30px; height: 30px; font-size: 18px; }
  .chapter h3 { font-size: 23px; min-height: 83px; }
  .chapter-reading { font-size: 12px; min-height: 61px; }
  .chapter details summary { font-size: 11px; }
  .two-years { max-width: 170px; padding: 17px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 17px; }
  .audience-card, .audience-card:nth-last-child(-n+2) { grid-column: span 1; }
  .audience-card:last-child { grid-column: 1 / -1; }
  .audience-card summary { min-height: 246px; }
  .audience-card:last-child summary { min-height: 0; }
  .host-card { grid-template-columns: 190px 1fr; padding: 28px; gap: 30px; }
  .host-picture { min-height: 245px; }
  .host-picture img { height: 270px; }
  .host-copy .host-role, .host-copy p { font-size: 14px; }
  .practical-grid { gap: 28px; }
  .where-card { padding: 27px; }
  .where-card h2 { font-size: 34px; }
  .where-address { font-size: 16px; }
  .question summary { font-size: 14px; }
  .signup-layout { gap: 33px; }
  .signup-form { padding: 26px; }
  .signup-layout h2 { font-size: 42px; }
}

@media (min-width: 601px) and (max-width: 782px) {
  .admin-bar .site-top { top: 46px; }
}

@media (max-width: 700px) {
  .welcome-inner { grid-template-columns: 1fr; gap: 28px; }
  .welcome-copy { max-width: 570px; }
  .welcome h1 { font-size: clamp(44px, 8.2vw, 58px); }
  .welcome-copy .intro { max-width: 480px; }
  .welcome-visual { width: 100%; }
  .welcome-block { grid-template-columns: 1fr; gap: 28px; }
  .tea-note { justify-self: start; max-width: 100%; transform: rotate(-1deg); display: grid; grid-template-columns: 50px 1fr; gap: 3px 17px; padding: 22px 25px; }
  .tea-note svg { grid-row: span 2; width: 43px; height: 43px; margin: 4px 0 0; }
  .tea-note h3, .tea-note strong { font-size: 22px; margin-bottom: 3px; }
  .tea-note p { grid-column: 2; }
  .tea-note > span { grid-column: 2; }
  .journey-head { align-items: start; }
  .two-years { display: none; }
  .chapter-grid { grid-template-columns: 1fr; }
  .chapter { padding: 25px; }
  .chapter h3 { min-height: 0; font-size: 27px; margin-bottom: 12px; }
  .chapter-reading { min-height: 0; font-size: 14px; }
  .chapter-num { width: 34px; height: 34px; font-size: 20px; margin-bottom: 16px; margin-right: 10px; }
  .chapter-month { font-size: 12px; }
  .chapter details { margin-top: 17px; }
  .chapter details summary { font-size: 12px; }
  .host-card { grid-template-columns: 150px 1fr; gap: 24px; }
  .host-picture { min-height: 220px; }
  .host-picture img { height: 240px; }
  .host-picture::before { width: 120px; height: 120px; }
  .host-picture > span { font-size: 61px; }
  .practical-grid { grid-template-columns: 1fr; gap: 40px; }
  .where-card { padding: 30px; }
  .where-card h2 { font-size: 38px; }
  .questions-list h2 { font-size: 37px; }
  .question summary { font-size: 16px; }
  .signup-layout { grid-template-columns: 1fr; gap: 30px; }
  .signup-layout > :first-child { max-width: 600px; }
  .signup-form { padding: 30px; }
  .form-row { grid-template-columns: 1.15fr 1fr; gap: 15px; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 92px; }
  .container { width: calc(100% - 36px); }
  .admin-bar .site-top { top: 0; }
  .top-inner { min-height: 72px; gap: 12px; }
  .home-brand { gap: 9px; }
  .brand-icon { width: 36px; height: 38px; border-radius: 12px; }
  .brand-icon svg { width: 23px; height: 23px; }
  .brand-text { font-size: 14px; }
  .brand-text small { font-size: 8px; margin-top: 4px; }
  .nav-toggle { padding: 9px 13px; font-size: 12px; }
  .main-nav { top: 72px; padding-inline: 20px; }
  .welcome-inner { width: calc(100% - 36px); padding-top: 29px; padding-bottom: 26px; gap: 25px; }
  .welcome-photo { border-width: 4px; border-radius: 22px 8px 22px 8px; }
  .welcome-copy { max-width: none; }
  .tagline { font-size: 10px; padding: 6px 11px; }
  .welcome h1 { font-size: clamp(42px, 11.8vw, 65px); line-height: 1.06; letter-spacing: -.05em; margin: 21px 0 19px; }
  .welcome-copy .intro { font-size: 15px; line-height: 1.75; max-width: 390px; }
  .welcome-actions { gap: 17px; margin-top: 23px; }
  .action, .button { min-height: 52px; padding: 15px 23px; font-size: 13px; gap: 14px; }
  .soft-link { font-size: 12px; }
  .welcome-note { font-size: 10px; margin-top: 18px; }
  .image-credit { font-size: 8px; margin-top: 8px; }
  .ribbon { font-size: 11px; padding: 13px 0; }
  .ribbon > .container, .ribbon-inner { gap: 5px 12px; justify-content: center; }
  .ribbon span { gap: 6px; }
  .ribbon .dot { display: none; }
  .ribbon span[aria-hidden='true'] { display: none; }
  .home-section { padding: 49px 0; }
  h2 { font-size: 35px; line-height: 1.18; }
  .eyeline { font-size: 10px; margin-bottom: 11px; letter-spacing: .1em; }
  .section-title { margin-bottom: 26px; }
  .section-title p { font-size: 15px; line-height: 1.75; margin-top: 15px; }
  .together-copy h2 { margin-bottom: 17px; }
  .together-copy p { font-size: 15px; }
  .welcome-block { gap: 24px; margin-bottom: 25px; }
  .tea-note { padding: 21px; border-radius: 21px 21px 21px 5px; }
  .ritual-grid { grid-template-columns: 1fr; gap: 14px; }
  .ritual { padding: 24px 24px 24px 83px; border-radius: 18px; }
  .ritual-icon { position: absolute; left: 22px; top: 25px; }
  .ritual-icon svg { width: 40px; height: 40px; }
  .ritual h3 { font-size: 21px; margin-bottom: 9px; padding-right: 13px; }
  .ritual p { font-size: 14px; line-height: 1.75; }
  .ritual-index { font-size: 10px; top: 14px; right: 17px; opacity: .75; }
  .journey-head { margin-bottom: 21px; }
  .year-tabs { margin-bottom: 20px; padding: 4px; }
  .year-tabs button { font-size: 12px; padding: 10px 18px; }
  .chapter { padding: 24px; border-radius: 18px; }
  .chapter-grid { gap: 14px; }
  .chapter h3 { font-size: 26px; }
  .journey-note { font-size: 10px; margin-top: 16px; }
  .for-you .section-title { text-align: left; margin-bottom: 25px; }
  .audience-grid { grid-template-columns: 1fr; gap: 14px; }
  .audience-card, .audience-card:nth-last-child(-n+2), .audience-card:last-child { grid-column: 1; border-radius: 18px; }
  .audience-card summary { min-height: 0; padding: 23px; }
  .audience-symbol { font-size: 23px; margin-bottom: 12px; }
  .audience-card h3 { font-size: 21px; margin-bottom: 10px; }
  .audience-preview { font-size: 14px; margin-bottom: 14px; }
  .audience-more { font-size: 11px; }
  .audience-body { margin-inline: 23px; padding-top: 17px; padding-bottom: 23px; }
  .audience-body p { font-size: 14px; }
  .host-card { grid-template-columns: 1fr; gap: 24px; padding: 25px; border-radius: 21px; }
  .host-picture { width: 100%; max-width: 280px; min-height: 230px; justify-self: center; border-radius: 16px; }
  .host-picture::before { width: 157px; height: 157px; }
  .host-picture > span { font-size: 76px; }
  .host-picture > .host-picture-note { font-size: 12px; }
  .host-picture img { height: 290px; }
  .host-copy h2 { font-size: 34px; margin-bottom: 14px; }
  .host-copy p, .host-copy .host-role { font-size: 14px; }
  .host-copy .soft-link { margin-top: 16px; }
  .where-card { padding: 27px; border-radius: 20px; }
  .where-card h2 { font-size: 35px; margin-bottom: 20px; }
  .where-address { font-size: 16px; }
  .time-options { margin-top: 21px; padding-top: 20px; }
  .time-options strong { font-size: 32px; }
  .questions-list h2 { font-size: 35px; margin-bottom: 15px; }
  .question summary { font-size: 15px; padding-block: 19px; }
  .question p { font-size: 14px; padding-right: 15px; }
  .signup-layout { gap: 27px; }
  .signup-layout h2 { font-size: 41px; margin-bottom: 18px; }
  .signup-layout p { font-size: 15px; }
  .signup-layout .signup-note { margin-top: 19px; font-size: 11px; }
  .signup-form { padding: 25px; border-radius: 20px; box-shadow: 4px 6px 0 #ddbd7c1c; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .signup-form .field { font-size: 12px; margin-bottom: 18px; }
  .consent { font-size: 11px; margin-bottom: 20px; }
  .signup-form .form-help { font-size: 11px; }
  .home-footer { padding: 30px 0 23px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 25px; }
  .footer-links { gap: 15px 22px; font-size: 12px; }
  .footer-note { font-size: 10px; margin-top: 22px; padding-top: 17px; }
  .simple-page { padding: 45px 0; }
  .simple-page h1 { font-size: 36px; }
}

@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand-text { font-size: 13px; }
  .brand-text small { font-size: 7px; }
  .brand-icon { width: 32px; height: 35px; }
  .nav-toggle { padding-inline: 11px; }
  .welcome h1 { font-size: 40px; }
  .welcome-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .welcome-note { max-width: 265px; }
  .ritual { padding-left: 72px; padding-right: 20px; }
  .ritual-icon { left: 19px; }
  .ritual-icon svg { width: 33px; height: 33px; }
  .year-tabs button { padding-inline: 14px; }
  .chapter, .signup-form, .host-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .action:hover, .button:hover, .top-join:hover, .audience-card:hover { transform: none; }
}
