/* ==========================================================================
   Mert Cebeci — kişisel web sitesi
   Marka: lacivert #0B2653 · kırık beyaz #F5F5F5 · adaçayı #8BAA8B · Rubik
   ========================================================================== */

/* ---------- Fonts (self-hosted, Türkçe karakterler latin-ext içinde) ---------- */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/rubik-latin-ext.woff2") format("woff2");
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/rubik-latin.woff2") format("woff2");
  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;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #0b2653;
  --navy-800: #0a2149;
  --navy-900: #081c42;
  --navy-950: #061535;
  --ink: #183155;
  --text: #3b4d6b;
  --muted: #5d6c86;
  --paper: #f5f5f4;
  --white: #ffffff;
  --sage: #8baa8b;
  --sage-300: #b3cbb3;
  --sage-700: #4c6f4c;

  --line: rgba(11, 38, 83, 0.12);
  --line-strong: rgba(11, 38, 83, 0.26);
  --on-navy: #ffffff;
  --on-navy-muted: rgba(226, 233, 245, 0.76);
  --line-on-navy: rgba(255, 255, 255, 0.14);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(80px, 11vw, 144px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(8, 28, 66, 0.04), 0 12px 32px -12px rgba(8, 28, 66, 0.18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--sage); color: var(--navy); }

:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--sage); color: var(--navy); font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-size: 0.975rem; font-weight: 500; letter-spacing: 0.01em; line-height: 1;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.btn--primary { background: var(--sage); color: var(--navy); }
.btn--primary:hover { background: var(--sage-300); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  margin-bottom: 22px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow span {
  display: inline-flex; align-items: center;
  padding-left: 14px; border-left: 1.5px solid var(--line-strong);
  font-size: 1.6rem; font-weight: 300; letter-spacing: 0; line-height: 1; color: var(--ink);
}
.eyebrow--light, .eyebrow--light span { color: var(--on-navy); }
.eyebrow--light span { border-color: var(--line-on-navy); }

.h2 {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1.12; font-weight: 400; letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 em { color: var(--sage-700); }
.section--navy .h2 { color: var(--on-navy); }
.section--navy .h2 em { color: var(--sage); }

.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; color: var(--ink); font-weight: 400; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.header.is-scrolled {
  background: rgba(8, 28, 66, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-on-navy);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; }
.nav__list a {
  position: relative; padding: 6px 0;
  font-size: 0.95rem; color: var(--on-navy-muted);
  transition: color .2s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--sage); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--white); }
.nav__list a.is-active::after, .nav__list a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; position: relative;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; border-radius: 10px;
}
.menu-toggle__bar {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle__bar:nth-of-type(2) { top: 17px; }
.menu-toggle__bar:nth-of-type(3) { top: 25px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(2) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-of-type(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 959px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 24px;
    padding: 12px var(--gutter) 32px;
    background: var(--navy-900);
    border-top: 1px solid var(--line-on-navy);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 1.15rem; color: var(--white); border-bottom: 1px solid var(--line-on-navy); }
  .nav__list a::after { display: none; }
  .header.menu-open { background: var(--navy-900); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  color: var(--on-navy);
  background:
    radial-gradient(ellipse 50% 65% at 74% 52%, #112c5e 0%, rgba(17, 44, 94, 0) 70%),
    linear-gradient(180deg, #0a2350 0%, #091f48 100%);
  padding-top: var(--header-h);
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px;
  min-height: min(calc(100svh - var(--header-h)), 800px);
}
.hero__content { align-self: center; padding-block: 72px 96px; max-width: 620px; }
.hero__title { font-weight: 400; margin: 0 0 28px; }
.hero__kicker {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage);
}
.hero__kicker::before { content: ""; width: 32px; height: 1.5px; background: currentColor; }
.hero__title > span:last-child {
  display: block;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 4.9rem);
  line-height: 1.04; letter-spacing: -0.03em; color: var(--white);
  text-wrap: balance;
}
.hero__title em { color: var(--sage); }
.hero__lead { max-width: 520px; font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); line-height: 1.65; color: var(--on-navy-muted); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* İmza: sunum kapağındaki gibi üstte ve altta ince adaçayı çizgi */
.hero__mark {
  align-self: center; justify-self: center;
  display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3vw, 36px);
  padding-block: 48px;
}
.hero__line {
  width: 1.5px; height: clamp(48px, 9vh, 96px); background: var(--sage); opacity: .8;
  transform-origin: top; animation: line-grow .9s var(--ease) .2s both;
}
.hero__line:last-child { transform-origin: bottom; animation-delay: 2s; }
.hero__sig {
  height: clamp(240px, 30vw, 400px); width: auto;
  /* soldan sağa, mürekkep gibi yumuşak kenarla belirir */
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  mask-image: linear-gradient(90deg, #000 45%, transparent 55%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  animation: sign-in 1.8s cubic-bezier(.55, .1, .35, 1) .5s both;
}
@keyframes sign-in {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; }
}
@keyframes line-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 959px) {
  .hero__grid { position: relative; grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero__content { position: relative; z-index: 1; padding-block: 64px 72px; }
  /* Mobilde imza akışta yer kaplamaz: sağ üstte, yazının arkasında soluk filigran */
  .hero__mark {
    position: absolute; z-index: 0; top: 16px; right: -4%;
    padding: 0; opacity: .12; pointer-events: none;
  }
  .hero__line { display: none; }
  .hero__sig { height: clamp(280px, 80vw, 440px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__sig, .hero__line { animation: none; }
}

/* ---------- Focus band ---------- */
.band { background: var(--white); border-bottom: 1px solid var(--line); }
.band__list {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 26px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.band__list li { display: inline-flex; align-items: center; gap: 14px; }
.band__list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
@media (max-width: 720px) {
  .band__list { justify-content: flex-start; gap: 10px 22px; padding-block: 22px; font-size: 0.72rem; letter-spacing: .12em; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); background: var(--white); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }

.section-head {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px 64px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.section-head__text { font-size: 1.05rem; color: var(--muted); max-width: 460px; }
.section--navy .section-head__text { color: var(--on-navy-muted); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- 01 About ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about__media {
  position: sticky; top: calc(var(--header-h) + 32px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(8, 28, 66, .45);
}
.about__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 66, 0) 60%, rgba(8, 28, 66, .55) 100%);
}
.about__media > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.about__sig { position: absolute; left: 28px; bottom: 24px; z-index: 1; height: 64px; width: auto; }
.about__body .h2 { margin-bottom: 32px; }
.about__body .lead { margin-bottom: 28px; }
.prose p + p { margin-top: 1.1em; }
.quote {
  margin-top: 40px; padding: 28px 32px;
  border-left: 2px solid var(--sage); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
}
.quote p { font-size: 1.2rem; line-height: 1.5; color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { position: relative; top: 0; max-width: 440px; }
}

/* ---------- 02 Expertise cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 30px 34px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-4px); }
.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.card__icon {
  width: 48px; height: 48px; padding: 12px; border-radius: 14px;
  background: var(--paper); color: var(--navy);
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.card:hover .card__icon { background: var(--navy); color: var(--sage-300); }
.card__num { font-size: 0.9rem; font-weight: 500; color: var(--sage-700); letter-spacing: 0.06em; }
.card h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 500; color: var(--ink); margin-bottom: 12px; text-wrap: balance; }
.card p { font-size: 0.975rem; line-height: 1.65; color: var(--muted); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .card__top { margin-bottom: 24px; } }

/* ---------- 03 Approach steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: s; }
/* Çizgi ilk dairenin merkezinden son dairenin merkezine; JS --p ile dolar */
.steps::before, .steps::after {
  content: ""; position: absolute; top: 28px; height: 1.5px; margin-top: -0.75px;
  left: 28px; right: calc((100% - 112px) / 5 - 28px);
}
.steps::before { background: rgba(139, 170, 139, .2); }
.steps::after {
  background: linear-gradient(90deg, rgba(139, 170, 139, .5), var(--sage));
  transform: scaleX(var(--p, 1)); transform-origin: left;
  transition: transform .2s linear;
}
.step { position: relative; }
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 28px;
  border-radius: 50%; border: 1.5px solid var(--sage); background: var(--navy);
  font-size: 0.95rem; font-weight: 500; color: var(--sage);
}
.step h3 { font-size: 1.3rem; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.step p { font-size: 0.975rem; line-height: 1.65; }

/* Çizgi ulaştığında adım "yanar" */
.step__num { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease); }
.step h3, .step p { transition: opacity .6s var(--ease); }
.js .step:not(.is-on) .step__num { border-color: rgba(139, 170, 139, .35); color: rgba(139, 170, 139, .6); }
.js .step:not(.is-on) h3, .js .step:not(.is-on) p { opacity: .4; }
.js .step.is-on .step__num {
  background: var(--sage); border-color: var(--sage); color: var(--navy);
  box-shadow: 0 0 0 8px rgba(139, 170, 139, .12);
}

.statement {
  margin-top: clamp(64px, 8vw, 104px); padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line-on-navy);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px 64px; align-items: end;
}
.statement p {
  font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.2rem); line-height: 1.3; font-weight: 300; letter-spacing: -0.01em;
  color: var(--white); text-wrap: balance;
}
.statement em { color: var(--sage); }
/* Kaydırdıkça kelime kelime aydınlanır (JS --p: 0→1 verir) */
.statement .w {
  opacity: clamp(.16, calc(var(--p, 1) * var(--n, 1) - var(--i, 0)), 1);
  transition: opacity .25s linear;
}
.statement footer { font-size: 0.975rem; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .statement { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 36px; }
  .step__num { grid-row: span 2; margin-bottom: 0; }
  .step::before, .step::after {
    content: ""; position: absolute; left: 28px; top: 56px; bottom: 0; width: 1.5px; margin-left: -0.75px;
  }
  .step::before { background: rgba(139, 170, 139, .2); }
  .step::after {
    background: var(--sage);
    transform: scaleY(var(--f, 1)); transform-origin: top; transition: transform .2s linear;
  }
  .step:last-child { padding-bottom: 0; }
  .step:last-child::before, .step:last-child::after { display: none; }
  .step h3 { align-self: center; margin: 14px 0 8px; }
}

/* ---------- 04 Services ---------- */
.areas {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line-strong);
  margin-bottom: clamp(56px, 7vw, 88px);
  border-radius: var(--radius-sm); overflow: hidden;
}
.areas li {
  display: flex; flex-direction: column; gap: 18px;
  min-height: 150px; padding: 22px 22px 24px;
  border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
  font-size: 0.98rem; font-weight: 500; line-height: 1.35; color: var(--ink);
  background: var(--paper);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.areas li span { font-size: 0.85rem; font-weight: 400; color: var(--sage-700); }
.areas li:hover { background: var(--navy); color: var(--white); }
.areas li:hover span { color: var(--sage); }
.areas li:first-child { border-top-left-radius: var(--radius-sm); }
@media (max-width: 1060px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .areas { grid-template-columns: repeat(2, 1fr); } .areas li { min-height: 120px; padding: 18px; } }

/* Masaüstü: solda başlık listesi, sağda içerik (sekme görünümü).
   Mobil: her başlığın içeriği hemen altında açılır (akordiyon). Aynı HTML. */
.tabs {
  display: grid; grid-template-columns: 340px 1fr; grid-template-rows: repeat(5, auto) 1fr;
  column-gap: clamp(24px, 4vw, 56px); row-gap: 6px;
  padding: clamp(24px, 3.5vw, 48px);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.tabs__item { display: contents; }
.tabs__tab {
  grid-column: 1;
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left;
  padding: 16px 20px 16px 22px; border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--muted);
  font-size: 1rem; font-weight: 500; line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tabs__tab::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
  background: var(--sage); transform: scaleY(0); transition: transform .3s var(--ease);
}
.tabs__tab:hover { color: var(--ink); background: var(--paper); }
.tabs__tab[aria-expanded="true"] { color: var(--white); background: var(--navy); }
.tabs__tab[aria-expanded="true"]::before { transform: scaleY(1); }
.tabs__chev { display: none; }

.tabs__panel { grid-column: 2; grid-row: 1 / -1; padding-top: 6px; }
.tabs__panel:focus-visible { outline-offset: 8px; }
.tabs__panel h3 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; font-weight: 400; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 18px; text-wrap: balance;
}
.tabs__panel > p:not(.tabs__label):not(.tabs__note) { color: var(--muted); margin-bottom: 30px; max-width: 640px; }
.tabs__label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 16px; }
.tabs__note { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.tabs__panel.is-entering { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { position: relative; padding-left: 32px; font-size: 0.975rem; line-height: 1.5; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(139, 170, 139, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234c6f4c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

@media (max-width: 959px) {
  .tabs { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; padding: 4px clamp(20px, 4vw, 32px); }
  .tabs__tab {
    grid-column: auto;
    padding: 22px 0; border-radius: 0; border-top: 1px solid var(--line);
    color: var(--ink); font-size: 1.05rem;
  }
  .tabs__item:first-child .tabs__tab { border-top: 0; }
  .tabs__tab::before { display: none; }
  .tabs__tab:hover, .tabs__tab[aria-expanded="true"] { background: none; color: var(--navy); }
  .tabs__chev {
    display: grid; place-items: center; flex: none; position: relative;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--line-strong);
    transition: background-color .25s var(--ease), border-color .25s var(--ease);
  }
  .tabs__chev::before, .tabs__chev::after {
    content: ""; position: absolute; width: 12px; height: 1.5px; border-radius: 2px; background: currentColor;
    transition: transform .3s var(--ease);
  }
  .tabs__chev::after { transform: rotate(90deg); }
  .tabs__tab[aria-expanded="true"] .tabs__chev { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .tabs__tab[aria-expanded="true"] .tabs__chev::after { transform: rotate(0deg); }
  .tabs__panel { grid-column: auto; grid-row: auto; padding: 0 0 28px; }
  .tabs__panel h3 { font-size: 1.35rem; }
}
@media (max-width: 640px) { .checklist { grid-template-columns: 1fr; } }

.services-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap;
  margin-top: clamp(48px, 6vw, 72px);
}
.services-cta p { max-width: 680px; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.45; color: var(--ink); text-wrap: balance; }
.services-cta em { color: var(--sage-700); font-weight: 500; }

/* Bölüm kapanış cümleleri (Ne Yapıyorum, Neden Ben) */
.section-close, .reasons__close {
  max-width: 760px; margin-top: clamp(48px, 6vw, 72px);
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.45; color: var(--ink); text-wrap: balance;
}
.section-close em, .reasons__close em { color: var(--sage-700); font-weight: 500; }
.reasons__close { grid-column: 2; margin-top: 40px; }
@media (min-width: 961px) { #neden .why { row-gap: 0; } }
@media (max-width: 960px) { .reasons__close { grid-column: auto; margin-top: 0; } }

/* ---------- 05 Why ---------- */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.why__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.why__aside .h2 { margin-bottom: 24px; }
.why__text { color: var(--muted); margin-bottom: 36px; }
.why__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); max-width: 380px; }
.why__media img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: top; }

.reasons li {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding-block: 32px; border-bottom: 1px solid var(--line);
}
.reasons li:first-child { border-top: 1px solid var(--line); }
.reasons__num { font-size: 2rem; font-weight: 300; line-height: 1; color: var(--sage-700); }
.reasons h3 { font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.reasons p { color: var(--muted); }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__aside { position: static; }
  .why__media { display: none; }
  .why__text { margin-bottom: 0; }
}
@media (max-width: 520px) { .reasons li { grid-template-columns: 48px 1fr; gap: 12px; padding-block: 26px; } .reasons__num { font-size: 1.6rem; } }

/* ---------- 06 Contact ---------- */
.contact { position: relative; overflow: hidden; padding-bottom: 0; }
.contact__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: end; }
.contact__body { padding-bottom: var(--section-y); }
.contact__body .h2 { margin-bottom: 24px; }
.contact__text { max-width: 520px; font-size: 1.1rem; margin-bottom: 44px; }
.contact__text strong { display: block; margin-bottom: 8px; font-weight: 500; color: var(--white); }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 640px; }
.contact__item {
  display: flex; align-items: center; gap: 16px; height: 100%;
  padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line-on-navy); background: rgba(255, 255, 255, .03);
  color: var(--white); font-size: 0.98rem; line-height: 1.35; word-break: break-word;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.contact__item small { display: block; margin-bottom: 3px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.contact__item:hover { border-color: var(--sage); background: rgba(139, 170, 139, .08); transform: translateY(-2px); }
.contact__icon {
  width: 44px; height: 44px; padding: 11px; flex: none; border-radius: 50%;
  background: rgba(139, 170, 139, .14); color: var(--sage-300);
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact__list li:first-child { grid-column: 1 / -1; }
.contact__list li:first-child .contact__item { font-size: 1.3rem; }
.contact__media { align-self: end; justify-self: center; width: 100%; max-width: 480px; }
.contact__media img {
  width: 100%;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0, #000 16%),
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 62%, #000 80%);
  -webkit-mask-composite: source-in, source-over, source-over;
  mask-image:
    linear-gradient(to bottom, transparent 0, #000 16%),
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 62%, #000 80%);
  mask-composite: intersect, add, add;
}
@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__body { padding-bottom: 24px; }
  .contact__media { max-width: 400px; }
}
@media (max-width: 560px) {
  .contact__list { grid-template-columns: 1fr; }
  .contact__list li:first-child .contact__item { font-size: 1.15rem; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--on-navy-muted); padding-block: 56px 0; overflow: hidden; }

/* Kenardan kenara dev isim; alttan kırpılır, yukarı doğru yükselerek belirir */
.footer__mark { container-type: inline-size; margin-top: clamp(40px, 6vw, 72px); }
.footer__mark span {
  display: block; white-space: nowrap; user-select: none;
  font-size: 19cqi; font-weight: 500; letter-spacing: -0.045em; line-height: .8;
  margin-bottom: -0.1em;
  background: linear-gradient(180deg, rgba(139, 170, 139, .34) 0%, rgba(139, 170, 139, .1) 55%, rgba(139, 170, 139, 0) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Tetikleyici kırpılmayan dış kutuda; hareket içteki yazıda */
.js .footer__mark[data-reveal] { opacity: 1; transform: none; }
.js .footer__mark[data-reveal] span {
  opacity: 0; transform: translateY(40%);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.js .footer__mark[data-reveal].is-visible span { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .footer__mark[data-reveal] span { opacity: 1; transform: none; transition: none; }
}
.footer__inner { display: grid; gap: 28px; }
.footer__brand img { height: 60px; width: auto; }
.footer__tags { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line-on-navy); font-size: 0.9rem;
}
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-on-navy); color: var(--white);
  transition: border-color .2s, color .2s;
}
.footer__social a:hover { border-color: var(--sage); color: var(--sage); }

/* ---------- Reveal on scroll (yalnızca JS varken gizler) ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tabs__panel.is-entering { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
