:root {
  --paper: #F4F6F8;
  --paper-2: #E9EDF1;
  --white: #FFFFFF;
  --ink: #101A3A;          /* logo navy, deepened for text */
  --navy: #002261;         /* logo navy (vector) */
  --navy-2: #00184A;
  --teal: #0298AE;         /* logo teal (vector): marks and rules only */
  --teal-ink: #016B7B;     /* teal for small text, AA on paper and white */
  --muted: #4A5468;
  --rule: #CBD3DD;
  --on-navy-muted: #B9C3DD;

  --f-display: "Saira", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-mark: "Saira", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --top-h: 72px;
  --top-x: clamp(16px, 3.9vw, 56px);
  --top-y: clamp(16px, 1.7vw, 24px);

  --wrap: 1280px;
  --gut: clamp(16px, 4vw, 48px);
  --sec: clamp(64px, 11vw, 160px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--f-body);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--teal); color: var(--white); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "wdth" 100;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--rule) var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Wordmark (echoes logo lettering, not a copy of the mark) ---------- */
.mark {
  display: inline-flex; align-items: baseline; gap: .28em;
  text-decoration: none;
  font-family: var(--f-mark);
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
}
.mark__sb {
  font-weight: 900; font-size: 30px; color: var(--navy);
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.04em;
}
.mark__en {
  font-weight: 700; font-size: 21px; color: var(--teal-ink);
  font-variation-settings: "wdth" 104;
  letter-spacing: -0.01em;
}
.mark--inv .mark__sb { color: var(--white); }
.mark--inv .mark__en { color: var(--teal); }

/* ---------- Header (floating glass bar) ---------- */
.top {
  position: fixed; z-index: 20;
  top: var(--top-y); left: var(--top-x); right: var(--top-x);
}
/* Glass lives on a pseudo-element so the mobile menu card can blur the page too
   (an ancestor with backdrop-filter would become its backdrop root). */
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 16px;
  background: rgba(255, 255, 255, .76);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 1px 0 rgba(16, 26, 58, .04), 0 14px 36px -16px rgba(16, 26, 58, .32);
}
.top__in {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 24px;
  height: var(--top-h);
  padding: 0 28px 0 22px;
}
.top__in > .mark { justify-self: start; }
.top__menu { display: contents; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a {
  position: relative;
  display: inline-flex; align-items: center; height: 44px;
  font: 500 15px/1 var(--f-body);
  letter-spacing: .005em;
  text-decoration: none; color: var(--ink);
  transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 2px;
  background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { transform: scaleX(1); }

.nav a:focus-visible { border-radius: 999px; }

.top__toggle {
  display: none;
  justify-self: end;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--navy); cursor: pointer;
  border-radius: 10px;
}
.top__bars, .top__bars::before, .top__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.top__bars { position: relative; margin: 0 auto; }
.top__bars::before, .top__bars::after { content: ""; position: absolute; left: 0; }
.top__bars::before { top: -7px; }
.top__bars::after { top: 7px; width: 14px; }
.top.is-open .top__bars { background: transparent; }
.top.is-open .top__bars::before { transform: translateY(7px) rotate(45deg); }
.top.is-open .top__bars::after { width: 22px; transform: translateY(-7px) rotate(-45deg); }

/* Anchor targets clear the floating bar */
[id] { scroll-margin-top: calc(var(--top-y) + var(--top-h) + 16px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-bottom: var(--sec); }
.hero__media {
  height: min(90vh, 880px); min-height: 520px; overflow: hidden;
  background: var(--paper-2);
}
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
}

.hero__panel-wrap { position: relative; margin-top: clamp(-260px, -22vw, -120px); }
.hero__panel {
  background: var(--white);
  max-width: 820px;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px) clamp(36px, 5vw, 60px);
  border-top: 4px solid var(--teal);
  box-shadow: 0 24px 60px -24px rgba(16, 26, 58, .22);
}
.hero h1 {
  font-size: clamp(2rem, 1rem + 2.8vw, 3.5rem);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--navy);
}
.hero__panel p { margin-top: 28px; max-width: 62ch; color: var(--muted); font-size: 18px; }


.eyebrow { margin: 0 0 14px; font: 600 13px/1.4 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }

/* ---------- Amaç ---------- */
.aim { padding: 0 0 var(--sec); }
.aim__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-areas:
    "title lead"
    "media goals";
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(40px, 6vw, 72px);
}
.aim .sec-title { grid-area: title; }
.aim h2 { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.5rem); color: var(--navy); }
.aim__lead {
  grid-area: lead;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem);
  line-height: 1.32; letter-spacing: -0.012em;
  max-width: 34ch;
}
/* Photo spans exactly the goals block: top on the paragraph, bottom on the last rule */
.aim__media { grid-area: media; align-self: stretch; min-height: 280px; }
.aim__media img { width: 100%; height: 100%; object-fit: cover; }
.aim__goals { grid-area: goals; align-self: start; }
.aim__goals p { color: var(--muted); max-width: 64ch; }
.aim__goals ul { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.aim__goals li {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  letter-spacing: -0.01em; color: var(--navy);
}
.aim__goals li::before {
  content: ""; flex: none; width: 10px; height: 10px;
  background: var(--teal);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

/* ---------- Etaplar ---------- */
.phases { background: var(--white); padding-top: var(--sec); }
.phases__head {
  display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 96px);
}
.phases h2 { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.5rem); color: var(--navy); }
.phases__head p { color: var(--muted); max-width: 66ch; }
.phases__head .eyebrow { color: var(--teal-ink); }

.track {
  list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 96px);
  position: relative;
}
.track::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px;
  background: linear-gradient(90deg, var(--navy) 0 38%, var(--rule) 38% 100%);
}
.track__step { position: relative; padding-top: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.track__step::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 16px; height: 16px; background: var(--white);
  border: 2px solid var(--rule); border-radius: 50%;
}
.track__step.is-now::before { background: var(--teal); border-color: var(--navy); }
.track__tag { display: block; font: 600 13px/1.4 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.track h3 { margin-top: 10px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--ink); max-width: 24ch; }

.phases__media img { width: 100%; height: clamp(280px, 42vw, 560px); object-fit: cover; object-position: 50% 50%; }

/* ---------- Katkı ---------- */
.gain { background: var(--navy); color: var(--white); padding: var(--sec) 0; }
.gain__grid { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 96px); }
.gain h2 { font-size: clamp(1.75rem, 1rem + 1.8vw, 2.5rem); color: var(--white); }
/* Side column: heading on top, photo fills down to the list's bottom rule */
.gain__side { display: flex; flex-direction: column; }
.gain__media { flex: 1; margin-top: 40px; min-height: 240px; }
.gain__media img { width: 100%; height: 100%; object-fit: cover; }
/* 2x2 ruled table: equal cell inset on every side of each divider */
.gain__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.gain__list > div {
  padding: 32px 24px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
/* 48px gutter split across the two cells (no vertical rule) so the horizontal rules stay continuous */
.gain__list > div:nth-child(even) { padding-left: 24px; padding-right: 0; }
.gain dt {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.125rem, 1rem + .6vw, 1.375rem); letter-spacing: -0.015em;
  color: #4FC8DA;          /* light teal, AA on navy */
}
.gain dd { margin: 12px 0 0; color: var(--on-navy-muted); }

/* ---------- İletişim ---------- */
.contact { padding: 72px 0; background: var(--paper); }
.contact__inner { max-width: 520px; margin: 0 auto; text-align: center; }
.contact h2 {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
}
.contact h2::before, .contact h2::after { content: ""; width: 32px; height: 1px; background: var(--teal); }
.contact__link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(16px, 2.5vw, 28px);
  margin-top: 20px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--teal);
  color: var(--navy); text-decoration: none; text-align: left;
  box-shadow: 0 1px 2px rgba(16, 26, 58, .04);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact__icon {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  background: rgba(2, 152, 174, .1); color: var(--teal-ink);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.contact__icon svg { width: 22px; height: 22px; }
.contact__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact__label { font: 600 13px/1.4 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); }
.contact__mail {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--navy); overflow-wrap: anywhere;
  text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.contact__arrow {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 1px solid var(--rule); border-radius: 50%; color: var(--navy);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .35s var(--ease);
}
.contact__arrow svg { width: 18px; height: 18px; }
.contact__link:hover { border-color: var(--teal); box-shadow: 0 12px 32px -16px rgba(0, 34, 97, .25); }
.contact__link:hover .contact__mail { color: var(--teal-ink); text-decoration-color: var(--teal); }
.contact__link:hover .contact__arrow, .contact__link:focus-visible .contact__arrow { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateX(6px); }
.contact__link:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .contact__link:hover .contact__arrow, .contact__link:focus-visible .contact__arrow { transform: none; } }
@media (max-width: 600px) {
  .contact { padding: 56px 0; }
  .contact__link { grid-template-columns: auto 1fr auto; grid-template-areas: "icon . arrow" "text text text"; row-gap: 14px; margin-top: 20px; padding: 18px; }
  .contact__icon { grid-area: icon; width: 44px; height: 44px; }
  .contact__arrow { grid-area: arrow; width: 44px; height: 44px; }
  .contact__text { grid-area: text; }
}

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--on-navy-muted); border-top: 1px solid rgba(255, 255, 255, .12); }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.foot small { font-size: 13px; line-height: 1; letter-spacing: .01em; }

/* ---------- Logo image ---------- */
.mark__logo { display: block; height: 44px; width: auto; }
.mark--inv .mark__logo { height: 28px; }

/* ---------- Responsive ---------- */

/* Tablet: two-column compositions, single-column flow only where text needs width */
@media (max-width: 960px) {
  .aim__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "title title" "lead lead" "goals media";
    row-gap: 32px;
  }
  .aim__lead { max-width: 30ch; }
  .aim__goals ul { margin-top: 24px; }
  .aim__goals li { padding: 18px 0; }
  .phases__head { grid-template-columns: 1fr; row-gap: 20px; }
  .gain__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .gain__side { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(32px, 6vw, 96px); align-items: end; }
  .gain__media { margin-top: 0; min-height: 0; }
  .gain__media img { height: auto; aspect-ratio: 16 / 9; }
  .gain__list > div { padding: 28px 16px 28px 0; }
  .gain__list > div:nth-child(even) { padding: 28px 0 28px 16px; }
}

/* Header collapses to logo + menu button */
@media (max-width: 720px) {
  :root { --top-h: 60px; --top-x: 16px; --top-y: 16px; }
  .top__in { grid-template-columns: 1fr auto; padding: 0 8px 0 16px; }
  .mark__logo { height: 36px; }
  .top__toggle { display: block; }
  .top__menu {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: calc(100% + 8px);
    padding: 6px 20px 8px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 1px 0 rgba(16, 26, 58, .04), 0 18px 40px -16px rgba(16, 26, 58, .35);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .top.is-open .top__menu {
    visibility: visible; opacity: 1; transform: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s;
  }
  .nav { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a {
    height: auto; min-height: 56px;
    font: 600 20px/1 var(--f-display); letter-spacing: -0.01em; color: var(--navy);
    border-bottom: 1px solid rgba(16, 26, 58, .12);
  }
  .nav a::after { display: none; }
  .nav a:focus-visible { border-radius: 4px; }
  .nav a:last-child { border-bottom: 0; }
}

/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__media { height: 68vh; min-height: 440px; max-height: 600px; }
  .hero__media img { object-position: 58% 60%; }
  .hero__panel-wrap { margin-top: -88px; }
  .hero__panel { padding: 28px 22px 32px; }
  .hero__panel p { margin-top: 20px; font-size: 16px; }
  .aim__grid { grid-template-columns: 1fr; grid-template-areas: "title" "lead" "goals" "media"; row-gap: 24px; }
  .aim__media { min-height: 0; }
  .aim__media img { height: auto; aspect-ratio: 3 / 2; }
  .aim__goals li { padding: 16px 0; }
  .track { grid-template-columns: 1fr; }
  .track::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--navy) 0 50%, var(--rule) 50% 100%); }
  .track__step { padding: 0 0 40px 40px; }
  .track__step:last-child { padding-bottom: 56px; }
  .phases__media img { height: 260px; object-position: 50% 50%; }
  .gain__side { grid-template-columns: 1fr; row-gap: 28px; }
  .gain__list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gain__list > div, .gain__list > div:nth-child(even) { padding: 24px 0; }
  .foot__in { height: 56px; }
  .mark--inv .mark__logo { height: 24px; }
}
