/* Brimline tanıtım sayfası. Dış kaynak yok; tek yazı tipi dosyası sayfayla birlikte gelir (Archivo, SIL OFL 1.1). */

@font-face {
  font-family: "Archivo Expanded";
  src: url("assets/fonts/archivo-expanded.woff2") format("woff2");
  font-weight: 560 680;
  font-style: normal;
  font-display: swap;
}

:root {
  --wall: #ECEEEF;        /* sayfa zemini */
  --ink: #1C1F25;         /* metin ve kirişler (Basalt) */
  --ink-2: #4A515C;       /* ikincil metin */
  --line: #C3C9D0;        /* ince ayraçlar */
  --link: #173E88;        /* bağlantı ve odak (Frost vurgusu) */
  --night: #1C1F25;       /* koyu bant zemini (Basalt) */
  --night-ink: #ECEEF2;
  --night-ink-2: #AEB5BF;
  --night-link: #86B6FF;  /* Basalt vurgusu */

  --display: "Archivo Expanded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --text: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --space: clamp(80px, 10vw, 144px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  font-kerning: normal;
}

img { display: block; max-width: 100%; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Kiriş: başlıkların üstündeki yatay çubuk ----------
   Logodaki oranlar: kiriş kalınlığı 0,146 em; harflerin üstüyle arası 0,118 em.
   Kiriş kelimenin genişliği kadardır (harf kenar boşlukları düşülerek). */
.beam, .mark {
  position: relative;
  width: fit-content;
  font-family: var(--display);
  font-weight: 640;
  letter-spacing: -.01em;
}
.beam::before, .mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: .07em;
  right: .05em;
  height: .146em;
  background: currentColor;
}

/* ---------- Üst bölüm ----------
   F-27 (oturum 05): ad ilk ekranda görünür. Görüntü, altındaki ad ve tanıtım metniyle birlikte
   pencereye sığacak yüksekliğe alttan kırpılır (üst kenardaki çubuk hep görünür); ad ve üstündeki
   boşluk pencere yüksekliğiyle de küçülür. --hero-copy-h: geniş düzende sağdaki metnin yüksekliği
   (ölçülen ≈233 px, payıyla); dar düzende metin adın altına iner, yalnız ad hesaba girer. */
.hero {
  --vh: 1vh;
  --mark-size: clamp(64px, min(12.5vw, calc(17 * var(--vh))), 184px);
  --hero-gap: clamp(28px, min(6vw, calc(6 * var(--vh))), 88px);
  --hero-copy-h: 240px;
  --hero-text-h: calc(var(--hero-gap) + max(var(--mark-size) * 1.2, var(--hero-copy-h)) + 24px);
  padding-bottom: var(--space);
}
@supports (height: 1svh) { .hero { --vh: 1svh; } }

.hero-shot {
  width: 100%;
  max-width: 1920px;
  height: auto;
  max-height: max(220px, calc(100 * var(--vh) - var(--hero-text-h)));
  object-fit: cover;
  object-position: center top;
  margin-inline: auto;
  background: #1C1F25;
}

.hero-text {
  display: grid;
  grid-template-columns: auto minmax(0, 30rem);
  justify-content: space-between;
  align-items: start;
  gap: 32px 64px;
  padding-top: var(--hero-gap);
}

.mark {
  margin: 0;
  font-size: var(--mark-size);
  line-height: 1;
  padding-top: .2em;
}
.mark::before {
  left: .095em;
  right: .07em;
  transform-origin: left center;
  animation: beam-in .9s cubic-bezier(.2, .7, .2, 1) .2s both;
}
@keyframes beam-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-copy { padding-bottom: .4em; }
.hero-copy p { color: var(--ink-2); max-width: 34ch; }
.hero-copy .lead {
  color: var(--ink);
  font-size: clamp(21px, 1.9vw, 26px);
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: .6em;
}

/* Pasif öğe: henüz bağlantı değil. Kesik çizgi, ileride gelecek düğmenin yerini gösterir. */
.soon {
  display: inline-block;
  margin-top: 1.2em;
  padding: .7em 1.1em;
  border: 2px dashed #6A717C;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  cursor: default;
}
.hero-copy .soon { color: var(--ink); max-width: none; }

/* ---------- Bölümler ---------- */
.section { padding-block: 0 var(--space); }

h1, h2, h3, summary { text-wrap: balance; }
p { text-wrap: pretty; }

h2.beam {
  margin: 0 0 .8em;
  padding-top: .28em;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 .45em;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 600;
}

.intro { max-width: 52ch; color: var(--ink-2); }

/* Ekran görüntüleri: ince bir kenar, büyütme yok. */
.shot { outline: 1px solid rgba(28, 31, 37, .14); outline-offset: 0; }

/* Çubuğun üç kısmı: sayfada da solda, ortada ve sağda. */
.zones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 5vw, 64px);
}
.zone p { color: var(--ink-2); max-width: 36ch; }
/* Üç sütunda başlıklar aynı hizada kalsın: görsel alanı, mikrofonun üç şeridi kadar yüksek. */
.zone-shots { min-height: 112px; margin-bottom: 28px; }

.strip { height: 32px; object-fit: cover; }
.zone-left .strip { object-position: left center; }
.zone-center { text-align: center; }
.zone-center .strip { margin-inline: auto; object-position: center; }
.zone-center p { margin-inline: auto; }
.zone-right { text-align: right; }
.zone-right p { margin-left: auto; }
.strips { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.strips .strip { margin: 0; object-position: right center; }

kbd {
  font: inherit;
  font-size: .9em;
  color: var(--ink);
  padding: .05em .4em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: #F6F7F8;
  white-space: nowrap;
}

/* Pencerelerin üstünde: görüntü ekranın sağ üst köşesi, sayfada da sağda. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(32px, 5vw, 80px);
  align-items: start;
}
.split-text p { color: var(--ink-2); max-width: 46ch; }
.split-shot { justify-self: end; padding-top: .9em; }
.split-shot img { object-fit: cover; object-position: right top; }
.aside {
  margin-top: 1.6em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: 15px;
  max-width: 40ch;
}

/* Temalar: ilk hücre metin, sonra beş tema. */
.themes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 640px));
  justify-content: space-between;
  gap: 40px clamp(24px, 3vw, 40px);
}
.themes-intro p { color: var(--ink-2); max-width: 40ch; }
.tile { width: 100%; height: 128px; object-fit: cover; object-position: left top; }
figcaption {
  margin-top: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
}

.glass {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 640px));
  justify-content: space-between;
  gap: 32px clamp(24px, 3vw, 40px);
  margin-top: clamp(64px, 8vw, 104px);
}
.glass-text { grid-column: 1 / -1; }
.glass-text p { color: var(--ink-2); max-width: 52ch; }
.glass-shot .tile { object-position: right top; }

/* Koyu bant */
.night {
  background: var(--night);
  color: var(--night-ink);
  padding-block: var(--space);
  margin-bottom: var(--space);
}
.night :focus-visible { outline-color: var(--night-link); }
.night a { color: var(--night-link); }
.night-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
  gap: 56px clamp(40px, 6vw, 96px);
  align-items: start;
}
.night-shot img { outline-color: rgba(236, 238, 242, .16); object-fit: cover; object-position: right top; }
.night-text p { color: var(--night-ink-2); max-width: 42ch; }
.night-text section + section { margin-top: 56px; }

/* Sık sorulanlar */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 80px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}
summary::-webkit-details-marker { display: none; }
/* İşaret: kapalıyken artı, açıkken eksi. */
summary::before, summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: none; }
details p { color: var(--ink-2); padding-bottom: 22px; max-width: 56ch; }

/* Alt bilgi: sayfanın sonunda da bir kiriş. */
.footer { border-top: 12px solid var(--ink); }
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 40px;
  padding-block: 40px 56px;
}
.footer .soon { margin: 0; }
.footer-links { display: flex; gap: 28px; }
.copy { display: flex; align-items: center; gap: 10px; margin: 0 0 0 auto; color: var(--ink-2); }

/* ---------- Yasal sayfalar (K-52, K-63) ---------- */
.doc-head { padding-block: 32px; }
.doc-home { display: inline-block; }
.doc-home img { width: 124px; height: auto; }
.doc-body { min-height: 50vh; padding-block: clamp(40px, 6vw, 80px) var(--space); }
.doc-body h1.beam { margin: 0 0 .8em; padding-top: .28em; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.doc-body p, .doc-body li { max-width: 68ch; }
.doc-body ul { margin: 0; padding-left: 1.2em; }
.doc-body li + li { margin-top: .6em; }
.doc-body code { font-size: .92em; overflow-wrap: anywhere; }
.doc-date { color: var(--ink-2); }
.doc-lead { font-size: 1.1em; }
.doc-section { margin-top: clamp(40px, 5vw, 64px); }
.doc-section h2 { margin: 0 0 .7em; font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }

/* İletişim formu: JavaScript yok; sonuç yönlendirmedeki #sent/#invalid/#busy/#failed ile gösterilir (:target). */
.contact { display: grid; gap: 8px; max-width: 640px; margin-top: 28px; }
.contact label { font-weight: 600; margin-top: 12px; }
.contact .optional { font-weight: 400; color: var(--ink-2); }
.contact textarea, .contact input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
}
.contact textarea { resize: vertical; min-height: 9em; }
.contact textarea:focus-visible, .contact input:focus-visible { outline-offset: 1px; }
.contact button {
  justify-self: start;
  margin-top: 16px;
  font: inherit;
  font-weight: 600;
  color: var(--wall);
  background: var(--ink);
  border: 0;
  border-radius: 6px;
  padding: 12px 22px;
  cursor: pointer;
}
.contact button:hover { background: #343a44; }
.form-note { margin-top: 8px; font-size: .92em; color: var(--ink-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.doc-body .notice { display: none; max-width: 640px; margin: 20px 0 0; padding: 12px 16px; border-left: 4px solid #1F7A4D; background: #E3F1EA; }
.doc-body .notice-error { border-left-color: #B3261E; background: #F8E5E3; }
.doc-body .notice:target { display: block; }

/* ---------- Dar ekranlar ---------- */
@media (max-width: 1080px) {
  .zones { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .zone-center, .zone-right { text-align: left; }
  .zone-center .strip { margin-inline: 0; }
  .zone-center p, .zone-right p { margin-inline: 0; }
  .strips { align-items: flex-start; }
  .split, .faq, .night-grid { grid-template-columns: minmax(0, 1fr); }
  .split-shot { justify-self: start; padding-top: 0; }
  .zone-shots { min-height: 0; }
}

@media (max-width: 860px) {
  .hero { --hero-copy-h: 0px; }
  .hero-text { grid-template-columns: minmax(0, 1fr); }
  .themes, .glass { grid-template-columns: minmax(0, 1fr); }
  .copy { margin-left: 0; width: 100%; }
  /* Dar ekranda görüntüler 1:1 kalır ve kırpılır; en anlamlı kısım görünsün. */
  .night-shot img, .glass-shot .tile { object-position: left top; }
}

/* Hareket azaltma açıksa hiç hareket yok. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
