/* =========================================================
   Sporasist — tasarım sistemi
   Renkler Figma "Sporasist Tokens" koleksiyonuyla aynıdır.
   ========================================================= */
:root {
  --navy-900: #081927;
  --navy-800: #0E2334;
  --navy-700: #16314A;
  --navy-950: #050F18;
  --line: #1E3A52;
  --orange: #FF631B;
  --orange-700: #C9470C;
  --orange-50: #FFF1EA;
  --paper: #F5F5F0;
  --white: #FFFFFF;
  --hair: #E3E3DA;
  --ink: #15232C;
  --ink-mid: #3E505C;
  --ink-soft: #657079;
  --on-dark: #C9D6DF;
  --on-dark-soft: #8FA2AF;
  --slate: #5E7689;

  /* One family (Archivo, variable width): extra-condensed uppercase for headings — see the
     "Display type" block at the end of this file — and normal width for body, labels and numbers. */
  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --f-mono: "Archivo", system-ui, sans-serif;

  /* fluid layout: content spans the screen, side gutters scale with it */
  --wrap: 2000px;
  --gutter: clamp(24px, 5vw, 120px);
  --radius: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--orange); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 14px; height: 14px; flex: none; }
.i--accent { color: var(--orange); }
.i--accent2 { color: var(--orange-700); }

/* ---------- typography ---------- */
/* Never clip headings: Ç Ş cedillas and İ Ğ marks extend past the cap height. */
.display, .h2, .h3, .h3--xl, .panel__head h3, .steps h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em; }
.display { font-size: clamp(52px, 6vw, 128px); line-height: 1.04; color: var(--white); }
.display em, .h2 em { font-style: normal; color: var(--orange); }
.h2 { font-size: clamp(40px, 3.8vw, 80px); line-height: 1.06; color: var(--navy-900); }
.h2--xl { font-size: clamp(42px, 4.4vw, 92px); }
.dark .h2 { color: var(--white); }
.h3 { font-weight: 600; font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -0.01em; color: var(--white); margin-bottom: 14px; }
.h3--xl { font-weight: 800; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.72; color: var(--on-dark); }
.body { font-size: 17px; line-height: 1.68; color: var(--ink-mid); }
.dark .body { color: var(--on-dark); }

.kicker, .micro, .tag, .chips span, .metric__l {
  text-transform: uppercase;
}
.kicker { display: flex; align-items: center; gap: 12px; font: 600 13px/1.4 var(--f-body); letter-spacing: 0.14em; color: var(--orange-700); margin-bottom: 18px; }
.dark .kicker { color: var(--orange); }
.kicker b { font: 700 12px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--orange); }
.kicker b::after { content: "-"; margin-left: 10px; }
.micro { font: 400 11px/1.4 var(--f-mono); letter-spacing: 0.1em; color: var(--on-dark-soft); }
.micro--accent { font-weight: 700; color: var(--orange); letter-spacing: 0.12em; }

.tag { display: inline-flex; align-items: center; font: 700 10px/1 var(--f-mono); letter-spacing: 0.1em; padding: 6px 9px; border-radius: 2px; color: var(--orange-700); background: rgb(255 99 27 / 0.14); white-space: nowrap; }
.tag--dark { color: var(--orange); background: rgb(255 99 27 / 0.16); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 14px 22px; border-radius: 2px; font: 600 14px/1.2 var(--f-body); transition: background .15s, border-color .15s, color .15s; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-700); }
.btn--ghost { border: 1px solid var(--line); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--on-dark-soft); color: var(--white); }
.btn--outline { border: 1px solid #CFCFC4; color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--ink-soft); }
.btn--block { width: 100%; }

/* ---------- sections ---------- */
.section { padding: 108px 0; }
.light { background: var(--paper); }
.white { background: var(--white); }
.dark { background: var(--navy-900); color: var(--on-dark); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px clamp(48px, 6vw, 120px); align-items: end; margin-bottom: 52px; }
.sec-head .body, .lead { max-width: 62ch; }

/* ---------- header ---------- */
/* The header keeps one fixed height: shrinking a sticky header while scrolling shifts the
   whole page and causes a visible jump. Scrolling only changes its colours. */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy-900); transition: background-color .2s, border-color .2s; border-bottom: 1px solid transparent; }
.header__in { display: flex; align-items: center; gap: 34px; height: var(--header-h); }
.header.is-scrolled { background: rgb(8 25 39 / 0.92); border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
  .header { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } /* always on, so it never toggles mid-scroll */
}
.logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; font: 500 15px/1 var(--f-body); color: var(--on-dark); padding: 8px 0; }
.nav a:hover, .nav a.is-active { color: var(--white); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); }
/* RPSS Journal: typographic mark (no logo yet), set apart from the CTA by a hairline */
.journal { display: inline-flex; align-items: center; gap: 7px; padding-left: 26px; border-left: 1px solid var(--line); color: var(--on-dark); white-space: nowrap; }
.journal__mark { font-family: var(--f-display); font-stretch: 62.5%; font-weight: 900; font-size: 24px; line-height: 1; letter-spacing: .02em; color: var(--white); }
.journal__name { font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-soft); transition: color .15s; }
.journal .i { color: var(--orange); width: 12px; height: 12px; transition: transform .15s; }
.journal:hover .journal__name { color: var(--white); }
.journal:hover .i { transform: translate(2px, -2px); }
.journal--row { padding: 14px 16px; border: 1px solid var(--line); border-radius: 2px; }
.journal--row .i { margin-left: auto; }
/* tighter header between tablet and small desktop so the extra item fits on one line */
@media (min-width: 901px) and (max-width: 1240px) {
  .header__in { gap: 22px; }
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
  .header__cta { padding: 12px 16px; }
  .journal { padding-left: 18px; }
}
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 2px; color: var(--white); }
.menu-btn .i { width: 18px; height: 18px; }

.mmenu { position: fixed; inset: 0; z-index: 60; background: var(--navy-900); display: flex; flex-direction: column; }
.mmenu[hidden] { display: none; }
.mmenu__top { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.mmenu__top .logo img { width: 126px; }
.mmenu__links { flex: 1; padding-top: 12px; }
.mmenu__links a { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 800 40px/1.1 var(--f-display); letter-spacing: -0.01em; color: var(--white); }
.mmenu__links span { font: 700 11px/1 var(--f-mono); color: var(--orange); letter-spacing: 0.08em; }
.mmenu__bottom { display: grid; gap: 14px; padding-bottom: 36px; }
.mmenu__phone { font: 600 22px/1.2 var(--f-display); color: var(--white); }
.mmenu__meta { font-size: 14px; color: var(--on-dark); }

/* ---------- hero ---------- */
/* Full-bleed landscape photo behind the whole hero. The scene is busy, so a navy gradient
   darkens the left (text side) strongly and fades out towards the right. */
.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - var(--header-h)); background: var(--navy-900); color: var(--on-dark); overflow: hidden; }
/* the photo spans both rows; text sits in row 1, the quote bar overlays the photo in row 2 */
.hero__bg { grid-row: 1 / -1; grid-column: 1; position: relative; z-index: -1; }
.hero__in { grid-row: 1; grid-column: 1; }
.hero__bar { grid-row: 2; grid-column: 1; }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(8 25 39 / .94) 0, rgb(8 25 39 / .86) 30%, rgb(8 25 39 / .45) 58%, rgb(8 25 39 / .12) 100%),
    linear-gradient(0deg, rgb(8 25 39 / .6) 0, transparent 30%); }
.hero__in { display: flex; align-items: center; padding-top: clamp(48px, 7vh, 96px); padding-bottom: clamp(40px, 6vh, 80px); }
.hero__text { display: grid; gap: 28px; max-width: min(900px, 56%); }
.hero__text .lead { max-width: 58ch; }
.hero__text .display { margin-top: -4px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__bar { border-top: 1px solid rgb(255 255 255 / .1); background: rgb(8 25 39 / .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hero__bar-in { display: flex; align-items: center; gap: 16px 40px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.hero__quote { font-family: var(--f-display); font-stretch: 62.5%; font-weight: 800; font-size: 28px; line-height: 1.1; text-transform: uppercase; color: var(--white); white-space: nowrap; }
.hero__benefits { display: flex; flex-wrap: wrap; gap: 10px 32px; flex: 1; }
.hero__benefits li { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--on-dark); }
.hero__benefits li::before { content: "-"; color: var(--orange); font-weight: 700; }
.hero__caption { margin-left: auto; }
@media (max-width: 1600px) and (min-width: 901px) { .hero__caption { display: none; } }

.viz__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 600 14px/1.3 var(--f-body); color: var(--white); }
.cmj { width: 100%; height: 92px; display: block; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.metrics--col { grid-template-columns: 1fr; }
.metric { display: grid; gap: 6px; padding: 14px 16px; background: var(--navy-800); border-radius: var(--radius); min-width: 0; }
.metric__l { font: 400 10px/1.3 var(--f-mono); letter-spacing: 0.08em; color: var(--on-dark-soft); }
.metric__v { font: 700 28px/1.1 var(--f-mono); letter-spacing: -0.04em; color: var(--white); white-space: nowrap; }
.metric__v small { font: 500 12px/1 var(--f-body); letter-spacing: 0; color: var(--on-dark-soft); margin-left: 5px; }


/* ---------- 01 tests ---------- */
.tests { display: grid; grid-template-columns: clamp(340px, 27vw, 500px) minmax(0, 1fr); gap: clamp(24px, 2.4vw, 40px); align-items: start; }
.tests__list { display: grid; position: sticky; top: calc(var(--header-h) + 16px); }
.tests__list [role=tab] { display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; background: var(--white); border: 1px solid var(--hair); border-top-width: 0; }
.tests__list [role=tab]:first-child { border-top-width: 1px; }
/* hover only on unselected tabs, and only for real pointers: a tap leaves :hover stuck on
   touch screens, which used to paint the selected (white-text) tab with this light background */
@media (hover: hover) { .tests__list [role=tab]:not([aria-selected=true]):hover { background: #FAFAF6; } }
.tests__list .no { font: 700 11px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--ink-soft); }
.tests__list .tx { flex: 1; display: grid; gap: 2px; }
.tests__list b { font: 600 26px/1.15 var(--f-display); letter-spacing: -0.01em; color: var(--navy-900); }
.tests__list small { font: 500 12px/1.3 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.tests__list .i { color: #A8AFA6; width: 16px; height: 16px; }
.tests__list [aria-selected=true] { background: var(--navy-900); border-color: var(--navy-900); border-radius: 3px; }
.tests__list [aria-selected=true] .no, .tests__list [aria-selected=true] .i { color: var(--orange); }
.tests__list [aria-selected=true] b { color: var(--white); }
.tests__list [aria-selected=true] small { color: var(--on-dark-soft); }

.panel { display: none; gap: 22px; padding: 36px; background: var(--white); border: 1px solid var(--hair); border-radius: var(--radius); }
.panel.is-active { display: grid; animation: fadein .25s ease-out; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
.panel__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.panel__head .no { display: none; font: 700 11px/1 var(--f-mono); color: var(--orange); letter-spacing: .08em; }
.panel__head h3 { font-size: 42px; line-height: 1.08; color: var(--navy-900); }
.panel__desc { font-size: 18px; line-height: 1.68; color: var(--ink-mid); }
/* title + description on the left half, "Ölçümden antrenmana" card on the right half */
.panel__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.panel__intro { display: grid; gap: 16px; align-content: start; }
@media (max-width: 1200px) { .panel__top { grid-template-columns: 1fr; gap: 18px; } }
/* "Ölçümden antrenmana": light card with an orange arrow badge (measurement → training) */
.callout { position: relative; display: grid; gap: 6px; padding: 20px 24px 20px 84px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); }
.callout::before { content: ""; position: absolute; left: 22px; top: 20px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7H10.6M7.4 3.6L10.8 7L7.4 10.4' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.callout__l { font-family: var(--f-display); font-stretch: 62.5%; font-weight: 800; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--navy-900); }
.callout p { font-size: 16px; line-height: 1.62; color: var(--ink-mid); }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips span { font: 500 13px/1 var(--f-body); text-transform: none; padding: 8px 11px; border-radius: 2px; background: var(--paper); border: 1px solid var(--hair); color: var(--ink); }
.chips .chips__l { font: 400 10px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); background: none; border: 0; padding: 0 4px 0 0; }
.chips--dark span { font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; background: none; border-color: var(--line); color: var(--on-dark); }

.viz { display: grid; gap: 16px; padding: 24px; background: var(--navy-900); border-radius: var(--radius); color: var(--on-dark); }
.viz--cmj { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 20px; align-items: center; }
.viz--cmj .cmj { height: 130px; }
.viz__note { font-size: 13px; line-height: 1.5; color: var(--on-dark-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; counter-reset: lg; }
.legend li { counter-increment: lg; font: 500 12px/1.4 var(--f-body); color: var(--on-dark-soft); }
.legend li::before { content: "0" counter(lg); font: 700 10px/1 var(--f-mono); color: var(--orange); margin-right: 6px; letter-spacing: .08em; }

.lr { display: flex; justify-content: space-between; font: 700 10px/1 var(--f-mono); letter-spacing: .1em; color: var(--on-dark-soft); text-transform: uppercase; }
.mirror { display: grid; gap: 6px; }
.mirror__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--on-dark); }
.mirror__top b { font: 700 13px/1 var(--f-mono); color: var(--white); }
.mirror__top em { font: 700 12px/1 var(--f-mono); font-style: normal; color: var(--on-dark-soft); margin-left: 6px; }
.mirror__bars { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mirror__bars i { height: 6px; border-radius: 3px; background: var(--line); position: relative; }
.mirror__bars i::after { content: ""; position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--slate); }
.mirror__bars i:first-child::after { right: 0; width: calc(var(--l) / 340 * 100%); }
.mirror__bars i:last-child::after { left: 0; width: calc(var(--r) / 340 * 100%); }
.mirror.is-flag em { color: var(--orange); }
.mirror.is-flag .mirror__bars i::after { background: var(--orange); }

.rom { display: grid; gap: 7px; }
.rom__top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--on-dark); }
.rom__top b { font: 700 13px/1 var(--f-mono); color: var(--white); }
.rom__bar { position: relative; height: 8px; border-radius: 4px; background: var(--line); }
.rom__bar .band { position: absolute; top: 0; bottom: 0; left: calc(var(--a) / var(--max) * 100%); width: calc((var(--b) - var(--a)) / var(--max) * 100%); background: rgb(94 118 137 / 0.55); }
.rom__bar .mk { position: absolute; top: -2px; bottom: -2px; width: 3px; left: calc(var(--v) / var(--max) * 100% - 1.5px); background: var(--white); border-radius: 1px; }
.rom.is-flag b { color: var(--orange); }
.rom.is-flag .mk { background: var(--orange); }
.key { display: inline-block; width: 14px; height: 6px; background: rgb(94 118 137 / 0.55); }
.key--mk { width: 3px; height: 10px; background: var(--orange); margin-left: 10px; }

.hbar { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; gap: 12px; font-size: 13px; color: var(--on-dark); }
.hbar i { height: 8px; border-radius: 4px; background: var(--line); position: relative; }
.hbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) / var(--max) * 100%); border-radius: 4px; background: var(--orange); }
.hbar.is-muted i::after { background: var(--on-dark-soft); }
.hbar b { font: 700 13px/1 var(--f-mono); color: var(--white); }

.lactate { width: 100%; height: auto; display: block; border-radius: 2px; }
.axis { display: flex; justify-content: space-between; font: 400 10px/1 var(--f-mono); color: var(--on-dark-soft); margin-top: -6px; }

/* ---------- 02 approach ---------- */
#yaklasim .sec-head { margin-bottom: 64px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { display: grid; align-content: start; gap: 14px; padding: 32px 36px 8px; border-left: 1px solid var(--line); position: relative; }
.steps li:first-child { padding-left: 0; border-left: 0; }
.steps li::before { content: ""; position: absolute; top: 0; left: 36px; width: 100px; height: 3px; background: var(--line); }
.steps li:first-child::before { left: 0; }
.steps li:nth-child(2)::before { background: var(--orange); }
.steps__n { font: 800 64px/1.05 var(--f-display); letter-spacing: -0.02em; color: var(--navy-700); }
.steps li:nth-child(2) .steps__n { color: var(--orange); }
.steps__k { font: 700 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-top: -6px; }
.steps h3 { font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; color: var(--white); }
.steps p { font-size: 16px; line-height: 1.65; color: var(--on-dark); }

/* ---------- 03 branches ---------- */
.tabs { display: flex; border-bottom: 1px solid #D6D6CC; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role=tab] { padding: 16px 28px 14px; font: 600 26px/1.2 var(--f-display); color: #6B767D; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs [role=tab]:first-child { padding-left: 0; }
@media (hover: hover) { .tabs [role=tab]:not([aria-selected=true]):hover { color: var(--navy-900); } }
.tabs [aria-selected=true] { color: var(--navy-900); border-bottom-color: var(--orange); }
.bpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 42%); background: var(--navy-900); border-radius: var(--radius); color: var(--on-dark); }
.bpanel__copy p:not(.micro):not(.chips) { max-width: 62ch; }
.bpanel[hidden] { display: none; }
.bpanel__copy { display: grid; align-content: start; gap: 20px; padding: 52px; }
.bpanel__copy p:not(.micro):not(.chips) { font-size: 17px; line-height: 1.68; }
.bpanel__copy .btn { justify-self: start; }
.profile { display: grid; align-content: start; gap: 18px; padding: 52px; background: var(--navy-800); border-radius: 0 var(--radius) var(--radius) 0; }
.pbar { display: grid; grid-template-columns: 1fr auto; gap: 7px; font: 500 14px/1.3 var(--f-body); color: var(--on-dark); }
.pbar b { font: 700 13px/1.3 var(--f-mono); color: var(--white); }
.pbar i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--line); position: relative; }
.pbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 1%); border-radius: 3px; background: var(--orange); transform-origin: left; animation: grow .5s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- 04 map ---------- */
.mapwrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 20vw, 380px); gap: clamp(24px, 2.4vw, 40px); align-items: start; }
.mapcard { padding: 28px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); }
.mapcard__title { font: 600 15px/1.4 var(--f-body); color: var(--ink); margin-bottom: 12px; }
.map { position: relative; }
#mapSvg { width: 100%; height: auto; display: block; overflow: visible; }
#mapSvg .city { cursor: pointer; outline: none; }
#mapSvg .city .halo { fill: var(--orange); opacity: .16; transition: opacity .15s, r .15s; }
#mapSvg .city .dot { fill: var(--orange); stroke: var(--white); stroke-width: 1.5; }
#mapSvg .city:hover .halo, #mapSvg .city:focus-visible .halo, #mapSvg .city.is-on .halo { opacity: .32; }
#mapSvg .city:focus-visible .dot { stroke: var(--navy-900); stroke-width: 2; }
#mapSvg .lbl { font: 700 12px var(--f-body); fill: var(--navy-900); pointer-events: none; }
.tip { position: absolute; z-index: 5; width: max-content; max-width: 260px; padding: 12px 14px; background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius); box-shadow: 0 8px 24px rgb(8 25 39 / .25); pointer-events: none; transform: translate(14px, calc(-100% - 6px)); animation: fadein .15s ease-out; }
.tip b { display: block; font: 600 13px/1.4 var(--f-body); color: var(--white); margin-bottom: 4px; }
.tip span { display: block; font-size: 12px; line-height: 1.5; }
.tip.is-left { transform: translate(calc(-100% - 14px), calc(-100% - 6px)); }
.maplegend { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-top: 16px; font: 500 13px/1.3 var(--f-body); color: var(--ink-soft); }
.maplegend span { display: inline-flex; align-items: center; gap: 7px; }
.mapside { display: grid; gap: 16px; }
/* !important: these must beat component display rules such as `.maplegend span` */
.only-mob { display: none !important; }
.stat { display: grid; gap: 2px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius); }
.stat b { font: 800 52px/1.05 var(--f-display); letter-spacing: -0.02em; color: var(--navy-900); }
.stat span { font: 400 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.mapside .btn { justify-self: start; }

.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet[hidden] { display: none; }
.sheet__bg { position: absolute; inset: 0; background: rgb(8 25 39 / .45); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 75vh; overflow-y: auto; padding: 12px 24px 28px; background: var(--white); border-radius: 16px 16px 0 0; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(100%); } }
.sheet__handle { display: block; width: 40px; height: 4px; border-radius: 2px; background: #D6D6CC; margin: 0 auto 14px; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.sheet__head h3 { font: 800 34px/1.1 var(--f-display); color: var(--navy-900); }
.sheet__x { width: 40px; height: 40px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; }
.sheet li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair); font: 600 16px/1.3 var(--f-body); }
.sheet li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

.lightbox { width: min(1340px, 94vw); max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--white); }
.lightbox::backdrop { background: rgb(5 15 24 / .94); }
.lightbox__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.lightbox__head .h3 { font-weight: 800; font-size: 32px; margin: 0; }
.lightbox img { width: 100%; border-radius: var(--radius); }

/* ---------- contact + footer ---------- */
.contact__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px clamp(48px, 6vw, 120px); align-items: center; }
.contact__in > div { display: grid; gap: 20px; justify-items: start; }
.contact__rows a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact__rows li:first-child a { border-top: 1px solid var(--line); }
.contact__rows .micro { grid-column: 1; }
.contact__rows b { grid-column: 1; font: 600 30px/1.15 var(--f-display); color: var(--white); }
.contact__rows .i { grid-column: 2; grid-row: 1 / 3; width: 18px; height: 18px; transition: transform .15s; }
.contact__rows a:hover .i { transform: translate(2px, -2px); }
.footer { background: var(--navy-950); color: var(--on-dark); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; flex-wrap: wrap; }
.footer img { width: 120px; }
.footer p { font: 500 14px/1.4 var(--f-body); }
.footer__c { color: var(--on-dark-soft); font-weight: 400 !important; font-size: 13px !important; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .tests { grid-template-columns: 340px minmax(0, 1fr); }
  .bpanel { grid-template-columns: 1fr; }
  .profile { border-radius: 0 0 var(--radius) var(--radius); }
  .viz--cmj { grid-template-columns: 1fr; }
  .viz--cmj .metrics--col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav, .header__cta, .header .journal { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .logo img { width: 126px; }
  .header__in { height: var(--header-h); }

  /* phones: the photo becomes a full-width square at the top; the text rises over its faded bottom */
  .hero { min-height: 0; display: block; }
  .hero__bg { position: relative; inset: auto; z-index: 0; }
  /* 4:3 centre crop keeps the ForceDecks jump and the staff in frame */
  .hero__bg img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 20%); mask-image: linear-gradient(0deg, transparent 0, #000 20%); }
  .hero__bg::after { display: none; }
  .hero__in { position: relative; margin-top: 0; padding-top: 4px; padding-bottom: 40px; }
  .hero__text { max-width: none; gap: 22px; }
  .lead { font-size: 17px; line-height: 1.68; }
  .btns .btn { width: 100%; }

  .hero__bar { background: var(--navy-800); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero__bar-in { display: grid; gap: 10px; }
  .hero__quote { white-space: normal; font-size: 26px; margin-bottom: 4px; }
  .hero__benefits { display: grid; gap: 8px; }
  .hero__caption { margin: 6px 0 0; }

  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  #yaklasim .sec-head { margin-bottom: 32px; }

  /* tests: one panel at a time; the five test names fit the screen as a 2-column grid
     (the odd fifth button spans both columns) */
  /* overflow-anchor: swapping a long panel for a short one must not let the browser's
     scroll anchoring cancel the smooth scroll back to the new panel */
  .tests { grid-template-columns: 1fr; gap: 14px; overflow-anchor: none; }
  .tests__list { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .tests__list [role=tab], .tests__list [role=tab]:first-child { gap: 8px; padding: 12px; border-width: 1px; border-radius: 2px; min-height: 52px; }
  .tests__list [role=tab]:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tests__list b { font-size: 17px; line-height: 1.1; }
  .tests__list small, .tests__list .i { display: none; }
  .panel { padding: 20px; gap: 14px; }
  .panel__head { gap: 10px; }
  .panel__head h3 { font-size: 30px; }
  .panel__head .tag { flex-basis: 100%; justify-content: flex-start; width: max-content; flex-grow: 0; }
  .panel__desc { font-size: 15px; line-height: 1.62; }
  .callout { padding: 16px 16px 16px 66px; }
  .callout::before { left: 16px; top: 16px; width: 36px; height: 36px; background-size: 15px; }
  .callout__l { font-size: 19px; }
  .callout p { font-size: 14px; line-height: 1.58; }
  .viz { padding: 16px; gap: 14px; }
  .metric { padding: 12px; }
  .metric__v { font-size: 21px; }
  .hbar { grid-template-columns: 84px minmax(0, 1fr) auto; }

  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 6px; padding: 20px 0 4px; border-left: 0; border-top: 1px solid var(--line); }
  .steps li::before { display: none; }
  .steps__n { grid-row: 1 / 4; font-size: 40px; color: var(--orange) !important; }
  .steps__k { margin-top: 0; }
  .steps h3 { font-size: 22px; }
  .steps p { font-size: 15px; }

  .tabs { gap: 6px; border: 0; margin-bottom: 16px; }
  .tabs [role=tab], .tabs [role=tab]:first-child { padding: 8px 12px; font-size: 17px; background: var(--white); border: 1px solid var(--hair); border-radius: 2px; margin: 0; color: var(--ink-mid); }
  .tabs [aria-selected=true] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
  .bpanel__copy, .profile { padding: 22px; gap: 14px; }
  .h3--xl { font-size: 32px; }
  .bpanel__copy .btn { width: 100%; }

  .mapwrap { grid-template-columns: 1fr; }
  .mapcard { padding: 0; background: none; border: 0; }
  .mapcard__title { display: none; }
  #mapSvg .lbl { display: none; }
  .tip { display: none !important; }
  .only-desk { display: none !important; }
  .only-mob { display: inline !important; }
  .maplegend__hint { flex-basis: 100%; }
  .mapside { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat { padding: 14px; }
  .stat b { font-size: 34px; }
  .stat span { font-size: 10px; }
  .mapside .btn { grid-column: 1 / -1; }
  .mapside .btn { width: 100%; }

  .contact__in { grid-template-columns: 1fr; }
  .contact__in .btn { width: 100%; }
  .contact__rows a { padding: 16px 0; }
  .contact__rows b { font-size: 24px; }
  .footer__in { flex-direction: column; align-items: flex-start; }

  .lightbox__head .h3 { font-size: 22px; }
}

/* =========================================================
   Display type — Archivo ExtraCondensed, uppercase (lang="tr" makes i → İ)
   Kept last so it wins over the `font:` shorthands above, which reset font-stretch.
   ========================================================= */
body { font-variant-numeric: tabular-nums; }
.display, .h2, .h3--xl, .panel__head h3, .steps__n, .steps h3, .tests__list b, .tabs [role=tab],
.stat b, .mmenu__links a, .sheet__head h3, .lightbox__head .h3 {
  font-family: var(--f-display);
  font-stretch: 62.5%;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.display, .h2, .h3--xl, .panel__head h3, .steps__n, .stat b { font-weight: 900; }
.display { font-size: clamp(56px, 5.4vw, 116px); line-height: 0.98; }
.h2 { font-size: clamp(44px, 4.3vw, 92px); line-height: 1; }
.h2--xl { font-size: clamp(46px, 5vw, 104px); }
.h3--xl { line-height: 1; }
.steps h3, .tests__list b, .tabs [role=tab] { font-weight: 800; }
/* sentence-case display text: condensed, not uppercase */
.h3, .contact__rows b, .mmenu__phone { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; }
.lightbox__head .h3 { font-stretch: 62.5%; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
