/* =========================================================================
   Components — butonlar, etiketler, kartlar, form, timeline, rakamlar
   ========================================================================= */

/* ------------------------------------------------------------- Etiketler */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: var(--fs-eyebrow); font-weight: 500;
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--color-muted);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--color-accent); flex: none;
}
.eyebrow--plain::before { display: none; }
.section--dark .eyebrow { color: var(--color-stone); }

.index-num {
  font-family: var(--font-display); font-size: var(--fs-xs);
  letter-spacing: .16em; color: var(--color-accent-ink);
}

/* --------------------------------------------------------------- Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  padding: 17px 34px; min-height: 54px;
  background: var(--color-text); color: var(--color-bg);
  border: 1px solid var(--color-text); border-radius: var(--radius);
  font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background var(--duration-fast) var(--ease),
              color var(--duration-fast) var(--ease),
              border-color var(--duration-fast) var(--ease);
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform var(--duration-fast) var(--ease); }
.btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.btn:hover svg { transform: translateX(5px); }

.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-line-strong); }
.btn--ghost:hover { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }

.btn--light { background: var(--color-bg); color: var(--color-text); border-color: var(--color-bg); }
.btn--light:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }

.btn--outline-light { background: transparent; color: var(--color-text-invert); border-color: rgba(243, 247, 251,.34); }
.btn--outline-light:hover { background: var(--color-bg); color: var(--color-text); border-color: var(--color-bg); }

.btn--sm { padding: 13px 24px; min-height: 44px; }

.btn-group { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-md); }

/* Metin bağlantısı */
.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 8px; position: relative;
}
.arrow-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; opacity: .28;
  transition: opacity var(--duration-fast), background var(--duration-fast);
}
.arrow-link svg { width: 13px; height: 13px; transition: transform var(--duration) var(--ease); }
.arrow-link:hover svg { transform: translate(4px, -4px); }
.arrow-link:hover::after { opacity: 1; background: var(--color-accent); }

/* Telefon linki */
.phone-link {
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500;
  letter-spacing: .02em; color: var(--color-text); white-space: nowrap;
  transition: color var(--duration-fast) var(--ease);
}

.phone-link:hover { color: var(--color-accent-ink); }

/* --------------------------------------------------------------- Metinler */
.lead {
  font-size: var(--fs-lead); line-height: 1.65; color: var(--color-muted-dark);
  max-width: 54ch;
}
.section--dark .lead { color: var(--color-stone); }
.measure { max-width: 62ch; }

.statement {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.6rem, 3.1vw, 3.05rem);
  line-height: 1.16; letter-spacing: -.028em;
  text-wrap: balance;
}
/* Tarihçenin altındaki kapanış cümlesi — tarihçenin son çizgisi zaten
   ayırıcı görevi görüyor, ikinci bir çizgi çift hat oluşturuyordu. */
.statement--closing {
  margin-top: clamp(34px, 4vw, 64px);
  font-size: clamp(1.35rem, 2.3vw, 2.25rem);
  color: var(--color-text);
}

/* -------------------------------------------------------- Proje kartları */
.project-card { display: block; position: relative; }
.project-card__media {
  display: block; position: relative; overflow: hidden; background: var(--color-bg-alt);
  aspect-ratio: 3 / 2;
}
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease), filter var(--duration) var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.035); filter: brightness(.94); }
.project-card--tall .project-card__media { aspect-ratio: 3 / 4; }
.project-card--wide .project-card__media { aspect-ratio: 16 / 9; }

.project-card__index {
  position: absolute; left: 20px; top: 18px; z-index: 2;
  font-family: var(--font-display); font-size: var(--fs-xs);
  letter-spacing: .16em; color: rgba(243, 247, 251, .95);
  text-shadow: 0 1px 8px rgba(23, 69, 107, .55);
}
.project-card__status {
  position: absolute; right: 18px; top: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(23, 69, 107, .72); color: var(--color-bg);
  padding: 7px 12px; font-size: var(--fs-xs); letter-spacing: .1em;
  text-transform: uppercase; backdrop-filter: blur(4px);
}
.project-card__status i {
  width: 5px; height: 5px; background: var(--color-accent); border-radius: 50%; flex: none;
}
.project-card__body {
  display: flex; padding-top: var(--space-sm);
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm);
}
.project-card__body h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.75rem); margin-bottom: 8px;
  transition: color var(--duration-fast) var(--ease);
}
.project-card:hover .project-card__body h3 { color: var(--color-accent); }
.project-card__meta {
  font-size: var(--fs-sm); color: var(--color-muted-dark);
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.project-card__go {
  flex: none; margin-top: 6px;
  width: 42px; height: 42px; border: 1px solid var(--color-line-strong);
  display: grid; place-items: center;
  transition: background var(--duration-fast) var(--ease), border-color var(--duration-fast), color var(--duration-fast);
}
.project-card__go svg { width: 14px; height: 14px; transition: transform var(--duration) var(--ease); }
.project-card:hover .project-card__go { background: var(--color-text); border-color: var(--color-text); color: var(--color-bg); }
.project-card:hover .project-card__go svg { transform: translate(3px, -3px); }
.section--dark .project-card__go { border-color: var(--color-line-dark); }
.section--dark .project-card__meta { color: var(--color-stone); }

/* Filtre sekmeleri */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 4px clamp(20px, 3vw, 44px);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-line);
}
.filter-bar + .filter-bar { margin-top: var(--space-sm); }
.filter-bar__label {
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--color-muted); margin-right: 8px;
}
.filter {
  position: relative; padding: 8px 0;
  font-size: var(--fs-sm); letter-spacing: .02em; color: var(--color-muted-dark);
  transition: color var(--duration-fast) var(--ease);
}
.filter::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--duration) var(--ease);
}
.filter:hover { color: var(--color-text); }
.filter[aria-pressed="true"] { color: var(--color-text); }
.filter[aria-pressed="true"]::after { transform: scaleX(1); }
.filter sup { font-size: .62em; color: var(--color-muted); margin-left: 3px; }

/* Doldurulacak boş alan işareti */
.ph { color: #7E97AE; font-weight: 400; }
.section--dark .ph, .page-hero .ph { color: #9CB4CB; }

/* ------------------------------------------------------------- Rakamlar */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures > div {
  padding: var(--space-md) var(--space-sm) var(--space-md) 0;
  border-left: 1px solid var(--color-line-dark);
  padding-left: var(--space-sm);
}
.figures > div:first-child { border-left: 0; padding-left: 0; }
.figures .val {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1;
  letter-spacing: -.045em; display: block; white-space: nowrap;
}
.figures .val i { font-style: normal; color: var(--color-accent); font-size: .46em; letter-spacing: 0; margin-left: .08em; }
.figures .cap {
  display: block; margin-top: var(--space-xs);
  font-size: var(--fs-sm); color: var(--color-muted-dark);
}
.section--dark .figures .cap { color: var(--color-stone); }

/* -------------------------------------------------------------- Timeline */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px;
  background: var(--color-line);
}
.section--dark .timeline::before { background: var(--color-line-dark); }
.timeline__progress {
  position: absolute; left: 0; top: 7px; height: 1px; width: 0;
  background: var(--color-accent);
  transition: width 1.6s var(--ease);
}
.timeline.is-in .timeline__progress { width: 100%; }
.timeline__step { padding-top: var(--space-md); padding-right: var(--space-sm); position: relative; }
.timeline__step::before {
  content: ""; position: absolute; left: 0; top: 2px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--color-bg); border: 1px solid var(--color-line-strong);
}
.section--dark .timeline__step::before { background: var(--color-bg-dark); border-color: var(--color-muted-dark); }
.timeline.is-in .timeline__step::before { border-color: var(--color-accent); background: var(--color-accent); }
.timeline__step .index-num { display: block; margin-bottom: 10px; }
.timeline__step h3 { margin-bottom: 10px; }
.timeline__step p { font-size: var(--fs-sm); color: var(--color-muted-dark); }
.section--dark .timeline__step p { color: var(--color-stone); }

/* --------------------------------------------------- Numaralı editorial liste */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); }
.principles > div {
  padding: var(--space-md) var(--space-md) var(--space-md) 0;
  border-top: 1px solid var(--color-line);
}
.principles > div:nth-child(even) { padding-left: var(--space-md); border-left: 1px solid var(--color-line); }
.section--dark .principles > div { border-color: var(--color-line-dark); }
.principles .index-num { display: block; margin-bottom: var(--space-sm); }
.principles h3 {
  font-size: clamp(1.35rem, 2.1vw, 2rem); margin-bottom: 12px;
  font-weight: 500;
}
.principles p { color: var(--color-muted-dark); font-size: var(--fs-sm); max-width: 42ch; }
.section--dark .principles p { color: var(--color-stone); }

/* ------------------------------------------------ Tipografik hizmet listesi */
.svc-list { border-top: 1px solid var(--color-line); }
.section--dark .svc-list { border-color: var(--color-line-dark); }
.svc-row {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) minmax(160px, 24ch) 40px;
  align-items: center; gap: var(--space-sm);
  padding-block: clamp(22px, 2.6vw, 38px);
  border-bottom: 1px solid var(--color-line);
  position: relative;
}
.section--dark .svc-row { border-color: var(--color-line-dark); }
.svc-row__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 3rem); line-height: 1.05;
  letter-spacing: var(--ls-tight);
  transition: transform var(--duration) var(--ease), color var(--duration-fast) var(--ease);
}
.svc-row:hover .svc-row__title { transform: translateX(18px); color: var(--color-accent); }
.svc-row__desc {
  font-size: var(--fs-sm); color: var(--color-muted-dark); max-width: 34ch;
  transition: opacity var(--duration-fast) var(--ease);
}
.svc-row__go { width: 16px; height: 16px; opacity: .3; transition: opacity var(--duration-fast), transform var(--duration) var(--ease); }
.svc-row:hover .svc-row__go { opacity: 1; transform: translate(4px, -4px); }

/* Kürsör takipli görsel önizleme (yalnızca masaüstü) */
.svc-preview {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 300px; height: 380px; pointer-events: none;
  opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.94);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  overflow: hidden; will-change: transform;
}
.svc-preview.is-visible { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ----------------------------------------------------------------- Form */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-md); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--color-muted);
}
.field .req { color: var(--color-accent-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--color-line-strong);
  font-size: 1.02rem; transition: border-color var(--duration-fast) var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-bottom-color: var(--color-accent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--color-stone); }
.field .err { font-size: var(--fs-xs); color: #A6402E; display: none; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-bottom-color: #A6402E; }
.field.is-invalid .err { display: block; }

.field label.consent, .consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: var(--fs-sm); line-height: 1.55; color: var(--color-muted-dark);
  text-transform: none; letter-spacing: normal;
}
.consent input { width: 16px; height: 16px; margin-top: 5px; flex: none; accent-color: var(--color-accent); }
.form-note { font-size: var(--fs-xs); color: var(--color-muted); margin-top: var(--space-xs); }
.form-status {
  display: none; margin-top: var(--space-sm); padding-top: var(--space-xs);
  border-top: 1px solid var(--color-accent); font-size: var(--fs-sm);
}
.form-status.is-visible { display: block; }

/* --------------------------------------------------------------- Diğer */
.info-block { padding-block: var(--space-sm); border-top: 1px solid var(--color-line); }
.info-block:first-child { border-top: 0; padding-top: 0; }
.info-block dt {
  font-size: var(--fs-eyebrow); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 8px;
}
.info-block dd { font-size: 1.02rem; margin: 0; }
.info-block dd a:hover { color: var(--color-accent); }

.map-frame { width: 100%; aspect-ratio: 21 / 7; overflow: hidden; background: var(--color-bg-alt); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.06); }

.faq-item { border-bottom: 1px solid var(--color-line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  padding-block: var(--space-sm); cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 1px solid var(--color-accent); border-bottom: 1px solid var(--color-accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--duration) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq-item__a { padding-bottom: var(--space-sm); color: var(--color-muted-dark); font-size: var(--fs-sm); max-width: 68ch; }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm) var(--space-md); }
.spec-list div { border-top: 1px solid var(--color-line); padding-top: 14px; }
.section--dark .spec-list div { border-color: var(--color-line-dark); }
.spec-list dt { font-size: var(--fs-eyebrow); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--color-muted); margin-bottom: 6px; }
.spec-list dd { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.06rem; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: var(--fs-xs); color: #C9D9E7;
  margin-bottom: var(--space-sm);
}
.crumbs li { display: inline-flex; gap: 10px; }
.crumbs li + li::before { content: "—"; opacity: .5; }
.crumbs a:hover { color: var(--color-text-invert); }
.crumbs [aria-current] { color: var(--color-accent); }

/* =========================================================================
   Giriş perdesi (yalnız ana sayfa) ve sayfa geçiş perdesi
   Ortak dil: koyu marka zemini üzerinde logo alttan yukarı aydınlanır,
   ardından perde yukarı kalkarak sayfayı açar.
   ========================================================================= */

/* Perde açıkken sayfa kaymasın */
html.has-intro, html.is-leaving { overflow: hidden; }

/* Aydınlanan logo — iki kopya: sönük taban + alttan dolan parlak katman */
.lit { position: relative; display: block; }
.lit img { display: block; width: 100%; height: auto; }
.lit img:first-child { opacity: .14; }
.lit img + img {
  position: absolute; inset: 0;
  clip-path: inset(100% 0 0 0);
}
.lit::after {
  content: ""; position: absolute; left: -6%; right: -6%; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
}
.is-lit .lit img + img { clip-path: inset(0 0 0 0); transition: clip-path var(--lit-dur, 1s) var(--ease); }
.is-lit .lit::after { animation: litSweep var(--lit-dur, 1s) var(--ease) forwards; }

@keyframes litSweep {
  0%   { bottom: 0;    opacity: 0; }
  14%  { opacity: .9; }
  82%  { opacity: .9; }
  100% { bottom: 100%; opacity: 0; }
}

/* --------------------------------------------------------- Giriş perdesi */
.intro {
  position: fixed; inset: 0; z-index: var(--z-intro);
  background: var(--color-bg-dark); color: var(--color-text-invert);
  display: grid; place-items: center; overflow: hidden;
  will-change: transform;
}
html.no-intro .intro { display: none; }

.intro__act {
  grid-area: 1 / 1; width: 100%;
  padding-inline: var(--gutter); text-align: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.intro__act.is-on { opacity: 1; visibility: visible; }

.intro__eyebrow {
  display: block; font-size: var(--fs-eyebrow); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--color-accent-lt);
  margin-bottom: var(--space-sm);
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease) .05s, transform .5s var(--ease) .05s;
}
.intro__act.is-on .intro__eyebrow { opacity: 1; transform: none; }

.intro__slogan {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 7.2vw, 6.2rem);
  line-height: 1.03; letter-spacing: var(--ls-tight);
  margin: 0;
}
.intro__slogan span { display: block; overflow: hidden; }
.intro__slogan i {
  display: block; font-style: normal;
  transform: translateY(108%);
  transition: transform .72s var(--ease);
}
.intro__act.is-on .intro__slogan i { transform: none; }
.intro__act.is-on .intro__slogan span:nth-child(2) i { transition-delay: .07s; }

.intro { --lit-dur: .95s; }
.intro__logo { width: clamp(210px, 30vw, 430px); margin-inline: auto; }

/* "Geç" düğmesi — sağ altta halka içinde ok.
   Halka aynı zamanda ilerleme göstergesi: giriş süresince doluyor, yani
   ekranın dibindeki ayrı çizgiye gerek kalmıyor. */
.intro__skip {
  position: absolute; right: var(--gutter); bottom: clamp(22px, 4.5vh, 48px);
  width: clamp(54px, 5vw, 64px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--color-stone);
  background: rgba(243, 247, 251, .04);
  transition: color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}
.intro__skip:hover, .intro__skip:focus-visible {
  color: var(--color-text-invert);
  background: rgba(243, 247, 251, .12);
}
.intro__skip:focus-visible { outline: 2px solid var(--color-accent-lt); outline-offset: 4px; }

.intro__skip-ring {
  position: absolute; inset: 0; width: 100%; height: 100%;
  transform: rotate(-90deg);            /* dolum saat 12'den başlasın */
  fill: none; stroke-width: 1.4;
}
.intro__skip-track { stroke: rgba(243, 247, 251, .2); }
.intro__skip-prog {
  /* Koyu perdede okunur mavi — marka mavisi zeminde sönük kalıyordu */
  stroke: var(--color-accent-lt); stroke-linecap: round;
  stroke-dasharray: 141.37;             /* 2πr, r = 22.5 */
  stroke-dashoffset: 141.37;
}
.intro.is-running .intro__skip-prog {
  animation: skipRing var(--intro-total, 4s) linear forwards;
}
@keyframes skipRing { to { stroke-dashoffset: 0; } }

.intro__skip-arrow {
  position: relative; width: 38%; height: 38%;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--duration) var(--ease);
}
.intro__skip:hover .intro__skip-arrow { transform: translateX(3px); }

/* Perde yukarı kalkar */
.intro.is-done {
  transform: translateY(-101%);
  transition: transform .7s var(--ease-inout);
}

/* ---------------------------------------------------- Sayfa geçiş perdesi */
/* Zemin: ilk boyanan pikselden perde kalkana kadar marka lacivertidir.
   Böylece sayfa değişiminde bir karelik beyaz/açık parlama olmaz.
   Başlangıç değeri <head> içindeki satır içi stilde; JS perdeyi park edince
   .veil-off eklenir ve normal zemine dönülür. */
html.veil-off { background: var(--color-bg); }

.veil {
  /* Geçiş süreleri — tek yerden ayarlanır. JS de bu değerleri okur. */
  --veil-in: .75s;    /* perde kapanışı (sayfadan çıkış) */
  --veil-out: .9s;    /* perde açılışı (yeni sayfa) */
  --lit-dur: 1s;      /* logonun aydınlanma süresi */
  position: fixed; inset: 0; z-index: var(--z-veil);
  background: var(--color-bg-dark);
  display: grid; place-items: center;
}
.veil__logo { width: clamp(150px, 19vw, 250px); }

/* Açılış: önce logo dolar, sonra perde yukarı kalkar */
.veil.is-out {
  transform: translateY(-101%);
  transition: transform var(--veil-out) var(--ease-inout) .72s;
}
/* Bekleme konumu — ekranın altında, görünmez, bir sonraki geçişe hazır */
.veil.is-parked { transform: translateY(101%); visibility: hidden; transition: transform 0s; }
.veil.is-parked.is-armed { visibility: visible; }
/* Çıkış: perde alttan gelip sayfayı kapatır (bu kural is-parked'dan sonra gelmeli) */
.veil.is-cover {
  transform: translateY(0); visibility: visible;
  transition: transform var(--veil-in) var(--ease-inout);
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .veil, .veil.is-out, .veil.is-cover { transition: none !important; }
}

/* =========================================================================
   Yumuşak hatlar — köşeler her yerde kavisli, keskin kenar bırakılmaz
   ========================================================================= */

/* Butonlar: hap formu */
.btn { border-radius: var(--radius-pill); }

/* Görsel taşıyan her kutu */
.project-card__media,
.svc__img,
.svc-preview,
.about-split__media img,
.service-block__media img,
.pdp-gallery figure,
.pdp-gallery img,
.figure-media img,
.map-frame,
.map-frame iframe {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.project-card__media img { border-radius: inherit; }

/* Küçük öğeler */
.project-card__status { border-radius: var(--radius-pill); }
.project-card__go { border-radius: var(--radius-pill); }
.float-btn { border-radius: var(--radius-pill); }
.tag, .pdp-hero__tags span { border-radius: var(--radius-pill); }

/* Form alanları */
.field input, .field textarea, .field select {
  border-radius: var(--radius-sm);
}

/* Rakam kutuları, künye, SSS gibi panel benzeri bloklar */
.spec-list div, .faq-item { border-radius: var(--radius-sm); }

/* =========================================================================
   Proje listesi — projeler sayfası (görsel · ad · açıklama · bağlantı)
   ========================================================================= */
.project-list { display: grid; }

.project-row {
  display: grid;
  grid-template-columns: 300px minmax(180px, 1fr) minmax(0, 1.35fr) 200px;
  gap: clamp(20px, 3vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 3.4vw, 48px);
  border-top: 1px solid var(--color-line);
}
.project-list .project-row:last-of-type { border-bottom: 1px solid var(--color-line); }

.project-row__media {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: var(--color-bg-alt);
}
.project-row__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease), filter var(--duration) var(--ease);
}
.project-row:hover .project-row__media img { transform: scale(1.05); }

.project-row__name h3 {
  font-size: clamp(1.35rem, 2.1vw, 2.05rem);
  letter-spacing: var(--ls-tight); line-height: 1.1;
  transition: color var(--duration-fast) var(--ease);
}
.project-row:hover .project-row__name h3 { color: var(--color-accent-ink); }
.project-row__status {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt); color: var(--color-muted-dark);
  font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase;
}
.project-row__status i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex: none;
}

.project-row__text { display: block; }
.project-row__lead {
  display: block; font-size: var(--fs-lead); line-height: 1.6;
  color: var(--color-muted-dark); max-width: 46ch;
}
.project-row__meta {
  display: block; margin-top: 16px;
  font-size: var(--fs-sm); color: var(--color-muted);
}

/* Yuvarlak "Daha fazlası için" halkası */
.project-row__go {
  justify-self: end;
  width: 164px; height: 164px; flex: none;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-size: var(--fs-sm); color: var(--color-muted-dark);
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.project-row:hover .project-row__go {
  background: var(--color-bg-dark); border-color: var(--color-bg-dark);
  color: var(--color-text-invert); transform: scale(1.04);
}
.project-row.is-hidden { display: none; }

/* =========================================================================
   Künye kutucukları — proje sayfası
   ========================================================================= */
.spec-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.2vw, 18px);
}
.spec-tile {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 18px; min-height: 168px; min-width: 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-dark); color: var(--color-text-invert);
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}
.spec-tile:hover { transform: translateY(-4px); background: var(--color-bg-charcoal); }
.spec-tile:hover .spec-tile__cap { color: #CBE0F2; }   /* açılan zeminde okunur kalsın */
.spec-tile--wide { grid-column: auto; }
@media (min-width: 700px)  { .spec-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .spec-tiles { grid-template-columns: repeat(4, 1fr); } }
.spec-tile__val {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1;
  letter-spacing: var(--ls-tight);
  overflow-wrap: anywhere;
}
.spec-tile__val--sm { font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.3; }
.spec-tile__cap {
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase;
  color: var(--color-accent-lt);
}

/* =========================================================================
   Proje görselleri — net, eşit oranlı ve büyütülebilir
   ========================================================================= */
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
  margin-top: var(--space-md);
}
.shots--1 { grid-template-columns: 1fr; }
.shots--2 { grid-template-columns: repeat(2, 1fr); }
.shots--bedi {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
}
.shots--bedi .shot { aspect-ratio: auto; }
.shots--bedi .shot img { height: auto; object-fit: contain; }
/* Kutu oranı dosya oranıyla birebir aynı (16:10) — tarayıcı ikinci kez
   kırpmaz, görselin tamamı olduğu gibi görünür. */
.shot {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: var(--color-bg-alt);
  cursor: zoom-in;
}
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  filter: none;
  transform: scale(1);
  transition: transform .8s var(--ease);
}
.shot:hover img, .shot:focus-within img {
  transform: scale(1.025);
}
.shots-hint {
  font-size: var(--fs-xs); letter-spacing: .12em;
  text-transform: uppercase; color: var(--color-muted);
}

/* Dokunmatikte bulanıklık olmasın — hover yok */
@media (hover: none) {
  .shot img { filter: none; transform: none; }
  .shots-hint { display: none; }
}

/* =========================================================================
   İletişim kartları — her sayfanın altında
   ========================================================================= */
.contact-band { background: var(--color-bg-alt); }
.contact-band__head { margin-bottom: var(--space-md); }
.contact-band__head h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-tight); }
.contact-band__head .lead { margin-top: 14px; }

.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: clamp(26px, 2.6vw, 38px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line-strong);
  background: var(--color-bg);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 44, 70, .10);
}
.contact-card__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: var(--radius-pill);
  background: var(--color-bg-alt); color: var(--color-accent-ink);
}
.contact-card__ico svg { width: 21px; height: 21px; }
.contact-card h3 {
  font-size: var(--fs-h3); letter-spacing: -.01em;
}
.contact-card p {
  margin: 0; font-size: var(--fs-sm); line-height: 1.7; color: var(--color-muted-dark);
}
.contact-card p a { transition: color var(--duration-fast) var(--ease); }
.contact-card p a:hover { color: var(--color-accent-ink); }
.contact-card .btn { margin-top: auto; }

/* =========================================================================
   Sadeleştirme — sert çerçeveler yerine yumuşak gölge, daha kurumsal ton
   ========================================================================= */

/* Kartlarda 1px çerçeve yerine hafif yükseklik */
.contact-card {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.contact-card:hover { box-shadow: var(--shadow-lg); }

.project-row__media { box-shadow: var(--shadow); }
.project-row:hover .project-row__media { box-shadow: var(--shadow-lg); }

.shot { box-shadow: var(--shadow-sm); }
.shot:hover { box-shadow: var(--shadow); }

.map-frame { border-color: transparent; box-shadow: var(--shadow); }

.spec-tile { box-shadow: var(--shadow-sm); }
.spec-tile:hover { box-shadow: var(--shadow); }

/* Halka: çerçevesi inceldi, daha sakin */
.project-row__go { border-color: var(--color-line); background: var(--color-bg); }

/* Buton gölgesi — sadece koyu dolgu olanlarda, çok hafif */
.btn { box-shadow: var(--shadow-xs); }
.btn--ghost { box-shadow: none; }

/* =========================================================================
   Proje haritası — kendi işaretleri, üstüne gelince proje kartı
   ========================================================================= */
.pinmap {
  position: absolute; inset: 0;
  overflow: hidden;
  background: var(--color-bg-alt);
  cursor: grab;
}
.pinmap.is-dragging { cursor: grabbing; }
.pinmap .maplibregl-canvas { outline: none; }
.pinmap .maplibregl-ctrl-top-right { top: 4px; right: 4px; }
.pinmap .maplibregl-ctrl-group {
  overflow: hidden; border: 0; border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.pinmap .maplibregl-ctrl-attrib {
  color: var(--color-muted-dark); background: rgba(255,255,255,.82);
  font-size: 10px;
}
.pinmap__tiles, .pinmap__pins { position: absolute; inset: 0; }
.pinmap__tiles img {
  position: absolute; width: 256px; height: 256px;
  user-select: none; -webkit-user-drag: none;
}
.pinmap__pins { pointer-events: none; }

/* Küçük işaret — referanstakinden daha ufak, marka renginde */
.pinmap__pin {
  position: absolute; pointer-events: auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
}
.pinmap__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--color-accent-ink);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(15, 44, 70, .35);
  transition: transform var(--duration-fast) var(--ease), background var(--duration-fast);
}
.pinmap__pin::after {           /* dokunmatikte daha büyük hedef */
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
}
.pinmap__pin:hover .pinmap__dot,
.pinmap__pin:focus-visible .pinmap__dot {
  transform: scale(1.45); background: var(--color-bg-dark);
}
.pinmap .maplibregl-popup-content {
  width: 208px; padding: 10px;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.pinmap .maplibregl-popup-tip { display: none; }
.pinmap__popup img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; border-radius: var(--radius-xs);
}
.pinmap__popup-body { display: block; padding: 10px 4px 4px; }
.pinmap__popup strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: .98rem; line-height: 1.2; color: var(--color-text);
}
.pinmap__popup em {
  display: block; margin-top: 4px; font-style: normal;
  font-size: var(--fs-xs); color: var(--color-muted-dark);
}

/* Proje kartı */
.pinmap__card {
  position: absolute; z-index: 3;
  transform: translate(-50%, calc(-100% - 18px));
  width: 208px; padding: 10px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), visibility .18s, transform .22s var(--ease);
}
/* Kart hiçbir zaman fare olaylarını yakalamaz — imlecin altına düştüğünde
   işaretin hover'ını çalmasın, kart kapanıp açılmasın. */
.pinmap__card.is-on { opacity: 1; visibility: visible; }
.pinmap__card.is-flip-x { transform: translate(calc(-100% + 20px), calc(-100% - 18px)); }
.pinmap__card.is-flip-y { transform: translate(-50%, 18px); }
.pinmap__card.is-flip-x.is-flip-y { transform: translate(calc(-100% + 20px), 18px); }
.pinmap__card img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; border-radius: var(--radius-xs);
}
.pinmap__card-body { display: block; padding: 10px 4px 4px; }
.pinmap__card strong {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: .98rem; line-height: 1.2; color: var(--color-text);
}
.pinmap__card em {
  display: block; margin-top: 4px; font-style: normal;
  font-size: var(--fs-xs); color: var(--color-muted-dark);
}

/* Yakınlaştırma ve atıf */
.pinmap__zoom {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  display: grid; gap: 4px;
}
.pinmap__zoom button {
  width: 34px; height: 34px; border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, .94); color: var(--color-text);
  font-size: 1.05rem; line-height: 1;
  box-shadow: var(--shadow-sm);
  transition: background var(--duration-fast);
}
.pinmap__zoom button:hover { background: #fff; }
.pinmap__attr {
  position: absolute; right: 8px; bottom: 6px; z-index: 3;
  font-size: 10px; color: var(--color-muted);
  background: rgba(255, 255, 255, .78); padding: 2px 7px; border-radius: var(--radius-pill);
}

/* =========================================================================
   Ana sayfa öne çıkan projeler — büyük yuvarlak kartlar, ad görsel üzerinde
   ========================================================================= */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 34px);
  margin-top: var(--space-lg);
}
.feature-card { display: block; }
.feature-card__media {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: var(--color-bg-alt);
  box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.feature-card:hover .feature-card__media {
  box-shadow: var(--shadow-lg); transform: translateY(-4px);
}
/* <picture> yerleşimden çekilsin, kutuyu doğrudan img doldursun */
.feature-card__media picture { display: contents; }
.feature-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.feature-card:hover .feature-card__media img { transform: scale(1.05); }

/* Ad, görselin ortasında — referanstaki proje logosunun yerini tutar */
.feature-card__plate {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  padding: clamp(18px, 2vw, 30px); text-align: center;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.7rem); line-height: 1.15;
  letter-spacing: var(--ls-tight); color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(12, 30, 48, .55);
  background: linear-gradient(180deg,
    rgba(12, 30, 48, .05) 0%, rgba(12, 30, 48, .26) 55%, rgba(12, 30, 48, .48) 100%);
  transition: background var(--duration) var(--ease);
}
.feature-card:hover .feature-card__plate { background: rgba(12, 30, 48, .30); }

.feature-card__name {
  display: block; margin-top: 18px; text-align: center;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1rem, 1.5vw, 1.45rem); color: var(--color-text);
  transition: color var(--duration-fast) var(--ease);
}
.feature-card:hover .feature-card__name { color: var(--color-accent-ink); }
.feature-card__meta {
  display: block; margin-top: 16px; text-align: center;
  font-size: var(--fs-sm); color: var(--color-muted-dark);
}

/* =========================================================================
   Görsel büyütme — proje görselerine tıklayınca tam ekran
   ========================================================================= */
.shot { cursor: zoom-in; }
.shot:focus-visible { outline: 2px solid var(--color-accent-ink); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(8px, 2vw, 24px); padding: clamp(14px, 3vw, 40px);
  background: rgba(10, 26, 42, .93);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__stage {
  margin: 0; display: grid; place-items: center; gap: 14px;
  max-height: 100%; min-width: 0;
}
.lightbox__stage img {
  max-width: 100%; max-height: calc(100vh - 140px);
  width: auto; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transform: scale(.97);
  transition: transform .32s var(--ease);
}
.lightbox.is-open .lightbox__stage img { transform: none; }
.lightbox__stage figcaption {
  font-size: var(--fs-xs); letter-spacing: .16em; color: rgba(243, 247, 251, .72);
}

.lightbox__close, .lightbox__nav {
  display: grid; place-items: center; flex: none;
  color: var(--color-text-invert);
  background: rgba(243, 247, 251, .12);
  border-radius: var(--radius-pill);
  transition: background var(--duration-fast) var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(243, 247, 251, .26); }
.lightbox__nav { width: 54px; height: 54px; font-size: 2rem; line-height: 1; padding-bottom: 5px; }
.lightbox__close {
  position: absolute; top: clamp(12px, 2.4vw, 28px); right: clamp(12px, 2.4vw, 28px);
  width: 46px; height: 46px; font-size: 1.7rem; line-height: 1; z-index: 2;
}

@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 20px; width: 48px; height: 48px; }
  .lightbox__nav--prev { left: 22%; }
  .lightbox__nav--next { right: 22%; }
  .lightbox__stage img { max-height: calc(100vh - 190px); }
}
