/* Metric-matched local fallbacks so the web-font swap doesn't move layout */
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial Black"), local("ArialBlack"); size-adjust: 99.5%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("ArialMT"); size-adjust: 100.75%; }

:root {
  --primary: #2440FF;
  --accent: #D4FF3A;
  --ink: #121212;
  --paper: #F2EFE8;
  --muted-on-dark: #CFCAC1;
  --muted-on-light: #3A3833;
  --fh: "Archivo Black", "Archivo Black Fallback", "Arial Black", sans-serif;
  --fb: "Archivo", "Archivo Fallback", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --gap: clamp(48px, 8vh, 96px);
}
html[data-tema="elektrik"] {
  --primary: #5B2EFF;
  --accent: #FFD23F;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--fb);
  font-size: clamp(19px, 0.35vw + 17.7px, 21px);
  line-height: 1.5;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.menu-open body { overflow: hidden; }
em, i { font-style: normal; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.bg-paper :focus-visible, .bg-accent :focus-visible { outline-color: var(--primary); }

.sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
h1, h2, h3, .n2, .big-line, .m3 li, .yerler li, .dogru, .time, .mq span, .sn, .num, .logo {
  font-family: var(--fh);
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.04em;
}
h1, h2 { margin: 0; line-height: 0.95; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(44px, 13.2vw, 170px); text-transform: uppercase; }
h2 { font-size: clamp(36px, 7.6vw, 140px); }
h3 { margin: 0; line-height: 1; letter-spacing: -0.03em; }
.up { text-transform: uppercase; }
.acc { color: var(--accent); }
.pri { color: var(--primary); }
.w { display: inline-block; }

.lead { font-size: clamp(20px, 0.6vw + 17px, 24px); max-width: 40ch; margin-top: 1.4em; }
.small { font-size: 16px; }
.muted { color: var(--muted-on-dark); }

/* ---------- Sections ---------- */
.s { position: relative; padding: clamp(104px, 15vh, 168px) var(--pad) clamp(72px, 11vh, 128px); }
.wrap { max-width: 1440px; margin: 0 auto; }
.bg-primary { background: var(--primary); color: var(--paper); }
.bg-paper { background: var(--paper); color: var(--ink); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-accent { background: var(--accent); color: var(--ink); }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 52px; padding: .65em 1.35em; border-radius: 999px;
  font-family: var(--fb); font-weight: 600; font-size: 19px; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.pill:hover { transform: translateY(-2px); }
.pill-acc { background: var(--accent); color: var(--ink); }
.pill-out { background: transparent; color: inherit; border-color: currentColor; }
.pill-out:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.pill-sm { min-height: 44px; font-size: 16px; padding: .5em 1.1em; }
.pill-lg { font-size: clamp(20px, 1.6vw, 26px); min-height: 64px; padding: .7em 1.6em; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 12px var(--pad); color: var(--paper);
  background: transparent; transition: background-color .3s ease;
}
.hdr.solid { background: var(--ink); }
.logo { font-size: 28px; line-height: 1; color: inherit; text-decoration: none; text-transform: none; }
.logo .a { color: var(--accent); }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a:not(.pill) { font-weight: 500; font-size: 17px; text-decoration: none; padding: 10px 0; }
.nav a:not(.pill):hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hdr-r { display: flex; align-items: center; gap: 10px; order: 3; }
.nav { margin-left: auto; }
.tema-btn[hidden] { display: none; }
.tema-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: inherit; border: 2px solid currentColor;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.tema-btn:hover { background: var(--paper); color: var(--ink); }
.tema-btn svg { display: block; transition: transform .4s ease; }
.tema-btn[aria-pressed="true"] svg { transform: rotate(180deg); }
.menu-btn { display: none; }
@media (max-width: 899.98px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

.ov {
  position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; padding: 14px var(--pad) 40px; overflow-y: auto;
}
.ov[hidden] { display: none; }
.ov-close { align-self: flex-end; }
.ov ul { margin-top: auto; margin-bottom: auto; display: flex; flex-direction: column; gap: 10px; }
.ov a:not(.pill) {
  font-family: var(--fh); letter-spacing: -0.04em; font-size: clamp(38px, 11vw, 72px);
  line-height: 1.05; text-decoration: none; display: inline-block; padding: 4px 0;
}
.ov .pill { margin-top: 18px; font-size: 22px; min-height: 60px; }

/* ---------- Strike & rewrite ---------- */
.cliche {
  font-family: var(--fb); font-weight: 500; font-size: clamp(24px, 1.4vw + 16px, 34px);
  line-height: 1.4; max-width: 30ch; margin: 0 0 clamp(20px, 3vh, 36px);
}
.bg-primary .cliche { color: var(--muted-on-dark); }
.bg-paper .cliche { color: var(--muted-on-light); --strike: var(--primary); }
.sw { position: relative; display: inline-block; --s: 1; }
.sw::after {
  content: ""; position: absolute; left: 0; right: -0.3em; top: 54%; height: 4px; margin-top: -2px;
  background: var(--strike, var(--accent));
  transform: scaleX(var(--s)); transform-origin: left center;
}
.sw:last-child::after { right: 0; }

/* ---------- Hook ---------- */
.hook { font-family: var(--fb); font-weight: 600; font-size: 22px; line-height: 1.3; margin: var(--gap) 0 0; }
.bg-primary .hook, .bg-ink .hook { color: var(--accent); }
.bg-paper .hook, .bg-accent .hook { color: var(--primary); }

/* ---------- 1. Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero .wrap { width: 100%; }

/* ---------- 2. Manifesto ---------- */
.big-line { font-size: clamp(32px, 5.2vw, 92px); line-height: 1; max-width: 18ch; margin: 0; }
p.big-line { margin-top: .7em; }
.m3 { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4vw, 64px); margin-top: var(--gap); }
.m3 li { font-size: clamp(26px, 3vw, 48px); line-height: 1.05; }

/* ---------- Pinned sections ---------- */
.pinsec { padding: 0; }
.pinbox {
  min-height: 100vh; min-height: 100svh; max-width: 1440px; margin: 0 auto;
  padding: 92px var(--pad) 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.pinsec .hook { margin-top: clamp(24px, 4vh, 48px); }

/* ---------- 3. n ve 2 ---------- */
.nve2 .pinbox { align-items: center; }
.n2 { font-size: clamp(120px, 40vw, 200px); line-height: .8; text-align: center; margin: 0 0 clamp(24px, 4vh, 48px); }
.n2-n { color: var(--paper); }
.n2-t { color: var(--accent); }
.chat { width: min(780px, 100%); display: flex; flex-direction: column; gap: 10px; }
.chat li { display: flex; align-items: flex-end; gap: 10px; }
.chat .c-t { flex-direction: row-reverse; }
.who { font-family: var(--fh); font-size: 18px; line-height: 1.6; width: 1.1em; text-align: center; flex: none; }
.c-n .who { color: var(--paper); }
.c-t .who { color: var(--accent); }
.bub {
  background: var(--paper); color: var(--ink); border-radius: 22px;
  padding: .5em .95em; font-size: clamp(17px, .4vw + 15.5px, 20px); font-weight: 500; line-height: 1.35; max-width: 82%;
}
.c-n .bub { border-bottom-left-radius: 6px; }
.c-t .bub { background: var(--accent); border-bottom-right-radius: 6px; }
.nve2 .hook { align-self: stretch; text-align: center; }
@media (min-width: 768px) {
  .n2 { font-size: min(200px, 22vh); }
}

/* ---------- 4. Her yerde ---------- */
.heryerde h2 { font-size: clamp(34px, 5vw, 84px); }
.yerler { margin: clamp(16px, 3vh, 32px) 0; }
.yerler li {
  font-size: clamp(38px, 10vw, 150px); line-height: .98; text-transform: uppercase;
  color: var(--ink); -webkit-text-stroke: 2px var(--ink);
}
.dogru { font-size: clamp(26px, 3.4vw, 56px); line-height: 1.02; color: var(--primary); max-width: 20ch; margin: 0; }
@media (min-width: 768px) {
  .yerler li { font-size: min(9.6vw, 9.4vh); }
  .dogru { font-size: min(3.4vw, 5.6vh); }
  .heryerde h2 { font-size: min(5vw, 8vh); }
}

/* ---------- 5. Citehound ---------- */
.citehound h2 { font-size: clamp(36px, 7vw, 124px); max-width: 15ch; }
.olc { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 1.2em; max-width: 720px; }
.olc input {
  flex: 1 1 260px; min-width: 0; min-height: 60px; padding: 0 1.1em; border-radius: 999px;
  border: 2px solid var(--paper); background: var(--paper); color: var(--ink);
  font: 500 20px/1 var(--fb);
}
.olc input::placeholder { color: #6B675F; opacity: 1; }
.olc .pill { min-height: 60px; font-size: 20px; padding: 0 1.8em; }
.citehound .small { color: var(--muted-on-dark); }

/* ---------- 6. Hizmetler ---------- */
.svc { margin-top: var(--gap); border-bottom: 2px solid var(--ink); }
.svc li {
  display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 8px 32px;
  align-items: baseline; padding: clamp(22px, 3vh, 34px) 0; border-top: 2px solid var(--ink);
}
.num { color: var(--primary); font-size: 26px; }
.svc h3 { font-size: clamp(26px, 2.6vw, 40px); }
.svc p { margin: 0; color: var(--muted-on-light); }
@media (max-width: 899.98px) {
  .svc li { grid-template-columns: 56px minmax(0, 1fr); }
  .svc p { grid-column: 2; }
}

/* ---------- 7. Süreç ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); margin-top: var(--gap); }
.sn { display: block; color: var(--accent); font-size: clamp(72px, 7vw, 128px); line-height: .9; }
.steps h3 { font-size: clamp(28px, 2.2vw, 36px); margin: .45em 0 .4em; }
.steps p { margin: 0; }
.modes { margin-top: var(--gap); font-weight: 600; font-size: clamp(19px, 1vw + 14px, 24px); border-top: 2px solid var(--paper); padding-top: 1em; }
@media (max-width: 1023.98px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- 8. Hakkımızda ---------- */
.hakkimizda h2 { font-size: clamp(36px, 6.2vw, 116px); max-width: 17ch; }
.mq { overflow: hidden; margin: var(--gap) calc(-1 * var(--pad)); white-space: nowrap; color: var(--paper); }
.mq-track { display: inline-flex; animation: mq 32s linear infinite; will-change: transform; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq span { font-size: clamp(56px, 10vw, 170px); line-height: 1.05; text-transform: uppercase; padding-right: .35em; flex: none; }
@keyframes mq { to { transform: translateX(-50%); } }
.facts { display: flex; flex-wrap: wrap; gap: 16px 48px; font-weight: 600; font-size: clamp(20px, 1vw + 15px, 26px); }
.facts li { border-top: 2px solid var(--accent); padding-top: .5em; max-width: 26ch; }
.hakkimizda .small { color: var(--muted-on-dark); margin-top: 2em; }

/* ---------- 9. Okudunuz ---------- */
.time { font-size: clamp(30px, 4.6vw, 80px); line-height: 1; margin: .6em 0 0; max-width: 20ch; }
.okudunuz .lead { max-width: 46ch; margin-top: 1.6em; }

/* ---------- 10. İletişim ---------- */
.iletisim h2 { font-size: clamp(38px, 8.6vw, 156px); }
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px;
  margin-top: clamp(80px, 14vh, 160px); padding-top: 22px; border-top: 2px solid var(--paper);
  font-size: 16px;
}
.foot .logo { font-size: 24px; }
.foot a:not(.logo) { text-underline-offset: 4px; }

@media (max-width: 559.98px) {
  .btns .pill { width: 100%; }
  .olc .pill { width: 100%; }
}

/* ---------- Reduced motion: final state, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .pill:hover { transform: none; }
  .mq { white-space: normal; }
  .mq-track { display: block; transform: none; }
  .mq .dup { display: none; }
  .mq span { display: block; font-size: clamp(40px, 7vw, 110px); padding: 0 var(--pad); }
}
