/* =========================================================
   KAPADOKYA BİSİKLET — TÜFÜN ÜSTÜNDE ÜÇ GÜN
   Editorial longread theme. Volcanic tuff palette.
   ========================================================= */

:root {
  --bg: #F4EFE6;
  --surface: #FFFFFF;
  --ink: #2A1F17;
  --ink-soft: #5b4938;
  --ink-mute: #8a7866;
  --accent: #B8543A;
  --accent-2: #5C6E3F;
  --line: rgba(42, 31, 23, 0.16);
  --line-soft: rgba(42, 31, 23, 0.08);
  --paper: #EFE7D8;
  --header-h: 72px;
  --max: 1080px;
  --pad: clamp(16px, 4vw, 32px);
  --radius: 4px;
  --shadow-soft: 0 8px 24px -16px rgba(42, 31, 23, .35);
  --shadow-mid: 0 18px 40px -22px rgba(42, 31, 23, .4);
  --serif-display: 'Fraunces', 'Cormorant Garamond', 'Times New Roman', serif;
  --serif-body: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
  --mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100vw;
}
html { scroll-behavior: smooth; }

img, svg { max-width: 100%; display: block; height: auto; }
img { background: var(--paper); }
a { color: var(--ink); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

::selection { background: var(--accent); color: var(--surface); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--surface);
  padding: 12px 18px; z-index: 2000;
  font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; outline: 2px solid var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}

main { padding-top: var(--header-h); }
main section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
h1 { font-size: clamp(42px, 7.2vw, 92px); line-height: 1.02; }
h2 { font-size: clamp(28px, 4.4vw, 48px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.18; }
h4 { font-size: clamp(18px, 2vw, 22px); line-height: 1.25; }

p { margin: 0 0 1.2em; }
strong { font-weight: 600; }
em { font-style: italic; }

.eyebrow, .label, .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.lede {
  font-family: var(--serif-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}

.dropcap::first-letter,
.dropcap > p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  float: left;
  font-size: 5.2em;
  line-height: 0.86;
  padding: 6px 14px 0 0;
  color: var(--accent);
}

hr.rule {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 32px 0;
}
hr.rule-thin {
  border: 0; height: 1px; background: var(--ink); opacity: .6;
  margin: 24px 0; max-width: 90px;
}

blockquote {
  margin: 28px 0;
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.32;
  color: var(--ink);
}
blockquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  color: var(--ink-mute);
}

sup.fn {
  font-family: var(--mono);
  font-size: .55em;
  color: var(--accent);
  font-style: normal;
  vertical-align: super;
  margin-left: 2px;
}

.footnotes {
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  font-family: var(--serif-body);
}
.footnotes ol { padding-left: 18px; margin: 0; }
.footnotes li { margin-bottom: 8px; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .24s ease, box-shadow .24s ease, height .24s ease;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgb(244, 239, 230);
  box-shadow: 0 8px 24px -16px rgba(42, 31, 23, .18);
  border-bottom-color: var(--line-soft);
}
.scroll-progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 2;
  pointer-events: none;
  transition: width .08s linear;
}
.site-header__inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc(100% - 64px);
  overflow: hidden;
}
.brand > span {
  min-width: 0;
  overflow: hidden;
  display: block;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.brand__mark path {
  stroke-dasharray: 2 3;
  transition: stroke-dashoffset .9s linear;
}
.brand:hover .brand__mark path,
.brand:focus-visible .brand__mark path {
  animation: dashride 1.6s linear infinite;
}
.brand:hover .brand__mark { transform: rotate(-4deg); }
@media (prefers-reduced-motion: reduce) {
  .brand__mark, .brand__mark path { transition: none !important; animation: none !important; transform: none !important; }
}
.brand__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.brand__sub {
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s ease;
}
.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  transform: scaleX(1);
}
.nav-desktop a.is-active { color: var(--accent); }
.nav-desktop .nav-cta {
  background: var(--ink);
  color: var(--surface);
  padding: 10px 18px;
  border-radius: 999px;
  letter-spacing: 0.16em;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover { background: var(--accent); color: var(--surface); }

.nav-toggle, button.hamburger {
  width: 48px; height: 48px;
  min-width: 48px; min-height: 48px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  z-index: 1110;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  transition: background .24s ease, transform .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s ease, border-color .24s ease;
  visibility: visible !important;
  opacity: 1 !important;
}
.nav-toggle:hover, .nav-toggle:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(42, 31, 23, .55);
}
.nav-toggle:hover .nav-toggle__bars span,
.nav-toggle:focus-visible .nav-toggle__bars span {
  background: var(--surface);
}
.nav-toggle__sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.nav-toggle__bars {
  width: 20px; height: 14px;
  position: relative;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .32s cubic-bezier(.2,.7,.2,1), opacity .2s ease, top .32s cubic-bezier(.2,.7,.2,1), background .24s ease, width .32s cubic-bezier(.2,.7,.2,1);
}
.nav-toggle__bars span:nth-child(1) { top: 1px; }
.nav-toggle__bars span:nth-child(2) { top: 6.5px; width: 70%; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span { background: var(--surface); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; width: 100%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6.5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle, button.hamburger { display: none !important; }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 23, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(480px, 100vw);
  background: var(--bg);
  border-left: 1px solid var(--line-soft);
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
  z-index: 1050;
  padding: 96px clamp(20px, 5vw, 36px) 32px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.drawer__list a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 28px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.drawer__list a:hover, .drawer__list a.is-active { color: var(--accent); }
.drawer__meta {
  margin-top: auto; padding-top: 32px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-mute);
}

@media (min-width: 1024px) {
  .drawer, .drawer-backdrop { display: none; }
}

/* =========================================================
   THEME SIGNATURE — left-edge route line
   ========================================================= */
.route-rail {
  position: fixed;
  left: clamp(8px, 2vw, 24px);
  top: calc(var(--header-h) + 12px);
  bottom: 12px;
  width: 18px;
  z-index: 5;
  pointer-events: none;
  display: none;
}
@media (min-width: 1280px) {
  .route-rail { display: block; }
}
.route-rail__svg {
  width: 18px; height: 100%;
  overflow: visible;
}
.route-rail__path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.32;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset .2s linear;
}
.route-rail__km {
  position: absolute;
  left: 22px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
  transition: color .3s ease, opacity .3s ease;
  opacity: 0.45;
}
.route-rail__km::before {
  content: "";
  position: absolute;
  left: -22px; top: 50%;
  width: 8px; height: 8px;
  border: 1.4px solid var(--ink-mute);
  border-radius: 50%;
  background: var(--bg);
  transform: translateY(-50%);
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.route-rail__km.is-lit { color: var(--accent); opacity: 1; }
.route-rail__km.is-lit::before { border-color: var(--accent); background: var(--accent); transform: translateY(-50%) scale(1.15); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding: clamp(56px, 10vw, 120px) 0 clamp(40px, 7vw, 80px);
  position: relative;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero__h1 {
  max-width: 14ch;
  margin-bottom: 32px;
}
.hero__divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, var(--ink) 0%, var(--ink) 30%, var(--line) 30%, var(--line) 100%);
  margin: 0 auto 40px;
  position: relative;
}
.hero__divider::after {
  content: "";
  position: absolute;
  left: 30%;
  top: -3.5px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}
.hero__photo {
  max-width: 520px;
  margin: 0 auto 40px;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background:
    linear-gradient(180deg, #efe2cd 0%, #e2c9a8 45%, #c69870 70%, #8a4a2d 100%),
    var(--paper);
}
.hero__photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 800' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f5e6cc'/><stop offset='0.45' stop-color='%23dcb88a'/><stop offset='0.7' stop-color='%23a86a45'/><stop offset='1' stop-color='%23552d18'/></linearGradient></defs><rect width='600' height='800' fill='url(%23g)'/><circle cx='480' cy='130' r='38' fill='%23f7d9a8' opacity='0.85'/><g fill='%23522712' opacity='0.85'><path d='M0 600 L60 480 L100 540 L150 460 L210 530 L270 470 L320 540 L390 460 L450 530 L520 470 L600 540 L600 800 L0 800 Z'/></g><g fill='%23311607' opacity='0.95'><path d='M0 700 L80 620 L130 660 L190 600 L250 660 L310 610 L370 670 L440 610 L510 670 L600 620 L600 800 L0 800 Z'/></g><g stroke='%23F4EFE6' stroke-width='1.2' fill='none' opacity='0.55'><path d='M0 720 Q 100 705, 200 720 T 400 720 T 600 720'/></g></svg>");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.hero__photo img { position: relative; z-index: 1; }
.hero__photo img[alt][src]:not([src=""]) { /* keep image on top when loaded */ }
.hero__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.14) translate(-2%, -3%); }
}
.hero__photo-cap {
  position: absolute;
  bottom: 12px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--surface);
  background: rgba(42, 31, 23, 0.6);
  padding: 4px 8px;
  backdrop-filter: blur(4px);
}
.hero__sub {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
}
.hero__cta-row {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background .24s ease, color .24s ease, transform .24s ease, border-color .24s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 8px 18px -14px rgba(42, 31, 23, .5);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent);
  color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(184, 84, 58, .6);
}
.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(-2px);
  box-shadow: 0 10px 22px -14px rgba(42, 31, 23, .35);
}
.btn-arrow {
  width: 14px; height: 14px;
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
}
.btn:hover .btn-arrow, .btn:focus-visible .btn-arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn-arrow { transition: none !important; transform: none !important; }
}

/* =========================================================
   SECTION
   ========================================================= */
section {
  padding: clamp(48px, 8vw, 96px) 0;
  position: relative;
}
.section-head {
  margin-bottom: clamp(36px, 5vw, 56px);
  display: grid;
  gap: 18px;
}
.section-head .eyebrow { margin: 0; }
.section-head h2 { max-width: 18ch; }
.section-head__lede {
  max-width: 60ch;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  line-height: 1.45;
}
.section-head__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}

/* =========================================================
   GUNLUK — diary
   ========================================================= */
.diary { display: grid; gap: clamp(48px, 7vw, 80px); }
.day {
  display: grid;
  gap: 28px;
}
.day__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.day__num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(72px, 12vw, 140px);
  line-height: 0.84;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.day__meta { display: grid; gap: 6px; }
.day__meta .label { color: var(--ink-mute); }
.day__title {
  font-size: clamp(26px, 3.6vw, 40px);
}
.day__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .day__body { grid-template-columns: 1fr 1fr; gap: 40px; }
  .day__body p:first-child { grid-column: 1 / -1; }
}
.day__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, #f0e2cb 0%, #d8b389 50%, #a86749 80%, #5a2914 100%),
    var(--paper);
}
.day__photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 625' preserveAspectRatio='xMidYMid slice'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23f5e3c5'/><stop offset='0.5' stop-color='%23d4a16d'/><stop offset='0.85' stop-color='%23843c1d'/><stop offset='1' stop-color='%2342190a'/></linearGradient></defs><rect width='500' height='625' fill='url(%23g)'/><circle cx='400' cy='110' r='28' fill='%23f9dba6' opacity='0.8'/><g fill='%23491c0a' opacity='0.85'><path d='M0 480 L70 380 L120 430 L180 360 L240 430 L300 370 L360 440 L420 370 L500 430 L500 625 L0 625 Z'/></g><g fill='%23260e04' opacity='0.95'><path d='M0 540 L80 470 L140 510 L200 460 L260 510 L320 460 L380 520 L440 470 L500 500 L500 625 L0 625 Z'/></g></svg>");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}
.day__photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform 1.2s cubic-bezier(.22,.61,.36,1); }
.day__photo:hover img { transform: scale(1.05); }
.day__photo {
  transition: box-shadow .5s ease;
}
.day__photo:hover { box-shadow: 0 18px 38px -22px rgba(42, 31, 23, .55); }
@media (prefers-reduced-motion: reduce) {
  .day__photo img { transition: none !important; transform: none !important; }
}
.day__photo-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 10px;
  display: block;
}
.day__pull {
  margin: 12px 0;
}

/* =========================================================
   ROTALAR — route cards
   ========================================================= */
.routes {
  display: grid;
  gap: 20px;
}
@media (min-width: 768px) {
  .routes { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.route-card {
  background: var(--surface);
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-soft);
  position: relative;
  display: grid;
  gap: 18px;
  transition: transform .42s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .42s ease;
  overflow: hidden;
}
.route-card::before {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 240px; height: 240px;
  background: radial-gradient(closest-side, rgba(184,84,58,.16), rgba(184,84,58,0) 70%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.route-card:hover, .route-card:focus-within {
  transform: translateY(-5px);
  border-color: var(--ink);
  box-shadow: var(--shadow-mid);
}
.route-card:hover::before, .route-card:focus-within::before { opacity: 1; }
.route-card__svg {
  height: 120px;
  width: 100%;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.route-card__svg svg { width: 90%; height: 90%; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.route-card:hover .route-card__svg svg { transform: translateX(4px) scale(1.02); }
.route-card__svg svg path {
  stroke-dasharray: 3 3;
  transition: stroke-dashoffset .9s linear;
}
.route-card:hover .route-card__svg svg path {
  animation: dashride 1.6s linear infinite;
}
@keyframes dashride { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -24; } }
.route-card__name {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.01em;
}
.route-card__km {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.route-card__desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.route-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}
.route-card__stats span strong { color: var(--ink); display: block; font-size: 14px; letter-spacing: 0.04em; margin-bottom: 2px; font-family: var(--serif-display); font-style: italic; font-weight: 500; }

/* =========================================================
   RITIM — schedule table
   ========================================================= */
.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);
  border-radius: 6px;
  position: relative;
  background:
    linear-gradient(to right, var(--surface) 30%, rgba(255,255,255,0)) left center / 30px 100% no-repeat,
    linear-gradient(to left,  var(--surface) 30%, rgba(255,255,255,0)) right center / 30px 100% no-repeat,
    linear-gradient(to right, rgba(42,31,23,.18), rgba(42,31,23,0)) left center / 14px 100% no-repeat,
    linear-gradient(to left,  rgba(42,31,23,.18), rgba(42,31,23,0)) right center / 14px 100% no-repeat,
    var(--surface);
  background-attachment: local, local, scroll, scroll, local;
}
.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.schedule {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
}
table.schedule caption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  caption-side: top;
}
table.schedule th, table.schedule td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
table.schedule th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  background: var(--paper);
}
table.schedule td.time {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.04em;
  width: 110px;
}
table.schedule td.event {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: -0.005em;
}
table.schedule td.note {
  font-size: 14px;
  color: var(--ink-soft);
}
table.schedule tr:last-child td { border-bottom: 0; }
table.schedule tbody tr {
  transition: background .25s ease;
}
table.schedule tbody tr:hover {
  background: var(--paper);
}

@media (max-width: 560px) {
  .table-scroll {
    overflow: hidden;
    background: var(--surface);
    border-radius: 8px;
  }
  .table-scroll > table { min-width: 0; }
  table.schedule { background: transparent; display: block; }
  table.schedule caption {
    border-bottom: 0;
    padding: 14px 16px 6px;
    background: var(--paper);
  }
  table.schedule thead { display: none; }
  table.schedule tbody { display: block; }
  table.schedule tbody tr {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line-soft);
    background: var(--surface);
  }
  table.schedule tbody tr:last-child { border-bottom: 0; }
  table.schedule td { padding: 0; border-bottom: 0; }
  table.schedule td.time {
    grid-row: 1 / span 2;
    width: auto;
    font-size: 12px;
    align-self: start;
    padding-top: 3px;
    border-right: 1px solid var(--line-soft);
    padding-right: 12px;
  }
  table.schedule td.event { font-size: 17px; line-height: 1.25; }
  table.schedule td.note { font-size: 13px; }
}

/* =========================================================
   EKIPMAN — equipment list
   ========================================================= */
.equipment {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .equipment { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.equip-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.equip-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.equip-list .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.equip-list .name {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 19px;
}
.equip-list .meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =========================================================
   GRUP — group philosophy
   ========================================================= */
.grup {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .grup { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
}
.eight-graphic {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.eight-graphic svg { width: 100%; height: 100%; }
.grup__quote {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}
.grup__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.grup__list li {
  font-size: 16px;
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
}
.grup__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
}

/* =========================================================
   UCRET — pricing
   ========================================================= */
.pricing {
  display: grid;
  gap: 18px;
}
@media (min-width: 768px) {
  .pricing { grid-template-columns: repeat(3, 1fr); }
}
.price-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  display: grid;
  gap: 16px;
  transition: border-color .35s ease, box-shadow .4s ease, transform .42s cubic-bezier(.22,.61,.36,1);
  overflow: hidden;
}
.price-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.price-card:hover, .price-card:focus-within {
  border-color: var(--ink);
  box-shadow: var(--shadow-mid);
  transform: translateY(-4px);
}
.price-card:hover::after, .price-card:focus-within::after { transform: scaleX(1); }
.price-card.is-featured::after { background: var(--accent); }
.price-card.is-featured { box-shadow: 0 14px 32px -20px rgba(42, 31, 23, .55); }
.price-card.is-featured:hover { box-shadow: 0 26px 50px -22px rgba(42, 31, 23, .6); }
.price-card.is-featured {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}
.price-card.is-featured .price-card__name,
.price-card.is-featured .price-card__amount,
.price-card.is-featured .price-card__list li { color: var(--surface); }
.price-card.is-featured .price-card__currency { color: var(--accent); }
.price-card.is-featured .price-card__list li::before { color: var(--accent); }
.price-card__tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card__name {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.01em;
}
.price-card__amount {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-card__currency {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: 6px;
}
.price-card__list {
  list-style: none; padding: 0; margin: 8px 0 0;
  display: grid; gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price-card__list li {
  padding-left: 18px;
  position: relative;
}
.price-card__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.price-disclaimer {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  padding: clamp(48px, 7vw, 80px) 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  margin-top: clamp(48px, 8vw, 96px);
}
.site-footer__grid {
  display: grid;
  gap: 36px;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
  }
}
.site-footer h4 {
  font-family: var(--mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 500;
}
.site-footer__brand .lede {
  max-width: 32ch;
  font-size: 19px;
  margin: 14px 0 0;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-soft); font-size: 14px; }
.site-footer a:hover { color: var(--accent); }
.site-footer__bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =========================================================
   FORM — iletisim
   ========================================================= */
.form-wrap {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .form-wrap { grid-template-columns: 1fr 1.2fr; gap: 64px; }
}
.contact-info {
  display: grid; gap: 22px;
}
.contact-info__block {
  display: grid; gap: 4px;
}
.contact-info__block .label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-mute);
}
.contact-info__block .value {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 21px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-info__block a { color: var(--ink); }
.contact-info__block a:hover { color: var(--accent); }

form.lead-form {
  display: grid; gap: 20px;
  background: var(--surface);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
}
.field { display: grid; gap: 8px; }
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--serif-body);
  font-size: 16px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
  background: var(--surface);
}
.field textarea { min-height: 140px; resize: vertical; font-family: var(--serif-body); }
.field-checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  font-family: var(--serif-body);
  font-size: 14px; color: var(--ink-soft);
  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);
}
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }

.form-msg {
  display: none;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
  font-size: 14px;
}
.form-msg.is-success { display: block; border-color: var(--accent-2); }
.form-msg.is-error { display: block; border-color: var(--accent); color: var(--accent); }

/* =========================================================
   COOKIE
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--surface);
  padding: 22px 22px 20px;
  border-radius: 10px;
  box-shadow: 0 24px 60px -22px rgba(0,0,0,.45);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), opacity 260ms;
  z-index: 1100;
  font-size: 13.5px;
  line-height: 1.5;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
/* .is-faded auto-hide on scroll-near-footer removed — banner stays until user choice */
.cookie-banner__title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.cookie-banner p { margin: 0 0 14px; }
.cookie-banner a { color: var(--surface); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cookie-banner a:hover { color: var(--accent); }
.cookie-banner__actions {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cookie-banner button {
  flex: 1 1 auto; min-height: 44px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: var(--surface);
  cursor: pointer;
  padding: 0 14px;
  border-radius: 999px;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  white-space: nowrap;
}
.cookie-banner button:hover, .cookie-banner button:focus-visible {
  background: var(--surface); color: var(--ink); border-color: var(--surface);
  transform: translateY(-1px);
}
.cookie-banner button[data-consent="reject"] {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
.cookie-banner button[data-consent="reject"]:hover,
.cookie-banner button[data-consent="reject"]:focus-visible {
  background: transparent; color: var(--surface); border-color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(0,0,0,.5);
}
.cookie-banner button[data-consent="settings"] {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: var(--surface);
}
.cookie-banner button[data-consent="settings"]:hover,
.cookie-banner button[data-consent="settings"]:focus-visible {
  background: rgba(255,255,255,.08); color: var(--surface); border-color: var(--surface);
}
.cookie-banner button[data-consent="accept"] {
  background: var(--accent); border-color: var(--accent); color: var(--surface);
  font-weight: 600;
}
.cookie-banner button[data-consent="accept"]:hover,
.cookie-banner button[data-consent="accept"]:focus-visible {
  background: #c66045; border-color: #c66045; color: var(--surface);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -14px rgba(184,84,58,.6);
}

@media (min-width: 768px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* =========================================================
   REVEAL ANIM — slow-tour rhythm: gentle drift + filter
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(2px);
  transition:
    opacity 720ms cubic-bezier(.22,.61,.36,1),
    transform 820ms cubic-bezier(.22,.61,.36,1),
    filter 720ms cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

/* Auto-stagger: children of certain grids fade in with cadence */
.diary > .reveal:nth-of-type(1) { transition-delay: .04s; }
.diary > .reveal:nth-of-type(2) { transition-delay: .14s; }
.diary > .reveal:nth-of-type(3) { transition-delay: .24s; }
.routes > .reveal:nth-of-type(1) { transition-delay: .06s; }
.routes > .reveal:nth-of-type(2) { transition-delay: .18s; }
.routes > .reveal:nth-of-type(3) { transition-delay: .30s; }
.pricing > .reveal:nth-of-type(1) { transition-delay: .06s; }
.pricing > .reveal:nth-of-type(2) { transition-delay: .18s; }
.pricing > .reveal:nth-of-type(3) { transition-delay: .30s; }

/* Hero divider — pedal-stroke draw-in */
.hero__divider { background-size: 200% 100%; background-position: 100% 0; transition: background-position 1200ms cubic-bezier(.22,.61,.36,1) 200ms; }
.hero__divider.is-in { background-position: 0 0; }
.hero__divider::after { transform: translateX(-50%) scale(0); transition: transform 460ms cubic-bezier(.18,1.4,.45,1) 1100ms; }
.hero__divider.is-in::after { transform: translateX(-50%) scale(1); }

/* Day number — slide in from rail */
.day.reveal .day__num { transform: translateX(-14px); opacity: .4; transition: transform 720ms cubic-bezier(.22,.61,.36,1) .12s, opacity 720ms ease .12s; }
.day.reveal.is-in .day__num { transform: translateX(0); opacity: 1; }

/* Headline letters — none, but lede gets a subtle italic settle */
.section-head h2 { letter-spacing: -0.018em; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .hero__photo img { animation: none !important; }
  .hero__divider { background-position: 0 0 !important; transition: none !important; }
  .hero__divider::after { transform: translateX(-50%) scale(1) !important; transition: none !important; }
  .day.reveal .day__num { transform: none !important; opacity: 1 !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
html.no-js .reveal { opacity: 1 !important; transform: none !important; }
html.no-js .hero__photo img { animation: none !important; }
html.no-js .drawer, html.no-js .drawer-backdrop { display: none; }
html.no-js details > .details__body, html.no-js details[open] > .details__body { display: block; max-height: none; }

/* =========================================================
   MICRO-INTERACTIONS — warm tuff glow & route-thread
   ========================================================= */
.eight-graphic svg text {
  transition: fill .4s ease, letter-spacing .6s cubic-bezier(.22,.61,.36,1);
}
.eight-graphic:hover svg text {
  fill: var(--accent);
  letter-spacing: 0;
}
.day__pull {
  position: relative;
  transition: border-left-color .35s ease, padding-left .4s cubic-bezier(.22,.61,.36,1);
}
.day__pull:hover {
  padding-left: 32px;
}
.equip-list li {
  transition: padding-left .35s cubic-bezier(.22,.61,.36,1), border-color .3s ease;
}
.equip-list li:hover {
  padding-left: 6px;
  border-bottom-color: var(--accent);
}
.equip-list li:hover .name { color: var(--accent); }
.equip-list .name { transition: color .25s ease; }

.contact-info__block {
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.contact-info__block:hover { transform: translateX(4px); }
.contact-info__block:hover .label { color: var(--accent); }
.contact-info__block .label { transition: color .25s ease; }

.site-footer ul li a {
  position: relative;
  display: inline-block;
  transition: color .25s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.site-footer ul li a:hover { transform: translateX(3px); }

.prose-toc a { transition: color .25s ease, border-left-color .25s ease, padding-left .35s cubic-bezier(.22,.61,.36,1); }
.prose-toc a:hover { padding-left: 14px; }

/* Stagger for prose body sections */
.prose-body section.reveal { transition-duration: 740ms; }
.prose-body section.reveal:nth-of-type(1) { transition-delay: .04s; }
.prose-body section.reveal:nth-of-type(2) { transition-delay: .12s; }
.prose-body section.reveal:nth-of-type(3) { transition-delay: .20s; }
.prose-body section.reveal:nth-of-type(4) { transition-delay: .28s; }
.prose-body section.reveal:nth-of-type(5) { transition-delay: .36s; }

/* Subtle warm glow ambient on price cards (tuff-lit dusk) */
.price-card { isolation: isolate; }
.price-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(184,84,58,.15), rgba(184,84,58,0) 70%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
  z-index: 0;
}
.price-card > * { position: relative; z-index: 1; }
.price-card:hover::before, .price-card:focus-within::before { opacity: 1; }
.price-card.is-featured::before {
  background: radial-gradient(closest-side, rgba(244,239,230,.12), rgba(244,239,230,0) 70%);
}

/* Schedule row hover — soft tuff highlight */
table.schedule tbody tr:hover td.event { color: var(--accent); }

/* Drawer link hover — slide rule */
.drawer__list a { position: relative; transition: color .25s ease, padding-left .35s cubic-bezier(.22,.61,.36,1); }
.drawer__list a:hover, .drawer__list a:focus-visible { padding-left: 10px; }

/* Brand mark steady drift on idle (subtle) */
@keyframes brandbreath {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(-2deg); }
}
.brand:not(:hover):not(:focus-visible) .brand__mark {
  animation: brandbreath 9s ease-in-out infinite;
}

/* Day number — warm tuff glow on hover (theme-specific dusk light) */
.day { position: relative; }
.day__num {
  position: relative;
  transition: color .35s ease, text-shadow .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
}
.day:hover .day__num,
.day:focus-within .day__num {
  text-shadow: 0 0 24px rgba(184, 84, 58, .35), 0 0 60px rgba(184, 84, 58, .12);
  transform: translateY(-2px);
}

/* Route card — pedal-stroke trail on hover */
.route-card__svg::after {
  content: "";
  position: absolute;
  left: -30%; top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, rgba(184,84,58,0) 0%, rgba(184,84,58,.18) 50%, rgba(184,84,58,0) 100%);
  opacity: 0;
  transform: skewX(-10deg);
  transition: opacity .3s ease, transform .9s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}
.route-card:hover .route-card__svg::after {
  opacity: 1;
  transform: translateX(420%) skewX(-10deg);
}

/* Hero photo — subtle tuff dust ambient */
.hero__photo {
  isolation: isolate;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 70% 20%, rgba(255, 220, 180, .14), transparent 55%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

/* CTA band — soft warm bloom */
.cta-band::before {
  content: "";
  position: absolute;
  left: -10%; top: -40%;
  width: 70%; height: 220%;
  background: radial-gradient(closest-side, rgba(184,84,58,.18), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -8%; bottom: -50%;
  width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(92,110,63,.12), transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}
.cta-band > * { position: relative; z-index: 1; }

/* Drawer — fade-in stagger for menu items */
.drawer__list a {
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .42s ease, transform .42s cubic-bezier(.22,.61,.36,1), padding-left .35s cubic-bezier(.22,.61,.36,1), color .25s ease;
}
.drawer.is-open .drawer__list a { opacity: 1; transform: translateX(0); }
.drawer.is-open .drawer__list li:nth-child(1) a { transition-delay: .06s; }
.drawer.is-open .drawer__list li:nth-child(2) a { transition-delay: .10s; }
.drawer.is-open .drawer__list li:nth-child(3) a { transition-delay: .14s; }
.drawer.is-open .drawer__list li:nth-child(4) a { transition-delay: .18s; }
.drawer.is-open .drawer__list li:nth-child(5) a { transition-delay: .22s; }
.drawer.is-open .drawer__list li:nth-child(6) a { transition-delay: .26s; }
.drawer.is-open .drawer__list li:nth-child(7) a { transition-delay: .30s; }
.drawer.is-open .drawer__list li:nth-child(8) a { transition-delay: .34s; }

@media (prefers-reduced-motion: reduce) {
  .day__num, .hero__photo::after, .cta-band::before, .cta-band::after,
  .drawer__list a, .route-card__svg::after,
  .day__pull, .equip-list li, .contact-info__block,
  .site-footer ul li a, .prose-toc a, .price-card::before,
  .brand__mark {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .drawer__list a { opacity: 1 !important; }
  .day__pull:hover, .equip-list li:hover, .contact-info__block:hover,
  .site-footer ul li a:hover, .prose-toc a:hover, .drawer__list a:hover {
    padding-left: inherit !important;
    transform: none !important;
  }
}

/* Ensure mobile viewport never horizontally scrolls due to fixed widgets */
@media (max-width: 1023px) {
  .route-rail { display: none !important; }
  .nav-desktop { display: none !important; }
}

/* Stronger focus ring for nav-toggle */
.nav-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* =========================================================
   STATIC PAGES (politika, hakkimizda etc.)
   ========================================================= */
.page-hero {
  padding: clamp(56px, 9vw, 96px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__eyebrow { margin-bottom: 18px; display: inline-block; }
.page-hero h1 {
  font-size: clamp(36px, 6vw, 72px);
  max-width: 18ch;
  margin-bottom: 18px;
}
.page-hero__lede {
  max-width: 60ch;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  line-height: 1.45;
}

.prose { padding: clamp(36px, 6vw, 64px) 0; }
.prose-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 900px) {
  .prose-grid { grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
}
.prose-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.prose-toc h4 { font-family: var(--mono); font-style: normal; color: var(--accent); margin-bottom: 14px; font-size: 11px; font-weight: 500; }
.prose-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.prose-toc a { color: var(--ink-mute); display: block; padding: 4px 0; border-left: 2px solid var(--line-soft); padding-left: 10px; }
.prose-toc a:hover, .prose-toc a.is-active { color: var(--accent); border-left-color: var(--accent); }

.prose-body { max-width: 760px; line-height: 1.7; }
.prose-body h2 { margin-top: 48px; margin-bottom: 16px; }
.prose-body h2:first-child { margin-top: 0; }
.prose-body h3 { margin-top: 28px; margin-bottom: 12px; font-size: 22px; }
.prose-body p { margin-bottom: 14px; color: var(--ink-soft); word-break: break-word; overflow-wrap: anywhere; }
.prose-body ul, .prose-body ol { padding-left: 22px; margin: 0 0 16px; color: var(--ink-soft); }
.prose-body li { margin-bottom: 6px; }
.prose-body a { color: var(--accent); text-decoration: underline; word-break: break-word; overflow-wrap: anywhere; }
.prose-body details { border-top: 1px solid var(--line-soft); margin-top: 0; }
.prose-body details:last-of-type { border-bottom: 1px solid var(--line-soft); }
.prose-body details > summary { list-style: none; cursor: pointer; padding: 14px 0; font-family: var(--serif-display); font-style: italic; font-size: 20px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.prose-body details > summary::-webkit-details-marker { display: none; }
.prose-body details > summary::after { content: "+"; font-family: var(--mono); font-style: normal; font-size: 18px; color: var(--accent); transition: transform .2s ease; flex-shrink: 0; }
.prose-body details[open] > summary::after { content: "–"; }
/* Smooth open/close: max-height animated by JS for cross-browser smoothness. */
:root { interpolate-size: allow-keywords; }
.details__body {
  padding: 0;
  overflow: hidden;
  color: var(--ink-soft);
  transition: padding-block-end 320ms cubic-bezier(.4,0,.2,1);
  will-change: max-height;
}
details[open] > .details__body {
  padding-block-end: 18px;
}
.details__body p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .details__body { transition: none; } }
.prose-body table.policy {
  border-collapse: collapse;
  width: 100%;
  background: var(--surface);
  display: table;
  table-layout: auto;
}
.prose-body table.policy { word-break: break-word; }
@media (max-width: 560px) {
  .prose-body { overflow-x: visible; }
  .prose-body table.policy { font-size: 13px; }
  .prose-body table.policy th, .prose-body table.policy td { padding: 9px 8px; word-break: break-word; }
}
.prose-body table.policy th,
.prose-body table.policy td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  vertical-align: top;
}
.prose-body table.policy th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--paper);
  font-weight: 500;
}

/* sitemap */
.sitemap-grid {
  display: grid; gap: 28px;
}
@media (min-width: 768px) {
  .sitemap-grid { grid-template-columns: repeat(3, 1fr); }
}
.sitemap-grid h3 { font-size: 22px; margin-bottom: 12px; }
.sitemap-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sitemap-grid a { font-size: 15px; }

/* 404 */
.page-404 {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: 64px 0;
}
.page-404 .num {
  font-family: var(--serif-display);
  font-style: italic;
  font-size: clamp(120px, 22vw, 240px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.page-404 h1 { font-size: clamp(32px, 5vw, 48px); margin: 12px 0 16px; }
.page-404 p { max-width: 50ch; margin: 0 auto 28px; color: var(--ink-soft); }

/* =========================================================
   UTIL
   ========================================================= */
.cta-band {
  background: var(--ink);
  color: var(--surface);
  padding: clamp(48px, 6vw, 72px) 0;
  margin: clamp(48px, 7vw, 80px) 0 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--surface); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 60ch; }
.cta-band .btn-ghost { color: var(--surface); border-color: rgba(255,255,255,.4); }
.cta-band .btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--surface); }
.cta-band .container {
  display: grid; gap: 24px;
}
@media (min-width: 768px) {
  .cta-band .container { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; }
}

@media print {
  .site-header, .drawer, .drawer-backdrop, .cookie-banner, .nav-toggle, .route-rail { display: none !important; }
  body { background: #fff; color: #000; }
  main { padding-top: 0; }
}

/* 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) — vadipedal: warm artisan, hand-drawn ink === */
.contact-info { gap: 26px; }
.contact-info__block {
  /* upgrade from 1-column grid to icon + content; preserve existing translateX hover above */
  grid-template-columns: 28px 1fr;
  grid-template-areas: "icon label" "icon value";
  align-items: start;
  column-gap: 14px;
  row-gap: 2px;
  padding: 8px 10px 10px 0;
  border-bottom: 1px dashed var(--line-soft);
  position: relative;
}
.contact-info__block:last-child { border-bottom: none; }
.contact-info__block .label { grid-area: label; align-self: end; }
.contact-info__block .value { grid-area: value; }
.contact-info__icon {
  grid-area: icon;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  color: var(--ink-mute);
  background: transparent;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  transition:
    color .35s ease,
    background-color .35s ease,
    border-color .35s ease,
    transform .55s cubic-bezier(.22,.61,.36,1);
  flex-shrink: 0;
}
.contact-info__icon svg {
  width: 16px;
  height: 16px;
  display: block;
  /* hand-drawn feel: subtle wobble baseline */
  transform: translate(0, 0) rotate(-1.5deg);
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.contact-info__block:hover .contact-info__icon {
  color: var(--accent);
  background: rgba(184, 84, 58, 0.08);
  border-color: rgba(184, 84, 58, 0.32);
  transform: rotate(-3deg);
}
.contact-info__block:hover .contact-info__icon svg {
  transform: translate(0.5px, -0.5px) rotate(2.5deg);
}
.contact-info__block:focus-within .contact-info__icon {
  color: var(--accent);
  background: rgba(184, 84, 58, 0.08);
  border-color: rgba(184, 84, 58, 0.32);
}
@media (max-width: 480px) {
  .contact-info__block {
    grid-template-columns: 24px 1fr;
    column-gap: 10px;
    padding-right: 0;
  }
  .contact-info__icon { width: 24px; height: 24px; }
  .contact-info__icon svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-info__icon, .contact-info__icon svg {
    transition: color .2s ease !important;
    transform: none !important;
  }
  .contact-info__block:hover .contact-info__icon,
  .contact-info__block:hover .contact-info__icon svg {
    transform: none !important;
  }
}
