/* Veridyen Reviews — "değerlendirme sicili"
   An editorial trust-register aesthetic: Newsreader serif, hairline rules,
   tabular figures, crisp corners, flat colour. No gradients, no soft cards. */

:root {
    --ink:       #16211D;
    --ink-2:     #34433D;
    --muted:     #6A776F;
    --faint:     #97A199;
    --line:      #D5DBD5;
    --line-2:    #E6EAE4;
    --surface:   #F4F5F1;
    --paper:     #FFFFFF;
    --brand:     #15553F;
    --brand-700: #0F3F2F;
    --brand-50:  #E7EFE9;
    --accent:    #B4542B;   /* terracotta used ONLY as a sparing editorial mark */
    --gold:      #C8881F;   /* stars */
    --danger:    #A83B27;

    --r:    4px;
    --r-sm: 3px;

    --serif: "Newsreader", Georgia, "Times New Roman", serif;
    --sans:  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --data:  "Space Grotesk", "Segoe UI", system-ui, sans-serif;

    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--surface);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "kern" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; text-underline-offset: 2px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); font-optical-sizing: auto; color: var(--ink); margin: 0 0 .5em; font-weight: 500; line-height: 1.1; letter-spacing: -.012em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 460; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 480; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
b, strong { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }
.section { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.section--tight { padding-block: clamp(1.6rem, 3.5vw, 2.6rem); }

/* tabular figures everywhere numbers matter */
.num, .data { font-family: var(--data); font-variant-numeric: tabular-nums; }

.kicker, .eyebrow {
    font-family: var(--data); font-size: .72rem; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brand); margin: 0 0 1rem; display: block;
}
.standfirst, .lede {
    font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.45; color: var(--ink-2); max-width: 36ch; font-weight: 400;
}

/* ---------- masthead ---------- */
.masthead { background: var(--paper); border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 50; }
.masthead__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 70px; }
.wordmark { display: flex; flex-direction: column; line-height: 1; color: var(--ink); text-decoration: none; }
.wordmark:hover { text-decoration: none; }
.wordmark__name { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; letter-spacing: -.02em; }
.wordmark__kicker { font-family: var(--data); font-size: .62rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--brand); margin-top: 3px; }
.masthead__issue { font-family: var(--data); font-size: .76rem; color: var(--muted); margin: 0; display: flex; gap: .5rem; align-items: center; font-variant-numeric: tabular-nums; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.4rem; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: .95rem; text-decoration: none; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.nav__write { font-family: var(--data); font-weight: 600; font-size: .88rem !important; color: var(--brand) !important; }
.nav-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem; font-family: var(--data); font-weight: 600;
    font-size: .92rem; line-height: 1; padding: .72rem 1.15rem; border-radius: var(--r-sm);
    border: 1px solid var(--ink); cursor: pointer; transition: background .14s, color .14s; text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- lead feature (home hero) ---------- */
.feature { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2.4rem, 6vw, 4.2rem); border-bottom: 1px solid var(--line); align-items: start; }
.feature__lead h1 { margin-bottom: .5rem; }
.feature__lead .accent { font-style: italic; color: var(--brand); }
.feature__meta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* rating dossier (flat, register-like) */
.dossier { border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 1.4rem 1.5rem 1.6rem; background: var(--paper); }
.dossier__tag { font-family: var(--data); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dossier__score { display: flex; align-items: baseline; gap: .5rem; margin: .5rem 0 .2rem; }
.dossier__num { font-family: var(--data); font-variant-numeric: tabular-nums; font-size: 4rem; font-weight: 500; line-height: .85; letter-spacing: -.04em; }
.dossier__den { font-family: var(--data); color: var(--muted); font-size: 1rem; }
.dossier__count { font-family: var(--data); font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.dossier__rule { border: 0; border-top: 1px solid var(--line); margin: 1.1rem 0; }
.dist { display: grid; gap: .4rem; }
.dist__row { display: grid; grid-template-columns: 1.5rem 1fr 2.6rem; align-items: center; gap: .6rem; font-family: var(--data); font-size: .78rem; font-variant-numeric: tabular-nums; }
.dist__star { color: var(--ink-2); }
.dist__track { height: 6px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.dist__fill { height: 100%; background: var(--brand); width: 0; transition: width .9s cubic-bezier(.2,.7,.2,1); }
.dist__pct { color: var(--muted); text-align: right; }
.dossier__verified { display: flex; gap: .45rem; align-items: flex-start; font-size: .8rem; color: var(--brand); margin-top: 1.1rem; line-height: 1.4; }
.dossier__verified svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }

/* stars */
.stars { display: inline-flex; gap: 1px; color: var(--gold); line-height: 1; }
.stars svg { width: 1em; height: 1em; }
.stars .star-off { color: var(--line); }

/* ---------- by-the-numbers run (replaces stat grid) ---------- */
.bynumbers { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bynumbers__item { flex: 1 1 0; min-width: 130px; padding: 1.3rem 1.4rem; border-right: 1px solid var(--line); }
.bynumbers__item:last-child { border-right: 0; }
.bynumbers__val { font-family: var(--data); font-variant-numeric: tabular-nums; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; }
.bynumbers__label { font-family: var(--data); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

/* ---------- section headers ---------- */
.colhead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.colhead h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.colhead__more { font-family: var(--data); font-size: .82rem; font-weight: 600; }
/* keep legacy alias */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin-bottom: .3rem; }

/* ---------- source ledger (table) ---------- */
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--paper); border: 1px solid var(--line); }
.ledger caption { text-align: left; font-family: var(--data); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: .4rem 0; caption-side: top; }
.ledger th, .ledger td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.ledger thead th { font-family: var(--data); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ledger tbody tr:last-child td { border-bottom: 0; }
.ledger tbody tr:hover { background: var(--surface); }
.ledger .src { font-weight: 600; }
.ledger .src a { color: var(--ink); }
.ledger .figure { font-family: var(--data); font-weight: 600; }
.ledger .count { font-family: var(--data); color: var(--muted); text-align: right; }
.ledger .bar { width: 120px; }
.ledger .bar span { display: block; height: 6px; background: var(--brand); border-radius: 99px; }

/* ---------- review entries (editorial list, not cards) ---------- */
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2rem, 4vw, 3.5rem); }
.entry { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.entry:first-child, .entries > .entry:nth-child(2) { border-top: 2px solid var(--ink); }
.entry__meta { display: flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.entry__src { font-family: var(--data); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.entry__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2; margin: 0 0 .4rem; }
.entry__title a { color: var(--ink); }
.entry__title a:hover { color: var(--brand); text-decoration: none; }
.entry__body { color: var(--ink-2); margin: 0 0 .7rem; }
.entry__by { font-family: var(--data); font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.entry__by b { color: var(--ink-2); font-weight: 600; }

/* legacy review-card (used on /yorumlar grid) — flat editorial */
.rcard { background: var(--paper); border: 1px solid var(--line); padding: 1.3rem; display: flex; flex-direction: column; gap: .7rem; border-radius: var(--r); }
.rcard__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.rcard__src { font-family: var(--data); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.rcard__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin: 0; line-height: 1.2; }
.rcard__title a { color: var(--ink); }
.rcard__title a:hover { color: var(--brand); text-decoration: none; }
.rcard__body { color: var(--ink-2); margin: 0; font-size: .98rem; }
.rcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem; border-top: 1px solid var(--line-2); font-family: var(--data); }
.rcard__author { font-weight: 600; font-size: .85rem; }
.rcard__date { font-size: .74rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- pull quote ---------- */
.pullquote { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: clamp(1.8rem, 4vw, 2.8rem) 0; margin: 0; }
.pullquote blockquote { font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.32; font-weight: 400; color: var(--ink); margin: 0; max-width: 24ch; text-indent: -.4em; }
.pullquote__cite { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; font-family: var(--data); font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; font-style: normal; }
.pullquote__cite b { color: var(--ink); font-weight: 600; }

/* ---------- source chips (filters & home) ---------- */
.source-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-family: var(--data); font-size: .82rem; color: var(--ink-2); }
.source-chip:hover { border-color: var(--brand); text-decoration: none; color: var(--brand); }
.source-chip__dot { width: 6px; height: 6px; border-radius: 99px; background: var(--brand); }

/* ---------- GEO modules (flat) ---------- */
.note { border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--paper); padding: 1.2rem 1.4rem; }
.note__label { font-family: var(--data); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.note p { margin: 0; color: var(--ink-2); }
/* legacy alias used in views */
.tldr { border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--paper); padding: 1.2rem 1.4rem; }
.tldr__label { font-family: var(--data); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .5rem; }
.tldr p { margin: 0; color: var(--ink-2); }

.factsheet { background: var(--paper); border: 1px solid var(--line); }
.factsheet__row { display: grid; grid-template-columns: 42% 1fr; gap: 1rem; padding: .8rem 1.2rem; border-bottom: 1px solid var(--line-2); }
.factsheet__row:last-child { border-bottom: 0; }
.factsheet dt { font-family: var(--data); font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); margin: 0; }
.factsheet dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }

.aspects { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.aspect-col h3 { font-family: var(--data); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: .6rem; margin-bottom: 1rem; }
.aspect-col--pos h3 { color: var(--brand); }
.aspect-col--neg h3 { color: var(--accent); }
.aspect-list { list-style: none; margin: 0; padding: 0; }
.aspect-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line-2); }
.aspect-list li:last-child { border-bottom: 0; }
.aspect-bar { height: 5px; border-radius: 99px; background: var(--line-2); flex: 1; max-width: 110px; overflow: hidden; }
.aspect-bar span { display: block; height: 100%; background: var(--brand); }
.aspect-list--neg .aspect-bar span { background: var(--gold); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 1.1rem 0; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__q::after { content: "+"; font-family: var(--data); color: var(--brand); font-size: 1.3rem; }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { padding: 0 0 1.2rem; color: var(--ink-2); margin: 0; max-width: 70ch; }

/* ---------- sign-off (replaces CTA band) ---------- */
.signoff { border-top: 2px solid var(--ink); padding-top: 1.6rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.signoff h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; max-width: 18ch; }
.signoff p { color: var(--muted); margin: .4rem 0 0; font-family: var(--data); font-size: .85rem; }
/* legacy cta-band alias (about page) -> render as signoff */
.cta-band { border-top: 2px solid var(--ink); padding-top: 1.6rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: none; }
.cta-band h2 { margin: 0; max-width: 18ch; color: var(--ink); }
.cta-band p { color: var(--muted); margin: .3rem 0 0; font-family: var(--data); font-size: .85rem; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-family: var(--data); font-size: .76rem; color: var(--muted); padding-block: 1.1rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span[aria-current] { color: var(--ink-2); }

/* ---------- features (about services) ---------- */
.feature-card { border-top: 1px solid var(--line); padding: 1.4rem 0; }
.feature__icon { color: var(--brand); margin-bottom: .7rem; }
.feature__icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.feature-card p { margin: 0; color: var(--ink-2); font-size: .96rem; }
/* legacy .feature wrapper used in about grid items */
.grid .feature { display: block; grid-template-columns: none; border-top: 1px solid var(--line); border-bottom: 0; padding: 1.4rem 0; gap: 0; }
.grid .feature h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.grid .feature p { margin: 0; color: var(--ink-2); }
.grid .feature .feature__icon { color: var(--brand); margin-bottom: .6rem; }

/* legacy statbar (about) -> by-the-numbers look */
.statbar { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statbar__item { flex: 1 1 0; min-width: 130px; padding: 1.3rem 1.4rem; border-right: 1px solid var(--line); text-align: left; }
.statbar__item:last-child { border-right: 0; }
.statbar__val { font-family: var(--data); font-variant-numeric: tabular-nums; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.statbar__label { font-family: var(--data); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

/* ---------- grids ---------- */
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- filters / pager (reviews) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; border: 1px solid var(--line); background: var(--paper); padding: 1.1rem 1.2rem; }
.filters__group { display: flex; flex-direction: column; gap: .35rem; }
.filters__group label { font-family: var(--data); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filters select { appearance: none; font-family: var(--data); font-size: .92rem; color: var(--ink); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='%236A776F'%3E%3Cpath d='M6 8L2 4h8z'/%3E%3C/svg%3E") no-repeat right .7rem center; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .55rem 2rem .55rem .8rem; min-width: 170px; cursor: pointer; }
.filters select:focus-visible { border-color: var(--brand); }
.filters__actions { display: flex; gap: .5rem; margin-left: auto; }
.empty { text-align: center; border: 1px dashed var(--line); padding: 3rem 1.5rem; background: var(--paper); }
.empty h3 { font-family: var(--serif); }
.empty p { color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; justify-content: center; margin-top: 2.5rem; }
.pager__link { font-family: var(--data); font-size: .88rem; font-variant-numeric: tabular-nums; min-width: 40px; height: 40px; padding: 0 .8rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); }
.pager__link:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pager__link--active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- single review ---------- */
.review-hero { border-top: 3px solid var(--ink); padding-top: 1.6rem; }
.review-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.review-hero__src { font-family: var(--data); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.review-hero__sentiment { margin-left: auto; font-family: var(--data); font-size: .72rem; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: .2rem .6rem; }
.review-quote, .review-hero blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.36; color: var(--ink); margin: 0 0 1.4rem; font-weight: 400; }
.review-hero__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-family: var(--data); font-variant-numeric: tabular-nums; }
.review-hero__author { font-weight: 700; }
.review-hero__date { font-size: .82rem; color: var(--muted); }
.related-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.related-list li { border-bottom: 1px solid var(--line); }
.related-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; color: var(--ink); }
.related-list a:hover { color: var(--brand); text-decoration: none; }

/* ---------- forms ---------- */
.form-wrap { max-width: 680px; }
.rform { border: 1px solid var(--line); border-top: 3px solid var(--ink); background: var(--paper); padding: clamp(1.4rem, 4vw, 2.2rem); }
.rform__row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.3rem; border: 0; padding: 0; }
.rform label, .rform legend { font-weight: 600; font-size: .95rem; }
.rform .req { color: var(--danger); }
.rform input[type=text], .rform input[type=email], .rform textarea { font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .75rem .9rem; width: 100%; }
.rform input:focus-visible, .rform textarea:focus-visible { border-color: var(--brand); background: var(--paper); }
.rform textarea { resize: vertical; min-height: 120px; }
.rform small { color: var(--muted); font-size: .82rem; }
.rform__note { font-family: var(--data); font-size: .8rem; color: var(--muted); text-align: center; margin: 1rem 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: var(--line); padding: .1rem; line-height: 0; }
.star-input label svg { width: 34px; height: 34px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }
.star-input input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 2px; }
.alert { border-radius: var(--r-sm); padding: .85rem 1.1rem; margin-bottom: 1.4rem; font-size: .95rem; }
.alert--error { background: #F8ECE8; border: 1px solid #E2C4BA; color: #7E2A18; }
.alert--success { background: var(--brand-50); border: 1px solid #BcD; color: var(--brand-700); }
.thanks__mark { width: 60px; height: 60px; border: 2px solid var(--brand); border-radius: 50%; color: var(--brand); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.thanks__mark svg { width: 30px; height: 30px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B6C0B8; padding-block: 3rem 1.8rem; margin-top: 3rem; }
.site-footer a { color: #DCE3DD; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer__brand { color: #fff; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.footer h4 { color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--data); margin-bottom: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .95rem; }
.footer__bottom { border-top: 1px solid #2A3833; margin-top: 2rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--data); font-size: .8rem; color: #8A968E; }

/* ---------- utility ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; color: #fff; }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; } .mt-0 { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
    .feature { grid-template-columns: 1fr; }
    .entries, .aspects, .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .masthead__issue { display: none; }
    .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 1rem; gap: .2rem; transform: translateY(-130%); transition: transform .25s; }
    .nav[data-open="true"] { transform: translateY(0); }
    .nav a { padding: .8rem .5rem; }
    .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--r-sm); cursor: pointer; margin-left: auto; }
    .nav-toggle svg { width: 20px; height: 20px; }
}
@media (max-width: 600px) {
    .entries, .aspects, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .bynumbers__item, .statbar__item { flex-basis: 50%; }
    body { font-size: 16px; }
    .ledger .bar { display: none; }
}
