/* aydilek.media — shared styles. Fonts are self-hosted (SIL OFL, see assets/fonts/), no external requests. */
@font-face { font-family: 'Geist'; src: url(fonts/geist-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Geist'; src: url(fonts/geist-latin-ext-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: 'Bricolage Grotesque'; src: url(fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap;
  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: 'Bricolage Grotesque'; src: url(fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2) format('woff2'); font-weight: 200 800; font-display: swap;
  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 {
  color-scheme: dark;
  --bg: #0c0b0f;
  --bg-2: #141219;
  --card: #17151d;
  --line: #2a2733;
  --fg: #f3efe8;
  --fg-2: #b9b2a8;
  --fg-3: #847d74;
  --accent: #ff6a3d;
  --accent-hi: #ff6a3d;
  --accent-2: #b48cff;
  --accent-ink: #1a0a04;
  --radius: 18px;
  --max: 1120px;
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --text: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 5; backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--fg); }
.logo { display: block; height: 26px; width: auto; overflow: visible; fill: currentColor; }
.logo-liquid { pointer-events: none; }
.liq-a { stop-color: var(--accent); }
.liq-b { stop-color: var(--accent-2); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--fg-2); font-size: 15px; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: var(--card); }
.nav a[aria-current="page"] { color: var(--fg); background: var(--card); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(72px, 12vw, 148px) 0 clamp(56px, 8vw, 96px); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.hero::after { width: 460px; height: 460px; right: 200px; top: 160px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 65%); opacity: .35; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent); } }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; line-height: 1.04; margin: 0; font-weight: 700; }
.hero h1 { font-size: clamp(44px, 8.4vw, 104px); max-width: 12ch; font-variation-settings: "opsz" 96; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--fg-2); max-width: 58ch; margin: 28px 0 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ff8259; }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-3); }
.btn svg { width: 18px; height: 18px; }

/* ---------- sections ---------- */
section.block { padding: clamp(64px, 9vw, 112px) 0; }
section.block-tight { padding-top: 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); }
.section-head p { margin: 0; color: var(--fg-2); font-size: 18px; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hi); font-weight: 600; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: border-color .25s, transform .25s; }
.card:hover { border-color: color-mix(in srgb, var(--accent-hi) 45%, var(--line)); transform: translateY(-3px); }
.card .num { font: 600 13px/1 var(--text); color: var(--fg-3); letter-spacing: .1em; }
.card h3 { font-size: 24px; margin: 26px 0 10px; }
.card p { margin: 0; color: var(--fg-2); font-size: 16px; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-hi); }
.card .icon svg { width: 22px; height: 22px; }
.card:nth-child(even) .icon { background: color-mix(in srgb, var(--accent-2) 16%, transparent); color: var(--accent-2); }

/* ---------- contact card ---------- */
.contact { display: grid; }
.contact-main { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--card)) 0%, var(--card) 60%); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.contact-main h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.contact-main p { color: var(--fg-2); margin: 0 0 28px; max-width: 44ch; }

/* ---------- prose (about, legal) ---------- */
.page-hero { padding: clamp(56px, 9vw, 104px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 76px); }
.page-hero .lead { margin-top: 20px; }
.meta { color: var(--fg-3); font-size: 14px; margin-top: 18px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc p { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--fg-2); text-decoration: none; }
.toc a:hover { color: var(--fg); border-left-color: var(--accent-hi); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 56px 0 16px; scroll-margin-top: 92px; letter-spacing: -0.02em; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -0.01em; scroll-margin-top: 92px; }
.prose p, .prose li { color: var(--fg-2); }
.prose strong { color: var(--fg); font-weight: 600; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent-hi); }
.prose a { color: var(--fg); text-decoration-color: var(--accent-hi); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hi); }
.callout { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 20px 24px; margin: 24px 0; }
.callout p { margin: 0; }
.callout p + p { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
th { color: var(--fg); font-weight: 600; background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }

.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 28px 0; }
.values .card h3 { margin-top: 0; font-size: 21px; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); padding: 36px 0; color: var(--fg-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { text-decoration: none; color: var(--fg-2); }
.site-footer a:hover { color: var(--fg); }

/* ---------- reveal ---------- */
.reveal { transform: translateY(16px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { transform: none; }
.no-js .reveal { transform: none; }

@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0 16px; }
  .toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .logo { height: 20px; }
  .hero::before { width: 340px; height: 340px; }
  .hero::after { width: 300px; height: 300px; right: 40px; }
  .card { padding: 24px; }
  .toc ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { transform: none; }
}
