/* Halcyo home page. Fonts are the app's own (Newsreader, Figtree; SIL OFL, licences in /fonts). */
@font-face { font-family: 'Newsreader'; src: url('/fonts/newsreader-300-italic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --kopuk: #F6F1EA;
  --turuncu: #F59A45;
  --gece: #071521;
  --petrol: #0C2635;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', -apple-system, 'Segoe UI', sans-serif;
  --kenar: clamp(20px, 5vw, 72px);
  --murekkep: var(--kopuk);
  --zit: #0b1e2b;
  color-scheme: dark;
}
/* sabah: sahne açılır, mürekkep koyulaşır */
.aydinlik { --murekkep: #0C2635; --zit: #F6F1EA; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--gece); color: var(--murekkep); transition: color .5s; font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--turuncu); outline-offset: 3px; border-radius: 4px; }
.gizli { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.atla { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--kopuk); color: var(--gece); padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 600; }
.atla:focus { top: 12px; }

/* sahne: sabit, sayfanın arkasında. Hazır olmadan önce aynı ışıkta bir gradyan poster. */
.sahne { position: fixed; inset: 0; width: 100%; height: 100lvh; z-index: 0; display: block; pointer-events: none; }
.sahne-poster { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #12304b 0%, #3a5874 38%, #f2b48e 58%, #9a8f98 60.5%, #2c4a62 70%, #13283b 100%); transition: opacity .8s; }
.sahne-hazir .sahne-poster { opacity: 0; }
.kayit .sahne-poster { display: none; }
.kayit *, .kayit *::before, .kayit *::after { transition: none !important; }

/* bölümler kendi içinde kalır: 3B dönen telefonlar mobilde görünüm alanını genişletmesin */
.bolum { overflow-x: clip; }

/* telefon */
.tel { position: relative; width: var(--tw, 270px); aspect-ratio: 390 / 844; perspective: 1400px; flex: none; }
.tel-ic { position: absolute; inset: 0; border-radius: 15% / 7%; background: #0a1218; padding: 3%;
  box-shadow: inset 0 0 0 1px rgba(246, 241, 234, .16), inset 0 0 0 4px #05090c, 0 50px 90px -40px rgba(0, 0, 0, .75);
  transform-style: preserve-3d; will-change: transform; }
.tel-ic img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12.4% / 5.75%; background: #0d2231; }
.su-ustu .tel-ic { -webkit-box-reflect: below 14px linear-gradient(transparent 58%, rgba(255, 255, 255, .2)); }
@media (max-width: 760px) {
  .su-ustu .tel-ic { -webkit-box-reflect: none; }
  /* mobilde küçük ses düğmesi yalnız daire: metnin üstünü kapatmasın (etiket ekran okuyucuda kalır) */
  .ses-mini .ses-dugme { padding: 0; min-height: 48px; }
  .ses-mini [data-etiket] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ses-mini .daire { width: 48px !important; height: 48px !important; }
}

/* düğmeler */
.dugme { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0;
  background: var(--murekkep); color: var(--zit); font: 600 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .5s, color .5s; }
.dugme:hover { filter: brightness(1.08); }
.dugme-cizgi { background: transparent; color: var(--murekkep); box-shadow: inset 0 0 0 1.5px currentColor; }
.dugme-cizgi:hover { background: rgba(246, 241, 234, .1); }

/* ses düğmesi: daire içinde üçgen / iki çizgi */
.ses-dugme { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 22px 0 6px; border-radius: 999px; border: 0; cursor: pointer;
  background: transparent; color: var(--murekkep); font: 600 17px/1 var(--sans); }
.ses-dugme .daire { width: 48px; height: 48px; border-radius: 50%; background: var(--turuncu); display: grid; place-items: center; color: #2a1606; flex: none; }
.ses-dugme svg { width: 18px; height: 18px; }
.ses-dugme .dur { display: none; }
.ses-acik .ses-dugme .oyna { display: none; }
.ses-acik .ses-dugme .dur { display: block; }

/* kaydırıcı: su üstündeki ışık çizgisi */
.su-kaydirici { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; --k: .62; }
.su-kaydirici::-webkit-slider-runnable-track { height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(246, 241, 234, .75) calc(var(--k) * 100%), rgba(246, 241, 234, .3) calc(var(--k) * 100%)); }
.su-kaydirici::-moz-range-track { height: 2px; background: rgba(246, 241, 234, .35); }
.su-kaydirici::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -12px; border-radius: 50%; background: var(--turuncu);
  box-shadow: 0 0 0 6px rgba(245, 154, 69, .18); }
.su-kaydirici::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--turuncu); }

/* kayıt kipinde görünen imleç (yalnızca video) */
.imlec { position: fixed; left: 0; top: 0; z-index: 60; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: rgba(246, 241, 234, .9); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 4px 12px rgba(0, 0, 0, .3); opacity: 0; pointer-events: none; display: none; }
.kayit .imlec { display: block; }

/* SSS */
.sss details { border-top: 1px solid rgba(246, 241, 234, .2); }
.sss details:last-child { border-bottom: 1px solid rgba(246, 241, 234, .2); }
.sss summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 14px 0; }
.sss summary::-webkit-details-marker { display: none; }
.sss summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); }
.sss details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.sss details p { padding: 0 0 22px; max-width: 62ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* D2, the kingfisher's line */
/* D2, Yalıçapkını çizgisi: karanlık sahne, tek turuncu ışık çizgisi (kuşun uçuşu = ton), dev yazı arkada, derinlikte telefonlar. */
:root { --gece: #050d14; }
h1, h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -.045em; }
h1 { font-size: clamp(50px, 8.2vw, 138px); line-height: .92; }
h2 { font-size: clamp(40px, 5.6vw, 92px); line-height: .95; }
.metin p { max-width: 31em; margin-top: 22px; font-size: clamp(17px, 1.3vw, 19px); }
.kucuk { font-size: 15px; line-height: 1.45; }
.serif { font-family: var(--serif); font-weight: 300; font-style: italic; letter-spacing: -.01em; }

.ust { position: absolute; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 36px; padding: 22px var(--kenar); }
.marka { display: flex; align-items: center; gap: 10px; font: 600 22px/1 var(--sans); letter-spacing: -.03em; text-decoration: none; margin-right: auto; }
.marka img { width: 30px; height: 30px; border-radius: 8px; }
.ust nav { display: flex; gap: 28px; font-size: 15px; }
.ust nav a { text-decoration: none; padding: 12px 0; }
.ust nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ust .dugme { min-height: 44px; font-size: 15px; }

.bolum { position: relative; z-index: 2; padding: 0 var(--kenar); }
.hayalet { position: absolute; z-index: 0; left: 0; right: 0; overflow: hidden; pointer-events: none; font: 600 25vw/.8 var(--sans); letter-spacing: -.06em; white-space: nowrap; color: rgba(246, 241, 234, .085); }

/* çizgi: sayfa boyu SVG */
.cizgi { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; pointer-events: none; overflow: visible; }
.cizgi path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cizgi .hale { stroke: rgba(245, 154, 69, .16); stroke-width: 14; }
.cizgi .orta { stroke: rgba(245, 154, 69, .45); stroke-width: 4.5; }
.cizgi .oz { stroke: #ffd2a3; stroke-width: 1.6; }
.n { position: absolute; width: 0; height: 0; }
.ucus-kap { position: absolute; z-index: 4; left: 0; top: 0; width: 100%; overflow: hidden; pointer-events: none; }
/* çizginin yolu: kenarlardan iner, yalnızca boşluklarda yatay geçer */
.a1 { left: -3%; top: 79%; } .a2 { left: 46%; top: 77.5%; }
.b1 { left: 97.5%; top: 18%; } .b2 { left: 97.5%; top: 84%; }
.c1 { left: 2.4%; top: 6%; } .c2 { left: 2.2%; top: 40%; } .c3 { left: 2.2%; top: 52%; }
.d1 { left: 97.5%; top: 6%; } .d1b { left: 97.5%; top: 58%; } .d2 { left: 62%; top: 76%; } .d3 { left: 2.2%; top: 94%; }
.e1 { left: 2.2%; top: 53%; } .e2 { left: 97.5%; top: 57%; }
.f1 { left: 97.5%; top: 30%; } .f2 { left: 60%; top: 76%; }
.g1 { left: 97.5%; top: 18%; } .g2 { left: 97.5%; top: 86%; }
.h1 { left: 97.5%; top: 74%; } .h2 { left: 74%; top: 81%; } .h3 { left: 58%; top: 70%; }

.kus { position: absolute; z-index: 4; left: 0; top: 0; width: var(--kw, 172px); pointer-events: none; transform-origin: 72% 52%; will-change: transform; }
.kus img { display: block; width: 100%; filter: brightness(.82) saturate(1.05); }
.kus-kon { position: absolute; z-index: 4; pointer-events: none; width: 150px; opacity: 0; transition: opacity .4s; }
.kus-kon img { display: block; width: 100%; filter: brightness(.6) saturate(.9); }
.indi .kus-kon { opacity: 1; } .indi .kus { opacity: 0; }

/* 1. açılış */
.acilis { height: 100svh; min-height: 700px; }
.acilis .metin { position: absolute; left: var(--kenar); top: 17vh; max-width: 760px; }
.acilis .eylem { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-top: 32px; }

/* 2. ton */
.ton { min-height: 135vh; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 4vw; }
.ton .hayalet { top: 50%; transform: translateY(-50%); text-align: right; }
.ton .sahnede { position: relative; height: 660px; }
.ton .tel { position: absolute; }
.ton .on { left: 8%; top: 50px; --tw: 270px; z-index: 2; }
.ton .arka { left: 50%; top: 0; --tw: 236px; filter: blur(1.5px) brightness(.7); }

/* 3. boşluk: çizgi kaydırıcı olur */
.bosluk { height: 110vh; min-height: 760px; }
.bosluk .metin { position: absolute; left: var(--kenar); top: 14vh; max-width: 640px; }
.kontrol { position: absolute; left: var(--kenar); right: var(--kenar); top: 58vh; }
.kontrol .ust-sira { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.kontrol .durum { font-size: 15px; }
.kontrol .durum b { font: 300 italic clamp(28px, 2.6vw, 40px)/1.1 var(--serif); margin-left: 8px; }
.cizgi-kaydirici { position: relative; height: 56px; }
.cizgi-kaydirici input { position: absolute; inset: 0; width: 100%; height: 56px; }
.cizgi-kaydirici input::-webkit-slider-runnable-track { background: transparent; }
.cizgi-kaydirici input::-webkit-slider-thumb { width: 44px; height: 44px; margin-top: -21px; background: transparent; box-shadow: inset 0 0 0 2px var(--turuncu), 0 0 0 10px rgba(245,154,69,.1); }
.kontrol .uclar { display: flex; justify-content: space-between; font-size: 15px; margin-top: 6px; }
.kontrol .not { margin-top: 18px; }
.bosluk .n5 { left: -2px; top: 28px; } .bosluk .n6 { right: -2px; top: 28px; }

/* 4. gece */
.gece { min-height: 140vh; display: grid; grid-template-columns: 7fr 5fr; align-items: center; gap: 4vw; }
.gece .hayalet { top: 28%; }
.gece .sahnede { position: relative; height: 700px; }
.gece .tel { position: absolute; }
.gece .uyku { left: 34%; top: 20px; --tw: 290px; z-index: 2; }
.gece .karisim { left: 0; top: 120px; --tw: 230px; filter: blur(1.5px) brightness(.66); }
.gece .metin { order: 2; }

/* 5. gece üçü */
.ucte { min-height: 135vh; display: grid; align-content: center; gap: 4vh; padding-top: 10vh; padding-bottom: 10vh; }
.soru { font-size: clamp(30px, 3.8vw, 60px); line-height: 1.08; max-width: 17em; }
.soru:nth-of-type(2) { margin-left: 18%; } .soru:nth-of-type(3) { margin-left: 6%; }
.ucte .metin { margin-left: auto; max-width: 520px; margin-top: 6vh; }
.ucte h2 { font-size: clamp(34px, 3.6vw, 56px); }

/* 6. program: çizgi 28 sabaha bölünür */
.program { min-height: 135vh; padding-top: 14vh; padding-bottom: 12vh; display: grid; grid-template-columns: 5fr 7fr; gap: 4vw; align-items: start; }
.zaman { grid-column: 1 / -1; position: relative; margin-top: 6vh; }
.zaman ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.zaman li { padding-top: 34px; position: relative; font-size: 15px; }
.zaman li b { display: block; font-size: 17px; margin-bottom: 4px; }
.zaman .isaretler { position: absolute; left: 0; right: 0; top: -9px; height: 18px;
  background: repeating-linear-gradient(90deg, rgba(246,241,234,.75) 0 1.5px, transparent 1.5px calc(100% / 28)); }
.zaman .n12 { left: -1px; top: 0; } .zaman .n13 { right: -1px; top: 0; }
.program .tel { --tw: 250px; justify-self: center; }
.program .metin ul { list-style: none; padding: 0; margin: 26px 0 0; }
.program .metin li { padding: 9px 0; border-top: 1px solid rgba(246,241,234,.2); font-size: 16px; }

/* 7. diller */
.diller { min-height: 105vh; display: grid; align-content: center; padding-top: 8vh; padding-bottom: 8vh; }
.diller .liste { font: 600 clamp(36px, 5.6vw, 96px)/1.02 var(--sans); letter-spacing: -.045em; display: flex; flex-wrap: wrap; gap: 0 .34em; }
.diller .liste span:nth-child(odd) { color: rgba(246,241,234,.92); }
.diller p { margin-top: 30px; }

/* 8. son sahne: şafak, kuş iner */
.final { min-height: 120vh; display: grid; grid-template-columns: 7fr 5fr; gap: 4vw; align-items: center; }
.final h2 { font-size: clamp(48px, 7vw, 120px); }
.final .eylem { display: flex; flex-wrap: wrap; gap: 16px 22px; align-items: center; margin-top: 30px; }
.final .tel { --tw: 256px; justify-self: center; }
.final .metin { align-self: start; padding-top: 22vh; }
.final .ad { margin-top: 44px; max-width: 30em; font-size: 15px; }
.direk { position: absolute; width: 12px; height: 120px; -webkit-box-reflect: below 0 linear-gradient(transparent 30%, rgba(255,255,255,.3)); }
.final .direk { left: calc(58% - 6px); top: 70%; }

.son { position: relative; z-index: 5; background: #08161f; padding: 120px var(--kenar) 40px; }
.son-izgara { display: grid; grid-template-columns: 4fr 8fr; gap: 5vw; }
.son h2 { font-size: clamp(36px, 3.6vw, 56px); }
.sss summary { font-size: 19px; font-weight: 600; }
.alt { margin-top: 120px; display: grid; grid-template-columns: 4fr 8fr; gap: 5vw; align-items: end; padding-top: 34px; border-top: 1px solid rgba(246,241,234,.2); }
.alt .marka { font-size: 40px; }
.alt-sag { display: grid; gap: 18px; font-size: 15px; }
.alt-sag nav { display: flex; gap: 26px; font-size: 16px; font-weight: 600; }
.alt-sag nav a { text-decoration: none; padding: 10px 0; }
.ses-mini { position: fixed; z-index: 6; right: var(--kenar); bottom: 14px; display: none; }
.ses-acik .ses-mini { display: inline-flex; }
.ses-mini .ses-dugme { min-height: 48px; font-size: 15px; }
.ses-mini .daire { width: 40px; height: 40px; }

@media (max-width: 1100px) { .ust nav { display: none; } }
@media (max-width: 760px) {
  body { font-size: 17px; }
  .ust .dugme { display: none; }
  .kus { --kw: 96px; }
  .acilis .metin { top: 92px; right: var(--kenar); }
    .final .metin { padding-top: 0; }
  .ton, .gece, .program, .final { grid-template-columns: 1fr; min-height: 0; padding-top: 16vh; padding-bottom: 12vh; gap: 36px; }
  .ton .sahnede, .gece .sahnede { height: 520px; }
  .ton .on { left: 2%; --tw: 216px; } .ton .arka { left: 46%; --tw: 186px; }
    .gece .metin { order: 0; }
  .gece .uyku { left: 30%; --tw: 220px; } .gece .karisim { left: 0; --tw: 176px; top: 70px; }
    .bosluk { height: auto; min-height: 105svh; }
  .bosluk .metin { position: relative; top: 0; left: 0; padding-top: 14vh; }
  .kontrol { position: relative; left: 0; right: 0; top: auto; margin-top: 12vh; }
  .soru:nth-of-type(2), .soru:nth-of-type(3) { margin-left: 0; }
    .zaman ol { grid-template-columns: 1fr 1fr; gap: 18px 14px; }

  .son-izgara, .alt { grid-template-columns: 1fr; }
  .son { padding-top: 80px; }
  .a2 { left: 64%; top: 86%; } .a1 { top: 87%; }
  .b1 { left: 98.6%; top: 4%; } .b2 { left: 98.6%; top: 97%; }
  .c1 { left: 98.6%; top: 3%; } .c2 { left: 98.6%; top: 38%; } .c3 { left: 1.4%; top: 44%; }
  .d1 { left: 98.6%; top: 2%; } .d1b { left: 98.6%; top: 20%; } .d2 { left: 98.6%; top: 30%; } .d3 { left: 98.6%; top: 98%; }
  .e1 { left: 98.6%; top: 44%; } .e2 { left: 98.6%; top: 96%; }
  .f1 { left: 98.6%; top: 50%; } .f2 { left: 50%; top: 86%; }
  .g1 { left: 98.6%; top: 10%; } .g2 { left: 98.6%; top: 92%; }
  .h1 { left: 98.6%; top: 66%; } .h2 { left: 98.6%; top: 74%; } .h3 { left: 92%; top: 80%; }
  .final .direk { left: calc(92% - 6px); top: 80%; }
  .kus-kon { width: 92px; }
}

/* moved from inline styles (CSP: style-src 'self') */
.sahne-poster { background: linear-gradient(180deg, #081624 0%, #10253a 40%, #4a4f66 57%, #132638 60%, #07121c 100%); }
.ad-baslik { font-size: 22px; }
.magazalar { display: flex; gap: 12px; margin-top: 22px; }
.magazalar[hidden] { display: none; }
