/* =========================================================================
   Katolik Kilisesi İnanç Esasları Özeti · styles.css
   Modern reading layout. Dark = navy & gold, light = soft ivory & gold.
   No external requests: fonts are self-hosted in assets/fonts (EB Garamond,
   SIL Open Font License) with Georgia as the fallback.
   All colours are CSS custom properties (section 1).
   ========================================================================= */

/* ---------- 0. Self-hosted font (EB Garamond, variable weight 400–800) ---------- */
@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/eb-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/eb-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("fonts/eb-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url("fonts/eb-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- 1. Theme tokens ---------- */
:root {
  /* light: soft ivory + gold (never pure white) */
  --bg: #f5f2ea;
  --bg-glow: rgba(190, 150, 70, .10);
  --surface: #fbf9f4;
  --surface-2: #f1ece1;
  --surface-3: #e8e1d2;
  --border: #e1d8c5;
  --border-strong: #cbbd9f;
  --text: #1b2336;          /* navy ink */
  --text-soft: #39425a;
  --muted: #697086;
  --gold: #946f22;          /* readable gold on ivory */
  --gold-soft: #b99a5b;     /* decorative (roman numerals, rules) */
  --gold-bg: rgba(185, 150, 80, .12);
  --mark: rgba(214, 170, 70, .38);
  --shadow: 0 1px 2px rgba(27, 35, 54, .05), 0 8px 24px -14px rgba(27, 35, 54, .25);
  --header-bg: rgba(245, 242, 234, .86);
  --glass: rgba(250, 247, 240, .72);
  --glass-brd: rgba(203, 189, 159, .55);
  --glass-hi: rgba(255, 255, 255, .75);
  --glass-menu: rgba(250, 247, 240, .9);
  --glass-strong: rgba(250, 247, 240, .95);
  --glass-sheen: rgba(255, 255, 255, .5);
  --glass-shadow: 0 10px 34px -12px rgba(27, 35, 54, .28);
  --scrim: rgba(40, 36, 28, .5);
  --focus: #1d4f91;

  --serif: "EB Garamond", Garamond, "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 64px;
  --gutter: 1rem;
  color-scheme: light;
}
/* dark: deep navy + gold (opt-in only, the OS setting does not flip it) */
:root[data-theme="dark"] {
  --bg: #0c1322; --bg-glow: rgba(70, 100, 170, .16);
  --surface: #121b2f; --surface-2: #17223a; --surface-3: #1e2b48;
  --border: #243152; --border-strong: #35456b;
  --text: #ece4d1; --text-soft: #cdc5b2; --muted: #8f99b2;
  --gold: #d6b16b; --gold-soft: #8c7547; --gold-bg: rgba(214, 177, 107, .10);
  --mark: rgba(214, 177, 107, .32);
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 12px 30px -16px rgba(0, 0, 0, .7);
  --header-bg: rgba(12, 19, 34, .82);
  --glass: rgba(16, 25, 43, .66);
  --glass-brd: rgba(63, 82, 124, .55);
  --glass-hi: rgba(180, 205, 255, .14);
  --glass-menu: rgba(15, 23, 40, .9);
  --glass-strong: rgba(15, 23, 40, .95);
  --glass-sheen: rgba(170, 200, 255, .10);
  --glass-shadow: 0 10px 34px -12px rgba(0, 0, 0, .7);
  --scrim: rgba(4, 8, 16, .62);
  --focus: #e6c47f;
  color-scheme: dark;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4.5rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(1200px 600px at 50% -200px, var(--bg-glow), transparent 70%) no-repeat, var(--bg);
  color: var(--text);
  font-family: var(--serif); font-size: 1.1875rem; line-height: 1.65;
  font-kerning: normal; font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
@media (min-width: 720px) { :root { --gutter: 1.5rem; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--gold-soft); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 .05em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: .75rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--bg); padding: .5rem .9rem; border-radius: var(--radius-sm); font-family: var(--sans); font-size: .9rem; }
.skip-link:focus { top: .75rem; }
.gloss { color: var(--muted); font-size: .9em; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 880px; }
.label {
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- 3. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--glass); border-bottom: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}
/* Specular top edge: the highlight that makes the blur read as a pane of glass rather than a tint */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-sheen) 20%, var(--glass-sheen) 80%, transparent);
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--surface); }
}
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: 1 1 0; min-width: 0; margin-right: auto; }
@media (min-width: 900px) { .brand { flex: 0 1 auto; } }
.brand .logo { width: 30px; height: 30px; color: var(--gold); flex: none; }
.brand-name { font-size: 1.12rem; font-weight: 600; line-height: 1.15; letter-spacing: .005em; }
@media (max-width: 520px) { .brand-name { font-size: .95rem; } .brand .logo { width: 26px; height: 26px; } }
.header-tools { display: flex; align-items: center; gap: .6rem; flex: none; }
.clock {
  font-family: var(--sans); font-size: .82rem; color: var(--text-soft); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.clock .clock-time { color: var(--gold); font-weight: 600; margin-left: .4em; }
/* On phones the clock lives in the menu sheet, so it costs no vertical space on every page */
@media (max-width: 899px) { .header-tools .clock { display: none; } }
.icon-btn {
  display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft);
}
.icon-btn:hover { border-color: var(--border-strong); color: var(--gold); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.search-toggle { display: none; }
@media (max-width: 899px) { .site-header.has-search .search-toggle { display: inline-grid; } }

/* Theme switch */
.theme-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  width: 3.6rem; height: 2rem; padding: 0 .45rem; flex: none;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface-2); color: var(--muted);
}
.theme-toggle svg { width: .95rem; height: .95rem; position: relative; z-index: 1; transition: color .25s; }
.theme-toggle .knob {
  position: absolute; top: 3px; left: 3px; width: 1.55rem; height: 1.55rem; border-radius: 50%;
  background: var(--gold); transition: transform .28s cubic-bezier(.4, .2, .2, 1);
}
.theme-toggle[aria-checked="true"] .knob { transform: translateX(1.6rem); }
.theme-toggle[aria-checked="false"] .ico-sun, .theme-toggle[aria-checked="true"] .ico-moon { color: var(--bg); }

/* ---------- 4. Search (header + home hero) ---------- */
.search { position: relative; }
.search-field { position: relative; display: flex; align-items: center; }
.search-field svg { position: absolute; left: .95rem; width: 1.05rem; height: 1.05rem; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 2.6rem; padding: 0 1rem 0 2.7rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-family: var(--sans); font-size: .95rem; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--gold-soft); box-shadow: 0 0 0 3px var(--gold-bg); }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.header-search { width: 20rem; }
@media (max-width: 899px) {
  .header-search { display: none; order: 10; flex: 1 1 100%; width: 100%; padding-bottom: .7rem; }
  .site-header.search-open .header-search { display: block; }
}
.hero-search { max-width: 34rem; margin: 1.6rem auto 0; }
.hero-search input { height: 3.2rem; font-size: 1rem; }
.search-results {
  position: absolute; left: 0; right: 0; top: calc(100% + .45rem); z-index: 50;
  max-height: min(70vh, 34rem); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .35rem; text-align: left;
}
.header-search .search-results { left: auto; width: min(34rem, calc(100vw - 2rem)); }
@media (max-width: 899px) { .header-search .search-results { left: 0; width: auto; } }
.sr-head { padding: .45rem .7rem .35rem; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
.sr-item {
  display: flex; gap: .75rem; align-items: flex-start; padding: .6rem .7rem; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
}
.sr-item:hover, .sr-item:focus-visible { background: var(--surface-2); outline: none; color: var(--text); }
.sr-num {
  flex: none; min-width: 2.4rem; text-align: center; padding: .1rem .35rem; margin-top: .15rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 999px;
}
.sr-body { min-width: 0; }
.sr-q { display: block; font-weight: 600; line-height: 1.3; }
.sr-snip { display: block; font-size: .93rem; color: var(--text-soft); line-height: 1.45; margin-top: .15rem; }
.sr-meta { display: block; font-family: var(--sans); font-size: .72rem; color: var(--muted); margin-top: .2rem; letter-spacing: .02em; }
.sr-en { font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .08em; color: var(--gold); margin-left: .35rem; }
.sr-empty { padding: .9rem .8rem; color: var(--muted); font-style: italic; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.4rem; padding: .3rem 1rem;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-soft);
  font-family: var(--sans); font-size: .85rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: border-color .15s, color .15s, background-color .15s;
}
.btn:hover { border-color: var(--gold-soft); color: var(--gold); }
.btn svg { width: 1rem; height: 1rem; }
.btn[aria-pressed="true"] { background: var(--gold-bg); border-color: var(--gold-soft); color: var(--gold); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.btn-gold:hover { color: var(--bg); filter: brightness(1.08); }

/* ---------- 6. Home ---------- */
.hero { text-align: center; padding: clamp(2.5rem, 7vw, 4.5rem) 0 2rem; }
.hero .logo { width: 58px; height: 58px; margin: 0 auto 1.1rem; color: var(--gold); }
.hero h1 { font-size: clamp(2.05rem, 5.4vw, 3.35rem); line-height: 1.08; margin: 0; font-weight: 600; letter-spacing: -.005em; }
.hero .subtitle { margin: .6rem 0 0; font-style: italic; color: var(--text-soft); font-size: clamp(1.05rem, 2.2vw, 1.3rem); }
.hero .hint { margin: .9rem 0 0; font-style: italic; color: var(--muted); font-size: 1.05rem; }

.parts { display: grid; gap: 1.1rem; margin: 1.2rem auto 0; }
.part-acc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color .2s; }
.part-acc:hover, .part-acc[open] { border-color: var(--border-strong); }
.part-acc > summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 0 1.4rem; padding: 1.35rem 1.6rem; border-radius: var(--radius);
}
.part-acc > summary::-webkit-details-marker { display: none; }
.roman { font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: .9; color: var(--gold-soft); font-weight: 500; min-width: 2.2ch; }
.part-acc .p-title { display: block; font-size: clamp(1.4rem, 3.2vw, 2rem); line-height: 1.15; font-weight: 600; }
.part-acc .p-meta { display: block; margin-top: .35rem; }
.chev { width: 1.1rem; height: 1.1rem; color: var(--muted); transition: transform .25s ease; }
.part-acc[open] > summary .chev { transform: rotate(180deg); color: var(--gold); }
@media (max-width: 560px) { .part-acc > summary { gap: 0 .9rem; padding: 1.1rem 1.1rem; } }
.part-body { padding: 0 1.6rem 1.5rem; border-top: 1px solid var(--border); }
@media (max-width: 560px) { .part-body { padding: 0 1.1rem 1.2rem; } }
.part-body .open-part { margin-top: 1.1rem; }
.acc-section { padding-top: 1.1rem; }
.acc-section > a { display: block; text-decoration: none; }
.acc-section > a .s-title { display: block; font-size: 1.22rem; font-weight: 600; line-height: 1.25; margin-top: .15rem; }
.acc-section > a:hover .s-title { color: var(--gold); }
.acc-list { list-style: none; margin: .55rem 0 0; padding: 0; border-left: 1px solid var(--border); }
.acc-list > li > a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .32rem 0 .32rem 1rem; text-decoration: none; line-height: 1.3;
}
.acc-list > li > a:hover { color: var(--gold); }
.acc-list .rng { flex: none; font-family: var(--sans); font-size: .76rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.acc-list .lv3 > a { font-weight: 600; }
.acc-list .lv3 .c-label { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .1rem; }
.acc-list .lv4 > a { padding-left: 2rem; font-size: 1.02rem; color: var(--text-soft); }

.more-texts { display: grid; gap: 1rem; margin: 2.2rem auto 0; }
@media (min-width: 760px) { .more-texts { grid-template-columns: repeat(3, 1fr); } }
.text-link {
  display: block; padding: 1.15rem 1.3rem; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .2s, transform .2s;
}
.text-link:hover { border-color: var(--gold-soft); color: var(--text); transform: translateY(-2px); }
.text-link .t-title { display: block; font-size: 1.4rem; font-weight: 600; line-height: 1.2; margin-top: .25rem; }
.text-link .t-sub { display: block; font-style: italic; color: var(--muted); margin-top: .25rem; font-size: 1rem; }
.ornament { display: flex; align-items: center; gap: 1rem; color: var(--gold-soft); margin: 2.6rem 0 0; }
.ornament::before, .ornament::after { content: ""; flex: 1; border-top: 1px solid var(--border); }
.ornament svg { width: 18px; height: 18px; }

/* ---------- 7. Reading pages ---------- */
.crumbs { font-family: var(--sans); font-size: .8rem; color: var(--muted); padding-top: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs span[aria-hidden] { margin: 0 .4rem; }
.page-head { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem 0 1.6rem; border-bottom: 1px solid var(--border); margin-bottom: 1.4rem; }
.page-head .roman { font-size: clamp(3rem, 8vw, 4.6rem); }
.page-head h1 { margin: .15rem 0 0; font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.1; font-weight: 600; }
.page-head .sub { margin: .3rem 0 0; font-style: italic; color: var(--muted); }
.page-head.center { flex-direction: column; text-align: center; gap: .2rem; }

.reader { display: grid; gap: 2.2rem; padding-bottom: 4rem; }
@media (min-width: 1040px) { .reader { grid-template-columns: 17.5rem minmax(0, 1fr); align-items: start; } }
.content { min-width: 0; max-width: 46rem; }

/* Sidebar TOC (drawer on small screens) */
.toc { font-size: 1rem; }
.toc-inner { padding: .2rem 0; }
.toc-title { margin: 0 0 .6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a {
  display: flex; justify-content: space-between; gap: .6rem; align-items: baseline;
  padding: .28rem .6rem; border-radius: 7px; text-decoration: none; line-height: 1.3; color: var(--text-soft);
  border-left: 2px solid transparent;
}
.toc a:hover { color: var(--gold); background: var(--gold-bg); }
.toc a[aria-current="location"] { color: var(--gold); border-left-color: var(--gold); background: var(--gold-bg); }
.toc .rng { flex: none; font-family: var(--sans); font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc .t2 { margin-top: .8rem; }
.toc .t2 > a { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.toc .t3 > a { font-weight: 600; color: var(--text); }
.toc .t4 > a { padding-left: 1.3rem; font-size: .95rem; }
.toc .t5 > a { padding-left: 2rem; font-size: .9rem; font-style: italic; }
@media (min-width: 1040px) {
  .toc { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; overscroll-behavior: contain; padding-right: .4rem; scrollbar-width: thin; }
  .toc-close, .toc-backdrop { display: none; }
}
@media (max-width: 1039px) {
  .toc {
    position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(21rem, 88vw); overflow-y: auto;
    background: var(--surface); border-right: 1px solid var(--border); box-shadow: var(--shadow);
    padding: 1rem 1rem 2rem; transform: translateX(-102%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .toc.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .toc-close { float: right; }
  .toc-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(5, 10, 20, .45); }
}

/* Sticky reading bar: current chapter, prev/next, TOC, English toggle */
.readbar {
  position: sticky; top: var(--header-h); z-index: 30; display: flex; align-items: center; gap: .5rem;
  margin: 0 0 1.2rem; padding: .55rem 0; border-bottom: 1px solid var(--glass-brd);
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
}
.readbar .current {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 1.02rem; font-style: italic; color: var(--text-soft);
}
.readbar .toc-open { display: none; }
@media (max-width: 1039px) { .readbar .toc-open { display: inline-flex; } }
.readbar .icon-btn { width: 2.3rem; height: 2.3rem; }
@media (max-width: 560px) { .readbar .btn .btn-text { display: none; } .readbar .btn { padding: .3rem .7rem; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .readbar { background: var(--bg); }
}

/* Section headings from the Compendium */
.sec { scroll-margin-top: calc(var(--header-h) + 4.5rem); margin: 2.6rem 0 1.1rem; font-weight: 600; line-height: 1.2; }
.sec .sec-label { display: block; margin-bottom: .3rem; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.sec .sec-title { display: block; }
.sec .en { display: none; margin-top: .35rem; font-weight: 400; font-style: italic; font-size: .62em; color: var(--muted); }
.show-en .sec .en { display: block; }
.readbar + .sec { margin-top: 1rem; }
.sec-l2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); text-align: center; padding: 1.4rem 1rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-l3 { font-size: clamp(1.45rem, 3vw, 1.8rem); padding-top: .4rem; }
.sec-l4 { font-size: clamp(1.25rem, 2.6vw, 1.45rem); display: flex; flex-direction: column; }
.sec-l4 .sec-title::before { content: ""; display: block; width: 2.2rem; height: 2px; background: var(--gold-soft); margin-bottom: .55rem; }
.sec-l5 { font-size: 1.15rem; font-style: italic; color: var(--text-soft); }

/* Q&A */
.qa {
  margin: 0 0 1rem; padding: 1.15rem 1.3rem .85rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  scroll-margin-top: calc(var(--header-h) + 4.5rem); transition: border-color .2s, box-shadow .2s;
}
.qa:target { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-bg); }
.qa-head { display: flex; gap: .85rem; align-items: flex-start; }
.qa-num {
  flex: none; min-width: 2.7rem; margin-top: .12rem; padding: .12rem .45rem; text-align: center; text-decoration: none;
  font-family: var(--sans); font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: var(--gold); border: 1px solid var(--gold-soft); border-radius: 999px;
}
a.qa-num:hover { background: var(--gold); color: var(--bg); }
.qa-q { margin: 0; font-size: clamp(1.18rem, 2.5vw, 1.34rem); line-height: 1.3; font-weight: 600; }
.qa-a { margin-top: .6rem; }
.qa-a p { margin: 0 0 .7em; }
.qa-a ul { margin: 0 0 .7em; padding-left: 1.25rem; }
.qa-a li { margin-bottom: .35em; }
.qa-a li::marker { color: var(--gold); }
.note {
  margin: .3rem 0 .8rem; padding: .6rem .85rem; font-size: .98rem; color: var(--text-soft);
  background: var(--gold-bg); border-left: 3px solid var(--gold-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.qa-foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: .6rem; margin-top: .2rem; }
.ccc { font-family: var(--sans); font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.en-toggle {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; min-height: 2.1rem;
  border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--text-soft);
  font-family: var(--sans); font-size: .8rem; font-weight: 500;
}
.qa-foot.end { justify-content: flex-end; }
.en-toggle:hover { border-color: var(--gold-soft); color: var(--gold); }
.en-toggle svg { width: .9rem; height: .9rem; transition: transform .2s ease; }
.en-toggle[aria-expanded="true"] { color: var(--gold); border-color: var(--gold-soft); background: var(--gold-bg); }
.en-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* English original: instant reveal with a light fade (opacity/transform only) */
.en-block { margin-top: .75rem; padding: .8rem 1rem .4rem; background: var(--surface-2); border-radius: var(--radius-sm); border-left: 3px solid var(--gold-soft); }
.en-block:not([hidden]) { animation: reveal .18s ease-out; }
@keyframes reveal { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .en-block:not([hidden]) { animation: none; } }
.en-block .label { display: block; margin-bottom: .35rem; }
.en-block .attr { display: block; margin-top: .3rem; font-family: var(--sans); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.en-par { margin: -.4em 0 1.1em; padding: .55rem .9rem .1rem; font-size: 1.05rem; color: var(--text-soft); }
.en-par p { margin: 0 0 .5em; }
.signature .en-par { text-align: right; }
.en-block .qa-q { font-size: 1.12rem; }
.en-block .qa-a { margin-top: .35rem; color: var(--text-soft); }

/* Quotes between questions */
.quote { margin: 1.8rem auto; max-width: 38rem; text-align: center; }
.quote blockquote { margin: 0; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--gold-soft); margin-bottom: .2rem; }
.quote p { margin: 0; font-style: italic; font-size: clamp(1.18rem, 2.6vw, 1.36rem); line-height: 1.5; }
.quote .attr { display: block; margin-top: .55rem; font-family: var(--sans); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.quote .en-toggle { margin-top: .7rem; }
.quote .en-block { text-align: left; }

/* Text cards: Creeds, Decalogue, Our Father, prayers, formulas */
.text-grid { display: grid; gap: 1rem; margin: 1rem 0 1.6rem; }
@media (min-width: 900px) { .text-grid.two { grid-template-columns: 1fr 1fr; } }
.text-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem 1.3rem .85rem; min-width: 0; scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.text-card:target { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-bg); }
.text-card .t-title { margin: 0 0 .7rem; font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.verse p { margin: 0 0 .8em; }
.verse ol { margin: 0 0 .7em; padding-left: 1.5rem; }
.verse ol.plain { list-style: none; padding-left: 0; }
.verse li { margin-bottom: .25em; }
.verse li::marker { color: var(--gold); font-family: var(--sans); font-size: .85em; }
.latin { margin-top: .7rem; }
.latin summary { cursor: pointer; font-family: var(--sans); font-size: .8rem; color: var(--muted); padding: .3rem 0; }
.latin summary:hover { color: var(--gold); }
.latin .verse { padding: .7rem .9rem .2rem; margin-top: .3rem; background: var(--surface-2); border-radius: var(--radius-sm); font-style: italic; }

.decalogue table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.decalogue th, .decalogue td { border-bottom: 1px solid var(--border); padding: .6rem .6rem; vertical-align: top; text-align: left; }
.decalogue th { font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.decalogue td p { margin: 0 0 .5em; }
.decalogue td:last-child { font-weight: 600; }
@media (max-width: 719px) {
  .decalogue thead { display: none; }
  .decalogue tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--border-strong); }
  .decalogue td { display: block; border: 0; padding: .2rem 0; }
  .decalogue td::before { content: attr(data-label); display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
}

/* Article pages (Motu Proprio, Introduction) */
.article { max-width: 44rem; margin-inline: auto; padding-bottom: 3rem; }
.article .body p { margin: 0 0 1em; }
.article .address { font-style: italic; }
.signature { text-align: right; font-style: italic; margin-top: 1.4rem; }
.signature p { margin: 0; }
.footnotes { margin-top: 1.6rem; padding-top: .8rem; border-top: 1px solid var(--border); font-size: .95rem; color: var(--text-soft); }
.footnotes p { margin: 0 0 .3rem; }
.article-tools { display: flex; justify-content: center; margin: 0 0 1.6rem; }
.article .en-block { margin-top: 2rem; padding: 1.2rem 1.4rem .6rem; }

/* About page (Markdown content from content/hakkinda.md) */
.prose h2 { font-size: clamp(1.45rem, 3vw, 1.75rem); font-weight: 600; line-height: 1.25; margin: 2rem 0 .7rem; }
.prose h3 { font-size: 1.3rem; font-weight: 600; margin: 1.6rem 0 .5rem; }
.prose h4, .prose h5 { font-size: 1.1rem; font-weight: 600; margin: 1.3rem 0 .4rem; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.4rem; }
.prose li { margin-bottom: .3em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.4rem 0; padding: .6rem 1.1rem; border-left: 3px solid var(--gold-soft); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-soft); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .85em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
.prose a { color: var(--gold); }
.about-link { text-align: center; margin: 1.6rem 0 0; font-family: var(--sans); font-size: .9rem; }
.hero .label { margin: 0 0 .4rem; }

/* Part-to-part navigation */
.pager { display: grid; gap: 1rem; margin-top: 2.6rem; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a { display: block; padding: 1rem 1.2rem; text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.pager a:hover { border-color: var(--gold-soft); color: var(--text); }
.pager .next { text-align: right; grid-column: -2; }
.pager strong { display: block; font-size: 1.2rem; font-weight: 600; margin-top: .15rem; }

.section-title { margin: 2.4rem 0 1rem; font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 600; text-align: center; }
.section-title .label { display: block; margin-bottom: .3rem; }

/* ---------- 8. Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0 2.8rem; margin-top: 2rem; font-size: .98rem; color: var(--muted); }
.site-footer p { margin: 0 0 .7rem; max-width: 60rem; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; padding: 0; margin: 0 0 1.2rem; font-family: var(--sans); font-size: .85rem; }
.site-footer nav a { text-decoration: none; color: var(--text-soft); }
.site-footer nav a:hover { color: var(--gold); }

/* ---------- 9. Print ---------- */
@media print {
  .site-header, .readbar, .toc, .toc-backdrop, .en-toggle, .pager, .site-footer nav, .search { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .qa, .text-card { border: 0; padding: 0; break-inside: avoid; }
  .en-block[hidden] { display: none; }
}

/* ---------- 11. FAQ (sss.html) ---------- */
.faq-intro { max-width: 62ch; margin: 0 auto 1.8rem; color: var(--text-soft); text-align: center; }
.faq-toc ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 0 1rem; padding: 0; }
.faq-toc a {
  display: block; padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); font-family: var(--sans); font-size: .82rem; color: var(--text-soft); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.faq-toc a:hover { border-color: var(--gold-soft); color: var(--gold); }
.faq-cat { scroll-margin-top: calc(var(--header-h) + 2rem); }
.faq-cat-en { margin: -.55rem 0 1.1rem; text-align: center; font-style: italic; color: var(--muted); font-size: .95rem; }
.faq-list { display: grid; gap: .65rem; margin-bottom: 2.2rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: border-color .2s;
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.faq-item:hover, .faq-item[open] { border-color: var(--border-strong); }
.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; cursor: pointer; list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius); }
.faq-q { font-size: 1.12rem; font-weight: 600; line-height: 1.35; }
.faq-item[open] > summary .faq-q { color: var(--gold); }
.faq-item[open] > summary .chev { transform: rotate(180deg); color: var(--gold); }
.faq-a { padding: .95rem 1.25rem 1.15rem; border-top: 1px solid var(--border); }
.faq-a p { margin: 0 0 .85rem; }
.faq-a ul { margin: 0 0 .85rem; padding-left: 1.3rem; }
.faq-ref { margin: 0; padding-top: .3rem; border-top: 1px dotted var(--border); }
@media (max-width: 560px) {
  .faq-item > summary { padding: .9rem 1rem; gap: .7rem; }
  .faq-q { font-size: 1.04rem; }
  .faq-a { padding: .85rem 1rem 1rem; }
}

/* ---------- 12. Main navigation ---------- */
.glass {
  background: var(--glass); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  box-shadow: inset 0 1px 0 var(--glass-hi), var(--glass-shadow);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--surface); }
}

.mainnav { display: none; }
@media (min-width: 900px) { .mainnav { display: block; margin-left: .35rem; } }
.mainnav > ul { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; cursor: pointer;
  padding: .48rem .8rem; border: 1px solid transparent; border-radius: 999px; background: none;
  font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--text-soft); text-decoration: none;
  transition: color .18s, background-color .18s, border-color .18s;
}
.nav-link:hover { color: var(--gold); background: var(--gold-bg); }
.nav-link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.nav-link[aria-current="page"], .nav-trigger.is-section {
  color: var(--gold); background: var(--gold-bg); border-color: var(--glass-brd);
}
.nav-link .ico { width: .95rem; height: .95rem; transition: transform .22s ease; }
.nav-trigger[aria-expanded="true"] { color: var(--gold); background: var(--gold-bg); }
.nav-trigger[aria-expanded="true"] .ico { transform: rotate(180deg); }

.has-menu { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + .5rem); left: 0; z-index: 60;
  min-width: 23rem; padding: .35rem; border-radius: 20px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top left;
  transition: opacity .2s ease, transform .2s cubic-bezier(.32, .72, 0, 1), visibility .2s;
}
.has-menu.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu { background: var(--glass-menu); -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px); }
.nav-menu ul { margin: 0; padding: 0; list-style: none; }
.nav-menu a { display: block; padding: .55rem .75rem; border-radius: 13px; text-decoration: none; color: var(--text); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--gold-bg); outline: none; }
.nav-menu a[aria-current="page"] { background: var(--gold-bg); }
.nav-menu a[aria-current="page"] .nm-t { color: var(--gold); }
.nm-t { display: block; font-size: .98rem; font-weight: 600; line-height: 1.25; }
.nm-s { display: block; margin-top: .08rem; font-family: var(--sans); font-size: .75rem; color: var(--muted); }

@media (min-width: 900px) {
  .header-row { flex-wrap: nowrap; }
  .brand { min-width: 0; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-search { flex: 0 1 18rem; width: auto; min-width: 9rem; }
}
/* The clock is the first thing to go when the bar gets tight, so the site name stays whole */
@media (max-width: 1399px) { .header-tools .clock { display: none; } }

/* ---------- 13. Mobile menu sheet ---------- */
.menu-toggle { display: inline-grid; }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.navsheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; }
.navsheet[hidden] { display: none; }
.navsheet::before {
  content: ''; position: absolute; inset: 0; background: var(--scrim);
  opacity: 0; transition: opacity .3s ease;
}
.navsheet.open::before { opacity: 1; }
.navsheet-panel {
  position: relative; width: 100%; max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-radius: 28px 28px 0 0; border-bottom: 0;
  padding: .35rem .8rem calc(1.1rem + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .38s cubic-bezier(.32, .72, 0, 1);
}
.navsheet.open .navsheet-panel { transform: none; }
.navsheet-panel { background: var(--glass-strong); }
.navsheet-grab {
  display: block; width: 100%; padding: .6rem 0 .7rem; border: 0; background: none; cursor: pointer;
}
.navsheet-grab span { display: block; width: 2.5rem; height: .3rem; margin: 0 auto; border-radius: 999px; background: var(--border-strong); }
.ns-label { margin: .7rem .55rem .25rem; font-family: var(--sans); font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.ns-item {
  display: block; min-height: 2.9rem; padding: .55rem .85rem; margin-bottom: .1rem;
  border-radius: 15px; text-decoration: none; color: var(--text);
  transition: background-color .15s;
}
.ns-item:active { background: var(--surface-2); }
.ns-item[aria-current="page"] { background: var(--gold-bg); }
.ns-item[aria-current="page"] .ns-t { color: var(--gold); }
.ns-t { display: block; font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.ns-s { display: block; margin-top: .1rem; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
.ns-foot { margin-top: .7rem; padding-top: .65rem; border-top: 1px solid var(--border); text-align: center; }
.ns-foot .clock { font-size: .8rem; }
body.sheet-open { overflow: hidden; }

/* ---------- 14. Touch refinements ---------- */
@media (hover: none) {
  a, button, summary { -webkit-tap-highlight-color: transparent; }
}
@media (max-width: 899px) {
  .icon-btn { width: 2.75rem; height: 2.75rem; }
  .acc-list > li > a { min-height: 2.9rem; align-items: center; }
  .toc li a { min-height: 2.75rem; display: flex; align-items: center; }
  .text-link { min-height: 3.4rem; }
  .pager a { min-height: 3.4rem; }
  .qa-foot, .readbar { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-menu, .navsheet-panel, .navsheet::before, .nav-link .ico { transition: none; }
}

/* ---------- 15. Hub, info panel, compact footer ---------- */
.site-title {
  font-family: var(--sans); font-weight: 600; letter-spacing: -.025em; text-transform: none;
  font-size: clamp(1.85rem, 4.2vw, 2.7rem); overflow-wrap: anywhere;
}
.work-hero { padding-top: .5rem; }

.hub { display: grid; gap: 1rem; margin: 1.5rem 0 2.5rem; }
@media (min-width: 760px) { .hub { grid-template-columns: 1fr 1fr; } }
.hub-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.6rem 1.5rem 1.35rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.hub-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.hub-ico { width: 2.2rem; height: 2.2rem; color: var(--gold); }
.hub-ico svg { width: 100%; height: 100%; }
.hub-t { font-size: 1.5rem; font-weight: 600; line-height: 1.2; }
.hub-s { color: var(--text-soft); font-size: 1.02rem; line-height: 1.5; flex: 1; }
.hub-go {
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem;
  font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--gold);
}
.hub-go svg { width: .95rem; height: .95rem; transition: transform .2s; }
.hub-card:hover .hub-go svg { transform: translateX(3px); }
.conventions { margin: 2.5rem 0 1rem; font-family: var(--sans); font-size: .82rem; line-height: 1.6; color: var(--muted); }

/* (i) in the bar: hover reveals content/hakkinda.md and the panel tracks the pointer */
.info-btn {
  display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; margin-left: .15rem;
  border: 1px solid transparent; border-radius: 999px; background: none; color: var(--muted); cursor: pointer;
  transition: color .18s, background-color .18s, border-color .18s;
}
.info-btn svg { width: 1.15rem; height: 1.15rem; }
.info-btn:hover, .info-btn[aria-expanded="true"] { color: var(--gold); background: var(--gold-bg); border-color: var(--glass-brd); }
.info-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.info-panel {
  position: fixed; left: 0; top: 0; z-index: 95;
  width: min(25rem, calc(100vw - 2rem)); max-height: min(70vh, 34rem); overflow-y: auto;
  padding: 1.1rem 1.25rem; border-radius: 20px;
  background: var(--glass-menu);
  -webkit-backdrop-filter: saturate(180%) blur(30px); backdrop-filter: saturate(180%) blur(30px);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.info-panel[hidden] { display: none; }
.info-panel.open { opacity: 1; transform: none; }
.info-panel.pinned { pointer-events: auto; }
.info-panel.centered { left: 50%; top: 50%; transform: translate(-50%, -48%); }
.info-panel.centered.open { transform: translate(-50%, -50%); }
.info-inner > :first-child { margin-top: 0; }
.info-inner > :last-child { margin-bottom: 0; }
.info-inner h2 { margin: 1.1rem 0 .35rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-family: var(--sans); }
.info-inner h2:first-child { margin-top: 0; }
.info-inner p { margin: 0 0 .7rem; font-size: .97rem; line-height: 1.55; color: var(--text-soft); }
.info-inner ul { margin: 0 0 .7rem; padding-left: 1.1rem; }
.info-inner li { font-size: .93rem; line-height: 1.5; color: var(--text-soft); margin-bottom: .2rem; }
.info-inner em { color: var(--muted); font-size: .88rem; }
.info-inner a { color: var(--gold); }

/* sheet: the Compendium texts are nested under the Kateşizm heading */
.ns-sub { padding-left: 1.6rem; }
.ns-sub .ns-t { font-size: .97rem; }
button.ns-item { width: 100%; text-align: left; border: 0; background: none; font: inherit; cursor: pointer; }

.site-footer .foot-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem;
}
.foot-brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-weight: 600; }
.foot-brand .logo { width: 22px; height: 22px; color: var(--gold); }
.foot-brand span { font-family: var(--sans); font-size: .95rem; }
.foot-line { margin: 0; font-family: var(--sans); font-size: .78rem; color: var(--muted); }
@media (max-width: 599px) { .site-footer .foot-row { justify-content: center; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .info-panel, .hub-card, .hub-go svg { transition: none; } }
