/* Bilgi kütüphanesi: /rehberler (hub) and /rehberler/<konu> (pillar guides). Loaded after styles.css. */
:root {
  --cream: #F6EFE6;
  --sage: #7F9A7A;
  --sage-deep: #4E6A50;
  --sage-soft: #E6EEE2;
  --ink-soft: #3A332D;
  --shadow-soft: 0 1px 2px rgba(31,27,23,.04), 0 12px 32px -16px rgba(31,27,23,.18);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gut: 24px; /* matches .wrap side padding */
}
@media (max-width: 760px) { :root { --gut: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Preview notice + sample markers */
.rh-preview { position: relative; z-index: 5; background: var(--ink); color: #EFE7DD; font-size: 13.5px; text-align: center; padding: 10px 16px; }
.rh-preview b { color: #fff; font-weight: 600; margin-right: 6px; }
.sample-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #7A4A00; background: #FFE9B8; border: 1px dashed #D9A43A; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.is-sample-block { outline: 1.5px dashed #D9A43A; outline-offset: 6px; border-radius: 18px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color: var(--orange-deep); }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Hub hero ---------- */
.rh-hero { padding: 56px 0 40px; position: relative; overflow-x: clip; overflow-y: visible; } /* the search dropdown may hang below */
.rh-hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,103,42,.16), transparent 65%); pointer-events: none; }
.rh-hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -240px; bottom: -320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(127,154,122,.22), transparent 65%); pointer-events: none; }
.rh-hero .wrap { position: relative; z-index: 1; }
.rh-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
.rh-h1 { font-size: clamp(40px, 6.4vw, 84px) !important; line-height: .98 !important; letter-spacing: -.035em; margin: 18px 0 22px !important; }
.rh-hero .lead { font-size: 18.5px; max-width: 540px; }
.rh-side { display: flex; flex-direction: column; gap: 22px; }
.rh-search { position: relative; }
.rh-search input { width: 100%; font: inherit; font-size: 16px; padding: 18px 56px 18px 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); box-shadow: var(--shadow-soft); transition: border-color .2s, box-shadow .2s; }
.rh-search input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232,103,42,.14), var(--shadow-soft); }
.rh-search > svg { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--muted); pointer-events: none; }
.rh-search kbd { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 500 12px/1 "Inter", sans-serif; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: var(--bg); }
.rh-suggest { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 24px 60px -20px rgba(31,27,23,.35); padding: 8px; max-height: 420px; overflow: auto; }
.rh-suggest[hidden] { display: none; }
.rh-suggest a, .rh-suggest p { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14.5px; }
.rh-suggest a[aria-selected="true"], .rh-suggest a:hover { background: var(--cream); }
.rh-suggest small { display: block; color: var(--muted); font-size: 12px; }
.rh-suggest .s-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange-deep); font-size: 13px; font-weight: 600; }
.rh-suggest .s-ico.post { background: var(--sage-soft); color: var(--sage-deep); }
.rh-suggest p { color: var(--muted); }
.rh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rh-stats div { background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; backdrop-filter: blur(6px); }
.rh-stats dt { font-size: 12px; color: var(--muted); }
.rh-stats dd { font-family: "Fraunces", Georgia, serif; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }

/* ---------- Bento ---------- */
.rh-bento-sec { padding: 24px 0 90px; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 16px;
  grid-template-areas: "a a b c" "a a b d" "e e f f"; }
.b-a { grid-area: a; } .b-b { grid-area: b; } .b-c { grid-area: c; } .b-d { grid-area: d; } .b-e { grid-area: e; } .b-f { grid-area: f; }
.b-e, .b-f { min-height: 330px; }
.tile { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; background: var(--surface); border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.tile:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.pillar { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; color: #fff; border: 0; padding: 84px 26px 26px; cursor: pointer; text-align: left; font: inherit; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(31,27,23,.55); }
.pillar .p-img { position: absolute; inset: 0; z-index: -2; background: var(--sand) center / cover no-repeat; transition: transform 1s var(--ease); }
.pillar:hover .p-img { transform: scale(1.06); }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,12,.18) 0%, rgba(20,16,12,.1) 22%, rgba(20,16,12,.52) 52%, rgba(20,16,12,.88) 100%); }
.pillar h3, .pillar p { text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.p-top { position: absolute; top: 22px; left: 24px; right: 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-no { font-family: "Fraunces", Georgia, serif; font-size: 15px; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28); }
.p-state { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); }
.p-state.soon { background: rgba(20,16,12,.45); color: #fff; border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.pillar h3 { font-family: "Fraunces", Georgia, serif; font-weight: 300; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.04; letter-spacing: -.025em; margin-bottom: 10px; }
.b-a h3 { font-size: clamp(34px, 4vw, 56px); }
.b-b h3 { font-size: clamp(26px, 2.2vw, 32px); }
.b-b p { font-size: 14px; }
.pillar p { font-size: 14.5px; color: rgba(255,255,255,.84); max-width: 460px; }
.p-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 18px; }
.p-chips span { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.p-meta { font-size: 13px; color: rgba(255,255,255,.78); }
.p-go { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; padding: 12px 20px; border-radius: 999px; background: #fff; color: var(--ink); transition: gap .3s var(--ease), background .3s; }
.p-go i { font-style: normal; transition: transform .3s var(--ease); }
.pillar:hover .p-go i { transform: translateX(4px); }
.pillar.ready .p-go { background: var(--orange); color: #fff; }
.b-b .p-chips span:nth-child(n+4) { display: none; }

.info { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.info:hover { border-color: #DCCFBF; box-shadow: var(--shadow-soft); }
.info .t-kick { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); }
.info h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 22px; line-height: 1.15; letter-spacing: -.015em; }
.info p { font-size: 14px; color: var(--muted); }
.b-c { background: var(--cream); }
.new-post { display: flex; gap: 14px; align-items: center; margin-top: auto; padding: 10px; border-radius: 16px; background: var(--surface); transition: transform .3s var(--ease); }
.new-post:hover { transform: translateX(3px); }
.new-post span:first-child { width: 64px; height: 64px; flex: none; border-radius: 12px; background: var(--sand) center / cover; }
.new-post b { font-size: 14px; font-weight: 500; line-height: 1.3; display: block; }
.new-post small { font-size: 12px; color: var(--muted); }
.b-d { background: var(--sage-soft); border-color: #D6E2D1; }
.ev-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ev-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }

/* Evidence badges */
.ev { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.ev .dots { display: inline-flex; gap: 2px; }
.ev .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.ev-3 .dots i, .ev-2 .dots i:nth-child(-n+2), .ev-1 .dots i:first-child { background: var(--sage-deep); }
.ev-1 .dots i:first-child { background: #C88A1E; }
.ev-2 .dots i:nth-child(-n+2) { background: var(--sage); }

/* ---------- Library (cards) ---------- */
.lib-sec { padding: 0 0 100px; }
.lib-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.lib-head h2 { margin-bottom: 0 !important; }
.lib-filters { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: inherit; font-size: 13.5px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s; display: inline-flex; align-items: center; gap: 7px; }
.chip:hover { border-color: #D4C6B6; transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip small { font-size: 11.5px; opacity: .65; font-variant-numeric: tabular-nums; }
.chip:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sand); }
.seg button { font: inherit; font-size: 13px; padding: 7px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(31,27,23,.1); }
.lib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lib-card { display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; animation: libIn .5s var(--ease) both; }
a.lib-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: #DCCFBF; }
a.lib-card:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lib-img { position: relative; aspect-ratio: 16 / 10; background: var(--sand) center / cover no-repeat; overflow: hidden; }
.lib-img.no-img { background: radial-gradient(60% 70% at 75% 30%, #FFE2D0 0%, transparent 70%), linear-gradient(140deg, var(--cream) 0%, #EFD9C4 55%, #F1B48E 100%); }
.lib-img.no-img.sage { background: radial-gradient(60% 70% at 70% 30%, #F1F6EE 0%, transparent 70%), linear-gradient(140deg, #EEF2EA 0%, #CFDCC9 60%, #9DB496 100%); }
.lib-img .sample-tag { position: absolute; left: 14px; top: 14px; }
.lib-type { position: absolute; right: 14px; top: 14px; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); }
.lib-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lib-kick { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }
.lib-body b { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; }
.lib-sum { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lib-meta { margin-top: auto; padding-top: 6px; font-size: 12.5px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.lib-meta i { font-style: normal; color: var(--orange-deep); transition: transform .3s; }
a.lib-card:hover .lib-meta i { transform: translateX(4px); }
.lib-card.is-sample { border-style: dashed; border-color: #E2C68C; background: #FFFCF5; }
.lib-card.is-sample b { color: var(--ink-soft); }
.lib-empty { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--muted); border: 1px dashed var(--line); border-radius: 24px; }
@keyframes libIn { from { opacity: 0; transform: translateY(10px); } }

/* Principles strip */
.rh-princ { padding: 0 0 100px; }
.princ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.princ { padding: 26px; border-radius: 24px; background: var(--cream); }
.princ span { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); color: var(--orange-deep); margin-bottom: 16px; }
.princ span svg { width: 20px; height: 20px; }
.princ h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 21px; margin-bottom: 6px; }
.princ p { font-size: 14.5px; color: var(--muted); }

/* ---------- Pillar page ---------- */
.rg-progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.rg-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--orange), #F2A06F); transition: width .1s linear; }
.rg-hero { padding: 40px 0 30px; position: relative; overflow: hidden; }
.rg-hero::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(127,154,122,.2), transparent 65%); pointer-events: none; }
.rg-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.rg-h1 { font-size: clamp(36px, 5.2vw, 68px) !important; line-height: 1.02 !important; letter-spacing: -.03em; margin: 16px 0 20px !important; }
.rg-h1 small { display: block; font-size: .48em; letter-spacing: -.015em; color: var(--muted); margin-top: 10px; line-height: 1.15; }
.rg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--muted); margin: 24px 0 28px; align-items: center; }
.rg-meta span { display: inline-flex; align-items: center; gap: 7px; }
.rg-meta svg { width: 16px; height: 16px; }
.rg-meta img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.rg-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rg-art { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: end; width: 100%; }
.rg-art svg { width: 100%; height: 100%; display: block; }
.rg-art .float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-soft); font-size: 12.5px; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.rg-art .float b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.rg-art .f1 { left: -4%; top: 14%; }
.rg-art .f2 { right: -2%; top: 46%; animation-delay: -2s; }
.rg-art .f3 { left: 8%; bottom: 6%; animation-delay: -4s; }
.rg-art .float sup a { color: var(--orange-deep); }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.gut-dot { animation: drift 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.gut-dot:nth-child(3n) { animation-duration: 9s; animation-delay: -3s; }
.gut-dot:nth-child(3n+1) { animation-duration: 8s; animation-delay: -5s; }
@keyframes drift { 50% { transform: translate(4px, -6px) scale(1.15); } }
.gut-path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Topic navigator */
.rg-nav-sec { padding: 30px 0 70px; }
.rg-nav-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.rg-nav-h h2 { font-size: clamp(26px, 3vw, 36px) !important; margin: 10px 0 0 !important; }
.rg-nav-h p { color: var(--muted); font-size: 14.5px; max-width: 360px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.topic { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background .3s; }
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: #DCCFBF; }
.topic:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.topic.is-active { border-color: var(--orange); background: #FFF8F3; }
.topic .t-ico { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--cream); color: var(--orange-deep); transition: background .3s, color .3s, transform .4s var(--ease); }
.topic:nth-child(even) .t-ico { background: var(--sage-soft); color: var(--sage-deep); }
.topic:hover .t-ico { transform: rotate(-6deg) scale(1.06); }
.topic .t-ico svg { width: 24px; height: 24px; }
.topic b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.topic small { display: block; font-size: 13.5px; color: var(--muted); margin: 4px 0 8px; }
.topic .t-n { font-size: 12px; font-weight: 600; color: var(--orange-deep); }
.topic .t-no { position: absolute; right: 18px; top: 16px; font-size: 12px; color: #C9BBAA; font-variant-numeric: tabular-nums; }

/* Article layout */
.rg-body-sec { padding: 0 0 80px; }
.rg-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
.rg-toc { position: sticky; top: 96px; }
.rg-toc details { border: 0; padding: 0; }
.rg-toc summary { list-style: none; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 0 14px; cursor: default; }
.rg-toc summary::after { display: none; }
.rg-toc ol { list-style: none; border-left: 1.5px solid var(--line); counter-reset: toc; }
.rg-toc li a { display: block; position: relative; padding: 8px 0 8px 18px; font-size: 14px; color: var(--muted); transition: color .2s; }
.rg-toc li a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-size: 11px; margin-right: 8px; opacity: .6; font-variant-numeric: tabular-nums; }
.rg-toc li a:hover { color: var(--ink); }
.rg-toc li a[aria-current="true"] { color: var(--ink); font-weight: 500; }
.rg-toc li a[aria-current="true"]::after { content: ""; position: absolute; left: -1.5px; top: 6px; bottom: 6px; width: 2.5px; border-radius: 2px; background: var(--orange); }
.rg-toc .toc-foot { margin-top: 22px; padding: 16px; border-radius: 18px; background: var(--cream); font-size: 13px; color: var(--muted); }
.rg-toc .toc-foot a { display: inline-block; margin-top: 8px; color: var(--orange-deep); font-weight: 500; }

.rg-article { max-width: 760px; }
.rg-article > section { scroll-margin-top: 96px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.rg-article > section:last-of-type { border-bottom: 0; }
.rg-article h2 { font-family: "Fraunces", Georgia, serif; font-weight: 300; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.025em; margin: 12px 0 16px; }
.rg-article h2 em { font-style: italic; color: var(--orange); }
.rg-article h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 22px; letter-spacing: -.01em; margin: 30px 0 10px; }
.rg-article p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 16px; }
.rg-article ul.dots { margin: 8px 0 18px 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.rg-article ul.dots li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.rg-article ul.dots li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.rg-article sup a { color: var(--orange-deep); font-size: 11px; font-weight: 600; padding: 0 1px; }
.rg-article sup a:hover { text-decoration: underline; }
.sec-kick { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sec-no { font-family: "Fraunces", Georgia, serif; font-size: 15px; color: var(--orange-deep); }
.lede { font-size: 19px !important; color: var(--ink) !important; }

.summary-box { padding: 26px 28px; border-radius: 24px; background: var(--ink); color: #EFE7DD; margin-bottom: 56px; }
.summary-box h2 { color: #fff; font-size: 26px !important; margin: 0 0 14px !important; }
.summary-box ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.summary-box li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.55; }
.summary-box li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #F2A06F; font-weight: 600; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.stat { padding: 20px; border-radius: 20px; background: var(--cream); }
.stat b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 300; font-size: 38px; line-height: 1; letter-spacing: -.03em; color: var(--orange-deep); margin-bottom: 8px; }
.stat span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; }
.stat:nth-child(2) { background: var(--sage-soft); }
.stat:nth-child(2) b { color: var(--sage-deep); }

.know-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.know { padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.know h4 { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.know.yes h4 { color: var(--sage-deep); }
.know.no h4 { color: #A0670E; }
.know p { font-size: 15px !important; margin: 0 !important; }

.callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: 20px; background: #FFF6EE; border: 1px solid #F6D9C5; margin: 24px 0; }
.callout > span { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 600; }
.callout p { font-size: 15.5px !important; margin: 0 !important; }
.callout b { color: var(--ink); }

.food-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 22px 0; font-size: 14.5px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.food-table th, .food-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.food-table th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--cream); }
.food-table tr:last-child td { border-bottom: 0; }
.food-table td:first-child { font-weight: 500; }
.pill-y, .pill-m, .pill-n { display: inline-block; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-y { background: var(--sage-soft); color: var(--sage-deep); }
.pill-m { background: #FFF0D6; color: #8A5A08; }
.pill-n { background: var(--sand); color: var(--muted); }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px 0; counter-reset: flow; }
.flow li { list-style: none; position: relative; padding: 18px 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.flow li b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; margin: 10px 0 4px; }
.flow li .f-ico { font-size: 22px; line-height: 1; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 12px; display: grid; place-items: center; z-index: 1; }

.food-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.food-chips span { font-size: 13.5px; padding: 7px 13px; border-radius: 999px; background: var(--sage-soft); color: var(--sage-deep); }

.steps4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.steps4 div { padding: 22px; border-radius: 22px; background: var(--cream); position: relative; overflow: hidden; }
.steps4 div::after { content: attr(data-r); position: absolute; right: 14px; bottom: -18px; font-family: "Fraunces", Georgia, serif; font-size: 96px; line-height: 1; color: rgba(232,103,42,.12); font-weight: 300; }
.steps4 small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-deep); }
.steps4 b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 22px; margin: 4px 0 6px; }
.steps4 p { font-size: 14.5px !important; margin: 0 !important; color: var(--muted) !important; position: relative; z-index: 1; }

.axis { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin: 26px 0; padding: 24px; border-radius: 24px; background: var(--sage-soft); }
.axis .node { text-align: center; padding: 18px; border-radius: 18px; background: var(--surface); }
.axis .node b { display: block; font-family: "Fraunces", Georgia, serif; font-weight: 400; font-size: 20px; }
.axis .node span { font-size: 12.5px; color: var(--muted); }
.axis ul { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--sage-deep); text-align: center; }
.axis ul li { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.7); white-space: nowrap; }
.axis ul li::before { content: "⇄ "; }

/* Plant counter */
.plants { margin: 26px 0; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.plants-h { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.plants-h h3 { margin: 0 !important; }
.plants-h p { margin: 2px 0 0 !important; font-size: 14px !important; color: var(--muted) !important; }
.plant-meter { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.plant-meter output { font-family: "Fraunces", Georgia, serif; font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--sage-deep); min-width: 74px; text-align: right; }
.plant-meter output small { font-size: 15px; color: var(--muted); }
.plant-bar { flex: 1; min-width: 140px; height: 10px; border-radius: 5px; background: var(--sage-soft); overflow: hidden; }
.plant-bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--sage), var(--sage-deep)); transition: width .4s var(--ease); }
.plant-groups { display: flex; flex-direction: column; gap: 12px; }
.plant-groups div > span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.plant-groups .chips-row { gap: 6px; }
.plant-groups .chip { font-size: 13px; padding: 7px 12px; }
.plant-groups .chip[aria-pressed="true"] { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.plants-msg { margin-top: 14px !important; font-size: 14px !important; color: var(--sage-deep) !important; min-height: 1.4em; }

/* Contextual "read more" inside a section */
.more-in { margin-top: 26px; padding: 18px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.more-in > span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.more-in ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.more-in a, .more-in .soon { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid transparent; transition: border-color .2s, transform .25s var(--ease); }
.more-in a:hover { border-color: var(--line); transform: translateX(3px); }
.more-in .m-img { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--sand) center / cover; }
.more-in .m-img.no-img { background: linear-gradient(140deg, var(--cream), #F1B48E); }
.more-in b { display: block; font-size: 15px; font-weight: 500; line-height: 1.3; }
.more-in small { font-size: 12.5px; color: var(--muted); }
.more-in .soon { border: 1px dashed #E2C68C; background: #FFFCF5; }
.more-in .arr { margin-left: auto; color: var(--orange-deep); }

.alert-box { padding: 26px 28px; border-radius: 24px; background: #FFF3F0; border: 1px solid #F4D0C6; }
.alert-box h2 { font-size: 28px !important; margin: 0 0 6px !important; }
.alert-box ul { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 26px !important; }
.alert-box ul.dots li::before { background: #C2412D; }
.disclaimer { font-size: 13.5px !important; color: var(--muted) !important; margin-top: 18px !important; }

.refs ol { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.refs li { font-size: 14px; line-height: 1.55; color: var(--muted); padding-left: 4px; scroll-margin-top: 110px; }
.refs li:target { color: var(--ink); background: #FFF3EA; border-radius: 8px; }
.refs li a { color: var(--orange-deep); word-break: break-all; }
.ev-legend { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.rev-note { font-size: 13.5px !important; color: var(--muted) !important; }

/* Explore more */
.explore-sec { padding: 80px 0 90px; background: var(--cream); border-radius: 48px 48px 0 0; }
.explore-sec .lib-card { background: var(--surface); }

/* Expert */
.expert-sec { padding: 90px 0 0; }
.expert { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; padding: 34px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); }
.expert-img { position: relative; aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; background: var(--sand); }
.expert-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expert-img figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-size: 12.5px; color: var(--muted); }
.expert-img figcaption b { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }
.expert blockquote { font-family: "Fraunces", Georgia, serif; font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; letter-spacing: -.015em; color: var(--ink); margin: 14px 0 20px; }
.expert blockquote::before { content: "“"; display: block; font-size: 70px; line-height: .6; color: var(--orange); margin-bottom: 10px; }
.expert .creds-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.expert .creds-row span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--cream); color: var(--ink-soft); }
.expert-links { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.expert-links .soft { font-size: 14.5px; color: var(--muted); }
.expert-links .soft:hover { color: var(--orange-deep); }

/* Guide chip/box on post pages live in styles.css (they show on every post). */

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .rg-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rg-toc { position: sticky; top: 64px; z-index: 30; margin: 0 calc(-1 * var(--gut)) 28px; padding: 10px var(--gut); background: rgba(251,248,244,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
  .rg-toc summary { padding: 6px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--ink); letter-spacing: .08em; }
  .rg-toc summary::after { display: block; content: "▾"; font-size: 14px; transition: transform .3s; position: static; }
  .rg-toc details[open] summary::after { transform: rotate(180deg); }
  .rg-toc ol { margin: 8px 0 6px; max-height: 60vh; overflow: auto; }
  .rg-toc .toc-foot { display: none; }
  .rg-toc .cur { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--orange-deep); font-size: 13.5px; margin-left: auto; margin-right: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }
}
@media (min-width: 1101px) { .rg-toc .cur { display: none; } }
@media (max-width: 980px) {
  .rh-hero-grid, .rg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rg-art { max-width: 380px; justify-self: center; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "a a" "b e" "f f" "c d"; grid-auto-rows: minmax(200px, auto); }
  .b-a { min-height: 420px; } .b-b, .b-e { min-height: 380px; } .b-f { min-height: 320px; }
  .lib-grid, .topic-grid { grid-template-columns: 1fr 1fr; }
  .lib-filters { align-items: flex-start; }
  .expert { grid-template-columns: 1fr; padding: 22px; gap: 26px; }
  .expert-img { aspect-ratio: 4/3; }
  .expert-img img { object-position: center 20%; }
  .princ-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rh-hero { padding: 32px 0 24px; }
  .rh-stats dd { font-size: 26px; }
  .rh-stats div { padding: 12px; }
  .rh-search kbd { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "e" "f" "c" "d"; gap: 12px; }
  .b-a, .b-b, .b-e, .b-f { min-height: 400px; }
  .tile { border-radius: 24px; }
  .pillar { padding: 22px; }
  .b-b .p-chips span:nth-child(n+4) { display: inline-flex; }
  .p-chips span:nth-child(n+5) { display: none !important; }
  .lib-grid, .topic-grid { grid-template-columns: 1fr; }
  .lib-head { margin-bottom: 20px; }
  .chips-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-snap-type: x proximity; }
  .chips-row::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; }
  .plant-groups .chips-row { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .lib-filters { width: 100%; min-width: 0; align-items: stretch; }
  .lib-filters .seg { align-self: flex-start; }
  .topic { padding: 16px; }
  .rg-hero { padding: 24px 0 10px; }
  .rg-art .float { font-size: 11.5px; padding: 8px 11px; }
  .rg-art .float b { font-size: 18px; }
  .rg-nav-sec { padding: 20px 0 48px; }
  .rg-article p { font-size: 16.5px; }
  .summary-box, .alert-box { padding: 22px; }
  .summary-box ul, .alert-box ul { grid-template-columns: 1fr !important; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat { display: flex; gap: 16px; align-items: center; }
  .stat b { font-size: 32px; margin: 0; min-width: 92px; }
  .know-grid, .steps4 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2)::after { display: none; }
  .axis { grid-template-columns: 1fr; }
  .axis ul { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .food-table { display: block; overflow-x: auto; }
  .explore-sec { border-radius: 32px 32px 0 0; padding: 56px 0 64px; }
  .expert-sec { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .lib-card, .topic, .pillar .p-img, .gut-dot, .gut-path, .rg-art .float { animation: none !important; transition: none !important; }
  .gut-path { stroke-dashoffset: 0; }
  .pillar:hover, a.lib-card:hover, .topic:hover { transform: none; }
}
