/* Köprü Haber, launch site. Brand: Gece, Kehribar, Kırmızı, Kâğıt. Fonts self-hosted (SIL OFL 1.1). */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/barlow-condensed-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-var-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-var-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --gece: #0E1726;
  --gece-2: #16213A;      /* panel, from the Shorts template */
  --gece-3: #22304F;
  --kehribar: #F2B134;
  --kirmizi: #E04A3F;
  --kagit: #F4F1EA;
  --sis: #B8C0CF;         /* muted text on night, 9.6:1 */
  --sis-2: #8C97AB;       /* quieter, 5.9:1 on Gece */
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--gece-3) var(--gece); }
body {
  margin: 0; min-height: 100vh; min-height: 100svh;
  background: var(--gece); color: var(--kagit);
  font: 400 1rem/1.6 var(--body);
  font-feature-settings: "cv11", "ss01";
  display: flex; flex-direction: column;
}
::selection { background: var(--kehribar); color: var(--gece); }
a { color: var(--kagit); text-decoration-color: var(--kehribar); text-decoration-thickness: 2px; text-underline-offset: .22em; }
a:hover { color: var(--kehribar); }
:focus-visible { outline: 3px solid var(--kehribar); outline-offset: 3px; border-radius: 4px; }
b { font-weight: 650; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 10; background: var(--kehribar); color: var(--gece);
  padding: 10px 16px; border-radius: 8px; font-weight: 650; text-decoration: none; }
.skip:focus { top: 12px; }
.skip:hover { color: var(--gece); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- bar ---------- */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 2.4vw, 28px) var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--kagit); }
.brand:hover { color: var(--kagit); }
.brand-mark { width: 46px; height: auto; display: block; }
.brand-word { font: 800 1.9rem/1 var(--head); letter-spacing: .01em; }

.lang { display: inline-flex; background: var(--gece-2); border-radius: 999px; padding: 4px; }
.lang button { font: 600 .95rem/1 var(--head); letter-spacing: .08em; color: var(--sis); background: none; border: 0;
  padding: 9px 14px; border-radius: 999px; cursor: pointer; min-width: 44px; min-height: 36px;
  transition: background-color .25s var(--ease), color .25s var(--ease); }
.lang button:hover { color: var(--kagit); }
.lang button[aria-pressed="true"] { background: var(--kagit); color: var(--gece); }

/* ---------- the span ---------- */
main { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter); }
.site { margin: clamp(4px, 1vh, 12px) 0 0; width: min(100%, 820px, 80vh); }
.span { display: block; width: 100%; height: auto; overflow: visible; }
/* unbuilt span reads as a plan: faint band plus a dashed axis, never as finished steel */
.arch-ghost { fill: none; stroke: var(--gece-2); stroke-width: 34; }
.arch-plan { fill: none; stroke: var(--sis-2); stroke-width: 2; stroke-dasharray: 7 9; opacity: .55; }
.arch { fill: none; stroke-width: 34; stroke-dasharray: 0 1; }
.arch-tr { stroke: var(--kirmizi); }
.arch-de { stroke: var(--kehribar); }
/* arch updates without transition: a repainted 34px stroke over the whole span cost ~1s of main thread on mid-range phones */
.deck { fill: var(--kagit); }
.pier { fill: var(--gece-3); }
.hanger { stroke: var(--sis-2); stroke-width: 2; stroke-dasharray: 5 7; opacity: .45; }
.hanger.is-built, .hanger.is-today { stroke-dasharray: none; opacity: 1; }
.hanger.is-built { stroke: var(--kagit); stroke-width: 5; }
.hanger.is-today { stroke: var(--kehribar); stroke-width: 5; animation: weld 2.4s steps(1, end) infinite; }
@keyframes weld { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
html.reduce .hanger.is-today, html.reduce .arch { animation: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .hanger.is-today { animation: none; } .arch { transition: none !important; } }
html:not(.js) .arch { stroke-dasharray: none; opacity: .0; }

.status { margin: clamp(10px, 1.6vh, 16px) auto 0; text-align: center; color: var(--sis); font-size: .95rem; }
.status b { color: var(--kagit); font-variant-numeric: tabular-nums; }

/* ---------- clock: a station board set in Barlow ---------- */
.clock { margin-top: clamp(14px, 2.4vh, 28px); contain: layout paint; }
.unit .num { display: inline-block; min-width: 2.1ch; text-align: center; }
.clock-row { display: flex; gap: clamp(10px, 3vw, 40px); margin: 0; justify-content: center; }
.unit { display: flex; flex-direction: column; align-items: center; min-width: 2ch; }
.num { font: 800 clamp(3.4rem, 11vw, 6rem)/.9 var(--head); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.unit:first-child .num { color: var(--kehribar); }
.lab { margin-top: 8px; font: 600 .95rem/1 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--sis); }
.lab [data-l] { display: none; }
html:not([data-lead="de"]) .lab [data-l="tr"], html[data-lead="de"] .lab [data-l="de"] { display: inline; }
html:not(.js) .clock-row { display: none; }

/* ---------- pitch ---------- */
.pitch { width: min(100%, 760px); text-align: center; margin: clamp(22px, 3.2vh, 40px) 0 clamp(36px, 6vh, 72px); }
h1 { margin: 0; font-family: var(--head); font-weight: 800; text-wrap: balance; display: flex; flex-direction: column; gap: .35em; }
html[data-lead="de"] h1 { flex-direction: column-reverse; }
h1 > span { display: block; }
html:not([data-lead="de"]) .h-tr, html[data-lead="de"] .h-de { font-size: clamp(2.1rem, 5.6vw, 3.6rem); line-height: 1; letter-spacing: -.01em; color: var(--kagit); }
html:not([data-lead="de"]) .h-de, html[data-lead="de"] .h-tr { font: 600 clamp(1.15rem, 2.6vw, 1.5rem)/1.2 var(--head); letter-spacing: .01em; color: var(--sis); }
.when { margin: 18px 0 0; }
.when time { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center;
  background: var(--kehribar); color: var(--gece); border-radius: 10px; padding: 8px 14px; font: 800 1.15rem/1.1 var(--head); letter-spacing: .02em; }
html:not([data-lead="de"]) .when [data-l="de"], html[data-lead="de"] .when [data-l="tr"] { font-weight: 600; opacity: .78; }
html[data-lead="de"] .when time { flex-direction: row-reverse; }
.lede { margin: 18px auto 0; max-width: 60ch; color: var(--sis); text-wrap: pretty; display: flex; flex-direction: column; gap: 6px; }
html[data-lead="de"] .lede { flex-direction: column-reverse; }
html:not([data-lead="de"]) .lede [data-l="tr"], html[data-lead="de"] .lede [data-l="de"] { color: var(--kagit); font-size: 1.07rem; }
.lede [data-l] { display: block; }

.act { margin: 24px 0 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 14px 22px 14px 24px;
  background: var(--kagit); color: var(--gece); border-radius: 12px; text-decoration: none;
  font: 800 1.3rem/1 var(--head); letter-spacing: .02em;
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6);
  transition: background-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn svg { width: 20px; height: 20px; }
.btn:hover { background: var(--kehribar); color: var(--gece); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .7); }
.btn:active { transform: translateY(0); }
.btn [data-l], .act-note [data-l] { display: none; }
html:not([data-lead="de"]) .btn [data-l="tr"], html[data-lead="de"] .btn [data-l="de"],
html:not([data-lead="de"]) .act-note [data-l="tr"], html[data-lead="de"] .act-note [data-l="de"] { display: inline; }
.act-note { font-size: .85rem; color: var(--sis-2); }

/* status line: lead language only */
.status [data-l] { display: none; }
html:not([data-lead="de"]) .status [data-l="tr"], html[data-lead="de"] .status [data-l="de"] { display: inline; }

/* launched */
html.is-open .clock-row .num { color: var(--kehribar); }

/* ---------- footer ---------- */
.foot { padding: 22px var(--gutter) 28px; border-top: 1px solid var(--gece-3); display: flex; flex-wrap: wrap;
  gap: 12px 28px; justify-content: space-between; align-items: center; font-size: .88rem; color: var(--sis-2); }
.ai-note { margin: 0; max-width: 62ch; }
.ai-note [data-l] { display: none; }
html:not([data-lead="de"]) .ai-note [data-l="tr"], html[data-lead="de"] .ai-note [data-l="de"] { display: inline; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--sis); padding: 6px 0; }
.foot nav a:hover { color: var(--kehribar); }

/* ---------- legal pages (Read mode) ---------- */
.legal main { align-items: stretch; }
.doc { width: min(100%, 720px); margin: clamp(24px, 6vh, 64px) auto clamp(48px, 8vh, 96px); }
.doc h1 { font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1; letter-spacing: -.01em; display: block; }
.doc .tr-note { margin: 14px 0 0; color: var(--sis); font-size: .95rem; }
.doc h2 { font: 800 1.7rem/1.1 var(--head); letter-spacing: .005em; margin: 2.4em 0 .5em; color: var(--kagit); }
.doc h3 { font: 600 1.25rem/1.2 var(--head); letter-spacing: .02em; margin: 1.8em 0 .4em; color: var(--kehribar); }
.doc p, .doc li { color: #DCDFE6; max-width: 68ch; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: .3em 0; }
.doc li::marker { color: var(--kehribar); }
.doc address { font-style: normal; background: var(--gece-2); border-radius: 12px; padding: 18px 20px; line-height: 1.7; }
.doc .stand { color: var(--sis-2); font-size: .9rem; margin-top: 3em; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 600 1.05rem/1 var(--head); letter-spacing: .04em; color: var(--sis); text-decoration: none; }
.back:hover { color: var(--kehribar); }
.back svg { width: 16px; height: 16px; }

@media (max-width: 560px) {
  .when time { flex-direction: column; gap: 2px; padding: 8px 16px; }
  html[data-lead="de"] .when time { flex-direction: column-reverse; }
  .brand-word { font-size: 1.6rem; }
  .brand-mark { width: 38px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (min-height: 1000px) and (min-width: 1100px) {
  .site { width: min(100%, 980px, 84vh); }
}

/* contact masking: decoy fragments never render or copy */
.obf .d { display: none; }

/* short desktop screens: the action reaches the first viewport, the explanation follows it */
@media (min-width: 900px) and (max-height: 1000px) {
  .pitch { display: flex; flex-direction: column; align-items: center; }
  .pitch .act { order: 3; margin-top: 22px; }
  .pitch .lede { order: 4; margin-top: 26px; }
}
