/* Avrish · Global Seekers theme (EN, LTR)
 * Brand book colours: Parchment #F4EFE6, Deep Indigo #232946, Candle Amber #D9A441, Olive #5E6B4E.
 * Calm pacing: generous space, slow motion, nothing shouts. Amber is a fill or a large-type accent;
 * small amber text uses --accent-strong (#8A5F12, AA on parchment). "Candle mode" swaps to indigo. */
:root {
  --parchment: #F4EFE6;
  --indigo: #232946;
  --amber: #D9A441;
  --olive: #5E6B4E;
  --bg: #F4EFE6;
  --surface: #FBF8F2;
  --ink: #232946;
  --muted: #545a70;
  --line: #e3dccf;
  --line-strong: #cfc5b3;
  --accent: #D9A441;
  --accent-ink: #232946;
  --accent-strong: #8A5F12;
  --olive-ink: #4a5540;
  --focus: #232946;
  --header-bg: #F4EFE6;
  --font-display: "Cormorant Garamond", "Lora", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-hebrew: "Frank Ruhl Libre", "David", serif;
  --fw-display: 500;
  --ls-display: -.005em;
  --fw-brand: 600;
  --fw-faq: 600;
  --ls-eyebrow: .16em;
  --fs-display: clamp(2.8rem, 6.6vw, 5.6rem);
  --fs-section: clamp(2.2rem, 4.6vw, 3.6rem);
  --radius: 24px;
  --btn-radius: 999px;
  --btn-shadow: rgba(35,41,70,.35);
  --faq-icon-bg: #5E6B4E;
  --section-pad: clamp(4.5rem, 10vw, 8.5rem);
  color-scheme: light;
}
/* Candle mode: follows the system unless the visitor picks one */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b2038; --surface: #232946; --ink: #F4EFE6; --muted: #b8bccd; --line: #323a5e; --line-strong: #46507a;
    --accent-strong: #E7BE6A; --olive-ink: #b9c4a6; --focus: #E7BE6A; --header-bg: #1b2038; --faq-icon-bg: #D9A441; --btn-shadow: rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1b2038; --surface: #232946; --ink: #F4EFE6; --muted: #b8bccd; --line: #323a5e; --line-strong: #46507a;
  --accent-strong: #E7BE6A; --olive-ink: #b9c4a6; --focus: #E7BE6A; --header-bg: #1b2038; --faq-icon-bg: #D9A441; --btn-shadow: rgba(0,0,0,.6);
  color-scheme: dark;
}
body { transition: background-color .6s ease, color .6s ease; }
h1, h2, h3 { font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--accent-strong); }
.brand-name b { font-size: 1.5rem; letter-spacing: .01em; }
.he { font-family: var(--font-hebrew); font-weight: 500; }
.btn { font-weight: 600; letter-spacing: .01em; }
.btn--soft { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn--soft:hover { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-border: var(--ink); }
.eyebrow::before { inline-size: 1.25rem; block-size: 1px; }

.theme-toggle { inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; display: grid; place-items: center; color: var(--ink); }
.theme-toggle svg { inline-size: 20px; block-size: 20px; }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .sun { display: none; }
.theme-toggle[aria-pressed="true"] .sun { display: block; }
.theme-toggle[aria-pressed="true"] .moon { display: none; }
@media (max-width: 959.98px) { .header-tools { margin-inline-start: auto; } .header-tools + .nav-toggle { margin-inline-start: .5rem; } }
.header-tools { display: flex; align-items: center; gap: .5rem; order: 2; }
@media (min-width: 960px) { .header-tools { order: 3; margin-inline-start: .75rem; } .site-nav { order: 2; } }
.nav-toggle { order: 3; }
@media (max-width: 419.98px) { .header-inner { gap: .6rem; } .brand-name small { font-size: .68rem; letter-spacing: 0; } }
@media (max-width: 374.98px) { .brand-name small { display: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem); }
.hero h1 { margin-block: 1.4rem 1.6rem; line-height: 1.04; }
.hero .lead { margin-block-end: 2.4rem; }
.hero-note { margin-block-start: 1.6rem; font-size: .92rem; color: var(--muted); }

.candle-frame { position: relative; aspect-ratio: 1; inline-size: min(100%, 460px); margin-inline: auto; display: grid; place-items: center; }
.candle-frame .corner { position: absolute; background: var(--amber); border-radius: 2px; }
.candle-frame .c-top { inset-block-start: 0; inset-inline: 22%; block-size: 3px; }
.candle-frame .c-bottom { inset-block-end: 0; inset-inline: 22%; block-size: 3px; }
.candle-frame .c-start { inset-inline-start: 0; inset-block: 22%; inline-size: 3px; }
.candle-frame .c-end { inset-inline-end: 0; inset-block: 22%; inline-size: 3px; }
.glow { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(217,164,65,.42), rgba(217,164,65,.08) 52%, transparent 70%); animation: breathe 6s ease-in-out infinite; }
.candle { position: relative; display: grid; justify-items: center; }
.flame { inline-size: 46px; block-size: 76px; background: radial-gradient(ellipse at 50% 72%, #fff6dc 0 18%, #F2C66B 36%, #D9A441 62%, rgba(217,164,65,0) 72%); border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; transform-origin: 50% 90%; animation: sway 4.8s ease-in-out infinite; filter: blur(.3px); }
.wick { inline-size: 3px; block-size: 12px; background: #2b2b2b; margin-block-start: -6px; border-radius: 2px; }
.wax { inline-size: 74px; block-size: 150px; border-radius: 8px 8px 4px 4px; background: linear-gradient(90deg, #ede3d0, #fbf7ef 40%, #e5d8bf); box-shadow: inset 0 6px 0 rgba(255,255,255,.6); }
:root[data-theme="dark"] .wax { background: linear-gradient(90deg, #d8ccb4, #f4ede0 40%, #cfc1a5); }
.frame-caption { position: absolute; inset-block-end: 7%; font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--muted); }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.04); opacity: 1; } }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg) scaleY(1); } 33% { transform: rotate(1.2deg) scaleY(1.04); } 66% { transform: rotate(-.6deg) scaleY(.97); } }

/* ---------- Tent (welcome) ---------- */
.tent { text-align: center; }
.tent .h-section { max-inline-size: 18em; margin-inline: auto; }
.tent p.lead { margin-inline: auto; }
.tent cite { display: block; margin-block-start: 1.4rem; font-style: normal; font-size: .9rem; color: var(--muted); letter-spacing: .04em; }
.tent-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-block-start: 2.2rem; list-style: none; padding: 0; }
.tent-tags li { border: 1px solid var(--line-strong); border-radius: 999px; padding: .45rem 1rem; font-size: .92rem; color: var(--muted); }

/* ---------- Pillars ---------- */
.pillar { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pillar svg { inline-size: 40px; block-size: 40px; color: var(--olive-ink); margin-block-end: 1.2rem; }
.pillar h3 { font-size: 1.75rem; margin-block-end: .6rem; }
.pillar p { color: var(--muted); }

/* ---------- 60-second tool ---------- */
.tool { background: var(--indigo); color: #F4EFE6; border-radius: clamp(0px, 3vw, 36px); margin-inline: clamp(0px, 2vw, 1.5rem); --muted: #b8bccd; --line: #39416a; --line-strong: #4b5583; --ink: #F4EFE6; --accent-strong: #E7BE6A; --focus: #E7BE6A; --surface: #2a3154; }
.tool .src { font-family: var(--font-hebrew); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.5; color: var(--amber); display: block; }
.tool blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.25; font-style: italic; }
.tool .ref { font-size: .9rem; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.4rem 1fr; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--line); transition: background-color .6s ease, border-color .6s ease; }
.steps li::before { content: counter(step); inline-size: 2.4rem; block-size: 2.4rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--amber); color: var(--amber); font-family: var(--font-display); font-size: 1.3rem; }
.steps li b { display: block; font-weight: 600; margin-block-end: .15rem; }
.steps li span { color: var(--muted); font-size: .96rem; }
.steps li.is-active { background: rgba(217,164,65,.12); border-color: var(--amber); }
.timer { display: flex; align-items: center; gap: 1.2rem; margin-block-start: 1.6rem; flex-wrap: wrap; }
.ring { inline-size: 76px; block-size: 76px; position: relative; flex: none; }
.ring svg { inline-size: 100%; block-size: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; }
.ring .track { stroke: #39416a; }
.ring .bar { stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset 1s linear; }
.ring output { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.5rem; }
.tool .btn { --btn-bg: var(--amber); --btn-fg: #232946; }
.tool .btn--soft { --btn-bg: transparent; --btn-fg: #F4EFE6; --btn-border: #4b5583; }

/* ---------- Series ---------- */
.series-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.series { display: grid; gap: .8rem; align-content: start; }
.series .kind { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-ink); font-weight: 700; }
.series h3 { font-size: 1.9rem; line-height: 1.1; }
.series p { color: var(--muted); }
.series .taste { border-block-start: 1px solid var(--line); padding-block-start: .9rem; margin-block-start: .3rem; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.series .taste small { display: block; font-family: var(--font-body); font-style: normal; font-size: .82rem; color: var(--muted); margin-block-start: .35rem; }

/* ---------- Letter + guide ---------- */
.letter { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .letter { grid-template-columns: 1fr 1fr; align-items: center; } }
.envelope { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: 0 30px 60px -40px rgba(35,41,70,.45); }
.guide { display: flex; gap: 1.2rem; align-items: center; padding: 1.1rem; border-radius: 18px; background: var(--indigo); color: #F4EFE6; margin-block: 1.4rem; }
.guide .sunset { flex: none; inline-size: 84px; block-size: 84px; border-radius: 14px; background: linear-gradient(180deg, #E7BE6A 0%, #D9A441 45%, #8a5a3c 70%, #232946 100%); position: relative; overflow: hidden; }
.guide .sunset::after { content: ""; position: absolute; inset-inline: 22%; inset-block-end: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff4d6; opacity: .9; }
.guide b { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; display: block; line-height: 1.15; }
.guide span { font-size: .88rem; color: #c9ccda; }
.choice { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; margin-block: 0 1rem; font-size: .95rem; }
.choice label { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.choice input { accent-color: var(--olive); inline-size: 1.1rem; block-size: 1.1rem; }

/* ---------- Podcast / circle ---------- */
.duo .card h3 { font-size: 2rem; margin-block: .5rem .6rem; }
.soon { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--olive-ink); border: 1px solid currentColor; border-radius: 999px; padding: .2rem .7rem; }

/* ---------- About ---------- */
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, #2f3760, #232946 70%); display: grid; place-items: center; position: relative; margin: 0; overflow: hidden; }
.about-photo > svg { inline-size: 42%; block-size: auto; border-radius: 22%; }
.about-photo .todo-badge { position: absolute; inset-block-start: 1rem; inset-inline-start: 1rem; }
.about-photo figcaption { position: absolute; inset-inline: 1rem; inset-block-end: 1rem; color: #c9ccda; font-size: .85rem; }

/* ---------- Care note ---------- */
.care { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .6rem; background: var(--surface); }
.care h2 { font-size: 1.7rem; }
.care p { color: var(--muted); }
.care a { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo); color: #F4EFE6; --line: #39416a; --footer-line: #39416a; --muted: #b8bccd; --social-hover-bg: var(--amber); --social-hover-fg: #232946; }
:root[data-theme="dark"] .site-footer { background: #151a2e; }
.site-footer .brand-name small { color: #b8bccd; }
.footer-other span { font-size: .82rem; color: var(--muted); }
