/* EarthQuick — marka kimliği: mürekkep zemin, kemik metin, kehribar vurgu (branding/earthquick/kimlik.html) */
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0A0A0B;
  --panel: #121310;
  --chip: #171A13;
  --edge: #2D3018;
  --edge-soft: #242716;
  --bone: #DDD9C8;
  --text: #A9A48D;
  --muted: #7A7A62;
  --amber: #C4831E;
  --amber-hi: #EDB050;
  --gold: #F2D070;
  --live: #8FBF5A;
  --disp: "Barlow Condensed", Barlow, "Arial Narrow", sans-serif;
  --body: Barlow, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --r: 6px;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-hi); text-decoration: none; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { color: var(--bone); margin: 0; }
p { margin: 0 0 1em; }
.ico { width: 1em; height: 1em; flex: none; }
.ico.flip { transform: scaleX(-1); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: var(--r); }
.skip:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.wrap.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--disp); font-size: 13px; font-weight: 700; letter-spacing: .32em;
  text-transform: uppercase; color: var(--amber); margin: 0 0 14px;
}
.lede { font-size: clamp(17px, 1.5vw, 19px); max-width: 64ch; color: var(--text); }
.muted { color: var(--muted); }

/* Üst çubuk */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--edge-soft);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); }
.brand .mark { width: 38px; height: 38px; }
.word { font-family: var(--disp); font-weight: 700; font-size: 24px; letter-spacing: .06em; line-height: 1; }
.word b { color: var(--amber); font-weight: 700; }
.nav { display: flex; gap: clamp(16px, 2.2vw, 28px); margin-left: auto; }
.nav a { color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a:hover { color: var(--bone); }
.lang {
  font-family: var(--disp); font-weight: 700; letter-spacing: .14em; font-size: 14px;
  color: var(--bone); border: 1px solid var(--edge); border-radius: var(--r); padding: 6px 12px;
}
.lang:hover { border-color: var(--amber); color: var(--gold); }

/* Düğmeler */
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: var(--r); border: 1px solid var(--edge); color: var(--bone);
  font-family: var(--disp); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .15s, background .15s, transform .15s;
}
.btn:hover { border-color: var(--amber); color: var(--gold); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(180deg, var(--amber-hi), var(--amber)); color: #15100A; border-color: transparent; }
.btn.primary:hover { background: linear-gradient(180deg, var(--gold), var(--amber-hi)); color: #15100A; }

/* Kahraman */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 0; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(196, 131, 30, .16), transparent 70%),
    radial-gradient(circle, rgba(196, 131, 30, .10) 1px, transparent 1px) 0 0 / 14px 14px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
h1 {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 92px); line-height: .94; letter-spacing: .01em; text-wrap: balance; margin-bottom: 22px;
}
h1 em { font-style: normal; color: var(--amber); }
.hero-art { position: relative; aspect-ratio: 1.12; }
.frame {
  margin: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .4);
}
.frame img { width: 100%; }
.hero-art .desk { position: absolute; width: 86%; right: 0; top: 4%; }
.hero-art .desk2 { width: 64%; right: auto; left: 0; top: 50%; opacity: .96; }
.hero-art .phone { position: absolute; width: 30%; right: 3%; top: 34%; border-radius: 18px; border: 3px solid #26281c; }

.milled {
  height: 9px; margin: clamp(36px, 5vw, 64px) 0 8px;
  background: repeating-linear-gradient(90deg, var(--edge) 0 1px, transparent 1px 6px);
  border-bottom: 1px solid var(--edge);
}
.facts { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 56px); padding: 14px 0 8px; }
.fact { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.fact b { font-family: var(--disp); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); max-width: 22ch; }

.seismo { display: block; width: 100%; height: 72px; margin-top: 28px; }
.seismo path { fill: none; stroke: var(--amber); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.4s .3s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .seismo path { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } }

/* Bölümler */
.sec { padding: clamp(56px, 8vw, 112px) 0; }
.sec.tight { padding: clamp(32px, 5vw, 64px) 0; }
.sec-head { margin-bottom: clamp(24px, 3vw, 40px); }
h2 {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(30px, 4vw, 52px); line-height: 1; margin-bottom: 16px; text-wrap: balance;
}
.sec.tight h2 { font-size: clamp(24px, 2.6vw, 34px); }
h3 { font-family: var(--disp); font-weight: 700; letter-spacing: .04em; font-size: 22px; line-height: 1.1; }

/* Ürün grupları */
.group + .group { margin-top: clamp(40px, 5vw, 64px); }
.group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; border-bottom: 1px solid var(--edge-soft); padding-bottom: 12px; margin-bottom: 20px; }
.group-head h3 { text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-size: 20px; }
.group-head p { margin: 0; color: var(--muted); font-size: 15px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.pcard {
  display: flex; flex-direction: column; gap: 14px; padding: 22px; color: var(--text);
  background: var(--panel); border: 1px solid var(--edge-soft); border-radius: var(--r);
  transition: border-color .2s, transform .2s, background .2s;
}
.pcard:hover { border-color: var(--amber); transform: translateY(-2px); color: var(--text); background: #15160f; }
.pcard-head { display: flex; align-items: center; gap: 16px; }
.pcard h3 { font-size: 28px; margin-bottom: 6px; }
.picon { width: 56px; height: 56px; border-radius: 14px; flex: none; object-fit: contain; }
.picon.lg { width: 88px; height: 88px; border-radius: 22px; }
.pcard-tag { margin: 0; color: var(--bone); font-size: 18px; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--amber-hi); font-weight: 600; font-size: 15px; }

.status {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px rgba(196, 131, 30, .18); }
.status.live::before { background: var(--live); box-shadow: 0 0 0 3px rgba(143, 191, 90, .18); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.chips li { font-size: 12.5px; color: var(--text); background: var(--chip); border: 1px solid var(--edge-soft); border-radius: 4px; padding: 3px 9px; }
.chips.big li { font-size: 15px; padding: 6px 12px; color: var(--bone); }

/* AI */
.ai { background: linear-gradient(180deg, #0F100C, var(--ink)); border-block: 1px solid var(--edge-soft); }
.ai-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: clamp(28px, 4vw, 48px); }
.term, .codebox { background: #0C0D0A; border: 1px solid var(--edge); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .9); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 1px solid var(--edge-soft); background: var(--panel); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--edge); }
.term-bar i:first-child { background: var(--amber); }
.term-bar span { margin-left: 8px; font-size: 13px; color: var(--muted); }
pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.7; color: var(--bone); }
.term pre { font-size: clamp(11.5px, 1.05vw, 14px); }
.pr { color: var(--amber); }
.ok { color: var(--live); }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ccard { padding: 24px; background: var(--panel); border: 1px solid var(--edge-soft); border-top: 2px solid var(--amber); border-radius: var(--r); }
.ccard .k { display: inline-block; font-family: var(--mono); font-size: 12.5px; color: var(--gold); background: var(--chip); border: 1px solid var(--edge); border-radius: 4px; padding: 2px 8px; margin-bottom: 14px; }
.ccard h3 { margin-bottom: 10px; }
.ccard p { margin: 0; font-size: 16px; }

/* Teknoloji tablosu */
.table-wrap { overflow-x: auto; border: 1px solid var(--edge-soft); border-radius: var(--r); background: var(--panel); }
table { width: 100%; border-collapse: collapse; }
.stack th, .stack td { padding: 14px 18px; border-bottom: 1px solid var(--edge-soft); text-align: left; vertical-align: middle; }
.stack tr:last-child th, .stack tr:last-child td { border-bottom: 0; }
.stack th { width: 220px; white-space: nowrap; }
.stack th a { display: inline-flex; align-items: center; gap: 10px; color: var(--bone); font-family: var(--disp); font-size: 20px; letter-spacing: .04em; }
.stack th img { width: 24px; height: 24px; border-radius: 6px; object-fit: contain; }

/* Hakkımızda */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.principles li { padding: 20px 22px; background: var(--panel); border: 1px solid var(--edge-soft); border-left: 2px solid var(--amber); border-radius: var(--r); }
.principles h3 { font-size: 20px; margin-bottom: 6px; }
.principles p { margin: 0; font-size: 15.5px; }

/* İletişim */
.contact { border-top: 1px solid var(--edge-soft); background: radial-gradient(50% 80% at 85% 50%, rgba(196, 131, 30, .12), transparent 70%); }
.contact-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.contact .lede { margin: 0; }
.mail {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--disp); font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); letter-spacing: .03em; color: var(--gold);
  border: 1px solid var(--edge); border-radius: var(--r); padding: 14px 22px; overflow-wrap: anywhere;
}
.mail:hover { border-color: var(--amber); }

/* Ürün sayfası */
.phero { position: relative; padding: clamp(28px, 5vw, 56px) 0 0; overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 85% 0%, rgba(196, 131, 30, .14), transparent 70%);
}
.phero .wrap { position: relative; }
.phero h1 { font-size: clamp(38px, 6vw, 76px); max-width: 18ch; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.back:hover { color: var(--bone); }
.phero-id { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; }
.phero-id .eyebrow { margin-bottom: 4px; }
.pname { font-family: var(--disp); font-weight: 700; font-size: 26px; color: var(--bone); letter-spacing: .04em; margin: 0 0 4px; }
.phero.doc { padding-bottom: clamp(48px, 7vw, 96px); }
.phero.doc h1 { font-size: clamp(40px, 6vw, 72px); }
.phero.doc p { max-width: 70ch; }
.doc-list { padding-left: 20px; margin: 0 0 1em; }
.doc-list a { display: inline-flex; align-items: center; gap: 8px; }

.shots { display: grid; gap: 20px; }
.frame.big { border-radius: 12px; }
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; align-items: start; }
.shot-row .phone { max-width: 260px; justify-self: center; }
.phones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.frame.phone { border-radius: 18px; border: 3px solid #26281c; }

.note {
  font-size: 14.5px; color: var(--muted); background: var(--panel); border: 1px solid var(--edge-soft);
  border-left: 2px solid var(--muted); border-radius: var(--r); padding: 16px 20px;
}

.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.feat { padding: 24px; background: var(--panel); border: 1px solid var(--edge-soft); border-radius: var(--r); }
.feat h3 { margin-bottom: 10px; color: var(--gold); }
.feat p { margin: 0; font-size: 16px; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.stackcol { display: grid; gap: clamp(28px, 4vw, 48px); }
.stackcol > *, .two > *, .ai-in > * { min-width: 0; }
.ai-box { padding: clamp(22px, 3vw, 32px); background: var(--panel); border: 1px solid var(--edge); border-top: 2px solid var(--amber); border-radius: var(--r); }
.ai-box p:last-child { margin: 0; }

.perf caption { caption-side: bottom; text-align: left; padding: 12px 18px; font-size: 13.5px; color: var(--muted); }
.perf th, .perf td { padding: 12px 18px; border-bottom: 1px solid var(--edge-soft); text-align: left; font-size: 15.5px; }
.perf th { font-family: var(--disp); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--muted); }
.perf td:last-child { color: var(--gold); font-weight: 600; }

.nextp { display: block; padding: 24px 28px; background: var(--panel); border: 1px solid var(--edge-soft); border-radius: var(--r); color: var(--text); transition: border-color .2s; }
.nextp:hover { border-color: var(--amber); color: var(--text); }
.nextp .eyebrow { display: block; }
.nextp-in { display: flex; align-items: center; gap: 18px; }
.nextp-in > span { flex: 1; display: flex; flex-direction: column; }
.nextp-in b { font-family: var(--disp); font-size: 28px; color: var(--bone); letter-spacing: .04em; }
.nextp-in .ico { font-size: 28px; color: var(--amber); }

/* Alt bilgi */
.foot { border-top: 1px solid var(--edge-soft); margin-top: 0; padding-bottom: 32px; }
.foot-line { margin: 0 0 32px; height: 48px; opacity: .55; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.foot-brand p { margin: 12px 0 0; font-size: 15px; }
.foot-col h3 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--text); font-size: 15px; }
.foot-col a:hover { color: var(--bone); }
.foot-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--edge-soft); font-size: 13.5px; color: var(--muted); }

@media (max-width: 960px) {
  .hero-in, .ai-in, .about, .two, .cgrid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  .stack th { width: auto; white-space: normal; }
  .stack, .stack tbody, .stack tr, .stack th, .stack td { display: block; }
  .stack th { padding-bottom: 4px; border-bottom: 0; }
  .facts { gap: 18px 28px; }
  .fact { min-width: calc(50% - 14px); }
  .phero-id { gap: 14px; }
  .picon.lg { width: 64px; height: 64px; border-radius: 16px; }
}
