/* ==========================================================================
   Sen Coğrafyanın Kaderisin — main stylesheet
   Owner: Agent A. Component catalogue: readme/COMPONENTS.md
   Order: base · layout · header · footer · buttons · home · components · forms · utilities
   ========================================================================== */

/* ---------- 1. Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg-site);
  color: var(--orman);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-weight: var(--w-demi);
  line-height: var(--lh-heading);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -0.025em; }
h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }

:focus-visible {
  outline: 3px solid var(--su);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--gokyuzu); color: var(--orman); }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-7) 0; }

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--cream { background: var(--bg); }
.section--sand { background: var(--kum); }
.section--dark { background: var(--orman); color: var(--cream); }
.section--dark :focus-visible { outline-color: var(--gokyuzu); }
.section + .section--line { border-top: 1px solid var(--line); }

.section-head { max-width: 46rem; margin-bottom: var(--space-7); }
.section-head p { color: var(--text-soft); font-size: var(--fs-lead); }
.section--dark .section-head p { color: var(--cream); opacity: .85; }

/* Two columns: label/heading left, content right (PDF page rhythm) */
.split {
  display: grid;
  gap: var(--space-6) var(--space-8);
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
}

.grid { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.stack > * + * { margin-top: var(--space-5); }

/* ---------- 3. Typography helpers -------------------------------------- */
.display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-soft); }
.section--dark .lead { color: var(--cream); opacity: .85; }
.statement {                            /* large official-text paragraph (vision, mission) */
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.muted { color: var(--text-soft); }
.small { font-size: var(--fs-small); }

/* Eyebrow: "01 / VİZYON" — same pattern as the PDF page headers */
.eyebrow {
  display: block;
  margin: 0 0 var(--space-4);
  font-size: var(--fs-label);
  font-weight: var(--w-regular);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-soft);
}
.eyebrow b { font-weight: var(--w-demi); color: var(--orman); }
.section--dark .eyebrow, .section--dark .eyebrow b { color: var(--cream); }
.section--dark .eyebrow { opacity: .8; }

.label-row {
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-soft);
}

/* Long-form text */
.prose { max-width: 42rem; }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }
.prose li + li { margin-top: var(--space-2); }

/* ---------- 4. Skip link ------------------------------------------------ */
.skip-link {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 100;
  padding: var(--space-3) var(--space-4);
  background: var(--orman);
  color: var(--cream);
  font-weight: var(--w-demi);
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 5. Header --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-site);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: var(--header-h);
}

/* Horizontal lockup: emblem + 3-line lowercase wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--orman);
  flex-shrink: 0;
}
.brand__emblem { width: 58px; height: auto; }
.brand__word {
  font-size: 0.9375rem;
  font-weight: var(--w-demi);
  line-height: 1.12;
  letter-spacing: -0.005em;
  text-transform: lowercase;
}
.brand--light { color: var(--cream); }

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: var(--space-2);
  text-decoration: none;
  font-size: 1rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: var(--w-demi); }

.nav-toggle { display: none; }

/* Without JS the nav simply wraps under the logo on small screens */
@media (max-width: 959px) {
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: var(--space-4); }
  .no-js .nav { flex-wrap: wrap; gap: var(--space-4); }
}

/* Mobile: hamburger + full-screen Orman overlay (only when JS runs) */
@media (max-width: 959px) {
  :root { --header-h: 76px; }
  .brand__emblem { width: 48px; }
  .brand__word { font-size: 0.8125rem; }

  .js .nav-toggle {
    position: relative;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-2);
    margin-right: calc(var(--space-2) * -1);
    border: 0;
    background: none;
    color: var(--orman);
    font: inherit;
    font-size: var(--fs-label);
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    cursor: pointer;
  }
  .nav-toggle__bars { position: relative; width: 26px; height: 14px; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
  }
  .nav-toggle__bars::before { top: 2px; }
  .nav-toggle__bars::after { top: 10px; }
  .nav-toggle[aria-expanded="true"] { color: var(--cream); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 6px; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 6px; transform: rotate(-45deg); }

  .js .nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-7);
    padding: calc(var(--header-h) + var(--space-5)) var(--gutter) var(--space-7);
    background: var(--orman);
    color: var(--cream);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
  }
  .js .nav.is-open {
    visibility: visible;
    opacity: 1;
    transition: opacity var(--dur) var(--ease);
  }
  .js .nav::before {                       /* decorative Doğa circle in the overlay */
    content: "";
    position: absolute;
    right: -18vw;
    bottom: -14vw;
    width: 70vw;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--doga);
    opacity: .35;
    pointer-events: none;
  }
  .js .nav__list { position: relative; flex-direction: column; gap: var(--space-3); }
  .js .nav__link { font-size: clamp(2rem, 9vw, 2.75rem); font-weight: var(--w-demi); line-height: 1.2; letter-spacing: -0.02em; }
  .js .nav__link::after { bottom: 4px; height: 2px; }
  .js .nav :focus-visible { outline-color: var(--gokyuzu); }
  .js .nav .btn { position: relative; min-height: 54px; padding-inline: 1.75rem; font-size: 1.125rem; background: var(--cream); color: var(--orman); border-color: var(--cream); }
}

/* ---------- 6. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--orman);
  border-radius: var(--radius);
  background: var(--orman);
  color: var(--cream);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: var(--w-regular);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { background: #24493A; border-color: #24493A; text-decoration: none; }
.btn--outline { background: transparent; color: var(--orman); }
.btn--outline:hover { background: var(--orman); color: var(--cream); border-color: var(--orman); }
.btn--light { background: var(--cream); color: var(--orman); border-color: var(--cream); }
.btn--light:hover { background: #fff; border-color: #fff; }
.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--orman); }
.btn--sm { min-height: 42px; padding: 0.55rem 1.15rem; font-size: 0.9375rem; }
.btn--lg { min-height: 56px; padding: 0.95rem 2.1rem; font-size: 1.1875rem; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: var(--w-demi);
  text-decoration: none;
}
.link-arrow .arrow { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; }

/* ---------- 7. Footer --------------------------------------------------- */
.site-footer {
  background: var(--orman);
  color: var(--cream);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.site-footer :focus-visible { outline-color: var(--gokyuzu); }
.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}
@media (min-width: 760px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer .brand__emblem { width: 72px; }
.site-footer .brand__word { font-size: 1.125rem; }
.site-footer__tagline {
  margin-top: var(--space-6);
  max-width: 18ch;
  font-size: var(--fs-h3);
  font-weight: var(--w-demi);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.footer-title {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-label);
  font-weight: var(--w-regular);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  opacity: .75;
}
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li + li { margin-top: var(--space-2); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer__note { font-size: var(--fs-small); opacity: .85; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(243, 240, 231, .2);
  font-size: var(--fs-small);
}
.site-footer__bottom p { margin: 0; opacity: .85; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }

/* ---------- 8. Home: hero (PDF p.6) ------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 8vw, 7rem);
}
.hero__inner {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}
.hero__title { margin-bottom: var(--space-7); font-size: var(--fs-display); max-width: 9ch; }
.hero__lead { margin-bottom: var(--space-6); max-width: 30ch; font-size: var(--fs-lead); color: var(--text-soft); }
.hero__lead--mobile { display: none; }
/* The logo on its own, in Orman, on the page background */
.hero__emblem { justify-self: center; width: min(100%, 440px); }
.hero__emblem img { display: block; width: 100%; height: auto; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); }
}
@media (max-width: 899px) {
  .hero__title { margin-bottom: var(--space-6); }
  .hero__lead--desktop { display: none; }
  .hero__lead--mobile { display: block; }
  .hero__emblem { width: min(62vw, 280px); }
}

/* ---------- 9. Inner page hero ----------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 7vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 50rem; }
.page-hero h1 { margin-bottom: var(--space-5); }
.page-hero .lead { max-width: 38rem; }

/* ---------- 10. Emblem disc (PDF p.1) ---------------------------------- */
.emblem-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.emblem-disc::before {                  /* offset Doğa circle behind */
  content: "";
  position: absolute;
  inset: 0 8% 0 -6%;
  border-radius: 50%;
  background: var(--doga);
  transform: scale(1.04, 1.1);
}
.emblem-disc::after {                   /* Orman circle */
  content: "";
  position: absolute;
  inset: 6% 0 6% 12%;
  border-radius: 50%;
  background: var(--orman);
}
.emblem-disc img { position: relative; z-index: 1; width: 52%; margin-left: 12%; }

/* Simple variant: one Doğa circle with cream emblem (PDF p.6 mobile mockup; not used at the moment) */
.emblem-disc--simple::before { display: none; }
.emblem-disc--simple::after { inset: 0; background: var(--doga); }
.emblem-disc--simple img { width: 46%; margin-left: 0; }

/* ---------- 11. Message cards (PDF p.7) -------------------------------- */
.msg-cards { display: grid; gap: var(--space-5); }
@media (min-width: 760px) { .msg-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.msg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  min-height: clamp(380px, 38vw, 520px);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--cream);
  background: var(--orman);
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
a.msg-card:hover { transform: translateY(-4px); text-decoration: none; }
.msg-card__emblem { width: 76px; }
.msg-card__phrase {
  margin: auto 0 0;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  font-weight: var(--w-demi);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.msg-card__label {                      /* ≥ 19px demi = "large text" for AA on Doğa */
  margin: 0;
  font-size: 1.1875rem;
  font-weight: var(--w-demi);
  line-height: 1.3;
}
.msg-card__more { margin-top: var(--space-2); font-size: 1.1875rem; font-weight: var(--w-demi); }
.msg-card__more .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
a.msg-card:hover .msg-card__more .arrow { transform: translateX(4px); }
.msg-card--sky { background: var(--gokyuzu); color: var(--orman); }
.msg-card--doga { background: var(--doga); color: var(--cream); }
.msg-card--sky :focus-visible, a.msg-card--sky:focus-visible { outline-color: var(--orman); }

/* Pillar section: text + tall message card (calismalarimiz.html) */
.pillar { display: grid; gap: var(--space-7); align-items: start; }
.pillar__card { min-height: clamp(320px, 34vw, 480px); }
@media (min-width: 900px) {
  .pillar { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-8); }
  .pillar--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .pillar--flip .pillar__card { order: -1; }
  .pillar__card { position: sticky; top: calc(var(--header-h) + var(--space-6)); }
}
.list-reset { list-style: none; padding: 0; margin: 0; }

/* Numbered mission list (hakkimizda.html) */
.mission-list { margin: 0; padding: 0; list-style: none; counter-reset: m; }
.mission-list li {
  counter-increment: m;
  position: relative;
  padding: var(--space-6) 0 var(--space-6) 4rem;
  border-top: 1px solid var(--line);
}
.mission-list li:last-child { border-bottom: 1px solid var(--line); }
.mission-list li::before {
  content: counter(m, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--space-6);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  color: var(--text-soft);
  line-height: 2.4;
}
.mission-list h3 { margin-bottom: var(--space-3); }
.mission-list p { color: var(--text-soft); font-size: 1.125rem; }

.quote-band .btn-row { justify-content: center; }

/* ---------- 12. Practices strip (sprout list) -------------------------- */
.practices {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .practices { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-7); } }
@media (min-width: 1000px) { .practices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.practices li { border-bottom: 1px solid var(--line); }
.practices a, .practices .practice {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-5);
  font-size: var(--fs-h3);
  font-weight: var(--w-demi);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.practices a:hover { text-decoration: underline; }
.practices img { width: 34px; flex-shrink: 0; }

/* Sprout bullet list */
.sprout-list { margin: 0; padding: 0; list-style: none; }
.sprout-list li {
  position: relative;
  padding-left: 2.1rem;
}
.sprout-list li + li { margin-top: var(--space-3); }
.sprout-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.38em;
  width: 1.15rem;
  height: 0.9rem;
  background: url("../assets/logo/sprout-doga.svg") center / contain no-repeat;
}

/* Sprout divider */
.sprout-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-block: var(--space-7);
}
.sprout-divider::before, .sprout-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sprout-divider img { width: 28px; }

/* ---------- 13. Quote band -------------------------------------------- */
.quote-band { text-align: center; }
.quote-band__sprout { width: 54px; margin: 0 auto var(--space-6); }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  max-width: 16ch;
  margin-inline: auto;
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: var(--w-demi);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.quote-band .label-row { margin-top: var(--space-6); color: inherit; opacity: .75; }

/* ---------- 14. Cards -------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card h3 { margin-bottom: var(--space-2); }
.card p { color: var(--text-soft); }
.card__icon { width: 40px; margin-bottom: var(--space-3); }
.card__meta { margin-top: auto; padding-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.card--sand { background: var(--kum); border-color: transparent; }
.card--dark { background: var(--orman); color: var(--cream); border-color: transparent; }
.card--dark p { color: var(--cream); opacity: .85; }
.card--sky { background: var(--gokyuzu); border-color: transparent; }
.card--sky p { color: var(--orman); }

/* Status badge, e.g. "Planlanıyor" */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--toprak);
  border-radius: 999px;
  color: var(--toprak);
  font-size: var(--fs-label);
  font-weight: var(--w-demi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.badge::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.badge--solid { background: var(--toprak); color: var(--cream); }
.badge--plain::before { display: none; }

/* Tag (small Toprak text label) */
.tag { font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--toprak); font-weight: var(--w-demi); }

/* ---------- 15. Business-card blocks (PDF p.5) ------------------------- */
.biz-card {
  position: relative;
  margin: 0 var(--offset) var(--offset) 0;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--kum);
  color: var(--orman);
  box-shadow: var(--offset) var(--offset) 0 var(--kum-2);   /* flat offset block, PDF p.5 */
}
.biz-card__name { margin: 0; font-size: var(--fs-h3); font-weight: var(--w-demi); line-height: 1.2; }
.biz-card__role { margin: var(--space-1) 0 0; color: var(--text-soft); }
.biz-card__rule { margin: var(--space-5) 0; border: 0; border-top: 1px solid var(--muted); opacity: .6; }
.biz-card__rows { margin: 0; padding: 0; list-style: none; }
.biz-card__rows li + li { margin-top: var(--space-2); }
.biz-card--emblem .biz-card__rows { padding-right: 84px; }
.biz-card__rows li > span:first-child { display: block; font-size: var(--fs-label); letter-spacing: var(--tracking-label); text-transform: uppercase; color: var(--text-soft); }
.biz-card__emblem { position: absolute; right: clamp(1.5rem, 3vw, 2.5rem); bottom: clamp(1.5rem, 3vw, 2.5rem); width: 64px; opacity: .95; }
.biz-card--dark { background: var(--orman); color: var(--cream); }
.biz-card .brand__word { font-size: 1.25rem; }
.biz-card--logo { display: grid; align-items: center; min-height: 220px; }
.biz-card--dark .biz-card__role, .biz-card--dark .biz-card__rows li > span:first-child { color: var(--cream); opacity: .8; }

/* Team grid: avatar = flat circle with initials placeholder */
.biz-card__avatar {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-5);
  border-radius: 50%;
  background: var(--doga);
}
.biz-card__avatar img { width: 34px; }

/* ---------- 16. Tabs (Yayınlar filter) --------------------------------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-7);
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}
.tab {
  position: relative;
  min-height: 44px;
  padding: var(--space-3) var(--space-4);
  border: 0;
  background: none;
  color: var(--text-soft);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}
.tab::after {
  content: "";
  position: absolute;
  left: var(--space-4); right: var(--space-4); bottom: -1px;
  height: 2px;
  background: var(--orman);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}
.tab:hover { color: var(--orman); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { color: var(--orman); font-weight: var(--w-demi); }
.tab[aria-selected="true"]::after, .tab[aria-pressed="true"]::after { transform: scaleX(1); }
.tab-count { margin-left: 0.35em; font-size: var(--fs-label); opacity: .75; }

/* ---------- 17. Empty state ------------------------------------------- */
.empty {
  display: grid;
  justify-items: center;
  gap: var(--space-4);
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--space-5);
  text-align: center;
  background: var(--bg);
  border: 1px dashed var(--muted);
  border-radius: var(--radius);
}
.empty img { width: 52px; }
.empty h3, .empty p, .empty__title { margin: 0; }
.empty__title { font-size: var(--fs-h3); }
.prose .empty__title { margin-top: 0; }
.empty p { max-width: 34rem; color: var(--text-soft); }

/* ---------- 18. Forms -------------------------------------------------- */
.form { display: grid; gap: var(--space-5); }
.form-row { display: grid; gap: var(--space-5); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: var(--space-2); }
.field label, .fieldset legend {
  font-weight: var(--w-demi);
  font-size: 1rem;
}
.field .hint { font-size: var(--fs-small); color: var(--text-soft); }
.req { color: var(--toprak); margin-left: 0.15em; }

.input, .select, .textarea,
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #B9B4A6;
  border-radius: var(--radius);
  background: #FFFDF9;
  color: var(--orman);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231B3A2E' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--orman); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--orman);
  box-shadow: 0 0 0 3px var(--gokyuzu);
}

.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { margin-bottom: var(--space-3); padding: 0; }
.checks { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .checks--2 { grid-template-columns: 1fr 1fr; } }
.check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-weight: var(--w-regular);
  cursor: pointer;
}
.check input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0.2em 0 0;
  accent-color: var(--orman);
  cursor: pointer;
}

/* Validation (set by js/main.js on submit) */
.field--error input, .field--error select, .field--error textarea { border-color: #A23B2A; }
.error-msg { display: none; color: #A23B2A; font-size: var(--fs-small); font-weight: var(--w-demi); }
.field--error .error-msg { display: block; }

/* Polite "forms not active yet" notice */
.form-note {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4) var(--space-5);
  background: var(--gokyuzu);
  color: var(--orman);
  border-radius: var(--radius);
  font-size: var(--fs-small);
}
.form-note img { width: 22px; margin-top: 0.15em; flex-shrink: 0; }
.form-status:empty { display: none; }
.form-status { padding: var(--space-4) var(--space-5); background: var(--orman); color: var(--cream); border-radius: var(--radius); }

/* ---------- 19. Placeholders ------------------------------------------ */
/* Every gap is written as [YER TUTUCU: …] inside .ph so it is easy to spot */
.ph {
  padding: 0.05em 0.35em;
  background: rgba(107, 78, 61, .1);
  border: 1px dashed var(--toprak);
  border-radius: var(--radius);
  color: var(--toprak);
  font-size: 0.92em;
  font-weight: var(--w-demi);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section--dark .ph, .site-footer .ph, .card--dark .ph, .biz-card--dark .ph { color: var(--cream); border-color: var(--cream); background: rgba(243, 240, 231, .1); }

/* ---------- 20. 404 --------------------------------------------------- */
.notfound { display: grid; place-items: center; min-height: 60vh; text-align: center; padding-block: var(--section-y); }
.notfound img { width: clamp(90px, 14vw, 140px); margin: 0 auto var(--space-6); }
.notfound h1 { max-width: 14ch; margin-inline: auto; }
.notfound .lead { margin-inline: auto; max-width: 30rem; }
.notfound .btn-row { justify-content: center; margin-top: var(--space-6); }

/* ---------- 20a. Motion & interaction (all optional; see js/main.js) --- */
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-8px); } }

.js .emblem-disc img { animation: bob 6s ease-in-out infinite alternate; }

/* Header: shadow once the page scrolls, plus a thin reading-progress line */
.site-header { transition: box-shadow var(--dur) var(--ease); }
.site-header.is-scrolled { box-shadow: 0 10px 28px -22px rgba(27, 58, 46, .55); }
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--doga);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* Back-to-top button (added by JS) */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orman);
  color: var(--cream);
  box-shadow: 5px 5px 0 var(--kum-2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: #24493A; transform: translateY(-3px); }
.to-top svg { width: 26px; height: auto; fill: none; stroke: currentColor; stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; }
.menu-open .to-top, .cookie-open .to-top { opacity: 0; visibility: hidden; }

/* Quote-band / empty-state sprouts "grow" up out of the ground */
.js .reveal .quote-band__sprout,
.js .reveal.empty > img { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease) 250ms; }
.js .reveal.is-visible .quote-band__sprout,
.js .reveal.is-visible.empty > img { clip-path: inset(0 0 0 0); }

/* ---------- 20c. Cookie consent (built by js/main.js) ------------------ */
.cookie {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 34rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--bg);
  color: var(--orman);
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 var(--kum-2);
  animation: rise-in 500ms var(--ease) both;
}
@media (min-width: 640px) { .cookie { left: clamp(1rem, 3vw, 2rem); right: auto; bottom: clamp(1rem, 3vw, 2rem); } }
.menu-open .cookie { display: none; }
.cookie__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-3); }
.cookie__head img { width: 34px; }
.cookie__title { margin: 0; font-size: 1.375rem; line-height: 1.2; }
.cookie__title:focus { outline: none; }
.cookie__text { margin: 0 0 var(--space-4); font-size: var(--fs-small); color: var(--text-soft); }
.cookie__prefs { display: grid; gap: var(--space-3); margin: 0 0 var(--space-5); padding: var(--space-4) 0 0; border: 0; border-top: 1px solid var(--line); }
.cookie__prefs .check { font-size: var(--fs-small); }
.cookie__prefs .check b { display: block; color: var(--orman); }
.cookie__prefs .check small { color: var(--text-soft); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.cookie__actions .btn { flex: 1 1 8.5rem; padding-inline: 0.9rem; }
.cookie__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin: var(--space-4) 0 0; font-size: var(--fs-small); }
.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
.linkbtn:hover { text-decoration-thickness: 2px; }
.no-js [data-cookie-open] { display: none; }
@media (max-height: 700px), (max-width: 480px) {
  .cookie { max-height: 55vh; padding: 1rem 1.1rem; box-shadow: 8px 8px 0 var(--kum-2); }
  .cookie__head { margin-bottom: var(--space-2); }
  .cookie__head img { width: 26px; }
  .cookie__title { font-size: 1.125rem; }
  .cookie__text { margin-bottom: var(--space-3); font-size: 0.875rem; line-height: 1.5; }
  .cookie__foot { margin-top: var(--space-3); }
}
@media (max-height: 520px) {
  .cookie__text { display: none; }
  .cookie__actions .btn { min-height: 38px; }
}

/* ---------- 21. Reveal-on-scroll (progressive, optional) --------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 22. Utilities --------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-7 { margin-bottom: var(--space-7); }
.max-prose { max-width: 42rem; }
