/* ========================================================================
   YEDİKAT — bisiklet turu planlayıcı
   Type-only-massive hero · electric blue · planner-first
   ======================================================================== */

:root {
  --bg: #FBFBF7;
  --surface: #FFFFFF;
  --ink: #171717;
  --ink-soft: #3a3a3a;
  --muted: #6f6f6c;
  --line: rgba(23, 23, 23, 0.12);
  --line-soft: rgba(23, 23, 23, 0.06);
  --accent: #3D5AFE;
  --accent-2: #FF7043;
  --accent-soft: rgba(61, 90, 254, 0.08);
  --accent-2-soft: rgba(255, 112, 67, 0.10);
  --header-h: 72px;
  --container: 1180px;
  --pad-x: clamp(16px, 4vw, 56px);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 24px 60px -32px rgba(23, 23, 23, 0.20);
  --shadow-soft: 0 8px 24px -16px rgba(23, 23, 23, 0.14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --font-heading: 'Plus Jakarta Sans', 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

main { padding-top: var(--header-h); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--ink); color: var(--surface);
  padding: 8px 14px; border-radius: 6px;
  z-index: 1200; font-weight: 600; font-size: 14px;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: 8px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ======== HEADER ======== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(251, 251, 247, 0.92);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), box-shadow 240ms var(--ease), height 240ms var(--ease);
  height: var(--header-h);
}

.site-header.is-scrolled {
  background: rgba(251, 251, 247, 1);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(23, 23, 23, 0.18);
}

.scroll-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: width 80ms linear;
  pointer-events: none;
  z-index: 1;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.05em;
  position: relative;
  transition: transform 320ms var(--ease-out-expo);
}
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto -3px -3px auto;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transition: transform 480ms var(--ease-out-expo), background 320ms var(--ease), box-shadow 320ms var(--ease);
}
.brand:hover .brand-mark::after {
  transform: scale(1.22);
  background: var(--accent-2);
  box-shadow: 0 0 0 4px var(--accent-2-soft);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  position: relative;
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  border-radius: 6px;
  transition: color 180ms var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease);
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--ink); }
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { transform: scaleX(1); }

.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta {
  margin-left: 8px;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 999px;
  font-weight: 500;
  transition: background 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.nav-desktop .nav-cta:hover,
.nav-desktop .nav-cta:focus-visible {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-1px);
}

.nav-toggle,
.hamburger,
.menu-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  position: relative;
  z-index: 1100;
  transition: background 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
@media (min-width: 1024px) { .nav-toggle, .hamburger, .menu-toggle { display: none; } }
.nav-toggle:hover,
.hamburger:hover,
.menu-toggle:hover { background: var(--bg); border-color: var(--ink); transform: translateY(-1px); }
.nav-toggle:active { transform: translateY(0) scale(0.96); }
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 13px;
  transition: transform 280ms var(--ease-out-expo), opacity 200ms var(--ease), top 280ms var(--ease-out-expo);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: var(--surface);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  padding: calc(var(--header-h) + 24px) 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line);
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  transition: color 180ms var(--ease), padding-left 240ms var(--ease);
}
.drawer a::before {
  content: attr(data-num);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 400;
}
.drawer a:hover { color: var(--accent); padding-left: 6px; }
.drawer-foot {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.drawer-foot strong { color: var(--ink); display: block; font-weight: 600; margin-bottom: 4px; }

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.55);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease);
}
.backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ======== HERO ======== */

.hero {
  position: relative;
  padding: clamp(48px, 9vw, 96px) 0 clamp(48px, 8vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 80%;
  background:
    radial-gradient(ellipse 60% 50% at 18% 20%, rgba(61, 90, 254, 0.07), transparent 60%),
    radial-gradient(ellipse 50% 40% at 82% 30%, rgba(255, 112, 67, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
  opacity: 0.9;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 8px rgba(61, 90, 254, 0.04); }
}

.hero-head {
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(44px, 8.4vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  font-weight: 600;
}
.hero-title .hl {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%;
  bottom: 0.06em;
  height: 0.08em;
  background: var(--accent-2);
  border-radius: 2px;
  opacity: 0.55;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  color: var(--ink-soft);
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}
.hero-meta b {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

/* ======== PLANNER ======== */

.planner-wrap {
  max-width: 920px;
  margin: clamp(40px, 6vw, 64px) auto 0;
  position: relative;
}

.planner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.planner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}

.step-counter {
  display: flex;
  align-items: center;
  gap: 14px;
}
.step-dots {
  display: flex; gap: 8px;
}
.step-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  transition: background 240ms var(--ease), transform 240ms var(--ease);
}
.step-dot.is-done { background: var(--ink); }
.step-dot.is-current {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.18);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.step-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-label b { color: var(--ink); font-weight: 600; }

.match-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.match-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}

.planner-stage {
  position: relative;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(28px, 4vw, 36px);
  min-height: 360px;
}

.step {
  display: none;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.step.is-active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.step-q {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.step-hint {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* step 1 — region select */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.region-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 240ms var(--ease-out-expo), background 240ms var(--ease-out-expo), transform 240ms var(--ease-out-expo), box-shadow 240ms var(--ease-out-expo);
  text-align: left;
  overflow: hidden;
}
.region-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 420ms var(--ease-out-expo);
}
.region-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -24px rgba(23,23,23,0.16);
}
.region-card:hover::before { transform: scaleX(1); }
.region-card.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.region-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 12px; right: 14px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--surface);
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.region-card .reg-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.region-card .reg-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.region-card .reg-meta {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* step 2 — chip days */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  appearance: none;
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 200ms var(--ease);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.chip small {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.chip:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -16px rgba(23,23,23,0.2);
}
.chip:active { transform: translateY(0) scale(0.97); }
.chip.is-selected {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.chip.is-selected small { color: rgba(255, 255, 255, 0.65); }

/* step 3 — radio level */
.radio-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.radio-row {
  display: flex;
  gap: 18px;
  padding: 18px 22px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 240ms var(--ease-out-expo), background 240ms var(--ease-out-expo), transform 240ms var(--ease-out-expo), box-shadow 240ms var(--ease-out-expo);
  align-items: center;
  text-align: left;
}
.radio-row:hover {
  border-color: var(--ink);
  transform: translateX(2px);
  box-shadow: 0 12px 24px -22px rgba(23,23,23,0.2);
}
.radio-row.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.radio-mark {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  position: relative;
  background: var(--surface);
}
.radio-row.is-selected .radio-mark {
  border-color: var(--accent);
  background: var(--accent);
}
.radio-row.is-selected .radio-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  background: var(--surface);
  border-radius: 50%;
}
.radio-text {
  flex: 1; min-width: 0;
}
.radio-text b {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.radio-text span { font-size: 13.5px; color: var(--ink-soft); }
.radio-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* nav row */
.planner-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.btn {
  appearance: none;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -16px rgba(61, 90, 254, 0.55);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary[disabled]:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); transform: none; box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn-ghost:active { transform: translateY(0) scale(0.98); }
.btn-ghost[disabled] { opacity: 0.35; cursor: not-allowed; transform: none; }
.btn-ghost[disabled]:hover { transform: none; }

/* result card */
.result {
  display: none;
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFBF7 100%);
  border-top: 1px solid var(--line-soft);
}
.result.is-active {
  display: block;
  animation: resultPop 520ms var(--ease) both;
}
@keyframes resultPop {
  0% { opacity: 0; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1); }
}
.result-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
}
@media (max-width: 760px) {
  .result-grid { grid-template-columns: 1fr; }
}
.result-side {
  background: var(--ink);
  color: var(--surface);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.result-side .route-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.result-side .route-label {
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  z-index: 2;
}
.result-side .route-name {
  position: absolute;
  bottom: 22px; left: 22px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  z-index: 2;
  letter-spacing: -0.015em;
}
.result-side .route-name small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}

.match-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.match-pct b {
  font-family: var(--font-heading);
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  vertical-align: -8px;
  margin-right: 4px;
}
.result-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 6px 0 14px;
}
.result-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 20px;
}
.result-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
}
.result-meta div span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}
.result-meta div b {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}
.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ======== SECTION HEAD ======== */

.section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}
.section + .section { padding-top: 0; }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(20px, 5vw, 60px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 56px);
}
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

.sec-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.sec-num::before {
  content: ""; width: 24px; height: 1px; background: var(--ink);
}
.sec-title {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.025em;
  line-height: 1;
}
.sec-lead {
  font-size: clamp(15.5px, 1.5vw, 18px);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.55;
}

/* ======== 4 TUR ======== */

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
@media (max-width: 720px) { .tour-grid { grid-template-columns: 1fr; } }

.tour-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 320ms var(--ease-out-expo), transform 320ms var(--ease-out-expo), box-shadow 320ms var(--ease-out-expo);
  overflow: hidden;
  cursor: default;
}
.tour-card::before {
  content: "";
  position: absolute;
  inset: auto -1px -1px -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 540ms var(--ease-out-expo);
  pointer-events: none;
}
.tour-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -28px rgba(23, 23, 23, 0.22);
}
.tour-card:hover::before { transform: scaleX(1); }
.tour-card.is-pinned:hover::before {
  background: linear-gradient(90deg, var(--accent-2) 0%, #ffd166 100%);
}
/* Subtle "tire-track" trail on hover — cycling-themed atmospheric cue */
.tour-card::after {
  content: "";
  position: absolute;
  left: clamp(22px, 3vw, 30px);
  right: clamp(22px, 3vw, 30px);
  bottom: 0;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--accent) 0 6px,
    transparent 6px 12px
  );
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 420ms var(--ease-out-expo), transform 420ms var(--ease-out-expo);
  pointer-events: none;
}
.tour-card:hover::after { opacity: 0.55; transform: translateY(0); }
.tour-card.is-pinned::after {
  background: repeating-linear-gradient(
    90deg,
    var(--accent-2) 0 6px,
    transparent 6px 12px
  );
}
.tour-card .topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tour-card .topline b { color: var(--ink); font-weight: 600; }
.tour-card h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.025em;
}
.tour-card .tour-meta {
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.tour-card .tour-meta span {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-soft);
  background: var(--bg);
}
.tour-card .tour-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.tour-card .tour-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.tour-card .tour-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tour-card .tour-price small {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-left: 4px;
  text-transform: uppercase;
}
.tour-card .tour-arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
  color: var(--ink);
}
.tour-card:hover .tour-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
  transform: rotate(-45deg) scale(1.06);
}

.tour-card.is-pinned {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.tour-card.is-pinned .topline,
.tour-card.is-pinned .tour-desc { color: rgba(255, 255, 255, 0.6); }
.tour-card.is-pinned .topline b { color: var(--surface); }
.tour-card.is-pinned .tour-meta span {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.16);
}
.tour-card.is-pinned .tour-foot { border-color: rgba(255,255,255,0.18); }
.tour-card.is-pinned .tour-price small { color: rgba(255,255,255,0.55); }
.tour-card.is-pinned .tour-arrow { border-color: rgba(255,255,255,0.22); color: var(--surface); }
.tour-card.is-pinned:hover .tour-arrow { background: var(--accent-2); border-color: var(--accent-2); }

.tour-card .pin-tag {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: var(--surface);
  padding: 4px 9px;
  border-radius: 4px;
}

/* ======== NASIL CALISIR ======== */

.algo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
@media (max-width: 900px) { .algo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .algo-grid { grid-template-columns: 1fr; } }

.algo-step {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 280ms var(--ease-out-expo), transform 280ms var(--ease-out-expo), box-shadow 280ms var(--ease-out-expo);
}
.algo-step:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 22px 48px -28px rgba(23, 23, 23, 0.22);
}
.algo-step:hover .icon {
  background: var(--accent);
  color: var(--surface);
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.algo-step .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: background 320ms var(--ease-out-expo), color 320ms var(--ease-out-expo), transform 380ms var(--ease-out-expo);
}
.algo-step .icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.algo-step h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  font-weight: 600;
}
.algo-step p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.algo-step .num {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ======== YORUMLAR ======== */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 22px);
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo);
}
.testi:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -28px rgba(23, 23, 23, 0.16);
}
.testi .quote {
  font-family: var(--font-heading);
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}
.testi .quote::before {
  content: "“";
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}
.testi .who {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.testi .who-name b {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
}
.testi .who-name span {
  font-size: 12px;
  color: var(--muted);
}
.testi .who-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 8px;
  background: var(--accent-soft);
  border-radius: 4px;
}

/* ======== FIYAT MATRIS ======== */

.table-scroll {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  background-image:
    linear-gradient(to right, var(--surface), var(--surface)),
    linear-gradient(to right, var(--surface), var(--surface)),
    linear-gradient(to right, rgba(23,23,23,0.10), rgba(23,23,23,0)),
    linear-gradient(to left, rgba(23,23,23,0.10), rgba(23,23,23,0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.table-scroll::-webkit-scrollbar { height: 6px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.table-scroll::-webkit-scrollbar-thumb:hover { background: var(--ink-soft); }
.table-scroll > table {
  margin: 0 !important;
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
}
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
@media (max-width: 520px) {
  .table-scroll > table { min-width: 520px; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: 13.5px; }
}

/* Below 560px, strengthen the right-edge fade so the user sees there's more table */
@media (max-width: 560px) {
  .table-scroll {
    background-image:
      linear-gradient(to right, var(--surface), rgba(255,255,255,0)),
      linear-gradient(to left, var(--surface), rgba(255,255,255,0)),
      linear-gradient(to right, rgba(23,23,23,0.22), rgba(23,23,23,0)),
      linear-gradient(to left, rgba(23,23,23,0.22), rgba(23,23,23,0));
    background-size: 18px 100%, 18px 100%, 28px 100%, 28px 100%;
  }
}
/* Inline hint text after the scrollable table (rendered on the wrapper's parent context) */
.table-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -8px 0 18px;
  padding-left: 2px;
}
.table-hint::before {
  content: "→ ";
  color: var(--accent);
}
@media (max-width: 560px) { .table-hint { display: block; } }

.price-table th, .price-table td {
  padding: 16px 18px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.price-table thead th {
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom-color: var(--line);
}
.price-table tbody th {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.price-table td b {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
}
.price-table td span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.price-table .price-mid { color: var(--accent); }
.price-table .price-best { color: var(--accent-2); }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* ======== ILETISIM ======== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 280ms var(--ease-out-expo), transform 280ms var(--ease-out-expo), box-shadow 280ms var(--ease-out-expo);
}
.contact-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -28px rgba(23,23,23,0.18);
}
.contact-card .contact-list { margin-top: auto; }
.contact-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-card .big {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-card p { color: var(--ink-soft); font-size: 14.5px; }
.contact-card a.big { color: var(--ink); transition: color 200ms var(--ease); }
.contact-card a.big:hover { color: var(--accent); }

.contact-list {
  list-style: none;
  margin: 0; padding: 0;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list li span:first-child {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}
.contact-list li span:last-child {
  font-weight: 500;
  text-align: right;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 480px) {
  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .contact-list li span:last-child { text-align: left; }
}

/* ======== FORM (iletisim sayfası) ======== */

.form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.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);
}
.field input:hover:not(:focus),
.field select:hover:not(:focus),
.field textarea:hover:not(:focus) {
  border-color: var(--ink-soft);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.5;
}
.field-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.form-status.is-shown { display: block; }
.form-status.is-success { background: rgba(61,90,254,0.08); color: var(--accent); }
.form-status.is-error { background: rgba(255,112,67,0.10); color: var(--accent-2); }

/* ======== FOOTER ======== */

.site-footer {
  padding: clamp(60px, 8vw, 96px) 0 32px;
  border-top: 1px solid var(--line);
  margin-top: clamp(60px, 8vw, 100px);
  background: var(--bg);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.footer-brand p { color: var(--ink-soft); font-size: 14.5px; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14.5px; color: var(--ink); transition: color 200ms var(--ease); }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom .legal {
  display: flex; gap: 18px; flex-wrap: wrap;
}
.footer-bottom .legal a { color: var(--ink-soft); }
.footer-bottom .legal a:hover { color: var(--accent); }

/* ======== COOKIE BANNER ======== */

.cookie {
  position: fixed;
  bottom: 12px;
  left: 12px; right: 12px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: 14px;
  padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms var(--ease-out-expo), opacity 320ms var(--ease);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
}
@media (min-width: 768px) {
  .cookie {
    left: auto; right: 24px;
    bottom: 24px;
    max-width: 420px;
    margin: 0;
  }
}
.cookie.is-visible { transform: translateY(0); opacity: 1; }
/* cookie banner is a fixed-position overlay — no body padding buffer; stays on top of everything */
.cookie h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--surface);
}
.cookie p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0 0 14px;
}
.cookie p .cookie-policy-link {
  color: var(--surface);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie p .cookie-policy-link:hover {
  text-decoration-thickness: 2px;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-actions button {
  appearance: none;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: transparent;
  color: var(--surface);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
  min-width: 88px;
  transition: background 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), transform 200ms var(--ease);
}
.cookie-actions button:hover,
.cookie-actions button:focus-visible {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-1px);
}
.cookie-actions button:active { transform: translateY(0) scale(0.97); }
/* Equalize: both Kabul and Reddet share neutral visual weight — no dark-pattern bias. */
.cookie-actions button[data-consent="accept"],
.cookie-actions button[data-consent="reject"] {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}
.cookie-actions button[data-consent="accept"]:hover,
.cookie-actions button[data-consent="accept"]:focus-visible,
.cookie-actions button[data-consent="reject"]:hover,
.cookie-actions button[data-consent="reject"]:focus-visible {
  background: rgba(255,255,255,0.18);
  border-color: var(--surface);
}
.cookie-actions button[data-consent="settings"] {
  background: transparent;
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}

/* ======== REVEAL ======== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 780ms var(--ease-out-expo), transform 820ms var(--ease-out-expo);
  will-change: transform, opacity;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 80ms; }
.reveal[data-d="2"] { transition-delay: 170ms; }
.reveal[data-d="3"] { transition-delay: 260ms; }
.reveal[data-d="4"] { transition-delay: 350ms; }
html.no-js .reveal { opacity: 1; transform: none; }

/* Cycling-themed cue: subtle horizontal sweep on tour-card before reveal,
   evoking a wheel-pass / forward motion. Sits beneath the existing reveal. */
.tour-grid > .reveal {
  transform: translateY(28px) translateX(-6px);
}
.tour-grid > .reveal.is-in { transform: none; }

/* ======== UTILS / DOC PAGE ======== */

.page-head {
  padding: clamp(64px, 9vw, 96px) 0 clamp(32px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 14px 0 12px;
}
.page-head p { color: var(--ink-soft); max-width: 640px; font-size: clamp(15px, 1.5vw, 17px); }

.doc {
  /* padding-block keeps vertical only and doesn't override .container's padding-inline */
  padding-block: clamp(40px, 6vw, 72px) clamp(40px, 6vw, 64px);
  max-width: 820px;
}
.doc h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 48px 0 16px;
  letter-spacing: -0.02em;
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.doc h2::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}
.doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h2:first-child::before { display: none; }
.doc h3 {
  font-size: 19px;
  margin: 32px 0 12px;
  letter-spacing: -0.015em;
}
.doc p, .doc li {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.doc ul, .doc ol { padding-left: 24px; margin-bottom: 1em; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-thickness 200ms var(--ease); }
.doc a:hover { text-decoration-thickness: 2px; }

.kv-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4px 24px;
  margin: 16px 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
@media (max-width: 600px) { .kv-grid { grid-template-columns: 1fr; gap: 2px; } }
.kv-grid dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 0;
}
.kv-grid dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
}
.kv-grid dt:nth-last-of-type(1), .kv-grid dd:nth-last-of-type(1) { border: 0; }

.tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 8px 0 24px;
}
.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--surface);
}

/* 404 */
.err-wrap {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}
.err-code {
  font-family: var(--font-heading);
  font-size: clamp(120px, 28vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.06em;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
}
.err-wrap h1 { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 12px; }
.err-wrap p { color: var(--ink-soft); margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* table-scroll v2: horizontal overflow + parent shrink fix */
.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, rgba(0,0,0,0.12));
  border-radius: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; }
/* Allow grid/flex ancestors to shrink below their min-content (table) so the
   wrapper can actually scroll instead of pushing the column wider than the
   container. */
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) {
  min-width: 0;
}

/* === Contact channels (polished) — pedalplanla: editorial cards, decorative icon header === */
.contact-card { position: relative; overflow: hidden; }
.contact-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  opacity: 0;
  transition: opacity 360ms var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}
.contact-card:hover::after { opacity: 1; }
.contact-card > * { position: relative; z-index: 1; }

.cc-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cc-channel h3 { margin-bottom: 0; }
.cc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  transition:
    color 280ms var(--ease-out-expo),
    background-color 280ms var(--ease-out-expo),
    transform 360ms var(--ease-out-expo),
    border-color 280ms var(--ease-out-expo);
  flex-shrink: 0;
}
.cc-icon svg { display: block; }
.contact-card:hover .cc-icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.contact-card[data-channel="office"]:hover .cc-icon {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.contact-card[data-channel="office"] .cc-icon {
  color: var(--accent-2);
  background: var(--accent-2-soft);
}

/* nested list glyphs */
.contact-card .contact-list li span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cl-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color 240ms var(--ease), border-color 240ms var(--ease), background-color 240ms var(--ease);
  flex-shrink: 0;
}
.cl-glyph svg { display: block; }
.contact-card .contact-list li:hover .cl-glyph {
  color: var(--accent-2);
  border-color: var(--accent-2);
  background: var(--accent-2-soft);
}
.contact-card .contact-list li {
  transition: padding-left 280ms var(--ease-out-expo);
}
.contact-card .contact-list li:hover { padding-left: 4px; }

@media (max-width: 480px) {
  .cc-icon { width: 32px; height: 32px; }
  .cc-icon svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-card::after, .cc-icon, .cl-glyph, .contact-card .contact-list li {
    transition: color .2s ease, background-color .2s ease !important;
    transform: none !important;
  }
  .contact-card:hover .cc-icon { transform: none !important; }
  .contact-card .contact-list li:hover { padding-left: 0 !important; }
}
