/* =====================================================================
   THE LOVE EFFECT — 2026 redesign layer
   Warm ivory, deep crimson, restrained gold. Loads after style.css and
   restyles every page; new sections use the classes further down.
   Two font families only: Playfair Display (headings) + Montserrat (text).
   ===================================================================== */
:root {
  --ivory: #FBF7F0;
  --ivory-2: #F4ECDF;
  --ivory-3: #EFE4D3;
  --paper: #FFFDF9;
  --crimson: #9E1422;
  --crimson-2: #B3182A;
  --crimson-dark: #7A0E19;
  --red: #C62828;
  --gold: #C9A24A;
  --gold-text: #7E5F16;          /* gold dark enough to read as text */
  --gold-line: rgba(201, 162, 74, .55);
  --ink: #241614;
  --text: #2A2220;
  --muted: #5B514D;
  --line: #E7DCCB;

  /* the original style.css names, re-pointed to the new palette */
  --cream: var(--ivory);
  --garnet: var(--crimson);
  --garnet-2: var(--crimson-2);
  --wine: var(--crimson-dark);
  --gold-2: #D8B866;
  --ink-2: #2E1D1A;
  --ink-3: #3A2622;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --script: "Playfair Display", Georgia, serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(60, 30, 20, .08);
  --shadow-lg: 0 24px 60px rgba(60, 30, 20, .18);
  --header-h: 76px;
}

html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { background: var(--ivory); color: var(--text); font-size: 18px; line-height: 1.65; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.012em; }
a { color: var(--crimson); text-underline-offset: 3px; }
a:hover { color: var(--crimson-dark); }
.love { font-family: var(--serif); font-style: italic; font-weight: 700; color: var(--crimson); font-size: 1em; }
.dark .love, .on-dark .love { color: #F2B8B5; }
.muted { color: var(--muted); }
.eyebrow { color: var(--gold-text); letter-spacing: .2em; font-size: .78rem; }
.paper { background: var(--paper); }
.wrap { width: min(1200px, 100% - 32px); }
section { scroll-margin-top: calc(var(--header-h) + 12px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: #F3D9D2; }

/* Buttons */
.btn { background: var(--crimson); border: 2px solid var(--crimson); color: #fff; font-weight: 600; letter-spacing: .01em; font-size: 1rem; padding: 14px 26px; white-space: normal; text-align: center; max-width: 100%; }
.btn:hover, .btn:focus-visible { background: var(--crimson-dark); border-color: var(--crimson-dark); color: #fff; box-shadow: 0 10px 22px rgba(122, 14, 25, .25); }
.btn.ghost, .btn.outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn.ghost:hover, .btn.outline:hover { background: rgba(201, 162, 74, .12); color: var(--ink); box-shadow: none; }
.dark .btn.ghost, .on-dark .btn.ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #241614; }
.btn.small { font-size: .88rem; padding: 9px 18px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } html { scroll-behavior: auto; } }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--crimson); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 10px; color: #fff; }

/* ---------- Preview bar + temporary photo labels (only while previewing) ---------- */
.preview-bar { background: #241614; color: #F7EBD6; font-size: .86rem; text-align: center; padding: 8px 16px; line-height: 1.45; }
.preview-bar b { color: #F2C66D; }
.temp-wrap { position: relative; }
.temp-label { position: absolute; left: 12px; bottom: 12px; z-index: 3; background: rgba(36, 22, 20, .86); color: #F7EBD6; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; pointer-events: none; }
.temp-label::before { content: "⚑ "; color: #F2C66D; }

/* ---------- Header ---------- */
.tle-header { position: sticky; top: 0; z-index: 80; background: rgba(251, 247, 240, .96); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.tle-header .bar { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.tle-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; color: var(--ink); }
.tle-brand .mark { width: 54px; height: auto; }
.tle-brand .words { display: flex; flex-direction: column; gap: 4px; }
.tle-brand .word { width: 150px; height: auto; }
.tle-brand .tag { width: 168px; height: auto; opacity: .95; }
.tle-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.tle-nav a { color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; padding: 10px 14px; border-radius: 8px; }
.tle-nav a:hover { color: var(--crimson); background: rgba(201, 162, 74, .12); }
.tle-nav a[aria-current="page"], .tle-nav a.active { color: var(--crimson); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.tle-join { margin-left: 18px; white-space: nowrap; }
.tle-menu { display: none; margin-left: auto; align-items: center; gap: 8px; background: var(--paper); border: 1.5px solid var(--line); color: var(--ink); font: 700 .95rem var(--sans); border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.tle-menu .ic { display: inline-block; width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.tle-menu .ic::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.tle-menu[aria-expanded="true"] .ic { border-color: transparent; }
.tle-menu[aria-expanded="true"] .ic::after { top: 3px; transform: rotate(45deg); }
.tle-menu[aria-expanded="true"] .ic::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; transform: rotate(-45deg); }
@media (max-width: 1060px) {
  .tle-nav a { padding: 10px 10px; font-size: 1rem; }
  .tle-join { margin-left: 8px; }
  .tle-brand .tag { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .tle-menu { display: inline-flex; }
  .tle-brand .mark { width: 44px; }
  .tle-brand .word { width: 132px; }
  .tle-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(60,30,20,.12); padding: 8px 16px 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .tle-nav.open { display: flex; }
  .tle-nav a { padding: 15px 12px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .tle-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .tle-nav .tle-join { margin: 16px 0 0; justify-content: center; border-bottom: 0; color: #fff; font-family: var(--sans); }
  .tle-header .bar > .tle-join { display: none; }
}
@media (min-width: 901px) { .tle-nav .tle-join { display: none; } }

/* ---------- Sponsored zone (below the introduction, not above it) ---------- */
.ad-zone { background: var(--ivory-2); border-block: 1px solid var(--line); overflow: hidden; max-width: 100vw; }
.ad-zone .ad-ticker .wrap { overflow: hidden; }
.ad-zone .ad-ticker a:not(.adv) { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad-zone .network-ads .wrap { overflow: hidden; }
@media (max-width: 640px) { .ad-zone .ad-ticker .line, .ad-zone .ad-ticker .adv { display: none; } }
.ad-zone .ad-ticker { background: transparent; color: var(--text); border: 0; }
.ad-zone .ad-ticker .label { color: var(--gold-text); border-color: var(--gold-line); }
.ad-zone .ad-ticker a { color: var(--text); }
.ad-zone .ad-ticker .adv { color: var(--crimson); }
.ad-zone .network-ads { background: transparent; border: 0; padding: 0 0 14px; }

/* ---------- Section rhythm ---------- */
.sec { padding: clamp(56px, 8vw, 104px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: .3em; }
.sec-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.rule { display: block; width: 72px; height: 2px; background: var(--gold); border: 0; margin: 18px auto; }
.rule.left { margin-left: 0; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); }
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.center .kicker::after, .kicker.both::after { content: ""; width: 40px; height: 1px; background: var(--gold); }

/* ---------- Home: opening section ---------- */
.home-hero { position: relative; overflow: hidden; padding: 0; background: linear-gradient(90deg, var(--ivory) 0%, var(--ivory) 38%, rgba(251,247,240,0) 62%), var(--ivory-2); }
.home-hero .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; min-height: min(620px, 78vh); }
.home-hero .copy { position: relative; z-index: 2; padding: clamp(44px, 7vw, 96px) clamp(0px, 3vw, 40px) clamp(44px, 7vw, 96px) 0; display: flex; flex-direction: column; justify-content: center; }
.home-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.3rem); line-height: 1.02; margin: 0 0 .1em; letter-spacing: -.025em; }
.home-hero h1 .line2 { display: block; color: var(--crimson); }
.home-hero .swoosh { width: min(300px, 70%); height: 16px; margin: 10px 0 22px; color: var(--gold); }
.home-hero .lede { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--text); max-width: 34em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions .btn.outline { background: rgba(255,253,249,.7); }
.home-hero .photo { position: relative; margin-right: calc((100vw - min(1200px, 100vw - 32px)) / -2); min-height: 360px; }
.home-hero .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.home-hero .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ivory) 0%, rgba(251,247,240,.55) 14%, rgba(251,247,240,0) 38%); }
.ripple-rings { position: absolute; z-index: 1; pointer-events: none; color: var(--gold); opacity: .55; }
.home-hero .ripple-rings { right: -6%; top: 50%; width: 620px; transform: translateY(-50%); }
@media (max-width: 860px) {
  .home-hero { background: var(--ivory); }
  .home-hero .grid { grid-template-columns: 1fr; min-height: 0; }
  .home-hero .copy { padding: 40px 0 28px; }
  .home-hero .photo { margin: 0 -16px; min-height: 0; aspect-ratio: 4 / 3; }
  .home-hero .photo::before { background: linear-gradient(180deg, var(--ivory) 0%, rgba(251,247,240,0) 22%); }
  .home-hero .ripple-rings { display: none; }
}

/* ---------- Four pathways ---------- */
.pathways { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.pathway-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.pathway { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 34px 22px 30px; text-decoration: none; color: var(--text); position: relative; transition: background .2s; }
.pathway + .pathway::before { content: ""; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--gold-line); }
.pathway:hover { background: var(--ivory); color: var(--text); }
.pathway img { height: 80px; width: auto; object-fit: contain; margin-bottom: 6px; }
.pathway h3 { font-family: var(--serif); font-size: 1.2rem; letter-spacing: .18em; text-transform: uppercase; margin: 0; color: var(--ink); }
.pathway p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.5; max-width: 22em; }
.pathway .go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--crimson); font-size: .95rem; }
.pathway:hover .go { text-decoration: underline; }
@media (max-width: 980px) { .pathway-grid { grid-template-columns: repeat(2, 1fr); } .pathway:nth-child(3)::before { display: none; } .pathway:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .pathway-grid { grid-template-columns: 1fr; } .pathway::before { display: none; } .pathway + .pathway { border-top: 1px solid var(--line); } .pathway { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; padding: 22px 4px; } .pathway img { height: 56px; width: 64px; flex: none; } .pathway .txt { display: flex; flex-direction: column; gap: 6px; } .pathway h3 { font-size: 1.05rem; } }

/* ---------- Journal ---------- */
.journal-home .layout { display: grid; grid-template-columns: minmax(260px, .85fr) 2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.journal-title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; margin: 6px 0 18px; font-variant: small-caps; letter-spacing: .01em; }
.journal-title small { display: block; font-size: .36em; letter-spacing: .22em; font-variant: normal; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.story { display: flex; flex-direction: column; background: transparent; }
.story .img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--ivory-3); }
.story .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.story:hover .img img { transform: scale(1.03); }
.story .cat { margin: 14px 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.story h3 { font-size: 1.35rem; line-height: 1.22; margin: 0 0 8px; }
.story h3 a { color: var(--ink); text-decoration: none; }
.story h3 a:hover { color: var(--crimson); }
.story p { color: var(--muted); font-size: 1rem; margin: 0 0 10px; }
.story .more { font-weight: 700; margin-top: auto; }
.text-link { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--crimson); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .story:hover .img img { transform: none; } }
@media (max-width: 860px) { .journal-home .layout { grid-template-columns: 1fr; } }

/* ---------- Weekly challenge band ---------- */
.challenge-band { position: relative; overflow: hidden; background: radial-gradient(ellipse at 22% 70%, rgba(201,162,74,.25), transparent 60%), linear-gradient(180deg, #F6EBDA 0%, #F1DFC6 100%); border-block: 1px solid var(--line); }
.challenge-band .ripple-rings { left: -120px; top: 50%; width: 760px; transform: translateY(-50%); opacity: .5; }
.challenge-band .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 620px); gap: 24px; align-items: center; }
.challenge-card { text-align: center; background: rgba(255, 253, 249, .78); border: 1px solid var(--gold-line); border-radius: 18px; padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.challenge-card h2 { color: var(--crimson); font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 10px 0 12px; }
.challenge-card p { font-size: 1.08rem; margin: 0 auto 24px; max-width: 30em; }
.heart-drop { width: 140px; height: auto; margin: 0 auto; }
@media (max-width: 860px) { .challenge-band .inner { grid-template-columns: 1fr; } .challenge-band .art { display: none; } }

/* ---------- Events (home + events page list) ---------- */
.event-list { display: grid; gap: 16px; }
.event-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 22px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent, var(--crimson)); border-radius: 12px; padding: 18px 22px; }
.event-row .when { text-align: center; font-family: var(--serif); color: var(--crimson); line-height: 1; }
.event-row .when .m { display: block; font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.event-row .when .d { display: block; font-size: 2.4rem; font-weight: 700; }
.event-row .when .w { display: block; font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: 2px; }
.event-row h3 { font-size: 1.3rem; margin: 0 0 4px; }
.event-row .type { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }
.event-facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0 0; font-size: .98rem; }
.event-facts dt { font-weight: 700; color: var(--ink); }
.event-facts dd { margin: 0; color: var(--text); }
.event-row .act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.event-row.past { opacity: .85; border-left-color: var(--line); }
@media (max-width: 760px) { .event-row { grid-template-columns: 64px 1fr; padding: 16px; gap: 14px; } .event-row .when .d { font-size: 1.9rem; } .event-row .act { grid-column: 1 / -1; } }
.empty-note { background: var(--paper); border: 1px dashed var(--gold-line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); }

/* ---------- Meet Dawn ---------- */
.founder-band .grid { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 1; object-position: 40% 35%; object-fit: cover; border-radius: 50% 50% 18px 18px; box-shadow: var(--shadow-lg); }
.founder-photo::after { content: ""; position: absolute; inset: -14px; border: 1.5px solid var(--gold-line); border-radius: 50% 50% 26px 26px; pointer-events: none; }
.founder-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 6px 0 10px; }
.founder-band .role { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--crimson); margin: 0 0 18px; }
.thread { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; padding: 0; list-style: none; }
.thread li { background: var(--paper); border: 1px solid var(--gold-line); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: .95rem; }
@media (max-width: 760px) { .founder-band .grid { grid-template-columns: 1fr; } .founder-photo { max-width: 320px; margin: 0 auto; } }

/* ---------- Join band + forms ---------- */
.join-band { background: var(--crimson-dark); background: linear-gradient(135deg, #7A0E19, #9E1422 60%, #8B0E1A); color: #FDF3EC; }
.join-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 10px; }
.join-band .kicker { color: #F2C66D; }
.join-band .kicker::before, .join-band .kicker::after { background: #F2C66D; }
.join-band p { color: #F7E3DC; }
.join-band .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.join-band a { color: #fff; }
@media (max-width: 820px) { .join-band .grid { grid-template-columns: 1fr; } }

.tle-form { display: grid; gap: 16px; }
.tle-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .tle-form .row2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 700; color: var(--ink); font-size: 1rem; }
.field .hint { font-size: .9rem; color: var(--muted); font-weight: 500; }
.field input[type=text], .field input[type=email], .field textarea, .field select { font: 500 1rem/1.5 var(--sans); color: var(--text); background: #fff; border: 1.5px solid #CDBFA9; border-radius: 10px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid rgba(201,162,74,.45); outline-offset: 0; border-color: var(--gold-text); }
.field.has-error input, .field.has-error textarea { border-color: #B3182A; background: #FFF6F5; }
.field .err { color: #A3121F; font-weight: 700; font-size: .92rem; }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); cursor: pointer; padding: 6px 0; }
.choice input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--crimson); flex: none; }
.form-msg { border-radius: 12px; padding: 16px 18px; font-weight: 600; }
.form-msg:empty { display: none; }
.form-msg.ok { background: #EEF6EE; border: 1px solid #9CC79F; color: #1E4D22; }
.form-msg.bad { background: #FFF1EF; border: 1px solid #E3A49C; color: #7A0E19; }
.on-dark .form-msg.ok { background: #fff; }
.inline-join { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-join input[type=email] { flex: 1 1 240px; font: 500 1rem var(--sans); padding: 14px 16px; border-radius: 999px; border: 1.5px solid #CDBFA9; background: #fff; color: var(--text); min-width: 0; }
.inline-join .btn { flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.privacy-note { font-size: .9rem; color: var(--muted); margin: 8px 0 0; }
.on-dark .privacy-note, .join-band .privacy-note { color: #F0D6CE; }

/* ---------- Sponsorship invite + footer ---------- */
.sponsor-strip { background: var(--paper); border-top: 1px solid var(--line); }
.sponsor-strip .inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 26px 0; }
.sponsor-strip p { margin: 0; font-size: 1.02rem; }
.sponsor-strip b { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }

.tle-footer { background: #241614; color: #E9DCCF; font-size: 1rem; padding: 60px 0 26px; }
.tle-footer a { color: #F6EDE2; text-decoration: none; }
.tle-footer a:hover { color: #F2C66D; text-decoration: underline; }
.tle-footer .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.tle-footer h2 { font-family: var(--sans); color: #F2C66D; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 14px; }
.tle-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tle-footer .about p { color: #D9C9BA; margin: 14px 0; }
.tle-footer .f-logo { display: inline-flex; align-items: center; gap: 10px; }
.tle-footer .f-logo img { width: 56px; height: auto; }
.tle-footer .f-logo span { font-family: var(--serif); font-size: 1.4rem; color: #fff; }
.tle-footer .socials-list { display: grid; gap: 8px; margin-top: 10px; }
.tle-footer .socials-list a { display: inline-flex; align-items: center; gap: 10px; }
.tle-footer .socials-list svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.tle-footer .projects { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; font-size: .94rem; }
.tle-footer .projects h3 { font-family: var(--serif); color: #fff; font-size: 1.05rem; margin: 0 0 8px; }
.tle-footer .projects ul { gap: 4px; }
.tle-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .88rem; color: #BFAE9F; }
.tle-footer .f-join { margin-top: 14px; }
.tle-footer .f-join input[type=email] { background: #fff; }
@media (max-width: 900px) { .tle-footer .top { grid-template-columns: 1fr 1fr; } .tle-footer .about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .tle-footer .top { grid-template-columns: 1fr; } }

/* ---------- Inner page hero ---------- */
.page-head { background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); border-bottom: 1px solid var(--line); padding: clamp(40px, 6vw, 76px) 0 clamp(32px, 5vw, 56px); position: relative; overflow: hidden; }
.page-head .ripple-rings { right: -180px; top: -120px; width: 560px; opacity: .45; }
.page-head .inner { position: relative; z-index: 2; max-width: 820px; }
.page-head.center .inner { margin: 0 auto; text-align: center; }
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.05; margin: 8px 0 14px; }
.page-head .lede { font-size: 1.15rem; color: var(--text); margin: 0; }
.page-head .icon { height: 74px; width: auto; margin-bottom: 8px; }
.page-head.center .icon { margin-inline: auto; }
.crumbs { font-size: .92rem; margin-bottom: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Project cards (pathway pages + All Projects) ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.project { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--accent, var(--crimson)); border-radius: 14px; padding: 22px; gap: 10px; }
.project .p-head { display: flex; gap: 14px; align-items: center; }
.project .p-logo { width: 56px; height: 56px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.project .p-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.project .p-logo.cover img { object-fit: cover; padding: 0; }
.project .p-logo .txt { font: 700 .58rem/1.1 var(--sans); padding: 2px; overflow-wrap: anywhere; text-align: center; color: var(--accent, var(--crimson)); text-transform: uppercase; }
.project h3 { font-size: 1.28rem; margin: 0; line-height: 1.2; }
.project .domain { font-size: .88rem; color: var(--muted); word-break: break-word; }
.project .p-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); background: rgba(201,162,74,.14); border-radius: 999px; padding: 3px 10px; }
.project p { margin: 0; font-size: 1rem; }
.project .for { font-size: .95rem; color: var(--muted); }
.project .for b { color: var(--ink); }
.project .p-actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.project .p-actions .btn { font-size: .92rem; padding: 10px 18px; }
.project .p-social { font-size: .88rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.age-flag { display: inline-flex; align-items: center; gap: 6px; background: #1F5A33; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .08em; border-radius: 999px; padding: 4px 12px; }

/* Directory */
.dir-tools { display: grid; gap: 16px; margin-bottom: 26px; }
.dir-search { position: relative; }
.dir-search input { width: 100%; font: 500 1.08rem var(--sans); padding: 16px 18px 16px 50px; border: 1.5px solid #CDBFA9; border-radius: 999px; background: #fff; color: var(--text); }
.dir-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-row button { font: 600 .95rem var(--sans); background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.filter-row button[aria-pressed="true"] { background: var(--crimson); border-color: var(--crimson); color: #fff; }
.filter-row button:hover { border-color: var(--gold); }
.dir-count { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Start Your Ripple ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps3 .s { position: relative; text-align: center; padding: 10px 26px; }
.steps3 .s + .s::before { content: "→"; position: absolute; left: -12px; top: 26px; color: var(--gold); font-size: 1.6rem; }
.steps3 .n { counter-increment: s; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; border: 1.5px solid var(--gold); font: 700 1.4rem var(--serif); color: var(--crimson); background: var(--paper); }
.steps3 h3 { font-size: 1.3rem; margin: 0 0 6px; }
.steps3 p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; gap: 22px; } .steps3 .s + .s::before { content: "↓"; left: 50%; top: -22px; transform: translateX(-50%); } }
.idea-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
.idea { display: flex; align-items: flex-start; gap: 14px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; cursor: pointer; transition: border-color .15s, background .15s; }
.idea:hover { border-color: var(--gold); }
.idea input { width: 22px; height: 22px; accent-color: var(--crimson); margin: 2px 0 0; flex: none; }
.idea b { display: block; font-size: 1.08rem; color: var(--ink); }
.idea span { color: var(--muted); font-size: .98rem; }
.idea:has(input:checked) { border-color: var(--crimson); background: #FFF7F4; }
.my-ripple { background: var(--paper); border: 1.5px solid var(--gold-line); border-radius: 16px; padding: 24px; }
.my-ripple[hidden] { display: none; }
.my-ripple h3 { color: var(--crimson); margin: 4px 0 10px; }
.ripple-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .ripple-two { grid-template-columns: 1fr; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.story-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.story-card h3 { font-size: 1.3rem; margin: 0 0 8px; }
.story-card .by { font-size: .9rem; color: var(--gold-text); font-weight: 700; letter-spacing: .06em; margin-bottom: 10px; }
.story-card h4 { font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 14px 0 4px; }
.story-card p { margin: 0; white-space: pre-line; }

/* ---------- Challenge page ---------- */
.challenge-steps { counter-reset: c; list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.challenge-steps li { counter-increment: c; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.challenge-steps li::before { content: counter(c); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--crimson); color: #fff; font: 700 1.1rem var(--serif); }
.tip-box { background: #FBF1DD; border-left: 4px solid var(--gold); border-radius: 10px; padding: 16px 20px; }

/* ---------- Articles ---------- */
.article-hero { background: linear-gradient(180deg, var(--ivory-2), var(--ivory)); }
.article-hero h1 { color: var(--ink); }
.article-meta { color: var(--muted); }
.article-body { font-size: 1.12rem; line-height: 1.75; }
.article-body h2 { color: var(--ink); font-size: clamp(1.5rem, 3vw, 1.95rem); margin-top: 1.6em; }
.article-body h3 { color: var(--crimson); }
.article-body blockquote { border-left: 4px solid var(--gold); background: var(--paper); margin: 1.4em 0; padding: 14px 20px; font-family: var(--serif); font-style: italic; font-size: 1.15em; }
.try-ripple { margin: 40px 0 10px; background: linear-gradient(135deg, #FFF8EE, #F8EAD6); border: 1.5px solid var(--gold-line); border-radius: 18px; padding: clamp(22px, 4vw, 34px); position: relative; overflow: hidden; }
.try-ripple h2 { margin: 6px 0 10px !important; color: var(--crimson) !important; font-size: clamp(1.5rem, 3vw, 2rem) !important; }
.try-ripple p { margin: 0 0 16px; }
.try-ripple .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.next-step { margin: 26px 0; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.next-step p { margin: 0; }
.related { margin-top: 36px; }
.related h2 { font-size: 1.5rem !important; margin-bottom: 16px !important; }
.related .story-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.related .story h3 { font-size: 1.1rem; }
.age-banner { background: #E9F3EC; border: 1px solid #9DC7A9; color: #173F24; border-radius: 12px; padding: 12px 16px; font-weight: 600; font-size: .98rem; margin-bottom: 18px; }

/* Topic chips: readable on ivory */
.topic-chip { background: var(--paper); border-color: var(--line); color: var(--ink); }
.topic-chip[aria-current="page"] { background: var(--crimson); color: #fff; border-color: var(--crimson); }

/* ---------- Business pages ---------- */
.price-note { background: var(--paper); border: 1px dashed var(--gold-line); border-radius: 12px; padding: 16px 20px; color: var(--muted); }
.format-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 12px; overflow: hidden; font-size: 1rem; }
.format-table th, .format-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.format-table th { background: var(--ivory-2); font-weight: 700; color: var(--ink); }
.table-wrap { overflow-x: auto; }

/* ---------- Explore page ---------- */
.explore-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.explore-tile { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--text); }
.explore-tile:hover { border-color: var(--gold); color: var(--text); }
.explore-tile b { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.explore-tile span { color: var(--muted); font-size: .98rem; }
.explore-tile .go { color: var(--crimson); font-weight: 700; margin-top: auto; }

/* ---------- Older sections, warmed up for the new look ---------- */
.path-cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); row-gap: 34px; }
.path-col .sub { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.path-col li a { overflow-wrap: anywhere; }
@media (max-width: 560px) { .path-col { border-right: 0; padding: 0; } }
.brand-hero { background: linear-gradient(180deg, var(--ivory-2), var(--ivory)) !important; color: var(--text); }
.brand-hero h1 { color: var(--ink); }
.dark { background: #2A1A17; }
.site-card, .pillar, .card, .night, .door, .post, .topic-card, .pkg, .ev-card { border-radius: 14px; }
.post .post-type, .post-type { color: var(--gold-text); }
.next-up { background: #241614; }
.notice { font-size: 1rem; }

/* Reduced motion: no animated rings or reveals */
@media (prefers-reduced-motion: reduce) { .ripple-rings * { animation: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }
@media print { .tle-header, .tle-footer, .ad-zone, .next-up, .preview-bar { display: none !important; } }
