/* =========================================================
   HiFiTurk — Rehber (guide index + articles)
   Index: an editorial list, big serif titles, a tilting photo that follows the cursor.
   Articles: a backlit VU meter in the header reads how far you are; a chapter rail
   (a sticky bar on phones) follows along; calculators are instruments on the desk.
   All accents use the mood variables so the page follows the radio.
   ========================================================= */

/* =========================================================
   Index
   ========================================================= */
.rh-hero { padding-bottom: clamp(48px, 6vw, 96px); }
.rh-hero__grid {
  display: grid; gap: 24px clamp(32px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end;
}
.rh-hero .rh-hero__title { font-size: clamp(4.2rem, 1rem + 9vw, 10rem); line-height: .88; letter-spacing: -.04em; margin: 0; max-width: none; }
.rh-hero__lede { margin: 0 0 .7rem; font-size: var(--step-1); line-height: 1.45; color: #C3C9CF; max-width: 32ch; }

.gl-wrap { padding-block: clamp(24px, 4vw, 56px) clamp(64px, 9vw, 128px); }
.gl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--brass-line); }
.gl__item {
  position: relative;
  display: grid; grid-template-columns: clamp(120px, 13vw, 190px) minmax(0, 1fr); gap: 0 clamp(16px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(28px, 3.6vw, 56px);
  border-bottom: 1px solid var(--line);
}
.gl__meta { margin: 0; display: grid; gap: 4px; align-self: start; padding-top: .9em; font-size: var(--step--1); color: var(--muted); white-space: nowrap; }
.gl__title {
  margin: 0; font-size: clamp(2.2rem, 1rem + 4.4vw, 5.6rem); line-height: 1; letter-spacing: -.03em; max-width: 16ch;
  transition: transform .8s cubic-bezier(.16,1,.3,1), color .45s var(--ease);
}
.gl__title a { color: inherit; text-decoration: none; }
.gl__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.gl__title a:focus-visible { outline: none; }
.gl__item:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 6px; }
.gl__desc { margin: .9rem 0 0; max-width: 52ch; font-size: var(--step-0); line-height: 1.55; color: var(--muted); }
.gl__kind { color: var(--accent-soft); font-weight: 600; }
.gl__thumb { display: none; }

@media (hover: hover) and (pointer: fine) {
  .gl:hover .gl__item:not(:hover) .gl__title { color: color-mix(in srgb, var(--fg) 26%, transparent); }
  .gl__item:hover .gl__title { transform: translateX(clamp(8px, 1.4vw, 22px)); }
}

/* floating, tilting preview */
.gl-float { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(220px, 20vw, 320px); pointer-events: none; perspective: 900px; }
.gl-float__card {
  opacity: 0; transform: scale(.85); transform-style: preserve-3d;
  transition: opacity .35s var(--ease), transform .6s cubic-bezier(.16,1,.3,1);
}
.gl-float.is-on .gl-float__card { opacity: 1; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1); transition: opacity .35s var(--ease), transform .25s ease-out; }
.gl-float img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
}

.rh-ask {
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--brass-line);
  background: radial-gradient(60% 90% at 20% 0%, color-mix(in srgb, var(--glow) 9%, transparent), transparent 70%), var(--surface);
}
.rh-ask__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; }
.rh-ask h2 { font-size: var(--display-3); max-width: 14ch; margin: 0; }
.rh-ask p { margin: 0; color: #C3C9CF; max-width: 46ch; line-height: 1.6; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }

@media (max-width: 960px) {
  .rh-hero__grid, .rh-ask__inner { grid-template-columns: minmax(0, 1fr); }
}
@media (hover: none), (max-width: 860px) {
  .gl__item { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px 16px; align-items: start; }
  .gl__meta { grid-column: 1 / -1; grid-row: 1; display: flex; gap: 16px; padding-top: 0; }
  .gl__main { grid-column: 1; grid-row: 2; }
  .gl__thumb { display: block; grid-column: 2; grid-row: 2; width: 96px; height: 120px; object-fit: cover; border-radius: 4px; }
  .gl-float { display: none; }
}
@media (max-width: 520px) {
  .rh-ask .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}

/* =========================================================
   Article hero + VU meter
   ========================================================= */
.article-hero { padding-block: clamp(40px, 6vw, 96px) clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--brass-line); }
.article-hero__grid {
  display: grid; gap: 32px clamp(32px, 6vw, 96px);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: end;
}
.article-hero h1 { font-size: var(--display-2); max-width: 15ch; margin-bottom: .35em; }
.article-hero .lede { max-width: 46ch; color: #C3C9CF; font-size: var(--step-1); line-height: 1.5; margin: 0; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 1.6rem 0 0; padding: 0;
  font-size: var(--step--1); color: var(--muted); font-feature-settings: "tnum" 1;
}

.vu { margin: 0; justify-self: end; width: min(100%, 400px); }
.vu__window {
  --vu-ink: color-mix(in srgb, var(--glow) 18%, #EEF0F1);
  --vu-ink-2: color-mix(in srgb, var(--glow) 10%, #9AA1A9);
  position: relative; overflow: hidden;
  padding: 12px 12px 0; border-radius: 10px;
  background:
    radial-gradient(110% 85% at 50% 108%, color-mix(in srgb, var(--glow) 34%, #1E1B18) 0%, color-mix(in srgb, var(--glow) 10%, #141619) 58%, #0F1113 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 2px 20px rgba(0,0,0,.65), inset 0 0 0 1px rgba(0,0,0,.4), 0 40px 70px -50px color-mix(in srgb, var(--glow) 55%, transparent);
  transition: box-shadow 1.6s var(--ease);
}
.vu__window::after { /* glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.07), transparent 38%);
}
.vu__face { display: block; width: 100%; height: auto; }
.vu__arc, .vu__arc2 { fill: none; stroke: var(--vu-ink); stroke-width: 1.3; }
.vu__arc2 { stroke: var(--vu-ink-2); stroke-width: 1; }
.vu__hot { fill: none; stroke: var(--accent); stroke-width: 4; }
.vu__tick { stroke: var(--vu-ink); stroke-width: 1.4; }
.vu__tick2 { stroke: var(--vu-ink-2); stroke-width: 1; }
.vu__tick.vu--hot { stroke: var(--accent); }
.vu__num { fill: var(--vu-ink); font: 500 11px var(--font); text-anchor: middle; }
.vu__num.vu--hot { fill: var(--accent-soft); }
.vu__pctnum { fill: var(--vu-ink-2); font: 500 9px var(--font); text-anchor: middle; }
.vu__mark { fill: var(--vu-ink); font: 400 22px var(--serif); text-anchor: middle; opacity: .75; letter-spacing: .06em; }
.vu__needle { transform-box: view-box; transform-origin: 150px 200px; transform: rotate(-42deg); }
.vu__needle line { stroke: #F6F4F0; stroke-width: 1.6; stroke-linecap: round; }
.vu__base { fill: #0D0F11; }
.vu__peak { fill: #2A2D31; transition: fill .3s; }
.vu.is-peak .vu__peak, .chap.is-peak .vu__peak { fill: var(--accent); filter: drop-shadow(0 0 4px var(--glow)); }
.vu__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: var(--step--1); color: var(--muted); }
.vu__pct { color: var(--fg); font-feature-settings: "tnum" 1; }

/* =========================================================
   Article layout + chapter rail
   ========================================================= */
.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 40rem);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
  padding-block: clamp(48px, 6vw, 88px);
}
.article-col { min-width: 0; }

.chap { position: sticky; top: 100px; font-size: var(--step--1); }
.chap__meter { margin-bottom: 18px; }
.vu__window--mini { padding: 8px 8px 0; border-radius: 8px; }
.chap__toggle { display: none; }
.chap__list { list-style: none; margin: 0; padding: 0; counter-reset: chap; border-top: 1px solid var(--brass-line); }
.chap__list li { counter-increment: chap; }
.chap__list a {
  position: relative; display: grid; grid-template-columns: 2.2ch minmax(0, 1fr); gap: 10px;
  padding: 10px 0; color: var(--muted); text-decoration: none; line-height: 1.35;
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease);
}
.chap__list a::before { content: counter(chap, decimal-leading-zero); font-family: var(--serif); font-size: 1.02em; color: var(--accent-soft); font-feature-settings: "tnum" 1; opacity: .7; }
.chap__list a:hover, .chap__list a[aria-current="true"] { color: var(--fg); }
.chap__list a[aria-current="true"]::before { opacity: 1; }
.chap__fill {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--f, 0));
}

@media (max-width: 1000px) {
  .article-layout { grid-template-columns: minmax(0, 40rem); gap: 32px; padding-top: 0; }
  .chap__meter { display: none; }
  .chap { position: static; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .chap__list { margin-top: 24px; }
  /* with JS: a sticky bar under the header with the current chapter and a segment meter */
  .chap.is-js {
    position: sticky; top: 76px; z-index: 20;
    background: rgba(12, 13, 15, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .chap.is-js .chap__toggle {
    display: grid; grid-template-columns: minmax(0, 1fr) 72px 20px; align-items: center; gap: 14px;
    width: 100%; min-height: 52px; padding: 0; border: 0; background: none; color: var(--fg);
    font: inherit; font-weight: 600; text-align: left; cursor: pointer;
  }
  .chap.is-js .chap__list { display: none; margin: 0; border-top: 1px solid var(--line); max-height: 62vh; overflow: auto; overscroll-behavior: contain; }
  .chap.is-js.is-open .chap__list { display: block; }
  .chap.is-js .chap__list li:last-child a { border-bottom: 0; }
}
.chap__now { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chap__led {
  position: relative; height: 10px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 4px, transparent 4px 6px);
}
.chap__led i {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 4px, rgba(12,13,15,1) 4px 6px),
    linear-gradient(90deg, var(--accent-soft) 0 80%, var(--accent) 80%);
  clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0);
}
.chap__chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); justify-self: center; }
.chap.is-open .chap__chev { transform: rotate(-135deg) translateY(-1px); }

/* =========================================================
   Prose
   ========================================================= */
.article-col .prose { max-width: none; min-width: 0; }
.article-col p { max-width: none; }
.prose { font-size: clamp(1.05rem, 1rem + .2vw, 1.125rem); line-height: 1.78; color: #D9DDE1; }
.prose p, .prose li { color: #D9DDE1; }
.prose h2 { font-size: calc(var(--display-3) * .82); line-height: 1.1; margin: 2.6em 0 .6em; }
.prose h3 {
  font-family: var(--serif); font-weight: 420; letter-spacing: -.01em;
  font-size: clamp(1.3rem, 1.15rem + .5vw, 1.55rem); line-height: 1.25; margin: 2em 0 .5em;
}
.prose h2, .prose h3 { scroll-margin-top: 110px; }
.prose > h2:first-child { margin-top: 0; }
.prose > p:first-child { font-family: var(--serif); font-size: 1.32em; line-height: 1.5; color: #ECEEF0; font-weight: 350; }
.prose strong { font-weight: 650; color: #F3F4F5; }
.prose a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: .2em; }
.prose ul:not(.checklist):not(.steps) li::marker { color: var(--accent); }

.steps { list-style: none; padding-left: 0 !important; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding-left: 2.6em; margin-bottom: 1.2em; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.1em;
  font-family: var(--serif); font-size: 1.6em; line-height: 1; color: var(--accent-soft);
  font-variant-numeric: tabular-nums;
}
.step-label { display: block; font-weight: 650; color: #F3F4F5; }

.note { margin: 2em 0; padding: 1.1em 1.3em; border-left: 1px solid var(--accent); background: var(--surface); }
.note p:last-child { margin-bottom: 0; }

.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92em; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: .7em .8em .7em 0; border-bottom: 1px solid var(--line); vertical-align: top; color: #D9DDE1; }
.prose thead th { font-weight: 600; color: var(--accent-soft); font-size: var(--step--1); border-bottom-color: var(--brass-line); }
.prose tbody th { font-weight: 650; }
.table-scroll { overflow-x: auto; }
.prose .nums td:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* checklist: tickable with JS, a plain list without */
.checklist { list-style: none; padding-left: 0 !important; border-top: 1px solid var(--brass-line); }
.checklist li { position: relative; margin: 0; padding: .7em 0 .7em 2.2em; border-bottom: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.05em;
  width: 1em; height: 1em; border-radius: 3px; border: 1px solid var(--accent);
}
.checklist.is-js li { padding: 0; }
.checklist.is-js li::before { content: none; }
.checklist label { display: grid; grid-template-columns: 1.2em minmax(0, 1fr); gap: 1em; align-items: start; padding: .7em 0; cursor: pointer; }
.checklist input {
  appearance: none; -webkit-appearance: none; margin: .3em 0 0; width: 1.1em; height: 1.1em;
  border: 1px solid var(--accent); border-radius: 3px; background: transparent; cursor: pointer;
  display: grid; place-content: center; transition: background .25s var(--ease);
}
.checklist input::after { content: ""; width: .32em; height: .6em; border: solid #0F1114; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); margin-top: -.12em; transition: transform .3s cubic-bezier(.16,1,.3,1); }
.checklist input:checked { background: var(--accent); }
.checklist input:checked::after { transform: rotate(45deg) scale(1); }
.checklist input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.checklist__count { margin: .8em 0 1.6em; font-size: var(--step--1); color: var(--muted); font-feature-settings: "tnum" 1; }
.checklist__count b { color: var(--fg); font-weight: 600; }

/* =========================================================
   Calculators: instruments on the desk
   ========================================================= */
.tool {
  position: relative; margin: 3em 0;
  border-radius: 12px; border: 1px solid rgba(255,255,255,.07);
  background:
    radial-gradient(90% 70% at 15% 0%, color-mix(in srgb, var(--glow) 9%, transparent), transparent 70%),
    linear-gradient(180deg, #1A1D21, #131518);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -40px rgba(0,0,0,.9);
  padding: clamp(20px, 3vw, 36px);
  font-size: 1rem; line-height: 1.5;
  display: grid; gap: 26px;
}
.tool::before { /* brushed edge */
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .7;
}
@media (min-width: 1240px) { .prose .tool { margin-right: -180px; } }
.tool__head h3 { margin: 0 0 .35em; font-family: var(--serif); font-weight: 380; font-size: calc(var(--display-3) * .7); line-height: 1.12; color: #F3F4F5; }
.tool__head p { margin: 0; color: var(--muted); font-size: var(--step--1); max-width: 60ch; }
.tool__controls { display: grid; gap: 18px; }
.tool__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; align-items: end; }
@media (min-width: 1240px) { .tool[data-spl] .tool__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool .field label { color: var(--fg); }
.tool .field input:not([type="range"]), .tool .field select { width: 100%; min-width: 0; background: #0E1013; border-color: rgba(255,255,255,.12); font-feature-settings: "tnum" 1; }
.tool .field select { appearance: none; -webkit-appearance: none; padding-right: 2.4em;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.tool .field [aria-invalid="true"] { border-color: #E8846C; }
.field__out { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--accent-soft); font-feature-settings: "tnum" 1; }

/* faders */
.tool input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer;
  --v: 50%;
}
.tool input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent) 0 var(--v), rgba(255,255,255,.12) var(--v));
}
.tool input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); }
.tool input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.tool input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 26px; margin-top: -11px; border-radius: 3px;
  background: linear-gradient(180deg, #F2F3F4, #B9BEC4 48%, #8E949B 52%, #D9DCDF);
  border: 1px solid #0E1013; box-shadow: 0 4px 10px rgba(0,0,0,.6);
}
.tool input[type="range"]::-moz-range-thumb {
  width: 14px; height: 26px; border-radius: 3px;
  background: linear-gradient(180deg, #F2F3F4, #B9BEC4 48%, #8E949B 52%, #D9DCDF);
  border: 1px solid #0E1013; box-shadow: 0 4px 10px rgba(0,0,0,.6);
}
.tool input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.tool .chips { min-width: 0; margin: 0; padding: 0; border: 0; }
.tool .chips legend { font-weight: 600; font-size: var(--step--1); margin-bottom: 8px; color: var(--fg); padding: 0; }
.chips__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tool .chip { justify-content: center; min-height: 44px; font-feature-settings: "tnum" 1; }
.tool .chip[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--fg); }
.tool .error { color: #E8846C; margin: 0; font-size: var(--step--1); font-weight: 600; }
.tool .error:empty { display: none; }

.tool__readout { display: grid; gap: 16px; padding-top: 26px; border-top: 1px solid var(--brass-line); }
.tool__readout--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.tool__result { display: grid; gap: 8px; align-content: start; }
.tool__result .engraved { margin: 0; color: var(--muted); }
.tool__value {
  display: block; margin: 0;
  font-family: var(--serif); font-weight: 300; font-size: calc(var(--display-3) * 1.15); line-height: 1;
  color: #F3F4F5; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em;
}
.tool__value small { font-family: var(--font); font-size: .32em; font-weight: 600; margin-left: .3em; color: var(--muted); letter-spacing: 0; }
.tool__text { margin: 0; color: #B9C0C7; font-size: var(--step--1); line-height: 1.65; }
.tool__text strong { color: var(--fg); }
.tool__fine { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .82rem; line-height: 1.6; color: var(--muted); max-width: none; }

/* pointer gauges (SVG built by rehber.js) */
.gauges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gauge, .meter {
  margin: 0; padding: 14px 14px 16px; border-radius: 10px;
  background: radial-gradient(100% 80% at 50% 110%, color-mix(in srgb, var(--glow) 16%, #15171A), #0E1013 75%);
  border: 1px solid rgba(255,255,255,.07); box-shadow: inset 0 2px 14px rgba(0,0,0,.6);
}
.gauge svg, .meter svg { display: block; width: 100%; height: auto; }
.gauge figcaption { display: grid; gap: 6px; justify-items: center; margin-top: 6px; text-align: center; }
.gauge figcaption .engraved { margin: 0; color: var(--muted); }
.gauge .tool__value { font-size: calc(var(--display-3) * .82); }
.gauge .tick, .meter .tick { stroke: #6E7782; stroke-width: 1.1; }
.gauge .tick--major, .meter .tick--major { stroke: #D3D7DB; stroke-width: 1.5; }
.gauge .num, .meter .num { fill: #9AA1A9; font: 500 11px var(--font); }
.gauge .band { stroke: var(--accent); stroke-width: 6; fill: none; opacity: .8; transition: d .5s var(--ease); }
.gauge .needle, .meter .needle { stroke: #F6F4F0; stroke-width: 2; stroke-linecap: round; }
.gauge .needle-g { transition: transform .7s cubic-bezier(.3, 1.35, .5, 1); transform-origin: 100px 100px; }
.gauge .hub, .meter .hub { fill: #23272C; stroke: var(--accent); }
.meter .zone { fill: none; stroke-width: 4; }
.meter .zone--low { stroke: #E8846C; opacity: .75; }
.meter .zone--mid { stroke: color-mix(in srgb, var(--accent) 55%, #8A9098); opacity: .9; }
.meter .zone--high { stroke: var(--accent); opacity: .95; }
.meter .needle-g { transition: transform .8s cubic-bezier(.3, 1.3, .5, 1); transform-origin: 160px 150px; }
.meter figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 4px; }

.verdict { display: inline-flex; align-items: center; gap: .55em; font-weight: 650; font-size: var(--step-1); margin: 0; }
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.verdict[data-level="rahat"] { color: var(--accent-soft); }
.verdict[data-level="yeterli"] { color: color-mix(in srgb, var(--accent-soft) 50%, #C9CED3); }
.verdict[data-level="zorlanir"] { color: #E8846C; }

/* DC offset bars */
.dcm { display: grid; gap: 10px; }
.dcm__row { display: grid; grid-template-columns: 3.2em minmax(0, 1fr) 5.5em; gap: 14px; align-items: center; font-size: var(--step--1); }
.dcm__k { color: var(--muted); }
.dcm__v { text-align: right; font-family: var(--serif); font-size: 1.35rem; color: var(--fg); font-feature-settings: "tnum" 1; }
.dcm__bar {
  position: relative; height: 12px; border-radius: 2px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent) 0 20%, rgba(255,255,255,.06) 20% 33.33%, rgba(232,132,108,.14) 33.33% 66.67%, rgba(232,132,108,.3) 66.67%);
}
.dcm__bar i {
  position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 6px);
  color: var(--accent);
  clip-path: inset(0 calc(100% - var(--x, 0%)) 0 0);
  transition: clip-path .6s cubic-bezier(.16,1,.3,1), color .3s;
}
.dcm__row[data-level="3"] .dcm__bar i, .dcm__row[data-level="4"] .dcm__bar i { color: #E8846C; }
.dcm__row[data-level="2"] .dcm__bar i { color: color-mix(in srgb, var(--accent) 50%, #E8846C); }
.dcm__scale { position: relative; height: 1.4em; margin-left: calc(3.2em + 14px); margin-right: calc(5.5em + 14px); font-size: .75rem; color: var(--muted); }
.dcm__scale span { position: absolute; left: calc(var(--at) * 100%); transform: translateX(-50%); }
.dcm__scale span:last-child { transform: translateX(-80%); }

/* =========================================================
   Article end
   ========================================================= */
.article-end { display: grid; gap: clamp(48px, 6vw, 80px); margin-top: clamp(64px, 8vw, 112px); }
.article-end h2 { font-size: calc(var(--display-3) * .72); margin: 0 0 .45em; }
.related-gear { padding-top: 24px; border-top: 1px solid var(--brass-line); }
.related-gear p { margin: 0; max-width: 56ch; color: var(--muted); }
.related-gear .link-row { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 1.2rem; color: var(--fg); }
.related-reads ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--brass-line); }
.related-reads li { border-bottom: 1px solid var(--line); }
.related-reads a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 0; min-height: 44px; text-decoration: none; color: var(--fg);
  font-family: var(--serif); font-size: var(--step-3); font-weight: 300; line-height: 1.1; letter-spacing: -.02em;
}
.related-reads a span { font-family: var(--font); font-size: var(--step--1); color: var(--muted); white-space: nowrap; letter-spacing: 0; }
.related-reads a > :first-child, .related-reads a { transition: color .3s; }
.related-reads a:hover { color: var(--accent-soft); }
.ask-cta {
  padding: clamp(24px, 4vw, 44px); border-radius: 12px; border: 1px solid var(--line);
  background: radial-gradient(70% 120% at 0% 0%, color-mix(in srgb, var(--glow) 10%, transparent), transparent 70%), var(--surface);
}
.ask-cta p { color: var(--muted); margin: 0; max-width: 54ch; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .article-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .vu { justify-self: start; width: min(100%, 360px); }
}
@media (max-width: 620px) {
  .tool__readout--split { grid-template-columns: minmax(0, 1fr); }
  .chips__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool { margin-inline: calc(var(--gutter) * -.5); padding: 20px 16px; }
}
@media (max-width: 460px) {
  .tool__fields { grid-template-columns: minmax(0, 1fr); }
  .gauges { gap: 8px; }
  .gauge { padding: 8px 6px 12px; }
  .ask-cta .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gauge .needle-g, .meter .needle-g, .gl__title, .gl-float__card, .dcm__bar i, .checklist input::after { transition: none !important; }
}
