/* ==========================================================================
   gezondgewichtarnhem.nl — Vault Steel preset
   Display: Saira Extra Condensed 800 / Body: Roboto 400/500 / Mono: Roboto Mono 500
   ========================================================================== */

:root {
  --page: #EDEFF2;
  --panel: #FFFFFF;
  --steel: #3C4653;
  --steel-dark: #2A313B;
  --brass: #B08A3E;
  --brass-light: rgba(176, 138, 62, 0.16);
  --grey: #59636F;
  --action: #3C4653;
  --action-dark: #2A313B;
  --radius: 2px;

  --line: rgba(60, 70, 83, 0.16);
  --line-soft: rgba(60, 70, 83, 0.1);
  --stripe: rgba(60, 70, 83, 0.04);
  --muted: rgba(60, 70, 83, 0.55);
  --on-dark: rgba(255, 255, 255, 0.75);

  --font-display: 'Saira Extra Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--steel); }

.container { max-width: 1180px; margin-inline: auto; padding-inline: 1.5rem; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin: 0 0 1em; max-width: 68ch; }
.mono { font-family: var(--font-mono); }

/* Rivet plate panel */
.plate {
  position: relative;
  background: var(--panel);
  border-top: 2px solid #fff;
  border-bottom: 2px solid var(--muted);
}
.plate::before, .plate::after,
.plate-rivets span { content: ""; }
.rivets {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.rivets i {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
}
.rivets i:nth-child(1) { top: 8px; left: 8px; }
.rivets i:nth-child(2) { top: 8px; right: 8px; }
.rivets i:nth-child(3) { bottom: 8px; left: 8px; }
.rivets i:nth-child(4) { bottom: 8px; right: 8px; }

/* Header */
.site-header { background: var(--panel); border-bottom: 2px solid var(--steel); position: relative; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.85rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--steel); }
.brand img { width: 40px; height: 40px; }
.brand-mark-text {
  width: 40px; height: 40px;
  background: var(--steel);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; }
.brand-name .accent { color: var(--brass); }

.nav-toggle { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
.nav-btn {
  display: none; align-items: center; gap: 0.5rem;
  background: var(--steel); color: #fff; border: none;
  padding: 0.6rem 0.9rem; font-family: var(--font-mono); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer;
}
.nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--brass); outline-offset: 2px; }
.hamburger { position: relative; width: 18px; height: 2px; background: #fff; }
.hamburger::before, .hamburger::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: #fff; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-btn .label-close { display: none; }
.nav-toggle:checked ~ .nav-btn .label-open { display: none; }
.nav-toggle:checked ~ .nav-btn .label-close { display: inline; }

.site-nav ul { list-style: none; display: flex; gap: 1.7rem; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--steel); font-family: var(--font-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-bottom-color: var(--brass); }

@media (max-width: 900px) {
  .nav-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--panel); border-bottom: 2px solid var(--steel); }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.5rem 1rem; }
  .site-nav a { display: flex; align-items: center; padding: 0.75rem 0; min-height: 44px; border-bottom: 1px solid var(--line-soft); }
}

/* Hero */
.hero { padding-block: 1.4rem 0.7rem; }
@media (max-width: 700px) { .hero { padding-block: 0.9rem 0.6rem; } }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.2rem; align-items: start; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { text-align: left; }
.hero-lede { font-size: 1.05rem; max-width: 62ch; }

.hero-more { margin: 0 0 0.9rem; max-width: 62ch; }
.hero-more summary {
  cursor: pointer; font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--brass); font-weight: 700; list-style: none;
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 32px;
}
.hero-more summary::-webkit-details-marker { display: none; }
.hero-more summary::after { content: "+"; font-size: 1rem; }
.hero-more[open] summary::after { content: "\2212"; }
.hero-more p { margin-top: 0.6rem; font-size: 0.92rem; }

.byline-row {
  display: flex; align-items: center; gap: 0.9rem; margin-top: 0.7rem;
  padding: 0.55rem 0.9rem; background: var(--panel); border: 1px solid var(--line); max-width: 560px;
}
.byline-row img { width: 52px; height: 52px; object-fit: cover; border: 2px solid var(--brass); border-radius: 50%; }
.byline-text { line-height: 1.25; }
.byline-name { font-weight: 700; color: var(--steel); white-space: nowrap; }
.byline-role-long { display: inline; font-size: 0.85rem; }
.byline-role-short { display: none; font-size: 0.85rem; }
.byline-stats { margin-left: auto; display: flex; gap: 0.9rem; border-left: 1px solid var(--line); padding-left: 0.9rem; font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.byline-stats strong { display: block; color: var(--brass); font-family: var(--font-display); font-size: 1rem; }

@media (max-width: 700px) {
  .byline-row { gap: 0.6rem; padding: 0.55rem 0.7rem; }
  .byline-row img { width: 40px; height: 40px; }
  .byline-role-long { display: none; }
  .byline-role-short { display: inline; }
  .byline-stats { gap: 0.6rem; padding-left: 0.6rem; font-size: 0.6rem; }
  .byline-stats strong { font-size: 0.85rem; }
}
@media (max-width: 360px) {
  .byline-row { padding: 0.45rem 0.55rem; }
  .byline-name { font-size: 0.9rem; }
  .byline-stats { gap: 0.4rem; }
}

/* Editor's choice */
.editor-pick { position: relative; border: 1px solid var(--steel); background: var(--panel); padding: 1.2rem 1.1rem 1.1rem; }
@media (max-width: 900px) { .editor-pick { display: none; } }
.editor-pick-kicker { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brass); display: block; margin-bottom: 0.5rem; }
.editor-pick-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.editor-pick-brand img { width: 44px; height: 44px; object-fit: contain; }
.editor-pick-brand strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--steel); text-transform: uppercase; }
.editor-pick-metric { font-family: var(--font-mono); font-size: 0.85rem; color: var(--grey); margin-bottom: 0.6rem; }
.editor-pick-metric strong { color: var(--brass); }
.editor-pick-offer { background: var(--brass-light); border-left: 3px solid var(--brass); padding: 0.6rem 0.7rem; font-size: 0.9rem; margin-bottom: 0.9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--steel); color: #fff; text-decoration: none;
  font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: 0.86rem; padding: 0.72rem 1.1rem; border: none; border-bottom: 2px solid var(--brass);
  cursor: pointer; min-height: 44px;
}
.btn:hover, .btn:focus-visible { background: var(--steel-dark); }
.btn.full { width: 100%; }

/* Ranked list — table mode */
.ranked-section { padding-block: 0.6rem 2rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--steel); }
table.rank-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: var(--panel); }
table.rank-table thead th {
  background: var(--steel); color: #fff; font-family: var(--font-mono); text-transform: uppercase;
  font-size: 0.7rem; letter-spacing: 0.05em; padding: 0.7rem 0.6rem; text-align: left;
  border-top: 2px solid var(--brass);
}
table.rank-table td { padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--line-soft); vertical-align: middle; font-size: 0.9rem; }
table.rank-table tbody tr.is-top td { background: var(--brass-light); }
.cell-operator { min-width: 0; }
.cell-operator-inner { display: flex; align-items: center; gap: 0.6rem; }
.cell-operator img { width: 36px; height: 36px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 2px; flex-shrink: 0; }
.cell-operator-name { font-family: var(--font-display); text-transform: uppercase; font-size: 1rem; color: var(--steel); }
.top-tag { display: block; font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; color: var(--brass); }
.cell-metric { font-family: var(--font-mono); font-weight: 700; color: var(--steel); white-space: nowrap; }
.cell-offer strong { color: var(--brass); display: block; font-size: 1.08rem; font-weight: 800; }
.cell-offer .op-terms { font-family: var(--font-mono); font-size: 0.72rem; color: var(--grey); }
.cell-action .btn { width: 100%; }

@media (max-width: 700px) {
  .table-wrap { border: none; overflow: visible; }
  table.rank-table thead { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; }
  table.rank-table, table.rank-table tbody { display: block; width: 100%; }
  table.rank-table tr {
    display: block;
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.4rem 1rem 1rem;
    margin-bottom: 1rem;
  }
  table.rank-table tr.is-top { border: 2px solid var(--brass); }
  table.rank-table td { display: block; border: none; padding: 0.35rem 0; }
  table.rank-table td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 0.65rem; text-transform: uppercase; color: var(--grey); margin-bottom: 0.15rem; }
  .cell-operator-inner { display: flex; align-items: center; gap: 0.6rem; padding-top: 0.2rem; }
  .cell-operator img { width: 40px; height: 40px; }
  .cell-offer { background: var(--stripe); border-radius: 6px; padding: 0.7rem 0.8rem; margin-top: 0.2rem; }
  .cell-action { padding-top: 0.7rem !important; }
  .cell-action .btn { border-radius: 999px; }
}

.compliance-line { font-size: 0.82rem; color: var(--grey); margin-top: 1.2rem; max-width: none; }
.rank-method-link { text-decoration: underline; color: var(--steel); }

/* Comparison table */
.compare-section { padding-block: 1rem 2rem; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--panel); }
.compare-table th, .compare-table td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line-soft); font-size: 0.88rem; }
.compare-table thead th { background: var(--steel); color: #fff; font-family: var(--font-mono); text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; }
.compare-table tbody tr:nth-child(even) { background: var(--stripe); }
.table-note { font-size: 0.78rem; color: var(--grey); margin-top: 0.7rem; max-width: none; }

/* Method */
.method-section { padding-block: 1.4rem 2rem; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.4rem; justify-content: center; }
@media (max-width: 980px) and (min-width: 561px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-grid { grid-template-columns: 1fr; } }
.method-card { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 1.1rem; }
.method-card .num { font-family: var(--font-mono); color: var(--brass); font-size: 0.8rem; }
.method-more { text-align: center; margin-top: 1.4rem; }

/* Article */
.article-section { padding-block: 1.6rem 2rem; }
.article-head { margin-inline: 0; max-width: 100%; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1100px) { .article-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
.article-toc { display: none; }
@media (min-width: 1100px) {
  .article-toc { display: block; position: sticky; top: 1.5rem; align-self: start; background: var(--panel); border: 1px solid var(--line); padding: 1.1rem; }
}
.article-toc h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.article-toc ol { counter-reset: toc; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; }
.article-toc li { counter-increment: toc; margin-bottom: 0.5rem; }
.article-toc li::before { content: counter(toc) ". "; font-family: var(--font-mono); color: var(--brass); }
.article-toc a { text-decoration: none; color: var(--grey); }
.article-toc a:hover { color: var(--steel); }
.article-body h3 { margin-top: 1.8rem; }
.byline-mini { font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey); margin-bottom: 1.2rem; }

/* FAQ */
.faq-section { padding-block: 1.6rem 2rem; }
.faq-list { max-width: 780px; margin-top: 1.3rem; }
details.faq-item { border: 1px solid var(--line); background: var(--panel); margin-bottom: 0.7rem; }
details.faq-item summary { cursor: pointer; padding: 0.9rem 1.1rem; font-weight: 700; color: var(--steel); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--brass); font-size: 1.3rem; flex-shrink: 0; }
details.faq-item[open] summary::after { content: "\2212"; }
details.faq-item .faq-answer { padding: 0 1.1rem 1.1rem; font-size: 0.95rem; }

.section-kicker { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brass); display: block; margin-bottom: 0.4rem; }
section.tinted { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Simple pages */
.page-hero { padding-block: 2rem 1rem; }
.page-body { padding-block: 0.5rem 3rem; }
.page-body h2 { margin-top: 1.6rem; }
.page-body ul, .page-body ol { max-width: 68ch; }

/* Footer */
.site-footer { background: var(--steel-dark); color: var(--on-dark); padding-block: 2.4rem; margin-top: 2rem; border-top: 3px solid var(--brass); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; font-size: 0.9rem; }
.site-footer a:hover { color: var(--brass); text-decoration: underline; }
.footer-note { font-size: 0.8rem; color: var(--muted); margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; max-width: none; }

/* Back to top */
.to-top { position: fixed; right: 16px; bottom: 16px; width: 42px; height: 42px; background: var(--steel); border: none; cursor: pointer; z-index: 40; opacity: 0; visibility: hidden; }
.to-top .arrow { display: block; width: 10px; height: 10px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(45deg); margin: 15px auto 0; }
@supports (animation-timeline: scroll()) { .to-top { animation: to-top-reveal linear both; animation-timeline: scroll(root); animation-range: 300px 700px; } }
@keyframes to-top-reveal { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
.to-top.is-visible { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .to-top { animation: none !important; } }

.visually-hidden { position: absolute; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
