/* build.py tarafından üretilir, elle düzenlemeyin */
/* Layout: sinematik, tek renkli (siyah / kırık beyaz). Dev tipografi, serif italik vurgular, tam genişlik satırlar, WebGL ışık dokulu hero. */
:root {
  --bg: #050505;
  --bg-2: #0D0D0E;
  --line: rgba(244, 242, 237, 0.12);
  --line-strong: rgba(244, 242, 237, 0.28);
  --fg: #EDEBE6;
  --muted: #8E8C87;
  --dim: #55534F;
  --live: #7BE3A6;
  --font-sans: "Geist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --fs-hero: clamp(2.9rem, 1.2rem + 7.4vw, 8.6rem);
  --fs-xl: clamp(2.4rem, 1.2rem + 4.6vw, 5.6rem);
  --fs-lg: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem);
  --fs-md: clamp(1.25rem, 1rem + 0.8vw, 1.6rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-weight: 400; font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; }
p { margin: 0; }
em, .serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.wrap {
  width: 100%; max-width: 1440px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px), 4vw);
  padding-right: max(20px, env(safe-area-inset-right, 0px), 4vw);
}
.label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* grain */
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); } 40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); } }

/* buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; font-family: inherit; font-size: 0.95rem; font-weight: 500; cursor: pointer;
  border: 1px solid var(--line-strong); color: var(--fg); background: transparent; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover { color: var(--bg); border-color: var(--fg); }
.btn:hover::before { transform: translateY(0); }
.btn-solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-solid::before { background: var(--bg); }
.btn-solid:hover { color: var(--fg); border-color: var(--line-strong); }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* header */
.site-header { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 70; transition: background-color .4s, border-color .4s, backdrop-filter .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5,5,5,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.logo-svg { height: 30px; width: auto; display: block; color: var(--fg); }
.logo-cut { fill: var(--bg); }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0 auto; padding: 0; }
.nav-links a { font-size: 0.92rem; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.lang { font-size: 0.82rem; color: var(--dim); display: flex; gap: 8px; }
.lang [aria-current] { color: var(--fg); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 0.88rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; color: var(--fg); cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .4s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* sections */
.section { padding-block: clamp(96px, 13vw, 200px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px; margin-bottom: clamp(56px, 7vw, 104px); align-items: start; }
.sec-head h2 { font-size: var(--fs-xl); }
.sec-head p { color: var(--muted); max-width: 48ch; margin-top: 28px; font-size: 1.05rem; font-weight: 300; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { padding: 28px 24px 0 0; border-top: 1px solid var(--line); position: relative; display: grid; gap: 12px; align-content: start; min-width: 0; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--muted); }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--fg); }
.steps h3 { font-size: 1.2rem; letter-spacing: -0.02em; line-height: 1.25; font-weight: 500; }
.steps p { color: var(--muted); font-size: 0.93rem; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 28px; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--muted); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 68ch; padding-bottom: 30px; font-weight: 300; }

/* contact */
.contact h2 { font-size: var(--fs-hero); letter-spacing: -0.05em; line-height: 0.92; max-width: 12ch; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(40px, 6vw, 120px); margin-top: clamp(56px, 7vw, 100px); }
.info { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; }
.info li { display: grid; gap: 4px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.info li:first-child { border-top: 1px solid var(--line); }
.info .k { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.info .v { font-size: 1.2rem; letter-spacing: -0.01em; user-select: all; }
.info a.v:hover { color: var(--muted); }
form.lead { display: grid; gap: 34px; min-width: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
.field { position: relative; display: grid; min-width: 0; }
.field label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.field input, .field textarea {
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; color: var(--fg);
  font: inherit; font-size: 1.15rem; padding: 10px 0 12px; outline: none; transition: border-color .4s; width: 100%;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--fg); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.92rem; cursor: pointer; transition: all .35s var(--ease); }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 3px; }
.consent { display: flex; gap: 12px; font-size: 0.86rem; color: var(--muted); align-items: flex-start; }
.consent input { accent-color: var(--fg); width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.form-status { font-size: 0.92rem; color: var(--muted); }
.form-status.ok { color: var(--live); }

/* footer */
footer { border-top: 1px solid var(--line); padding-top: 64px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; color: var(--muted); font-size: 0.92rem; }
.foot-top h4 { margin: 0 0 14px; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.foot-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-top a:hover { color: var(--fg); }
.wordmark { margin-top: 72px; color: var(--fg); user-select: none; }
.wordmark svg { display: block; width: 100%; height: auto; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 28px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--dim); margin-top: 28px; }

/* whatsapp */
.wa { position: fixed; z-index: 60; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 26px; height: 26px; fill: currentColor; }

/* responsive */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .foot-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; background: rgba(5,5,5,.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 12px max(20px, env(safe-area-inset-right, 0px)) 28px max(20px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding-block: 12px; font-size: 1.8rem; letter-spacing: -0.03em; color: var(--fg); }
  .nav-right { margin-left: auto; }
  .nav .btn { display: none; }
  .menu-btn { display: block; }
  .sec-head, .audit-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head { gap: 20px; }
  .svc button, .svc-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .svc .kind { grid-column: 1 / -1; }
  .svc-inner > :first-child, .svc-spacer { display: none; }
  .work { grid-template-columns: minmax(0, 1fr); }
  .case.wide .cover { aspect-ratio: 16 / 10; }
  .case.wide .cover-shot.second { display: none; }
  .cover-shot, .case.wide .cover-shot { width: 66%; top: 8%; right: 5%; }
  .aud li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .cover-ui { width: 62%; inset: 10% 6% auto auto; }
  .url-field { flex-direction: column; border-radius: 18px; }
  .url-field input { padding: 12px 14px; }
  .foot-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* alt sayfalar */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
.section.sm { padding-block: clamp(72px, 9vw, 130px); }
.contact h2 { font-size: var(--fs-xl); max-width: 14ch; }
.page-hero { position: relative; padding-block: clamp(140px, 17vw, 220px) clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 80vw; height: 80vw; max-width: 1100px; max-height: 1100px; right: -24vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(244,242,237,.10), transparent 62%); }
.page-hero h1 { font-size: var(--fs-xl); max-width: 17ch; margin-top: 28px; letter-spacing: -0.045em; line-height: 1; }
.page-lead { max-width: 60ch; margin-top: 32px; color: rgba(244,242,237,.78); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 300; }
.page-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 36px; padding: 0; font-size: .82rem; color: var(--dim); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: var(--muted); transition: color .3s; }
.crumbs a:hover { color: var(--fg); }
.crumbs [aria-current] { display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.blk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(28px, 5vw, 96px); padding-block: clamp(64px, 8vw, 116px); border-bottom: 1px solid var(--line); }
.blk h2 { font-size: var(--fs-lg); position: sticky; top: 110px; align-self: start; }
.prose { display: grid; gap: 22px; color: rgba(244,242,237,.8); font-size: 1.08rem; font-weight: 300; line-height: 1.7; min-width: 0; }
.prose > p, .prose > ul, .prose > ol { max-width: 68ch; }
.prose a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: var(--fg); }
.prose strong { font-weight: 500; color: var(--fg); }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: 10px; }
.prose li::marker { color: var(--dim); }
.prose h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.08; color: var(--fg); margin-top: 32px; }
.prose h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--fg); margin-top: 12px; }
.prose code { font-size: .92em; padding: 1px 6px; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--line); }
.prose blockquote { margin: 0; padding-left: 20px; border-left: 1px solid var(--line-strong); color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 10px; }
.card { background: var(--bg); padding: 28px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; color: var(--fg); }
.card p { color: var(--muted); font-size: .97rem; line-height: 1.6; }
.rel { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rel a { position: relative; display: grid; gap: 12px; align-content: start; height: 100%; padding: 28px 28px 64px; border: 1px solid var(--line); border-radius: 8px; transition: border-color .4s, background-color .4s; }
.rel a:hover { border-color: var(--line-strong); background: var(--bg-2); }
.rel-k { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.rel h3 { font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1.1; }
.rel p { color: var(--muted); font-size: .93rem; }
.rel-arr { position: absolute; left: 28px; bottom: 24px; transition: transform .5s var(--ease); }
.rel a:hover .rel-arr, .posts a:hover .rel-arr { transform: translateX(6px); }
.src { padding-block: 0 clamp(48px, 6vw, 80px); }
.src h2 { font-size: .78rem; letter-spacing: .16em; margin-bottom: 18px; line-height: 1.6; }
.src ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; max-width: 90ch; }
.src a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); overflow-wrap: anywhere; }
.src a:hover { color: var(--fg); }
.article { max-width: 820px; padding-block: clamp(56px, 7vw, 100px); }
.article > p, .article > ul, .article > ol { max-width: none; }
.post-meta { display: flex; gap: 18px; margin-top: 28px; font-size: .88rem; color: var(--muted); }
.post-meta span::before { content: "·"; margin-right: 18px; color: var(--dim); }
.posts { list-style: none; margin: 0; padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 9vw, 130px); }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); column-gap: 32px; row-gap: 12px; padding-block: 36px; padding-right: 48px; }
.posts time { color: var(--dim); font-size: .85rem; padding-top: 8px; }
.posts h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); letter-spacing: -0.035em; line-height: 1.08; grid-column: 2; }
.posts p { color: var(--muted); grid-column: 2; max-width: 64ch; }
.posts time { grid-row: 1 / span 2; }
.posts .rel-arr { left: auto; right: 0; top: 44px; bottom: auto; }
.foot-top.foot-5 { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
.nf { min-height: 70svh; display: flex; align-items: flex-end; }
@media (min-width: 1081px) {
  .steps.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .foot-top.foot-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .blk { grid-template-columns: minmax(0, 1fr); }
  .blk h2 { position: static; }
  .posts a { grid-template-columns: minmax(0, 1fr); padding-right: 36px; }
  .posts h2, .posts p { grid-column: 1; }
  .posts time { grid-row: auto; padding-top: 0; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .foot-top.foot-5 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .page-cta .btn { flex: 1 1 auto; justify-content: center; }
}
