/* ==========================================================================
   Meltem Gören — danışmanlık sitesi
   Kimlik kartvizitten gelir: lacivert, somon, açık gri ve Jost.
   ========================================================================== */

/* --- Yazı tipi (kendi sunucumuzdan, üçüncü taraf isteği yok) --- */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/jost-latin-wght-normal.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;
}

/* --- Değişkenler --- */
:root {
  color-scheme: light;

  --navy: #262844;        /* kartvizit zemini */
  --navy-deep: #1c1e36;
  --navy-lift: #2f3154;   /* lacivert üstünde yüzeyler */
  --navy-line: #43466b;
  --salmon: #f18960;      /* kartvizit vurgusu */
  --grey: #d6d6d6;        /* logonun M çizgisi */
  --paper: #ffffff;
  --mist: #f1f1f6;
  --ink: #262844;
  --ink-soft: #5a5c78;
  --on-navy-soft: #b7b8cc;
  --rule: #dcdce6;

  --font: "Jost", "Century Gothic", "Avenir Next", Avenir, system-ui, sans-serif;

  --step--1: 0.889rem;
  --step-0: 1rem;
  --step-1: 1.222rem;
  --step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.667rem);
  --step-3: clamp(1.7rem, 1.35rem + 1.4vw, 2.444rem);
  --step-4: clamp(2rem, 1.3rem + 2.9vw, 3.5rem);

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --band: clamp(4.5rem, 9vw, 8rem);
  --curve: clamp(5rem, 14vw, 11rem);  /* logodaki G yayından gelen tek köşe */
  --header-h: 4.75rem;
}

/* --- Temel --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h3, h4 { font-size: inherit; font-weight: inherit; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.band--navy :focus-visible,
.site-footer :focus-visible { outline-color: var(--salmon); }

.wrap {
  width: min(100% - 2 * var(--gutter), 76rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--salmon);
  color: var(--navy);
  font-weight: 500;
}
.skip:focus { top: 1rem; }

/* ==========================================================================
   Açılış animasyonu: logo çizilir, sayfa hazır olunca perde kalkar.
   Süreler Figma'daki hareketle aynı (4,48 sn'lik döngü).
   ========================================================================== */
.loader { display: none; }
.is-loading .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--navy);
  transition: opacity 0.45s ease, visibility 0s 0.45s;
  /* betik yüklenemezse perde kendiliğinden kalkar */
  animation: loader-failsafe 0.45s ease 10s forwards;
}
.is-loading .loader.is-done { opacity: 0; visibility: hidden; }
/* perde kalkarken logo, alttaki başlığın üstünde asılı kalmasın */
.loader.is-done .loader__logo { animation: none; opacity: 0; transition: opacity 0.18s ease; }
.loader__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.loader__logo {
  width: min(44vw, 10rem);
  height: auto;
  overflow: visible;
  animation: loader-fade 4.48s linear infinite;
}
.loader__logo path { stroke-dashoffset: 0; }
.loader__m { animation: loader-draw-m 4.48s linear infinite; }
.loader__g1 { animation: loader-draw-g1 4.48s linear infinite; }
.loader__g2 { animation: loader-draw-g2 4.48s linear infinite; }

@keyframes loader-fade {
  0% { opacity: 0; animation-timing-function: ease-in-out; }
  2.5% { opacity: 1; }
  89.063% { opacity: 1; animation-timing-function: ease-in-out; }
  100% { opacity: 0; }
}
@keyframes loader-draw-m {
  0% { stroke-dasharray: 0 1; visibility: hidden; }
  2.5% { stroke-dasharray: 0 1; visibility: hidden; animation-timing-function: cubic-bezier(0.3, 0, 0.25, 1); }
  40.625% { stroke-dasharray: 1 1; visibility: visible; }
  100% { stroke-dasharray: 1 1; visibility: visible; }
}
@keyframes loader-draw-g1 {
  0% { stroke-dasharray: 0 1; visibility: hidden; }
  2.5% { stroke-dasharray: 0 1; visibility: hidden; animation-timing-function: ease-in-out; }
  30.625% { stroke-dasharray: 1 1; visibility: visible; }
  100% { stroke-dasharray: 1 1; visibility: visible; }
}
@keyframes loader-draw-g2 {
  0% { stroke-dasharray: 0 1; visibility: hidden; }
  29.063% { stroke-dasharray: 0 1; visibility: hidden; animation-timing-function: ease-in-out; }
  43.125% { stroke-dasharray: 1 1; visibility: visible; }
  100% { stroke-dasharray: 1 1; visibility: visible; }
}
@keyframes loader-failsafe {
  to { opacity: 0; visibility: hidden; }
}

/* --- Logo çizgileri --- */
.mark-m { stroke: var(--grey); }
.mark-g { stroke: var(--salmon); }

/* --- Düğmeler ve bağlantılar --- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 2px;
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--icon { display: inline-flex; align-items: center; gap: 0.6rem; }
.btn--primary { background: var(--salmon); color: var(--navy); }
.btn--primary:hover { background: #ffa37e; }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: var(--navy-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* lacivert zeminde en görünür düğme: dijital asistan */
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #ffd9ca; }

.btn--ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* Metin içi bağlantılar */
.band :is(p, dd) > a:not(.btn) {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--salmon);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.band :is(p, dd) > a:not(.btn):hover { text-decoration-color: currentColor; }

/* ==========================================================================
   Üst bölüm
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
}
.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  text-decoration: none;
}
.brand__mark { width: 2.9rem; height: auto; }
.brand__name { font-size: var(--step-1); font-weight: 500; letter-spacing: 0.01em; }

.site-nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.site-nav a {
  color: #fff;
  font-size: var(--step--1);
  font-weight: 400;
  text-decoration: none;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--salmon); }
.site-nav .site-nav__cta {
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--salmon);
  border-radius: 2px;
  font-weight: 500;
}
.site-nav .site-nav__cta:hover { background: var(--salmon); color: var(--navy); }

.nav-toggle {
  display: none;
  padding: 0.5rem 0.9rem;
  border: 2px solid var(--navy-line);
  border-radius: 2px;
  background: none;
  color: #fff;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 500;
  cursor: pointer;
}

/* ==========================================================================
   Giriş: üst bölümle birlikte tam bir ekran
   ========================================================================== */
.hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(1.5rem, 4vh, 3.5rem);
  background: var(--navy);
  color: #fff;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.hero__hello {
  font-size: var(--step-2);
  padding-bottom: 1rem;
  margin-bottom: clamp(1.25rem, 3.5vh, 2.5rem);
  /* kartvizitteki kısa somon çizgi */
  background: linear-gradient(var(--salmon), var(--salmon)) left bottom / 4.5rem 3px no-repeat;
}
.hero__title {
  font-size: clamp(2.1rem, min(5.2vw, 8.6vh), 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--salmon);
  text-wrap: balance;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.75rem, 5vh, 3.25rem);
}

/* --- Fotoğraf çerçeveleri: üç keskin köşe, bir yay --- */
.frame { position: relative; overflow: hidden; background: var(--navy-lift); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.is-empty img { display: none; }

.frame--hero {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: calc(100vh - var(--header-h) - 2 * clamp(1.5rem, 4vh, 3.5rem));
  border-top-left-radius: 44% 35.2%;
  /* aynı şeklin bir kopyası, fotoğrafın altında */
  box-shadow: -0.85rem -0.85rem 0 0 var(--salmon);
}
.frame--hero img { object-position: center 20%; }
.frame__mark { display: none; }
.frame--hero.is-empty .frame__mark {
  display: block;
  position: absolute;
  inset: 0;
  width: 62%;
  margin: auto;
}

/* ==========================================================================
   Bantlar ve başlıklar
   ========================================================================== */
.band { padding-block: var(--band); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: #fff; }
.band--salmon { background: var(--salmon); color: var(--navy); }
.band--tight { padding-block: 0 var(--band); }

.heading__title {
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.heading__title--small { font-size: var(--step-2); margin-bottom: 1.75rem; }
.heading__intro {
  max-width: 36rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-soft);
}
.band--navy .heading__intro { color: var(--on-navy-soft); }

.heading--split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem clamp(2rem, 6vw, 5.5rem);
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ==========================================================================
   Çalışma alanları: ortada figür, iki yanında açılan kartlar
   ========================================================================== */
.orbit {
  --arm: clamp(1.25rem, 2.6vw, 2.5rem);     /* karttan figüre uzanan kol */
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(12rem, 21vw, 17rem) minmax(0, 1fr);
  column-gap: calc(var(--arm) + 1.6rem);
  align-items: center;
}
.orbit__col { display: grid; gap: 1rem; }

/* açılıştaki çerçevenin aynısı: üç keskin köşe, sol üstte yay */
.orbit__figure {
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border-top-left-radius: 44% 35.2%;
  box-shadow: -0.7rem -0.7rem 0 0 var(--navy);
}
.orbit__figure img { object-position: center 18%; }
.orbit__draw { display: none; }
.orbit__figure.is-empty .orbit__draw {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.topic {
  --c: #c4c4d4;
  position: relative;
  background: #fff;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
/* kol: çizgi ve ucundaki kare */
.topic::after {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: 100%;
  width: var(--arm);
  height: 11px;
  background:
    linear-gradient(var(--c), var(--c)) left center / 100% 3px no-repeat,
    linear-gradient(var(--c), var(--c)) right center / 11px 11px no-repeat;
  transition: width 0.2s ease;
}
.orbit__col--right .topic::after {
  left: auto;
  right: 100%;
  background-position: right center, left center;
}

.topic__btn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  width: 100%;
  padding: 1.1rem 1.35rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.topic__title { font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
.topic__btn { font-weight: 400; }
.topic__teaser { grid-column: 1; font-size: var(--step--1); color: var(--ink-soft); }
.topic__sign {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
}
.topic__sign::before,
.topic__sign::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 1.5px);
  width: 100%;
  height: 3px;
  background: var(--salmon);
  transition: transform 0.2s ease;
}
.topic__sign::after { transform: rotate(90deg); }

.topic__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.28s ease, visibility 0s;
}
.topic__inner { min-height: 0; overflow: hidden; }
.topic__body { padding: 0.25rem 1.35rem 1.4rem; }
.topic__proof {
  position: relative;
  margin-top: 0.9rem;
  padding-left: 1.4rem;
  font-size: var(--step--1);
}
.topic__proof::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--salmon);
}

/* kapalı kart (yalnızca betik çalışıyorsa kapanır) */
.js .topic[data-topic]:not(.is-open) .topic__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.28s ease, visibility 0s 0.28s;
}
.js .topic[data-topic]:not(.is-open):hover { --c: var(--navy); }

/* açık kart */
.topic.is-open { --c: var(--salmon); background: var(--navy); color: #fff; }
.topic.is-open::after { width: calc(var(--arm) + 0.6rem); }
.topic.is-open .topic__teaser { color: var(--on-navy-soft); }
.topic.is-open .topic__proof { color: var(--on-navy-soft); }
.topic.is-open .topic__sign::after { transform: rotate(0deg); }
.topic.is-open :focus-visible { outline-color: var(--salmon); }

.topic--cta { --c: var(--salmon); padding: 1.1rem 1.35rem 1.35rem; background: var(--salmon); }
.topic--cta .topic__teaser { color: var(--navy); }
.topic--cta .btn { margin-top: 0.9rem; }

/* ==========================================================================
   Nasıl çalışıyorum
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 3vw, 3rem);
  counter-reset: step;
}
.step { counter-increment: step; border-top: 3px solid var(--navy); padding-top: 1.25rem; }
.step::before {
  content: counter(step);
  display: block;
  font-size: var(--step-4);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.step__title { font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
.step__text { margin-top: 0.6rem; color: var(--ink-soft); }
.step__more { margin-top: 0.75rem; }

/* ==========================================================================
   Sertifikalar (Hakkımda içinde)
   ========================================================================== */
.certs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem clamp(1rem, 2.2vw, 2rem);
}
.cert__open { display: block; background: #fff; cursor: zoom-in; }
.cert__open img { width: 100%; height: auto; }
.cert__title { margin-top: 1rem; font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
.cert__meta { margin-top: 0.2rem; font-size: var(--step--1); color: var(--ink-soft); }
.certs__also { max-width: 44rem; margin-top: 2rem; color: var(--ink-soft); }

/* Sertifikayı büyüten pencere */
.zoom {
  width: fit-content;
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: #fff;
  overflow: hidden;
}
.zoom::backdrop { background: rgba(28, 30, 54, 0.88); }
.zoom img {
  width: auto;
  height: auto;
  max-width: min(96vw, 1200px);
  max-height: calc(94vh - 3.25rem);
}
.zoom__close {
  display: block;
  width: 100%;
  height: 3.25rem;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}
.zoom__close:hover { background: var(--navy-deep); }

/* ==========================================================================
   Hakkımda: özgeçmiş, kurumlar, projeler, sertifikalar
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.about__lead {
  margin-top: 1.25rem;
  font-size: var(--step-2);
  font-weight: 300;
  line-height: 1.3;
  text-wrap: balance;
}
.frame--about {
  aspect-ratio: 4 / 5;
  max-width: 22rem;
  margin-top: 2rem;
  border-top-right-radius: var(--curve);
}
.frame--about.is-empty { display: none; }
.about__body { max-width: 40rem; padding-top: 0.5rem; }
.about__body > p + p { margin-top: 1rem; }
.about__body > .about__portfolio { margin-top: 1.5rem; }

.block { margin-top: clamp(3.5rem, 7vw, 6rem); }
.block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  margin-bottom: 1.75rem;
}
.block__title { font-size: var(--step-2); font-weight: 500; line-height: 1.2; }
.block__hint { font-size: var(--step--1); color: var(--ink-soft); }

/* --- Yatay zaman çizgisi --- */
.tl { --line: #c4c4d4; }
.tl__head { overflow-x: auto; scrollbar-width: none; }
.tl__head::-webkit-scrollbar { display: none; }
.tl__tabs { display: grid; grid-template-columns: repeat(5, minmax(11.5rem, 1fr)); }

.tl__tab {
  display: grid;
  grid-template-rows: 2.6rem 2rem auto auto;
  height: 100%;
  padding-top: 0.25rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.tl__logo { grid-row: 1; display: flex; align-items: center; padding-right: 1.25rem; }
.tl__logo img {
  width: auto;
  height: 2rem;
  max-width: 9rem;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.tl__name {
  grid-row: 2;
  align-self: end;
  padding-right: 1.25rem;
  font-size: var(--step--1);
  font-weight: 500;
  white-space: nowrap;
}
/* logosu olmayan kurum: adı logonun yerini alır */
.tl__tab.no-logo .tl__logo { display: none; }
.tl__tab.no-logo .tl__name {
  grid-row: 1 / span 2;
  align-self: center;
  font-size: var(--step-2);
  letter-spacing: 0.02em;
}

.tl__rail { grid-row: 3; position: relative; height: 13px; margin-top: 0.85rem; }
.tl__rail::before,
.tl__rail::after {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 100%;
  height: 3px;
  background: var(--line);
}
.tl__rail::after {
  background: var(--salmon);
  transform-origin: left;
  transform: scaleX(var(--f, 0));
}
.tl__tabs > li:last-child .tl__rail::before,
.tl__tabs > li:last-child .tl__rail::after { display: none; }
.tl__dot {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 13px;
  height: 13px;
  background: var(--line);
  transition: background-color 0.2s ease;
}
.tl__tab.is-reached .tl__dot { background: var(--salmon); }
.tl__when { grid-row: 4; margin-top: 0.6rem; font-size: 0.8rem; font-variant-numeric: tabular-nums; }

.tl__tab:hover .tl__logo img,
.tl__tab[aria-current="true"] .tl__logo img { filter: none; opacity: 1; }
.tl__tab:hover,
.tl__tab[aria-current="true"] { color: var(--ink); }
.tl__tab:focus-visible { outline-offset: -3px; }

.tl__track {
  display: flex;
  margin-top: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #fff;
}
.tl__track::-webkit-scrollbar { display: none; }
.tl__track:focus-visible { outline-offset: 0; }
.tl__panel {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1.25rem clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.tl__org { font-size: var(--step-3); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.tl__role { margin-top: 0.4rem; font-size: var(--step-1); line-height: 1.35; }
.tl__dates { margin-top: 0.9rem; font-size: var(--step--1); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.tl__sector { font-size: var(--step--1); color: var(--ink-soft); }
.tl__also {
  position: relative;
  margin-top: 1rem;
  padding-left: 1.4rem;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.tl__also::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  background: var(--salmon);
}

/* --- Projeler --- */
.block__title--ruled { margin-bottom: 1.75rem; padding-bottom: 1rem; border-bottom: 3px solid var(--navy); }
.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.project {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  align-items: start;
}
.project__brand img { width: 2.75rem; height: 2.75rem; }
.project__brand--text { font-size: var(--step-1); font-weight: 500; letter-spacing: 0.01em; }
.project__title { font-size: var(--step-1); font-weight: 500; line-height: 1.25; margin-bottom: 0.35rem; }
.project p { color: var(--ink-soft); }

.quote { margin-top: 1.25rem; padding-left: 1.25rem; border-left: 3px solid var(--salmon); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-size: var(--step-1); line-height: 1.4; color: var(--ink); }
.quote figcaption { margin-top: 0.6rem; font-size: var(--step--1); font-weight: 500; }
.quote__note { font-weight: 400; color: var(--ink-soft); }

/* --- Sahadan --- */
.field {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.frame--field { aspect-ratio: 4 / 3; }
.frame--field:first-child { border-top-left-radius: clamp(2.5rem, 5vw, 4rem); }
.frame--field.is-empty { display: none; }

/* ==========================================================================
   Yazılar
   ========================================================================== */
.post { border-top: 1px solid #c9c9d8; }
.post:last-child { border-bottom: 1px solid #c9c9d8; }
.post__link {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: 0.5rem clamp(1rem, 2.5vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.25rem, 2.4vw, 1.9rem);
  text-decoration: none;
}
.post__date { font-size: var(--step--1); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.post__title { font-size: var(--step-2); font-weight: 500; line-height: 1.25; }
.post__go {
  font-size: var(--step--1);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--salmon);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.post__link:hover .post__title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.posts__more { margin-top: 2rem; }

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem clamp(2rem, 6vw, 5.5rem);
  align-items: end;
}
.contact__title {
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.contact__text { max-width: 32rem; margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; }
.contact__phone {
  margin-top: 2rem;
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.band--salmon p.contact__phone > a { text-decoration: none; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

.contact__list > div { padding-block: 1rem; border-top: 1px solid rgba(38, 40, 68, 0.35); }
.contact__list > div:last-child { border-bottom: 1px solid rgba(38, 40, 68, 0.35); }
.contact__list dt { font-size: var(--step--1); }
.contact__list dd { font-size: var(--step-1); font-weight: 500; overflow-wrap: anywhere; }
.band--salmon :is(p, dd) > a:not(.btn) { text-decoration-color: var(--navy); text-decoration-thickness: 1px; }

/* ==========================================================================
   Sabit arama ve WhatsApp düğmeleri
   ========================================================================== */
.quick {
  position: fixed;
  right: clamp(0.75rem, 2vw, 1.5rem);
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
/* sayfa açılırken gizli başlar; betik, açılış bölümü geçilince gösterir */
.js .quick.is-away { opacity: 0; visibility: hidden; transform: translateY(0.75rem); }
.quick__btn {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--navy);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(28, 30, 54, 0.28);
}
.quick__btn:first-child { border-top-left-radius: 1.4rem; }
.quick__btn .icon { width: 1.45rem; height: 1.45rem; }
.quick__btn:hover { background: var(--salmon); color: var(--navy); }
.quick__btn:focus-visible { outline-color: var(--salmon); }

/* ==========================================================================
   Alt bölüm
   ========================================================================== */
.site-footer { background: var(--navy); color: #fff; padding-block: clamp(2.5rem, 5vw, 4rem); }
.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 3rem;
}
.site-footer__brand { display: flex; align-items: center; gap: 1.25rem; }
.site-footer__mark { width: 3.5rem; height: auto; }
.site-footer__domain { color: var(--grey); letter-spacing: 0.28em; font-size: var(--step--1); }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.site-footer__links a {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--salmon);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.site-footer__links a:hover { color: var(--salmon); }
.site-footer__legal { color: var(--on-navy-soft); font-size: var(--step--1); }

/* ==========================================================================
   Dar ekranlar
   ========================================================================== */
@media (max-width: 62rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .frame--hero { order: -1; width: auto; height: 26vh; max-height: 15rem; margin: 0.5rem 0 0 0.5rem; box-shadow: -0.5rem -0.5rem 0 0 var(--salmon); }
  .frame--hero.is-empty { display: none; }

  .heading--split,
  .about,
  .projects,
  .contact { grid-template-columns: minmax(0, 1fr); }

  .orbit { grid-template-columns: minmax(0, 1fr); row-gap: 1rem; }
  .orbit__figure { order: -1; width: 11rem; margin: 0.5rem auto 0.75rem; box-shadow: -0.5rem -0.5rem 0 0 var(--navy); }
  .topic::after { display: none; }

  .tl__panel { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 54rem) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy);
    border-top: 1px solid var(--navy-line);
    padding: 0.75rem var(--gutter) 1.75rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding-block: 0.85rem; font-size: var(--step-1); border-bottom: 1px solid var(--navy-line); }
  .site-nav .site-nav__cta { margin-top: 1.25rem; text-align: center; border: 2px solid var(--salmon); }
}

@media (max-width: 40rem) {
  html { font-size: 106.25%; }
  .steps, .field, .certs { grid-template-columns: minmax(0, 1fr); }
  .post__link { grid-template-columns: minmax(0, 1fr); }
  .contact__actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero__actions { flex-wrap: nowrap; gap: 0.75rem; }
  .hero__actions .btn { padding-inline: 1rem; text-align: center; justify-content: center; white-space: nowrap; }
  .hero__actions .btn--primary { flex: 1; }
  /* iki düğme alt alta, tam genişlik */
  .hero__actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .tl__tabs { grid-template-columns: repeat(5, 10.5rem); }
  .project { grid-template-columns: minmax(0, 1fr); }
  .site-footer__row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 27rem) {
  .hero__actions { gap: 0.5rem; }
  .hero__actions .btn { padding-inline: 0.75rem; font-size: 0.9rem; }
  .hero__actions .btn--icon { gap: 0.4rem; }
}

/* kısa telefon ekranları: açılış yine tek ekrana sığsın */
@media (max-width: 62rem) and (max-height: 44rem) {
  .frame--hero { height: 20vh; }
  .hero__hello { margin-bottom: 1rem; }
  .hero__actions { margin-top: 1.5rem; }
}

/* Dijital asistan düğmesinin eklediği satır kadar yer açılır: kısa telefonlarda
   fotoğraf biraz küçülür, açılış yine tek ekrana sığar */
@media (max-width: 40rem) and (max-height: 41.5rem) {
  .frame--hero { height: 17vh; }
}
@media (max-width: 40rem) and (max-height: 36rem) {
  .frame--hero { height: 13vh; }
  .hero__grid { gap: 1rem; }
  .hero__actions { margin-top: 1rem; gap: 0.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .nav-toggle, .skip, .quick, .loader { display: none !important; }
  .hero, .band--navy, .site-footer { background: #fff; color: #000; }
}
