/* =========================================================
   TriZaba Coffee Co. — /trizaba/
   Tam genişlikte tek bir 3B sahne, ışığı İstanbul
   saatine göre; arayüz renkleri dört hâlde de aynı. Yazı fildişi;
   yeşil yalnız tel, zaman rakamı, odak halkası ve ekran başına tek
   dolu birincil düğmede. Kart yok: yüzey yalnız form, oyun gösterge
   şeridi ve bölüm çekmecesinde.
   Kırılımlar: ≥ 960 yan yana · 600–959 dikey tablet · < 600 telefon.
   ========================================================= */

[data-site="trizaba"] {
  --tz-veil: color-mix(in oklab, var(--bg) 80%, transparent);
  --tz-tel: var(--accent);
  --tz-gutter: 24px;
  --tz-edge: 24px;
}
@media (max-width: 959px) { [data-site="trizaba"] { --tz-gutter: 20px; } }
@media (max-width: 599px) { [data-site="trizaba"] { --tz-gutter: 16px; --tz-edge: 20px; } }

html[data-site="trizaba"] { scroll-padding-top: calc(var(--nav-h) + 16px); }
html.tz-locked { overflow: hidden; }
[data-site="trizaba"] .shell { width: min(100% - 2 * var(--tz-edge), var(--shell)); }

/* display yazan her bileşen gizlenebilsin */
.tz [hidden], .tz-drawer[hidden], .tz-scrim[hidden], .tz-now[hidden] { display: none !important; }

/* İçerik gelene kadar: animasyonsuz durağan çubuk */
.tz-skel { display: block; width: var(--w, 100%); height: .78em; margin: .32em 0; border-radius: 2px; background: var(--hair-soft); }
.is-empty { color: var(--ink-mute); }
.tz-noscript { color: var(--ink-mute); }

/* Kaydırmayla belirme — yalnız bölüm başı, franchise listesi; bir kez.
   is-pending'i JS ekler, yalnız görünüm dışındaki öğeye: JS'siz sayfa görünür kalır. */
[data-reveal].is-pending {
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out-expo);
}
[data-reveal].is-pending.is-in { opacity: 1; transform: none; }

/* =========================================================
   Üst çubuk
   ========================================================= */
.sitebar__brand { min-height: 44px; align-items: center; }
/* Üst çubukta küçük rozet: 38 px yükseklikte rozet yazısı okunmaz, ad yanında kalır */
.tz-brand { gap: 10px; }
.tz-brand__rozet { --rz-h: 38px; filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / .4)); }
.sitebar__brand b { white-space: nowrap; }
.sitebar__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.site-switch a { white-space: nowrap; }
/* "TriZaba Coffee Co." adı uzadı: site anahtarı 560–699, 1024–1079 ve 1181–1239 px'te kesiliyordu
   (ölçüm: scrollWidth > clientWidth). "wearezaba.com" künyesi 1280 altında gizlenir, adlar nokta
   kipine 1099'da geçer. */
@media (max-width: 1279px) { .sitebar__brand small { display: none; } }
@media (min-width: 861px) and (max-width: 1279px) {
  .sitebar__inner { gap: 14px; }
  .sitebar__nav { gap: 16px; }
  .site-switch a { padding-inline: 9px; }
}
/* 861–1099: dört bölüm bağlantısı ile üç site adı sığmıyor; siteler nokta olarak kalır (≤ 860 davranışı) */
@media (min-width: 861px) and (max-width: 1099px) {
  .sitebar .site-switch a { display: inline-flex; align-items: center; min-width: 40px; min-height: 40px; justify-content: center; padding: 0; gap: 0; font-size: 0; }
  .sitebar .site-switch a::before { width: 9px; height: 9px; }
}
.sitebar__nav a[aria-current="true"] { color: var(--ink); }
.sitebar__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--tz-tel);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-3) var(--ease-out-expo);
}
.sitebar__nav a[aria-current="true"]::after, .sitebar__nav a:hover::after { transform: scaleX(1); }
.tz-sound svg { width: 19px; height: 19px; }
.tz-sound[aria-pressed="false"] { color: var(--ink-mute); }

.tz-menu-btn { display: none; }
.tz-menu-btn__label { font: 500 var(--step--2)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 860px) {
  .sitebar .tz-menu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 44px; height: 44px; padding: 0 12px; }
  .site-switch a { min-width: 40px; min-height: 40px; justify-content: center; padding: 0; }
}
@media (max-width: 599px) {
  .sitebar__inner { gap: 10px; }
  .sitebar__brand { gap: 8px; min-width: 0; }
  .sitebar__brand small { display: none; }
  .sitebar__brand b { font-size: var(--step-1); }
  .sitebar .site-switch { display: none; }
  .sitebar .tz-menu-btn { width: 44px; padding: 0; }
  .tz-menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (pointer: coarse) {
  .sitebar .icon-btn { width: 44px; height: 44px; }
  .sitebar .site-switch a { min-width: 44px; }
  .sitebar__nav a { min-width: 44px; justify-content: center; }
  .sitebar .site-switch a { min-height: 44px; }
}

/* =========================================================
   Kahraman
   ========================================================= */
/* Sahne: piksel sanat tuvali (tz-pixel.js). Tuvalin boyu ve konumu betikte, tam sayı ölçekle;
   kap (.tz-pixel) taşanı kırpar. Dar ekranda metnin üstünde bant, geniş ekranda sağ yarıda
   kahramanın zemini; sol kenarı tuvalin içinde titreşimli geçişle zemine erir. */
.tz-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; --tz-band: clamp(300px, 46vw, 420px); }
.tz-hero__stage { position: relative; height: var(--tz-band); }
.tz-hero__grid { order: 2; }
.tz-hero__canvas { opacity: 0; transition: opacity 600ms var(--ease-out); touch-action: pan-y; cursor: pointer; }
.tz-hero__canvas.is-ready { opacity: 1; }

.tz-hero__grid { position: relative; z-index: 1; padding-block: 28px 64px; }
.tz-hero__copy { display: flex; flex-direction: column; }
/* Marka imzası: rozet logo + saç teli + iki satır mono künye (müşteri isteği: kahramanda logo;
   18.10.2026 baskı dosyasındaki yuvarlak rozet T monogramının yerini aldı) */
.tz-hero__brand {
  order: 1; display: flex; align-items: center; gap: clamp(16px, 1.5vw, 24px);
  animation: tz-brand-in 900ms var(--ease-out-expo) both;
}
/* Rozet: koyu zeminde siyah T/Z kaybolmasın diye krem kesim paylı "çıkartma" sürümü.
   Yükseklik tek değişkenden (--rz-h), genişlik görselin 720×804 oranından gelir. */
.tz-rozet { display: block; flex: none; width: auto; height: var(--rz-h, 40px); aspect-ratio: 720 / 804; max-width: none; }
.tz-hero__mark { --rz-h: clamp(112px, 3.6rem + 7vw, 176px); flex: none; display: block; perspective: 600px; }
/* Gerçek çıkartma: iki katmanlı kısa, koyu gölge (parlama yok); girişte hafif eğik ve büyük
   gelip yüzeye "yapışır". Dinlenme hâli dik: logo eğilmeden durur. */
.tz-hero__rozet {
  height: var(--rz-h);
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / .45)) drop-shadow(0 8px 12px rgb(0 0 0 / .32));
  transform-origin: 50% 60%;
  animation: tz-rozet-in 820ms var(--ease-hop) 120ms both;
  transition: transform 420ms var(--ease-out-expo);
}
@keyframes tz-rozet-in {
  0%   { opacity: 0; transform: translate3d(0, 10px, 0) rotate(-9deg) scale(1.14); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@media (hover: hover) and (pointer: fine) {
  .tz-hero__mark:hover .tz-hero__rozet { transform: translate3d(0, -2px, 0) rotate(-2deg); }
}
.tz-hero__kicker {
  display: grid; gap: 7px; min-width: 0;
  padding-left: clamp(16px, 1.5vw, 24px); border-left: 1px solid var(--hair);
  font: 500 var(--step--2)/1.35 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
}
.tz-hero__name { color: var(--ink); font-size: clamp(.78rem, .7rem + .3vw, .95rem); letter-spacing: .16em; white-space: nowrap; }
@keyframes tz-brand-in { from { opacity: 0; transform: translate3d(0, 12px, 0); } }
/* Başlık uzun iki cümle: her cümle kendi satırında kalsın diye boy genişlikle ölçeklenir
   (en uzun satır ≈ 9,2 em). Telefonda her cümle dengeli iki satıra iner. */
.tz-hero__title {
  order: 2; margin: 26px 0 22px;
  font-size: clamp(2.2rem, 9vw, 4.4rem); font-weight: 400; line-height: 1.04; letter-spacing: -.03em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.tz-hero__title em { font-style: italic; color: var(--ink); }
.tz-hero__line { display: block; animation: tz-line 700ms var(--ease-out-expo) both; }
.tz-hero__line + br + .tz-hero__line { animation-delay: 80ms; }
.tz-hero__title br { display: none; }
/* Satır kendi taban çizgisinden yükselir. Opaklık yok: 0 opaklık LCP adayını geciktirir
   (H1 LCP öğesi kalmalı). Alt kırpma kaymayla aynı 24 px'ten başlar, kayan metin asıl
   yerinin altına (alt başlığın üstüne) hiç taşmaz; sonunda kuyruk ve aksan payı açılır. */
@keyframes tz-line {
  from { transform: translate3d(0, 24px, 0); clip-path: inset(-1em -.25em 24px -.25em); }
  to { transform: translate3d(0, 0, 0); clip-path: inset(-1em -.25em -.5em -.25em); }
}
.tz-hero__sub { order: 3; max-width: 40ch; font-size: var(--step-1); line-height: 1.5; color: var(--ink-dim); }
.tz-hero__nowbox { order: 4; margin-top: 22px; min-height: calc(12px * 1.45); }
.tz-hero__actions { order: 5; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* "Şu an" satırı: 24×1 px tel + mono 12 px */
.tz-now { display: flex; align-items: baseline; gap: 12px; font: 500 12px/1.45 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.tz-now__tel { flex: none; align-self: center; width: 24px; height: 1px; background: var(--tz-tel); }
.tz-now__text { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 2px; min-width: 0; }
.tz-now__text > :first-child { color: var(--ink); }
.tz-now__text > * + * { color: var(--ink-dim); }
/* Saat bilgisi gelince: tel soldan çizilir, metin ardından belirir. Satır hidden'dan
   çıkınca bir kez oynar; dakika güncellemesi hidden'ı değiştirmediği için yeniden oynamaz. */
.tz-hero .tz-now__tel, .tz-drawer.is-open .tz-now__tel { transform-origin: 0 50%; animation: tz-tel-in 420ms var(--ease-out-expo) both; }
.tz-hero .tz-now__text, .tz-drawer.is-open .tz-now__text { animation: tz-fade-in 320ms var(--ease-out) 90ms both; }
@keyframes tz-tel-in { from { transform: scaleX(0); } }
@keyframes tz-fade-in { from { opacity: 0; } }

/* Işık seçici: yalnız sahneyi önizler. Dar ekranda bandın hemen altında akışta (kurbağanın
   ayakları ve ıslak zemin yansıması örtülmesin); yan yana yerleşimde sahnenin sağ alt köşesinde. */
.tz-hal {
  order: 1; position: relative; z-index: 2; margin: 12px var(--tz-edge) 0;
  display: flex; align-items: center; gap: 2px; padding: 3px;
  background: var(--tz-veil); border: 1px solid var(--hair); border-radius: var(--r-1);
}
.tz-hal__label { flex: none; padding: 0 10px 0 9px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.tz-hal button {
  flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 2px; background: transparent; color: var(--ink-dim); cursor: pointer;
  font: 500 var(--step--1)/1 var(--font-body);
  transition: background var(--dur-2), color var(--dur-2), box-shadow var(--dur-2);
}
.tz-hal button:hover { color: var(--ink); }
.tz-hal button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); box-shadow: inset 0 -1px 0 var(--tz-tel); }
.tz-hal__now { font: 500 10px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }

/* Teşekkür kurbağası (SVG) */
.f-skin { fill: var(--frog-skin); }
.f-shade { fill: var(--frog-skin-shade); }
.f-belly { fill: var(--frog-belly); }
.f-eye { fill: var(--frog-eye); }
.f-pupil { fill: var(--frog-pupil); }
.f-mouth { fill: var(--frog-mouth); }
.f-cheek { fill: var(--frog-cheek); }
.f-line { fill: none; stroke: var(--frog-mouth); stroke-width: 3; stroke-linecap: round; }

/* Yan yana (kısa format, en çok 720 px): sahne sağda, metin 1–6. kolonda. Yatay telefonda da
   (yükseklik ≤ 560): üstte bant + altında metin olunca H1 ilk ekranın dışında kalıyordu. */
@media (min-width: 960px), (orientation: landscape) and (min-width: 600px) and (max-height: 560px) {
  .tz-hero { min-height: clamp(520px, 72svh, 720px); display: grid; align-items: center; }
  .tz-hero__stage { position: absolute; top: 0; bottom: 0; right: 0; left: 36%; height: auto; z-index: 0; }
  .tz-hero__grid { pointer-events: none; padding-block: 36px 56px; }
  .tz-hero__copy { pointer-events: auto; width: min(100%, calc((100% - 11 * var(--tz-gutter)) / 12 * 6 + 5 * var(--tz-gutter))); }
  .tz-hero__mark { --rz-h: clamp(88px, 1.5rem + 5vw, 132px); }
  .tz-hero__title { margin: 22px 0 18px; font-size: clamp(2.2rem, 4.5vw, 4.4rem); }
  .tz-hero__line { white-space: nowrap; }
  .tz-hal { position: absolute; margin: 0; left: auto; right: max(var(--tz-edge), (100% - var(--shell)) / 2); bottom: 24px; }
  .tz-hal button { flex: none; min-height: 36px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .tz-hero__stage { left: 40%; }
  .tz-hero__copy { width: calc((100% - 11 * var(--tz-gutter)) / 12 * 6 + 5 * var(--tz-gutter)); }
}
@media (min-width: 960px) and (pointer: coarse) { .tz-hal button { min-height: 44px; } }
@media (orientation: landscape) and (min-width: 600px) and (max-height: 560px) {
  .tz-hero { min-height: calc(100svh - var(--nav-h)); }
  .tz-hero__stage { left: 46%; }
  .tz-hero__grid { padding-block: 16px 20px; }
  .tz-hero__copy { width: calc((100% - 11 * var(--tz-gutter)) / 12 * 6 + 5 * var(--tz-gutter)); }
  .tz-hero__title { margin: 10px 0 12px; font-size: clamp(1.5rem, 4.2vw, 2.4rem); }
  .tz-hero__mark { --rz-h: 72px; }
  .tz-hero__nowbox { margin-top: 14px; }
  .tz-hero__actions { margin-top: 18px; }
  .tz-hal { bottom: 12px; }
  .tz-hal button { min-height: 44px; }
}
@media (orientation: landscape) and (min-width: 600px) and (max-height: 560px) {
  .tz-hero__nowbox { margin-top: 10px; }
  .tz-hero__actions { margin-top: 14px; }
}

@media (max-width: 599px) {
  .tz-hero { --tz-band: clamp(250px, 80vw, 340px); }
  /* 320 px: eşit üç düğmede "ŞU AN" eki iki satıra kırılıyordu; ekli düğme payını alır */
  .tz-hal button { flex: 1 1 auto; padding: 0 6px; gap: 6px; white-space: nowrap; }
  .tz-hero__grid { padding-block: 22px 48px; }
  .tz-hero__title { margin: 16px 0 14px; font-size: clamp(1.9rem, 9.4vw, 2.6rem); line-height: 1.06; text-wrap: balance; animation: tz-line 700ms var(--ease-out-expo) both; }
  .tz-hero__mark { --rz-h: 88px; }
  /* Telefonda iki satır tek blok: satır kutusu alt başlıktan küçük kalıp LCP adaylığını kaybetmesin */
  .tz-hero__line { display: inline; animation: none; }
  .tz-hero__title br { display: inline; }
  .tz-hero__nowbox { order: 3; margin: 0 0 16px; }
  .tz-hero__sub { order: 4; }
  .tz-hero__actions { flex-direction: column; margin-top: 24px; }
  .tz-hero__actions .btn { width: 100%; min-height: 52px; }
}

/* =========================================================
   Kayan yazılar — düz, tek kesim, eğimsiz
   ========================================================= */
/* LED tabela (marquee.css): adım 5 / 6 / 7 px — TriZaba'da biraz daha sakin boy */
.tz-mq { margin-bottom: var(--sp-section); }
@media (min-width: 1200px) { .tz-mq { --led: 7px; } }
.tz-mq-mono { margin-bottom: var(--sp-section); }

.tz-notice {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-block: calc(var(--sp-section) * -0.5) var(--sp-8); padding: 14px 18px;
  border: 1px solid var(--hair); border-radius: var(--r-1); color: var(--ink-dim); font-size: var(--step--1);
}
.tz-notice[hidden] { display: none; }

/* =========================================================
   Bölüm iskeleti: kabuk genişliğinde tel, solda H2, sağda tek mono satır
   ========================================================= */
.tz-sec { padding-bottom: var(--sp-section); }
.tz-sec:focus { outline: none; }
.tz-sec__head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 32px;
  padding-top: clamp(22px, 2vw, 30px); margin-bottom: clamp(36px, 4vw, 60px);
  border-top: 1px solid var(--hair);
}
.tz-sec__head h2 {
  font-size: var(--step-5); font-weight: 400; line-height: 1; letter-spacing: -.025em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
}
.tz-sec__meta {
  padding-bottom: 6px; text-align: right;
  font: 500 var(--step--2)/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  font-variant-numeric: tabular-nums; color: var(--ink-mute);
}
.tz-sec__meta:empty { display: none; }
@media (max-width: 599px) {
  .tz-sec__head { grid-template-columns: minmax(0, 1fr); }
  .tz-sec__meta { text-align: left; padding-bottom: 0; }
}

/* =========================================================
   Hakkımızda
   ========================================================= */
.tz-about__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--tz-gutter); align-items: start;
}
.tz-about__lead {
  grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 32px);
  font: 400 var(--step-4)/1.12 var(--font-display); letter-spacing: -.015em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0; color: var(--ink);
}
.tz-about__prose { grid-column: 7 / 13; max-width: 58ch; font-size: var(--step-1); line-height: 1.6; color: var(--ink-dim); }
.tz-about__prose p + p { margin-top: 1em; }
.tz-about__prose .tz-about__end {
  margin-top: 1.6em; font: italic 400 var(--step-3)/1.15 var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 60, "WONK" 1; color: var(--ink);
}

/* =========================================================
   Ziyaret — doğrudan zemine
   ========================================================= */
.tz-visit__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--tz-gutter); align-items: start; }
.tz-visit__where { grid-column: 1 / 7; min-width: 0; }
.tz-visit__info { grid-column: 8 / 13; min-width: 0; }
.tz-visit__address {
  max-width: 22ch; font: normal 400 var(--step-4)/1.12 var(--font-display); letter-spacing: -.015em;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0; overflow-wrap: anywhere;
}
.tz-visit__map { margin-top: 18px; }
.tz-visit__map[hidden] { display: none; }
.tz-visit__now { margin-top: 22px; }
.tz-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink);
  font: 500 var(--step--2)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
}
.tz-link span { padding-bottom: 4px; border-bottom: 1px solid var(--tz-tel); }
.tz-link svg { width: 16px; height: 16px; color: var(--ink-mute); }
.tz-link:hover span { border-bottom-color: var(--accent-strong); }

.tz-contact { margin: 0; border-top: 1px solid var(--hair); }
.tz-contact__row {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px;
  min-height: 64px; border-bottom: 1px solid var(--hair);
}
.tz-contact__row dt { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.tz-contact__row dd { margin: 0; min-width: 0; font: 400 var(--step-2)/1.2 var(--font-display); font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0; }
.tz-contact__row a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 63px; color: var(--ink); text-decoration: none; }
.tz-contact__row a > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.tz-contact__row a::after { content: ""; position: absolute; inset: 0; }
.tz-contact__row a:focus-visible { outline: none; }
.tz-contact__row a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.tz-ext { flex: none; display: inline-flex; color: var(--ink-mute); transform: rotate(-45deg); transition: transform var(--dur-3) var(--ease-out-expo), color var(--dur-2); }
.tz-ext svg { width: 18px; height: 18px; }
.tz-contact__row a:hover .tz-ext { color: var(--ink); transform: translate(3px, -3px) rotate(-45deg); }

.tz-hours { margin: 32px 0 0; display: grid; gap: 12px; }
.tz-hours > div { display: flex; align-items: baseline; gap: 10px; }
/* Uzun gün adı ("Cumartesi, Pazar ve resmî tatiller") satır kırar; 320 px'te sayfayı 404 px'e genişletiyordu */
.tz-hours dt { min-width: 0; color: var(--ink-dim); }
.tz-hours > div::before { content: ""; order: 1; flex: 1; min-width: 20px; border-bottom: 1px dotted var(--hair); transform: translateY(-4px); }
.tz-hours dd { order: 2; margin: 0; font: 400 var(--step-1)/1 var(--font-display); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

/* =========================================================
   Franchise
   ========================================================= */
.tz-fr__text { max-width: 62ch; font-size: var(--step-1); line-height: 1.6; color: var(--ink-dim); }
.tz-fr__text p + p { margin-top: 1em; }
.tz-fr__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--tz-gutter); margin-top: var(--sp-8); align-items: start; }
.tz-fr__aside { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 32px); }
.tz-fr__panel { grid-column: 7 / 13; padding: 40px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-3); min-width: 0; }
.tz-fr__block[hidden] { display: none; }
.tz-fr__block + .tz-fr__block { margin-top: 48px; }
.tz-fr__block h3 { margin-bottom: 14px; font: 500 var(--step-3)/1.1 var(--font-display); font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0; }
.tz-fr__points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair-soft); }
.tz-fr__points li { padding: 13px 0; border-bottom: 1px solid var(--hair-soft); line-height: 1.45; }
.tz-fr__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tz-fr__steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: baseline; color: var(--ink-dim); line-height: 1.5; }
.tz-fr__n { font: 400 var(--step-2)/1 var(--font-display); font-variant-numeric: lining-nums; color: var(--accent); }

.tz-form__title { margin-bottom: 26px; font: 500 var(--step-3)/1.1 var(--font-display); font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0; }
.tz-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.tz-form__wide { grid-column: 1 / -1; }
.tz-form .input, .tz-form .textarea { min-height: 48px; background: var(--surface-2); }
.tz-form .input { height: 48px; padding-block: 0; }
.tz-form .input[aria-invalid="true"], .tz-form .textarea[aria-invalid="true"] { border-color: var(--hair); border-bottom-color: var(--danger); }
/* Odak, hata çizgisinin altında kaybolmasın: hatalı alana gönderimde odak gidiyor ve
   1 px yeşil kenar hata kuralına yeniliyordu. İkinci piksel gölgeyle, alt çizgi kırmızı kalır. */
.tz-form .input:focus, .tz-form .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.tz-form .input[aria-invalid="true"]:focus, .tz-form .textarea[aria-invalid="true"]:focus { border-color: var(--accent); border-bottom-color: var(--danger); box-shadow: 0 0 0 1px var(--accent); }
.tz-form .field-error { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.tz-form .field-error:not(:empty)::before { content: ""; flex: none; width: 10px; height: 1px; background: var(--danger); }
.tz-form__opt { margin-left: 4px; font-style: normal; text-transform: none; letter-spacing: 0; font-family: var(--font-body); color: var(--ink-mute); }
.tz-form__count { justify-self: end; font: 500 11px/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--ink-mute); }
.tz-form__count.is-near { color: var(--ink); }

.tz-plans-set { min-width: 0; margin: 0; padding: 0; border: 0; }
.tz-plans-set legend { margin-bottom: 7px; padding: 0; font: 500 var(--step--2)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.tz-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tz-chip { position: relative; display: flex; }
.tz-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tz-chip span {
  flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; text-align: center;
  border: 1px solid var(--hair); border-radius: var(--r-1); background: var(--surface-2); color: var(--ink-dim);
  font-size: var(--step--1); line-height: 1.25; transition: border-color var(--dur-2), color var(--dur-2);
}
.tz-chip:hover span { border-color: color-mix(in oklab, var(--ink) 30%, transparent); }
.tz-chip input:checked + span { color: var(--ink); border-color: var(--ink-mute); box-shadow: inset 0 -2px 0 var(--tz-tel); }
.tz-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tz-plans[aria-invalid="true"] .tz-chip span { border-bottom-color: var(--danger); }

.tz-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.tz-check { min-height: 44px; align-items: center; }
.tz-check input { margin-top: 0; }
.tz-kvkk { margin-left: 28px; color: var(--ink-mute); font-size: var(--step--1); }
.tz-kvkk summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute);
}
.tz-kvkk summary::-webkit-details-marker { display: none; }
.tz-kvkk summary::before { content: "+"; font-family: var(--font-mono); color: var(--ink); }
.tz-kvkk[open] summary::before { content: "–"; }
.tz-kvkk p { max-width: 60ch; line-height: 1.55; }

.tz-form__summary { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--ink); font-size: var(--step--1); }
.tz-form__summary::before { content: ""; flex: none; width: 10px; height: 1px; background: var(--danger); }
.tz-form__summary[hidden] { display: none; }
.tz-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--hair-soft); }
.tz-form__submit span[data-ikon] { display: inline-flex; }
.tz-form__note { font: 500 11px/1.4 var(--font-mono); letter-spacing: .08em; color: var(--ink-mute); }

.tz-thanks { outline: none; }
.tz-thanks[hidden] { display: none; }
.tz-thanks__frog { width: 132px; height: auto; margin-bottom: 22px; overflow: visible; transform-origin: 50% 100%; animation: tz-thanks-hop .9s var(--ease-hop) both; }
@keyframes tz-thanks-hop { 0% { opacity: 0; transform: translateY(40px) scale(.9, 1.1); } 55% { opacity: 1; transform: translateY(-14px) scale(.96, 1.05); } 78% { transform: translateY(0) scale(1.06, .92); } 100% { transform: none; } }
.tz-thanks h3 { margin-bottom: 12px; font: 400 var(--step-4)/1.1 var(--font-display); letter-spacing: -.02em; }
.tz-thanks p { max-width: 46ch; margin-bottom: 24px; color: var(--ink-dim); }

/* =========================================================
   Alt bilgi
   ========================================================= */
.tz-foot__brand .sitebar__brand { margin-bottom: 14px; }
.tz-foot__mark { gap: 14px; }
.tz-foot__rozet { --rz-h: 76px; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .4)) drop-shadow(0 6px 10px rgb(0 0 0 / .25)); }
/* "TriZaba Coffee Co." uzun: iki sütunlu alt bilgide (≤ 760) künye tek sütuna sığmayıp 320 px'te
   sayfayı 335 px'e genişletiyordu. Künye tam satır, bağlantılar altında iki sütun. */
@media (max-width: 760px) { .tz-foot__brand { grid-column: 1 / -1; } }
.tz-foot__tag { max-width: 30ch; font: 400 var(--step-1)/1.4 var(--font-display); font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0; color: var(--ink-dim); }

/* =========================================================
   Bölüm çekmecesi (< 860 px)
   ========================================================= */
.tz-drawer { width: min(100vw, 420px); padding: 0 20px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.tz-drawer__head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.tz-drawer__title, .tz-drawer__label { font: 500 var(--step--2)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.tz-drawer .tz-drawer__close { width: 44px; height: 44px; }
.tz-drawer__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.tz-drawer__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px;
  border-bottom: 1px solid var(--hair); color: var(--ink); text-decoration: none;
}
.tz-drawer__links a > span { font: 400 var(--step-4)/1 var(--font-display); letter-spacing: -.015em; font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0; }
.tz-drawer__links small { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); white-space: nowrap; }
.tz-drawer__links a[aria-current="true"] small::before { content: ""; width: 16px; height: 1px; background: var(--tz-tel); }
.tz-drawer__now { margin: 24px 0 0; }
.tz-drawer__label { margin: 36px 0 6px; }
.tz-drawer .tz-drawer__sites { display: flex; flex-direction: column; border: 0; border-radius: 0; overflow: visible; }
.tz-drawer .tz-drawer__sites a {
  gap: 12px; min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--hair-soft); background: none;
  font: 400 var(--step-0)/1 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--ink-dim); justify-content: flex-start;
}
.tz-drawer .tz-drawer__sites a::before { width: 8px; height: 8px; }
.tz-drawer .tz-drawer__sites a[aria-current="page"] { color: var(--ink); }
@media (max-width: 559px) { .tz-drawer { width: 100vw; border-left: 0; } }

/* Açılış: panel zaba.css'teki 600 ms ease-out-expo ile gelir; satırlar panelin
   oturuşunu elle düzensiz gecikmelerle izler (follow-through). Kapanış hızlı ve
   hızlanarak: 280 ms, satırlar yerinde kalır. trizaba-nav.js CLOSE_MS bu süreye bağlı. */
/* :where — taban 0-2-0 kalır; :is() en ağır argümanı (li, 0-1-1) alıp aşağıdaki gecikmeleri eziyordu */
.tz-drawer.is-open :where(.tz-drawer__links li, .tz-drawer__now, .tz-drawer__label, .tz-drawer__sites) {
  animation: tz-drawer-item 460ms var(--ease-out-expo) both;
}
.tz-drawer.is-open .tz-drawer__links li:nth-child(1) { animation-delay: 70ms; }
.tz-drawer.is-open .tz-drawer__links li:nth-child(2) { animation-delay: 115ms; }
.tz-drawer.is-open .tz-drawer__links li:nth-child(3) { animation-delay: 170ms; }
.tz-drawer.is-open .tz-drawer__links li:nth-child(4) { animation-delay: 205ms; }
.tz-drawer.is-open .tz-drawer__now { animation-delay: 250ms; }
.tz-drawer.is-open .tz-drawer__label { animation-delay: 285ms; }
.tz-drawer.is-open .tz-drawer__sites { animation-delay: 300ms; }
.tz-drawer.is-open .tz-now__tel { animation-delay: 300ms; }
.tz-drawer.is-open .tz-now__text { animation-delay: 390ms; }
@keyframes tz-drawer-item { from { opacity: 0; transform: translate3d(28px, 0, 0); } }
.tz-drawer:not(.is-open) { transition: transform 280ms cubic-bezier(.4, 0, .7, .2); }
.tz-scrim:not(.is-open) { transition-duration: 220ms; }

/* =========================================================
   Duyarlı düzen
   ========================================================= */
@media (max-width: 959px) {
  .tz-about__grid { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .tz-about__lead { grid-column: auto; position: static; }
  .tz-about__prose { grid-column: auto; }
  .tz-visit__where { grid-column: 1 / 7; }
  .tz-visit__info { grid-column: 7 / 13; }
  .tz-fr__grid { grid-template-columns: minmax(0, 1fr); }
  .tz-fr__aside, .tz-fr__panel { grid-column: auto; }
  .tz-fr__aside { position: static; }
}
@media (max-width: 599px) {
  .tz-visit__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .tz-visit__where, .tz-visit__info { grid-column: auto; }
  .tz-visit__address { font-size: var(--step-3); }
  .tz-contact__row { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 56px; padding-block: 10px; }
  .tz-contact__row a { min-height: 0; }
  .tz-fr__panel { padding: 24px 20px; }
  .tz-form__grid { grid-template-columns: minmax(0, 1fr); }
  .tz-plans { grid-template-columns: minmax(0, 1fr); }
  .tz-form__submit { width: 100%; min-height: 52px; }
}
@media (max-width: 599px), (pointer: coarse) {
  .tz-form .input, .tz-form .textarea { font-size: 16px; }
}
@media (pointer: coarse) {
  .site-footer ul { gap: 0; }
  .site-footer li > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .btn--sm { min-height: 44px; }
}

/* Azaltılmış hareket: hareket durur, içerik kalır. zaba.css süreleri .01ms yapar ama
   gecikmeyi sıfırlamaz: gecikmeli "both" animasyonu ilk karesinde (opaklık 0, ölçek 0)
   bekletirdi. Bu yüzden her biri burada adıyla kapatılır. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-pending { opacity: 1; transform: none; transition: none; }
  .tz-hero__brand, .tz-hero__rozet { animation: none; }
  .tz-hero__mark:hover .tz-hero__rozet { transform: none; }
  /* Ağırlıklar kapattıkları kuralınkine eşit ya da üstünde (bu blok sonra geldiği için eşit yeter) */
  .tz-hero__line, .tz-hero__title, .tz-thanks__frog, .tz-hero :is(.tz-now__tel, .tz-now__text) { animation: none; }
  .tz-drawer.is-open :is(.tz-drawer__links li, .tz-drawer__now, .tz-drawer__label, .tz-drawer__sites, .tz-now__tel, .tz-now__text) { animation: none; }
}

/* =========================================================
   Basılı hâl: .btn zaba.css'te 1 px oturuyor; aynı his ikon
   düğmelerinde, ışık seçicide, çiplerde ve çekmece satırlarında
   ========================================================= */
.sitebar .icon-btn:active, .tz-drawer .icon-btn:active, .tz-hal button:active { transform: translateY(1px); background: var(--surface-2); }
.tz-chip:active span { transform: translateY(1px); }
.tz-drawer__links a:active, .tz-drawer .tz-drawer__sites a:active { background: var(--surface-2); }
.tz-contact__row a:active .tz-ext { color: var(--ink); transform: translate(3px, -3px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .sitebar .icon-btn:active, .tz-drawer .icon-btn:active, .tz-hal button:active, .tz-chip:active span { transform: none; }
}
