/* Kartal SE – site.css (mobile first) */
:root {
  --navy: #151a4a;
  --navy-deep: #0e1235;
  --blue: #3a4390;
  --green: #24602b;
  --lime: #d9e04a;
  --paper: #f6f5ef;
  --white: #fff;
  --ink: #14172e;
  --muted: #5a5e78;
  --line: #dedccf;
  --focus: #5d66d6;
  --radius: 10px;
  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-family: var(--head); font-weight: 800; line-height: 1.02; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 11vw, 4.5rem); }
h2 { font-size: clamp(2rem, 7vw, 3.25rem); margin-bottom: .5em; }
h3 { font-family: var(--body); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 800px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--lime); color: var(--navy); font-weight: 600; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-head :focus-visible, .notfound :focus-visible, .transparency :focus-visible { outline-color: var(--lime); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 40px; height: 48px; }
.brand-name { display: none; font: 800 1.5rem/1 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.brand-name b { color: var(--lime); font-weight: 800; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a { display: block; padding: 12px 9px; color: rgba(255,255,255,.78); font-size: .9375rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--white); }
.main-nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--lime); }

/* Buttons */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-ring: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-ring); border-radius: 8px;
  font: 600 1rem/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { --btn-bg: var(--blue); --btn-ring: var(--blue); color: var(--white); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy); }
.btn-ghost:hover { --btn-bg: var(--navy); --btn-ring: var(--navy); color: var(--white); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.hero, .page-head, .notfound, .transparency { --btn-bg: var(--lime); --btn-fg: var(--navy); --btn-ring: var(--lime); }
.hero .btn:hover, .page-head .btn:hover, .notfound .btn:hover, .transparency .btn:hover { --btn-bg: var(--white); --btn-ring: var(--white); color: var(--navy); }
.hero .btn-ghost, .page-head .btn-ghost, .notfound .btn-ghost { --btn-bg: transparent; --btn-fg: var(--white); --btn-ring: rgba(255,255,255,.55); }
.hero .btn-ghost:hover, .page-head .btn-ghost:hover, .notfound .btn-ghost:hover { --btn-bg: var(--white); --btn-ring: var(--white); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions .btn { flex: 1 1 200px; }

/* Hero */
.hero {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.08' stroke-width='3'%3E%3Ccircle cx='200' cy='200' r='180'/%3E%3Cpath d='M200 0v400'/%3E%3C/g%3E%3Ccircle cx='200' cy='200' r='6' fill='%23fff' fill-opacity='.08'/%3E%3C/svg%3E")
    no-repeat 50% 100% / 520px,
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 36px; padding-block: 48px 56px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--lime); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--lime); flex: none; }
.hero h1 { color: var(--white); font-size: clamp(3.25rem, 16vw, 6.5rem); line-height: .9; letter-spacing: -.01em; margin-bottom: 24px; }
.lead { font-size: 1.1875rem; line-height: 1.55; max-width: 36rem; }
.hero .lead, .page-head .lead, .notfound .lead { color: #cfd3f2; }
.hero .lead { margin-bottom: 28px; margin-top: 2rem; }
.hero-crest { width: min(62%, 260px); margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); }

/* Facts strip */
.facts { background: var(--lime); color: var(--navy); }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; margin-block: 0; }
.facts-grid > div { display: flex; flex-direction: column-reverse; padding: 22px 0; }
.facts-grid > div:nth-child(odd) { padding-right: 12px; }
.facts-grid > div:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(21,26,74,.22); }
.facts-grid > div:nth-child(n+3) { border-top: 1px solid rgba(21,26,74,.22); }
.facts dt { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.facts dd { margin: 0 0 4px; font: 800 clamp(2.5rem, 11vw, 3.5rem)/1 var(--head); }

/* Sections */
.section { padding-block: 60px; }
.kicker { margin-bottom: 10px; color: var(--green); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.split { display: grid; gap: 8px; }
.prose p { max-width: 62ch; }
.arrow-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.arrow-link::after { content: " →"; }
.arrow-link:hover { border-bottom-color: var(--navy); }

.teams { background: var(--white); }
.team-list { display: grid; gap: 32px; margin-top: 28px; }
.team-list li { border-top: 3px solid var(--navy); padding-top: 22px; }
.team-tag { display: inline-block; margin: 0 6px 8px 0; padding: 4px 14px 2px; border: 2px solid var(--navy); border-radius: 6px; font: 700 1.5rem/1.2 var(--head); color: var(--navy); }
.team-list p { margin: 12px 0 0; color: var(--muted); max-width: 52ch; }

.transparency { background: var(--green); color: var(--white); }
.transparency h2, .transparency .kicker { color: var(--white); }
.transparency .kicker { color: var(--lime); }
.transparency p { color: #e4efe4; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 28px; }
.partner-grid a { display: flex; align-items: center; justify-content: center; height: 160px; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, border-color .2s; }
.partner-grid a:hover { transform: translateY(-3px); border-color: var(--navy); }
.partner-grid img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }

/* Inner pages */
.page-head { background: var(--navy); color: var(--white); padding-block: 22px 44px; }
.page-head h1 { color: var(--white); margin-bottom: 16px; }
.crumbs { margin-bottom: 28px; font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; color: rgba(255,255,255,.6); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: var(--white); }

.h-sm { font-size: 1.75rem; margin-bottom: 28px; }
.timeline { border-left: 2px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 32px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 9px; width: 14px; height: 14px; background: var(--lime); border: 3px solid var(--navy); border-radius: 50%; }
.when { display: block; font: 700 1.75rem/1.2 var(--head); color: var(--navy); }
.timeline p { margin: 4px 0 0; max-width: 60ch; }

.goals { background: var(--white); }
.goals p { max-width: 62ch; }

.legal h2 { font-size: 1.75rem; margin: 2em 0 .4em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.4em 0 .4em; }
.legal ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal code { font-size: .9em; background: rgba(21,26,74,.08); padding: 1px 5px; border-radius: 4px; }
.legal .btn { margin-top: 1.5em; }

.year { font-size: 2.5rem; margin: 44px 0 14px; }
.year:first-child { margin-top: 0; }
.docs { display: grid; gap: 10px; }
.docs li { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.docs p { margin: 2px 0 0; font-size: .9375rem; color: var(--muted); }
.tag { padding: 2px 6px; background: rgba(21,26,74,.1); border-radius: 4px; font-size: .6875rem; letter-spacing: .06em; }
.btn:hover .tag { background: rgba(255,255,255,.2); }

/* 404 */
.notfound { background: var(--navy); color: var(--white); padding-block: 72px 88px; text-align: center; }
.notfound .lead { margin: 14px auto 28px; }
.notfound h1 { color: var(--white); }
.notfound .actions { justify-content: center; }
.big-code { margin: 0 0 8px; font: 800 clamp(7rem, 38vw, 14rem)/.85 var(--head); color: transparent; -webkit-text-stroke: 2px var(--lime); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9bddc; padding-top: 48px; font-size: .9375rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--lime); }
.foot-grid { display: grid; gap: 32px; }
.foot-about p { margin: 14px 0 0; max-width: 28ch; }
.foot-title { margin-bottom: 12px; font: 700 1.125rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; color: var(--white); }
.site-footer li { display: inline-block; margin-right: 10px; } 
.site-footer li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.social { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; margin-top: 36px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.foot-bottom p { margin: 0; }

/* Tablet and up */
@media (min-width: 480px) {
  .brand-name { display: inline; }
  .main-nav a { padding-inline: 12px; }
}
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .docs li { flex-direction: row; align-items: center; justify-content: space-between; }
  .docs li .btn { flex: none; }
  .actions .btn { flex: 0 0 auto; }
  .foot-grid { grid-template-columns: 2fr 2fr; }
}
@media (min-width: 860px) {
  .bar { min-height: 76px; }
  .main-nav a { padding-inline: 16px; font-size: 1rem; }
  .hero { background-position: 92% 50%; background-size: 640px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; padding-block: 88px 96px; }
  .hero-crest { width: 100%; max-width: 380px; margin: 0 0 0 auto; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .facts-grid > div { padding: 30px 0 30px 28px; border-top: 0 !important; }
  .facts-grid > div:first-child { padding-left: 0; }
  .facts-grid > div + div { border-left: 1px solid rgba(21,26,74,.22); }
  .section { padding-block: 96px; }
  .split { grid-template-columns: 5fr 7fr; gap: 64px; }
  .team-list { grid-template-columns: 3fr 2fr; gap: 56px; }
  .page-head { padding-block: 28px 64px; }
  .notfound { padding-block: 112px 128px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
