@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================================================
   DERİN PROTOKOL — derinprotokol.com.tr
   Technical-spec freediving performance training
   ============================================================ */

:root {
  --bg: #F0F0EE;
  --surface: #FAFAF8;
  --surface-2: #E9E9E5;
  --ink: #111111;
  --ink-soft: #444844;
  --ink-faint: #7A7E7A;
  --accent: #FF5A1F;
  --accent-2: #3C4A5A;
  --line: rgba(17, 17, 17, 0.12);
  --line-strong: rgba(17, 17, 17, 0.28);
  --line-faint: rgba(17, 17, 17, 0.06);
  --header-h: 72px;
  --maxw: 1240px;
  --pad: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease2: cubic-bezier(.4, 0, .2, 1);
  interpolate-size: allow-keywords;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  color: var(--ink);
}

p { margin: 0 0 1em; max-width: 72ch; }

a { color: var(--ink); text-decoration: none; transition: color .2s var(--ease2); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 16px;
  z-index: 9999;
  font-size: 13px;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--surface); }

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* labels — uppercase mono */
.eyebrow, .label, .kicker {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent-2);
}
.mono-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  background: rgba(240, 240, 238, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background .24s var(--ease2), box-shadow .24s var(--ease2), height .24s var(--ease2);
}
.site-header.is-scrolled {
  background: rgba(240, 240, 238, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .22);
  height: 62px;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 30px; height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  color: var(--accent);
}
.brand small {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
}
.nav-desktop a {
  position: relative;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .24s var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }
.nav-desktop a.is-active { color: var(--ink); }

.nav-cta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--surface) !important;
  padding: 9px 16px;
  border: 1px solid var(--ink);
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: #fff !important; }

.nav-toggle {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--line-strong);
  z-index: 1100;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* DRAWER */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%);
  transition: transform .32s var(--ease);
  z-index: 1050;
  padding: calc(var(--header-h) + 18px) 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-family: 'IBM Plex Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.drawer a:hover { color: var(--accent); }
.drawer .drawer-cta {
  margin-top: 18px;
  background: var(--ink);
  color: var(--surface);
  text-align: center;
  border-bottom: 0;
  padding: 14px;
}
.drawer .drawer-cta:hover { background: var(--accent); color: #fff; }
.drawer-meta {
  margin-top: auto;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s var(--ease), visibility .24s;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   MAIN / SECTIONS
   ============================================================ */
main { padding-top: var(--header-h); }

section { position: relative; }
/* anchor targets clear the fixed header on direct/cross-page jumps */
section[id], [id].section { scroll-margin-top: calc(var(--header-h) + 16px); }
.section {
  padding-block: clamp(56px, 9vw, 110px);
  border-top: 1px solid var(--line);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(32px, 5vw, 56px);
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}
.section-head p { color: var(--ink-soft); margin: 0; }
.section-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

/* thin grid lines decoration */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-faint) 1px, transparent 1px);
  background-size: calc((100% ) / 12) 100%;
  opacity: .8;
  z-index: 0;
}

/* depth scale ruler decor (side) */
.depth-ruler {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 22px;
  display: none;
  pointer-events: none;
  z-index: 1;
}
@media (min-width: 1280px) {
  .depth-ruler { display: block; }
}
.depth-ruler::before {
  content: "";
  position: absolute;
  left: 11px; top: 0; bottom: 0;
  width: 1px;
  background: var(--line);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(46px, 8vw, 90px) clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(60, 74, 90, 0.06), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}
.caustics {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(40px 80px at 20% 30%, rgba(60, 74, 90, .5), transparent 70%),
    radial-gradient(60px 60px at 60% 60%, rgba(60, 74, 90, .4), transparent 70%),
    radial-gradient(50px 90px at 85% 40%, rgba(60, 74, 90, .45), transparent 70%);
  animation: causticDrift 16s ease-in-out infinite alternate;
}
@keyframes causticDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, 3%) scale(1.08); }
}
.bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  border: 1px solid rgba(60, 74, 90, .35);
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.6), rgba(60,74,90,.06));
  animation: rise linear infinite;
  opacity: 0;
}
@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: .5; }
  90% { opacity: .35; }
  100% { transform: translateY(-92vh) translateX(var(--wob, 14px)); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero .eyebrow { margin-bottom: 18px; display: inline-block; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 50ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.hero-stat {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.hero-stat .num .unit { font-size: .7em; color: var(--accent); }
.hero-stat .lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* depth-time graph card */
.graph-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 18px;
  min-width: 0;
}
.graph-card .graph-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.graph-card svg { width: 100%; height: auto; display: block; }
.graph-axis-note {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

/* dive curve animation */
.dive-curve {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}
.is-in .dive-curve, .no-js .dive-curve { animation: drawCurve 2.4s var(--ease) forwards; }
@keyframes drawCurve { to { stroke-dashoffset: 0; } }
.dive-fill { fill: rgba(255, 90, 31, 0.07); stroke: none; opacity: 0; }
.is-in .dive-fill, .no-js .dive-fill { animation: fadeFill 1.2s 1.6s var(--ease) forwards; }
@keyframes fadeFill { to { opacity: 1; } }
.bar-label { opacity: 0; }
.is-in .bar-label, .no-js .bar-label { animation: popLabel .5s var(--ease) forwards; }
.is-in .bar-label:nth-of-type(1) { animation-delay: .6s; }
.is-in .bar-label:nth-of-type(2) { animation-delay: 1.0s; }
.is-in .bar-label:nth-of-type(3) { animation-delay: 1.4s; }
.is-in .bar-label:nth-of-type(4) { animation-delay: 1.9s; }
@keyframes popLabel { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.bar-label text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  fill: var(--accent-2);
  letter-spacing: 0.02em;
}
.bar-dot { fill: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease2), color .2s var(--ease2), box-shadow .2s var(--ease2);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -14px rgba(255, 90, 31, .6);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface); color: var(--ink); border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-primary .arrow { transition: transform .2s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 6px;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.trust-strip svg { width: 14px; height: 14px; color: var(--accent); }

/* ============================================================
   PROTOKOL / METHOD — vertical timeline
   ============================================================ */
.method-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.method-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.method-step .step-no {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
  grid-row: span 2;
}
.method-step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.method-step p { color: var(--ink-soft); margin: 0 0 8px; }
.method-step .step-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.method-step .step-icon {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-2);
}
.method-step .step-icon svg { width: 26px; height: 26px; }

/* feature trio */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.feature-card {
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
  min-width: 0;
  transition: background .24s var(--ease2), transform .24s var(--ease);
}
.feature-card:hover { background: #fff; transform: translateY(-3px); }
.feature-card .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  margin-bottom: 16px;
}
.feature-card .ic svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.feature-card .tag {
  display: inline-block;
  margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--line);
  padding: 4px 8px;
}

/* ============================================================
   TABLES
   ============================================================ */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid var(--line-strong);
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }

table {
  border-collapse: collapse;
  width: 100%;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
thead th {
  background: var(--accent-2);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody td, tbody th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 400;
  color: var(--ink-soft);
}
tbody th { color: var(--ink); font-weight: 500; white-space: nowrap; }
tbody tr { background: var(--surface); opacity: 0; }
tbody tr:nth-child(even) { background: var(--bg); }
.is-in tbody tr, .no-js tbody tr { animation: rowIn .5s var(--ease) forwards; }
tbody tr:nth-child(1) { animation-delay: .05s; }
tbody tr:nth-child(2) { animation-delay: .13s; }
tbody tr:nth-child(3) { animation-delay: .21s; }
tbody tr:nth-child(4) { animation-delay: .29s; }
tbody tr:nth-child(5) { animation-delay: .37s; }
tbody tr:nth-child(6) { animation-delay: .45s; }
tbody tr:nth-child(7) { animation-delay: .53s; }
tbody tr:nth-child(8) { animation-delay: .61s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
td .hi { color: var(--accent); font-weight: 500; }

.table-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-top: 6px;
}
.table-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.table-block h3 {
  font-size: 1.1rem;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.table-block h3 .badge {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.table-block > p { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   EŞİTLEME — Frenzel / mouthfill schema
   ============================================================ */
.eq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.eq-panel {
  background: var(--surface);
  padding: clamp(22px, 3vw, 34px);
  min-width: 0;
}
.eq-panel h3 { font-size: 1.25rem; margin-bottom: 6px; }
.eq-panel .eq-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eq-panel svg.schema { width: 100%; height: auto; margin: 8px 0 16px; }
.schema .flow { stroke: var(--accent-2); stroke-width: 1.6; fill: none; }
.schema .organ { fill: var(--surface-2); stroke: var(--ink); stroke-width: 1.4; }
.schema .air { fill: rgba(255, 90, 31, .14); stroke: var(--accent); stroke-width: 1.2; }
.schema text { font-family: 'IBM Plex Mono', monospace; font-size: 9px; fill: var(--ink-soft); }
.schema .arrow-path {
  stroke: var(--accent); stroke-width: 1.8; fill: none;
  stroke-dasharray: 220; stroke-dashoffset: 220;
}
.is-in .schema .arrow-path, .no-js .schema .arrow-path { animation: drawCurve 1.6s .3s var(--ease) forwards; }
.eq-steps { list-style: none; margin: 0; padding: 0; counter-reset: eqc; }
.eq-steps li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  counter-increment: eqc;
}
.eq-steps li::before {
  content: counter(eqc);
  position: absolute; left: 0; top: 9px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.eq-steps li:last-child { border-bottom: 0; }

/* breath pacer */
.pacer {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px clamp(18px, 3vw, 30px);
  flex-wrap: wrap;
}
.pacer-ring {
  position: relative;
  width: 90px; height: 90px;
  flex: 0 0 90px;
  display: grid; place-items: center;
}
.pacer-ring .ring {
  position: absolute; inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  animation: breathe 9s var(--ease) infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(.7); opacity: .5; }
  44% { transform: scale(1); opacity: 1; }
  56% { transform: scale(1); opacity: 1; }
}
.pacer-ring .ring-core {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
}
.pacer-copy h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pacer-copy p { font-size: 13px; color: var(--ink-soft); margin: 0; max-width: 46ch; }

/* ============================================================
   ÖLÇÜM — progress metrics (depth-gauge counters)
   ============================================================ */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.metric {
  background: var(--surface);
  padding: clamp(24px, 3vw, 34px);
  text-align: center;
  min-width: 0;
}
.gauge { position: relative; width: 130px; height: 130px; margin: 0 auto 14px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--line); stroke-width: 8; }
.gauge .prog {
  fill: none; stroke: var(--accent); stroke-width: 8; stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.gauge .gauge-val {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge .gauge-val b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem; font-weight: 600;
}
.gauge .gauge-val span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px; color: var(--accent); letter-spacing: 0.06em;
}
.metric h3 { font-size: 1rem; margin-bottom: 6px; }
.metric p { font-size: 13px; color: var(--ink-soft); margin: 0; }

.metric-note {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.metric-note .mn {
  border: 1px solid var(--line);
  padding: 16px 18px;
  background: var(--surface);
  font-size: 13px;
  color: var(--ink-soft);
}
.metric-note .mn strong { display: block; color: var(--ink); font-family: 'Space Grotesk', sans-serif; margin-bottom: 4px; }

/* ============================================================
   PROGRAM — weekly plan + pricing
   ============================================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.price-card {
  background: var(--surface);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: background .24s var(--ease2), transform .24s var(--ease);
}
.price-card:hover { background: #fff; transform: translateY(-4px); }
.price-card.featured { background: var(--accent-2); color: #fff; }
.price-card.featured h3, .price-card.featured .price b { color: #fff; }
.price-card.featured .price-feat li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.18); }
.price-card.featured .price-feat li::before { color: var(--accent); }
.price-card.featured .price-meta { color: rgba(255,255,255,.7); }
.price-card.featured .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.price-card.featured .btn-ghost:hover { background: #fff; color: var(--accent-2); }
.price-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.price-card.featured .price-tag { color: #fff; opacity: .9; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 4px;
}
.price b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem; font-weight: 600;
}
.price .cur { font-size: 1.1rem; color: var(--accent); }
.price-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-bottom: 18px;
}
.price-feat { list-style: none; margin: 0 0 20px; padding: 0; }
.price-feat li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.price-feat li::before {
  content: "+"; position: absolute; left: 0; top: 8px;
  color: var(--accent); font-weight: 600;
}
.price-feat li.excl::before { content: "−"; color: var(--ink-faint); }
.price-feat li:last-child { border-bottom: 0; }
.price-card .btn { margin-top: auto; justify-content: center; }
.price-disclaimer {
  margin-top: 22px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.week-plan { margin-bottom: 44px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testi {
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
  min-width: 0;
}
.testi p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.testi .who {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
}
.testi .meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  margin-top: 2px;
}
.testi .stars { color: var(--accent); font-size: 12px; letter-spacing: 2px; margin-bottom: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 6px; top: 18px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > .body {
  height: 0;
  padding: 0 0;
  overflow: hidden;
  transition: height .36s var(--ease2), padding-block-end .36s var(--ease2);
}
.faq details[open] > .body { height: auto; padding-block-end: 22px; }
.faq details > .body p { color: var(--ink-soft); font-size: 14px; margin: 0 0 10px; }
.faq details > .body p:last-child { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq details > .body { transition: none; }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: var(--surface);
  padding-block: clamp(54px, 7vw, 84px);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 3rem); }
.cta-band p { color: rgba(255,255,255,.7); margin-bottom: 26px; max-width: 56ch; }
.cta-band .eyebrow { color: var(--accent); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  padding-block: clamp(44px, 6vw, 72px) 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--accent); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  padding-block: clamp(46px, 7vw, 84px) clamp(30px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 14px; display: inline-block; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); margin-bottom: 16px; }
.page-hero p { color: var(--ink-soft); max-width: 60ch; }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.channel {
  background: var(--surface);
  padding: 24px;
  min-width: 0;
  transition: transform .24s var(--ease), background .24s var(--ease2);
}
.channel:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 30px -22px rgba(0,0,0,.3); }
.channel .ic {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--accent);
  margin-bottom: 16px;
}
.channel .ic svg { width: 22px; height: 22px; }
.channel h3 { font-size: 1rem; margin-bottom: 6px; }
.channel a, .channel .val {
  display: block;
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: anywhere;
}
.channel a:hover { color: var(--accent); }
.channel .sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-faint);
  margin-top: 6px;
  letter-spacing: 0.03em;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hours-grid .day {
  background: var(--surface);
  padding: 14px 16px;
  font-variant-numeric: tabular-nums;
}
.hours-grid .day.today { background: var(--accent-2); color: #fff; }
.hours-grid .day.today .d, .hours-grid .day.today .t { color: #fff; }
.hours-grid .day .d {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 4px;
}
.hours-grid .day .t { font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; }

/* FORM */
.form-wrap {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: clamp(24px, 4vw, 44px);
}
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; min-width: 0; }
.field label, .field > span.lbl {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.field input, .field select, .field textarea {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s var(--ease2), background .2s var(--ease2);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field.kvkk {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.field.kvkk label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
.field input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
form button[type="submit"] {
  width: 100%;
}
@media (min-width: 640px) {
  form button[type="submit"] { width: auto; }
}

/* contact layout split */
.contact-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
}

/* ============================================================
   LEGAL / DOC PAGES
   ============================================================ */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 40px; }
.doc h3 { font-size: 1.1rem; margin-top: 26px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .updated {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-bottom: 30px;
}

/* sitemap */
.sitemap-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.sitemap-cols ul { list-style: none; padding: 0; margin: 0; }
.sitemap-cols li { margin-bottom: 10px; }
.sitemap-cols a { font-size: 14px; }

/* 404 / thank-you */
.center-block {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 80px;
}
.center-block .big {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 12vw, 8rem);
  color: var(--accent);
  line-height: .9;
  margin-bottom: 18px;
}
.center-block h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 14px; }
.center-block p { color: var(--ink-soft); margin-bottom: 24px; }

/* notes block */
.notes-list { list-style: none; margin: 0; padding: 0; }
.notes-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
.notes-list li time {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--accent-2);
}
.notes-list li strong { color: var(--ink); font-family: 'Space Grotesk', sans-serif; }

/* about team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.member {
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
  min-width: 0;
}
.member .avatar {
  width: 56px; height: 56px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.member h3 { font-size: 1.1rem; margin-bottom: 2px; }
.member .role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.member p { font-size: 13px; color: var(--ink-soft); margin: 0; }

.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.stat-band .s { background: var(--surface); padding: 24px; text-align: center; }
.stat-band .s b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 600;
  display: block;
  color: var(--ink);
}
.stat-band .s span {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint);
}

.lede { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink); max-width: 60ch; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .caustics, .bubble, .pacer-ring .ring, .dive-curve, .arrow-path { animation: none !important; }
  .dive-curve { stroke-dashoffset: 0 !important; }
  .gauge .prog { transition: none !important; }
}
html.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--ink);
  padding: 20px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .28s var(--ease), opacity .24s;
  z-index: 9999;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.4);
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 1rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 16px; }
.cookie-banner p a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  transition: background .2s var(--ease2), color .2s var(--ease2);
}
.cookie-actions button:hover { background: var(--surface-2); }
.cookie-actions button[data-consent="accept"] { background: var(--ink); color: var(--surface); }
.cookie-actions button[data-consent="accept"]:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (min-width: 700px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .graph-card { order: -1; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .table-duo { grid-template-columns: 1fr; }
  .eq-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .method-step { grid-template-columns: 44px 1fr; gap: 14px; }
  .feature-card .ic, .channel .ic { width: 38px; height: 38px; }
  .notes-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-bottom { flex-direction: column; }
}

/* long text safety */
.break { word-break: break-word; overflow-wrap: anywhere; }

/* header-cta-padding-guard v1 */
.nav-desktop a.nav-cta, header a.nav-cta, .site-header a.nav-cta {
  padding: 10px 18px;
}

/* drawer-cta-color-guard v1 */
.drawer a.nav-cta, .drawer .nav-cta, .mobile-menu a.nav-cta, nav[class*=mobile] a.nav-cta {
  color: var(--surface) !important;
}
