/* ===================================================================
   HCT Agro — Global Stiller
   =================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #f4f1ea; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

/* ===================================================================
   BÖLÜM BOŞLUK SİSTEMİ (tek kaynak)

   Sorun: her bölüm kendi alt+üst padding'ini taşırsa iki bölüm arası
   boşluk 2 katına çıkar (alt padding + üst padding).
   Çözüm: --section-y = iki bölüm ARASINDAKİ hedef boşluk. Her bölüm
   bunun yarısını taşır, komşu iki yarım birleşip tam boşluğu verir.
   Böylece sayfanın her yerinde ritim eşittir.

   Yeni bölüm eklerken: <section class="section ..."> yeterli,
   ayrıca dikey padding yazma.
   =================================================================== */
:root {
  --section-y: clamp(64px, 6vw, 100px);            /* bölümler ARASI toplam boşluk */
  --section-pad-y: calc(var(--section-y) / 2);     /* bölüm başına düşen yarım pay */
  --section-x: clamp(24px, 6vw, 110px);            /* bölüm yan boşluğu */
}

/* Tek kural: dikey ritmi tüm bölümler buradan alır */
.section { padding-block: var(--section-pad-y); }

/* ===================================================================
   PRELOADER — açılışta beyaz perde + ortada logo
   Hero arkaplanı ve fontlar hazır olana kadar görünür kalır.
   JS yoksa hiç gösterilmez (kilitli ekran riski olmasın).
   =================================================================== */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader__logo {
  width: clamp(90px, 11vw, 130px); height: auto; display: block;
  animation: preloader-pulse 1.5s ease-in-out infinite;
}
/* Yükleme bitince: perde solar ve tıklamaları engellemez */
.js .preloader.is-done {
  opacity: 0; visibility: hidden; pointer-events: none;
}
/* Perde açıkken arka planın kaymasını engelle */
.is-preloading, .is-preloading body { overflow: hidden; }

@keyframes preloader-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .45; }
}

@media (prefers-reduced-motion: reduce) {
  .preloader__logo { animation: none; }
  .js .preloader { transition: none; }
}

/* ===================== HERO ===================== */
  .hero { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #fff; }

/* Fullscreen arkaplan görseli */
.hero__bg {
  position: absolute; inset: 0;
  background: url("../img/bg-3.webp") center center / cover no-repeat;
}

/* WebGL volumetrik bulut + gölge katmanı */
#clouds {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; pointer-events: none;
}
/* Kuşlar (2D) en üstte */
#birds {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; pointer-events: none;
}

/* ===================== HERO İÇERİK (metin) ===================== */
.hero__content {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(90vw, 760px);
  text-align: center; color: #fffbe7;
  text-shadow: 0 2px 28px rgba(0,0,0,.5);
  pointer-events: none; z-index: 5;
  box-sizing: border-box;
}
.hero__eyebrow {
  font-family: "Ubuntu", sans-serif; font-weight: 700;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: .24em; text-transform: uppercase;
  opacity: .9; margin: 0 0 1em;
}
.hero__headline {
  font-family: "Ubuntu", sans-serif; font-weight: 500;
  font-size: clamp(32px, 8.6vw, 88px); line-height: 1.04;
  letter-spacing: .005em; margin: 0;
  overflow-wrap: break-word;
}
.hero__headline em { font-style: italic; display: inline-block; }
.hero__desc {
  font-family: "Ubuntu", sans-serif; font-weight: 500;
  font-size: clamp(12px, 1.25vw, 15px); line-height: 1.65;
  letter-spacing: .015em; max-width: 50ch;
  margin: 1.5em auto 0; opacity: .92;
}
.hero__cta {
  font-family: "Ubuntu", sans-serif; font-weight: 500;
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: .2em; text-transform: uppercase;
  display: inline-block; margin-top: 1.9em;
  color: #fffbe7; text-decoration: underline; text-underline-offset: 5px;
  pointer-events: auto; cursor: pointer;
}

/* ===================== HEADER (logo + menü) ===================== */
/* header arkasında sürekli geçen bulut-gölgesi şeridi (okunabilirlik) */
#headerShadow {
  position: absolute; top: 0; left: 0; width: 100%;
  height: clamp(120px, 17vh, 190px);
  display: block; pointer-events: none; z-index: 10;
}
.site-header {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(16px, 2.3vw, 28px) clamp(20px, 3.2vw, 48px);
  z-index: 20; pointer-events: none;
}
.site-logo { display: block; line-height: 0; pointer-events: auto; }
.site-logo img {
  height: clamp(38px, 3.4vw, 52px); width: auto; display: block;
  filter: drop-shadow(0 1px 10px rgba(0,0,0,.4));
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 1.7vw, 30px); pointer-events: auto; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  font-family: "Ubuntu", sans-serif; font-weight: 500;
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing: .07em;
  color: #fffbe7; text-decoration: none; white-space: nowrap; opacity: .92;
  text-shadow: 0 1px 10px rgba(0,0,0,.4);
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px;
  position: relative; padding: 0 0 3px; transition: opacity .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: currentColor; transition: width .28s ease;
}
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link { opacity: 1; }
.nav-item:hover > .nav-link::after,
.nav-item:focus-within > .nav-link::after { width: 100%; }

/* açılır menü oku */
.nav-caret {
  width: 6px; height: 6px; display: inline-block;
  border-right: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg); margin-top: -3px;
  transition: transform .3s ease, margin-top .3s ease;
}

/* açılır panel (masaüstü) */
.dropdown {
  position: absolute; top: 100%; right: 0;
  transform: translateY(-8px);
  min-width: 220px; padding: 12px 0; margin-top: 14px;
  background: rgba(5, 103, 80, .88);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 251, 231, .12); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .4s cubic-bezier(.16,1,.3,1), visibility .3s;
  z-index: 40;
}
.dropdown::before {            /* hover köprüsü: trigger ile panel arası boşlukta kopmasın */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.dropdown a {
  font-family: "Ubuntu", sans-serif; font-weight: 400;
  font-size: clamp(12px, 0.9vw, 13.5px); letter-spacing: .03em;
  color: #f4f0e1; text-decoration: none; white-space: nowrap;
  padding: 9px 24px; opacity: .82;
  transition: opacity .2s ease, background .2s ease, padding-left .25s ease;
}
.dropdown a:hover { opacity: 1; background: rgba(255, 251, 231, .07); padding-left: 28px; }

/* masaüstü: hover / klavye odağı ile aç */
@media (min-width: 1025px) {
  .nav-item--has:hover > .dropdown,
  .nav-item--has:focus-within > .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
  }
  .nav-item--has:hover > .nav-link .nav-caret,
  .nav-item--has:focus-within > .nav-link .nav-caret {
    transform: rotate(225deg); margin-top: 3px;
  }
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 38px; height: 38px; padding: 7px; background: none; border: 0;
  cursor: pointer; pointer-events: auto; position: relative; z-index: 30;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px; background: #fffbe7; border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,.4);
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; align-items: center;
    gap: clamp(12px, 2.6vh, 22px);
    background: rgba(5, 103, 80, .97);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    transform: translateY(-100%); opacity: 0; visibility: hidden;
    transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .35s ease, visibility .45s;
    z-index: 25; overflow-y: auto; padding: 88px 24px 40px;
  }
  .site-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-item { flex-direction: column; align-items: center; width: 100%; }
  .nav-link {
    font-size: clamp(18px, 5vw, 26px); letter-spacing: .02em;
    opacity: .96; font-family: "Ubuntu", sans-serif; padding: 4px 0;
  }
  .nav-link::after { display: none; }                 /* mobilde alt çizgi yok */
  .nav-caret { width: 7px; height: 7px; margin-top: -2px; margin-left: 4px; }
  .nav-item.open > .nav-link .nav-caret { transform: rotate(225deg); margin-top: 2px; }

  .dropdown {
    position: static; transform: none; min-width: 0; margin: 0; padding: 0;
    background: none; border: 0; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    align-items: center; max-height: 0; overflow: hidden;
    transition: max-height .42s ease, margin .3s ease;
  }
  .dropdown::before { display: none; }
  .nav-item.open > .dropdown { max-height: 460px; margin: 6px 0 4px; }
  .dropdown a {
    font-family: "Ubuntu", sans-serif;
    font-size: clamp(13px, 3.8vw, 16px); letter-spacing: .03em;
    padding: 9px 0; opacity: .8; text-align: center;
  }
  .dropdown a:hover { padding-left: 0; background: none; opacity: 1; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* --- Küçük ekran (telefon) ince ayarları --- */
@media (max-width: 480px) {
  .hero__eyebrow { letter-spacing: .16em; margin-bottom: .85em; }
  .hero__desc    { margin-top: 1.25em; line-height: 1.6; }
  .hero__cta     { margin-top: 1.55em; }
}

/* --- Yatay (landscape) kısa ekranlar: içerik dikeyde sığsın --- */
@media (max-height: 540px) and (orientation: landscape) {
  .hero__content { width: min(86vw, 720px); }
  .hero__eyebrow { margin-bottom: .55em; }
  .hero__headline { font-size: clamp(26px, 7.2vh, 60px); line-height: 1.02; }
  .hero__desc    { margin-top: .7em; font-size: clamp(11px, 2.6vh, 14px); line-height: 1.5; }
  .hero__cta     { margin-top: .9em; }
}

/* ===================================================================
   SECTION 1 — HİKAYE
   =================================================================== */
.story {
  background: #fff; color: #2a2a20;
  padding-inline: var(--section-x);   /* dikey boşluk .section'dan gelir */
}
.story__inner { max-width: 1500px; margin: 0 auto; }

.story__index {
  display: flex; gap: clamp(20px, 3vw, 46px);
  font-family: "Ubuntu", sans-serif; font-weight: 400;
  font-size: clamp(11px, 0.8vw, 13px); letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: clamp(40px, 6vw, 90px);
}
.story__index span:first-child { color: rgba(42,42,32,.4); }
.story__index span:last-child  { color: rgba(42,42,32,.7); }

.story__top {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 110px); align-items: start;
}
.story__title {
  font-family: "Ubuntu", sans-serif; font-weight: 200;
  font-size: clamp(30px, 3.6cqw, 56px); line-height: 1.06;
  letter-spacing: -.01em; margin: 0; color: #04654f;
}
.story__title em { font-style: italic; }

.story__lead { max-width: 460px; padding-top: clamp(6px, 1vw, 16px); }
.story__lead p {
  font-family: "Ubuntu", sans-serif; font-weight: 200;
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  color: rgba(42,42,32,.72);
}
.story__lead p + p { margin-top: 1.5em; }

.story__link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; max-width: 300px; margin-top: clamp(30px, 4vw, 54px);
  font-family: "Ubuntu", sans-serif; font-weight: 500;
  font-size: clamp(11px, 0.8vw, 13px); letter-spacing: .18em; text-transform: uppercase;
  color: #26251d; text-decoration: none;
  border-bottom: 1px solid rgba(42,42,32,.35); padding-bottom: 12px;
  transition: border-color .3s ease;
}
.story__link:hover { border-color: #26251d; }
.story__arrow { transition: transform .3s ease; }
.story__link:hover .story__arrow { transform: translateX(6px); }

.story__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(50px, 7vw, 96px);
  border-top: 1px solid rgba(42,42,32,.18);
}
.story__stat {
  padding: clamp(28px, 3vw, 46px) clamp(24px, 2.5vw, 40px) clamp(20px, 2.5vw, 34px);
}
.story__stat:first-child { padding-left: 0; }
.story__stat + .story__stat { border-left: 1px solid rgba(42,42,32,.18); }
.story__stat-num {
  font-family: "Ubuntu", sans-serif; font-weight: 200;
  font-size: clamp(32px, 3.6vw, 32px); line-height: 1; color: #26251d;
}
.story__stat-label {
  font-family: "Ubuntu", sans-serif; font-weight: 200;
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.6;
  color: rgba(42,42,32,.72); margin-top: clamp(14px, 1.8vw, 28px);
}

@media (max-width: 900px) {
  .story__top { grid-template-columns: 1fr; gap: clamp(26px, 6vw, 44px); }
  .story__lead { max-width: none; }
  .story__stats { grid-template-columns: 1fr; }
  .story__stat { padding: clamp(22px, 5vw, 30px) 0; }
  .story__stat + .story__stat { border-left: 0; border-top: 1px solid rgba(42,42,32,.18); }
}

/* --- Scroll ile görünüme girince animasyon (brand-story ile aynı sistem:
   .8s cubic-bezier(.16,1,.3,1), translateY(30px), kademeli gecikme) --- */
.js .story__index,
.js .story__title,
.js .story__lead,
.js .story__stat {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.story.is-visible .story__index { opacity: 1; transform: none; transition-delay: .05s; }
.story.is-visible .story__title { opacity: 1; transform: none; transition-delay: .16s; }
.story.is-visible .story__lead  { opacity: 1; transform: none; transition-delay: .30s; }
.story.is-visible .story__stat:nth-child(1) { opacity: 1; transform: none; transition-delay: .44s; }
.story.is-visible .story__stat:nth-child(2) { opacity: 1; transform: none; transition-delay: .52s; }
.story.is-visible .story__stat:nth-child(3) { opacity: 1; transform: none; transition-delay: .60s; }

@media (prefers-reduced-motion: reduce) {
  .story__index, .story__title, .story__lead, .story__stat {
    opacity: 1; transform: none; transition: none;
  }
}

/* ===================================================================
   BANNER — HASAT (tam genişlik geçiş bandı)
   =================================================================== */
.banner {
  width: 100%;
  line-height: 0;                 /* alt boşluğu engelle */
  background: #fff;
  overflow: hidden;
}
.banner__img {
  display: block;
  width: 100%;
  height: auto;                   /* görselin tamamı, kırpma yok */
}
/* Mobilde çok ince kalmasın: hafif kırparak bant görünümü */
@media (max-width: 600px) {
  .banner__img {
    height: 62vw;
    object-fit: cover;
    object-position: center;
  }
}

/* ===================================================================
   SECTION 2 — ÜRETİM
   =================================================================== */
.production {
  display: grid;
  grid-template-columns: 65fr 35fr;
  /* yükseklik içeriğe göre uzayabilir (metin satırı artsa da taşmaz) */
  min-height: clamp(480px, 72vh, 780px);
}

/* .production kenardan kenara renkli bir blok; ortak yarım-pay sistemine
   dahil değil, kendi dikey padding'i yok. Bu yüzden ondan önce gelen bölüm
   aradaki boşluğun tamamını verir — blok nefes alsın diye standart
   ritimden bir tık geniş. */
.section:has(+ .production) { padding-bottom: calc(var(--section-y) * 1.25); }

.production__image {
  background: url("../img/production-2.webp") center center / cover no-repeat;
  background-color: #056750;
}

.production__panel {
  background: #056750;
  display: flex;
  align-items: center;
}

.production__panel-inner {
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px);
  width: 100%;
}

.production__index {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(9px, 0.65vw, 11px);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 3vw, 40px);
}
.production__index span:first-child { color: rgba(240,237,228,.35); }
.production__index span:last-child  { color: rgba(240,237,228,.6); }

.production__title {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.6cqw, 56px);
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #f0ede4;
  margin: 0 0 clamp(14px, 2vw, 24px);
}
.production__title em {
  font-style: italic;
  font-weight: 300;
}

.production__desc {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 0.85vw, 14px);
  line-height: 1.65;
  color: rgba(240,237,228,.62);
  max-width: 38ch;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.production__steps {
  list-style: none;
  border-top: 1px solid rgba(240,237,228,.15);
}

.production__step {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(10px, 1.2vw, 15px) 0;
  border-bottom: 1px solid rgba(240,237,228,.1);
  transition: border-color .25s;
}

.production__step-num {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(9px, 0.65vw, 10px);
  letter-spacing: .14em;
  color: rgba(240,237,228,.38);
  flex-shrink: 0;
  min-width: 18px;
}

.production__step-text {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(13px, 0.95vw, 15px);
  letter-spacing: .01em;
  color: rgba(240,237,228,.55);
  transition: color .25s;
}

.production__step--active .production__step-text {
  font-weight: 500;
  color: #f0ede4;
}
.production__step--active .production__step-num {
  color: rgba(240,237,228,.7);
}

.production__step:hover .production__step-text {
  color: rgba(240,237,228,.85);
}

/* Tablet */
@media (max-width: 1024px) {
  .production {
    grid-template-columns: 1fr;
    min-height: 480px;
  }
  /* görselin doğal oranı (1672x941): tam görünür, kırpma yok */
  .production__image { height: auto; min-height: 0; aspect-ratio: 1672 / 941; }
  .production__desc { max-width: none; }
}

/* Mobil */
@media (max-width: 600px) {
  .production__title { line-height: 1.12; }
}

/* ===================================================================
   SECTION 2 — RAKAMLARLA  ·  çizim üstünde yeşil kartlar
   Beyaz zeminde ortalı başlık; altında kalem gravür tesis çizimi ve çizimin
   üzerine oturan dört yeşil (#056750) kart: Üretim solda, İşleme altta
   ortada, Soğuk Hava sağ üstte, Operasyon sağ altta.
   Sıra (zamanla, kaydırmaya bağlı değil): başlık + çizim kalemle çizilir →
   çizim bitince dört kart AYNI ANDA aynı animasyonla gelir, rakamlar çark
   gibi döner. ≥1000 px geniş ekranda kartlar çizimin üstünde; daha darda
   çizimin altında 2 × 2 (telefonda tek sütun).
   Kart ve yazı ölçüleri çizim sahnesine bağlıdır (cqw): her çözünürlükte aynı.
   =================================================================== */
.figures {
  position: relative; overflow: hidden; overflow: clip; isolation: isolate;
  padding: var(--section-pad-y) var(--section-x);        /* sitedeki standart bölüm üst-alt boşluğu */
  background: #fff; color: #2a2a20;
}

.fg__inner { max-width: 1680px; margin: 0 auto; }

/* ---- başlık ---- */
.fg__title {
  margin: 0 auto clamp(22px, min(3.6vw, 4svh), 48px); max-width: 22em; text-align: center; word-spacing: -.2em;
  font-family: "Ubuntu", sans-serif; font-weight: 200;
  font-size: clamp(30px, 3.6cqw, 56px); line-height: 1.1; letter-spacing: -.01em; color: #04654f;
}
.fg__w { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em 0 .16em; margin: -.1em .24em -.16em 0; }
.fg__title .fg__w:last-child, .fg__title .fg__w--end { margin-right: 0; }   /* satır sonundaki kelime ortalamayı kaydırmasın */
.fg__w > span { display: inline-block; }
.fg__m { margin-left: .26em; }

/* ---- sahne: çizim + kartlar ---- */
.fg__stage { position: relative; width: 100%; max-width: 1640px; margin: 0 auto; container-type: inline-size; }
.sk__art {
  position: relative; margin: 0; width: 100%; aspect-ratio: 1400 / 770;
  translate: calc(var(--mx, 0) * 6px) calc(var(--my, 0) * 4px);
}
.sk__img { display: block; width: 100%; height: 100%; }
.sk__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sk--gl .sk__img { opacity: 0; -webkit-mask-image: none; mask-image: none; transition: none; }

/* ---- kartlar ---- */
.fg__cards { list-style: none; margin: clamp(20px, 4vw, 36px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.fg__card {
  --cr: clamp(14px, 1.35cqw, 22px);
  min-width: 0; background: #056750; color: #fff; border-radius: var(--cr);
  padding: 24px 28px;
}
.fg__stat + .fg__stat { margin-top: 18px; }
.figures__num {
  display: block; font-family: "Ubuntu", sans-serif; font-weight: 300; font-size: 32px; line-height: 1;   /* sitedeki rakam ölçüsüyle aynı (hikaye bölümü) */
  letter-spacing: -.01em; color: #fff; white-space: nowrap;
}
.figures__unit { margin-left: .34em; font-size: .38em; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.figures__unit--soft { margin-left: .06em; font-size: .52em; font-weight: 300; letter-spacing: 0; text-transform: none; }
.figures__cap {
  display: block; margin-top: 8px;
  font-family: "Ubuntu", sans-serif; font-weight: 300; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.4; color: rgba(255,255,255,.92);   /* sitedeki metin ölçüsüyle aynı */
}
.figures__cap + .figures__cap { margin-top: 2px; }

/* ---- Rakam çarkı (JS) ---- */
.odo { display: inline-flex; vertical-align: top; }
.odo__wheel { display: inline-block; height: 1.1em; overflow: hidden; }
.odo__stack {
  display: flex; flex-direction: column; align-items: flex-start;
  transition: transform .95s cubic-bezier(.16, 1, .3, 1); will-change: transform;
}
.odo__d { display: block; height: 1.1em; line-height: 1.1; }
.odo__sep { display: inline-block; height: 1.1em; line-height: 1.1; }
.figures__sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 600px) {
  .fg__cards { grid-template-columns: minmax(0, 1fr); }
  .sk__art { width: 118%; margin-left: -9%; }
}

/* ===================================================================
   Geniş ekran (≥1000 px): kartlar çizimin üstüne, örnekteki yerlerine oturur;
   sahne geniş tutulur (kenarlardan bölüm boşluğu kalır), yüksekliği ekranı aşmaz.
   =================================================================== */
@media (min-width: 1000px) {
  .fg__stage { width: min(100%, calc((100vh - clamp(110px, 13vh, 150px)) * 1.8182)); width: min(100%, calc((100svh - clamp(110px, 13svh, 150px)) * 1.8182)); min-width: min(100%, 760px); }
  .fg__cards { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
  .fg__card {
    position: absolute; left: var(--l); right: var(--r, auto); top: var(--t); width: var(--w); min-width: var(--mw, 210px); pointer-events: auto;
    translate: calc(var(--mx, 0) * var(--k, 1) * -10px) calc(var(--my, 0) * var(--k, 1) * -6px);
  }
  .fg__card:nth-child(1) { --l: 0%;  --t: 24%; --w: 19.5%; --mw: 215px; --k: 1.4; }   /* üretim: sol üst, ağaçların üstünde */
  .fg__card:nth-child(2) { --l: 29%; --t: 55%; --w: 23.5%; --mw: 265px; --k: 2; }   /* işleme: tesisin altında */
  .fg__card:nth-child(3) { --l: auto; --r: 0.5%; --t: 25%; --w: 17.5%; --mw: 215px; --k: 1.8; }   /* soğuk hava: sağ üst */
  .fg__card:nth-child(4) { --l: auto; --r: 9.5%; --t: 64%; --w: 19.5%; --mw: 215px; --k: 1.2; }   /* operasyon: sağ alt */
}

/* ===================================================================
   Giriş animasyonu (.is-visible'ı figures.js ekler)
   =================================================================== */
/* yedek (WebGL yoksa): çizim soldan sağa yumuşak kenarlı silmeyle belirir */
.js .sk__img {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 38%, transparent 62%); mask-image: linear-gradient(90deg, #000 0, #000 38%, transparent 62%);
  -webkit-mask-size: 270% 100%; mask-size: 270% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  transition: -webkit-mask-position 1.2s cubic-bezier(.2,.6,.25,1), mask-position 1.2s cubic-bezier(.2,.6,.25,1);
}
.figures.is-visible .sk__img { -webkit-mask-position: 0 0; mask-position: 0 0; }
.sk--gl .sk__img { -webkit-mask-image: none; mask-image: none; }

/* başlık kelimeleri maskeden yükselir */
.js .fg__w > span { transform: translateY(125%); transition: transform .6s cubic-bezier(.16,1,.3,1); transition-delay: calc(.02s + var(--wi) * .05s); }
.figures.is-visible .fg__w > span { transform: none; }

/* kartlar: alttan dolarak açılır, içerik sırayla yükselir */
.js .fg__card {
  clip-path: inset(100% 0 0 0 round var(--cr)); opacity: 0; transform: translateY(24px);
  transition: clip-path .42s cubic-bezier(.7,0,.2,1), opacity .2s ease, transform .5s cubic-bezier(.16,1,.3,1);
}
.js .fg__card.is-on { clip-path: inset(0 round var(--cr)); opacity: 1; transform: none; }
.js .fg__card .fg__stat { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .55s cubic-bezier(.16,1,.3,1); }
.js .fg__card.is-on .fg__stat { opacity: 1; transform: none; transition-delay: .1s; }
.js .fg__card.is-on .fg__stat:nth-of-type(2) { transition-delay: .17s; }
.js .fg__card.is-on .fg__stat:nth-of-type(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .sk__img, .fg__w > span, .fg__card, .fg__card .fg__stat, .odo__stack
  { -webkit-mask-image: none; mask-image: none; clip-path: none; opacity: 1; transform: none; transition: none; }
}


/* ===================================================================
   SECTION 3 — TESİSLER
   =================================================================== */
.facilities {
  background: #fff;
  color: #2a2a20;
  padding-inline: var(--section-x);   /* dikey boşluk .section'dan gelir */
}

.facilities__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.facilities__index {
  display: flex;
  gap: clamp(20px, 3vw, 46px);
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: clamp(40px, 6vw, 90px);
}

.facilities__index span:first-child { color: rgba(42,42,32,.4); }
.facilities__index span:last-child { color: rgba(42,42,32,.7); }

.facilities__top {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}

.facilities__title {
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(30px, 3.6cqw, 56px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: #26251d;
}

.facilities__title em {
  display: inline;
  font-style: italic;
  font-weight: 200;
}

.facilities__lead {
  max-width: 460px;
  padding-top: clamp(6px, 1vw, 16px);
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: rgba(42,42,32,.72);
}

.facilities__content {
  display: grid;
  grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 5vw, 82px);
  align-items: stretch;
  margin-top: clamp(50px, 7vw, 96px);
}

.facilities__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(42,42,32,.18);
}

.facilities__item {
  display: flex;
  flex: 1 1 0;
  border-bottom: 1px solid rgba(42,42,32,.18);
  transition: background-color .35s ease;
}

.facilities__item--active { background: rgba(5,103,80,.045); }

.facilities__trigger {
  display: grid;
  grid-template-columns: clamp(28px, 2.4vw, 40px) 1fr auto;
  gap: clamp(12px, 1.4vw, 22px);
  align-items: start;
  width: 100%;
  padding: clamp(18px, 2vw, 28px) clamp(12px, 1.4vw, 22px);
  border: 0;
  background: none;
  color: #26251d;
  text-align: left;
  cursor: pointer;
}

.facilities__trigger:focus-visible {
  outline: 1px solid rgba(5,103,80,.55);
  outline-offset: -1px;
}

.facilities__number {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(9px, .65vw, 11px);
  letter-spacing: .18em;
  color: rgba(42,42,32,.4);
  padding-top: .55em;
  transition: color .35s ease;
}

.facilities__text {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, .8vw, 12px);
}

.facilities__name {
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: -.01em;
  transition: color .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

.facilities__description {
  max-width: 44ch;
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(11px, .78vw, 13px);
  line-height: 1.55;
  color: rgba(42,42,32,.6);
}

/* tesis teknik bilgileri (metrik listesi) */
.facilities__specs {
  display: flex;
  flex-direction: column;
  gap: clamp(5px, .45vw, 8px);
  margin-top: clamp(4px, .5vw, 8px);
  padding-top: clamp(10px, 1vw, 14px);
  border-top: 1px solid rgba(42,42,32,.12);
}
.facilities__spec {
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(12px, .88vw, 14px);
  line-height: 1.45;
  color: rgba(42,42,32,.72);
}
.facilities__spec b {
  margin-right: .45em;
  font-weight: 500;
  color: #056750;
  white-space: nowrap;
}

.facilities__arrow {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.2vw, 19px);
  color: rgba(42,42,32,.48);
  padding-top: .2em;
  transition: color .35s ease, transform .45s cubic-bezier(.16,1,.3,1);
}

.facilities__trigger:hover .facilities__name,
.facilities__trigger:focus-visible .facilities__name { transform: translateX(5px); }
.facilities__item--active .facilities__number,
.facilities__item--active .facilities__arrow { color: #056750; }
.facilities__item--active .facilities__arrow { transform: translate(2px,-2px); }

.facilities__gallery {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #056750;
}

/* Oran (1.15 / 1): sabit aspect-ratio yerine yer tutucu. Liste galeriden uzun olursa
   galeri satır yüksekliğine uzar (genişliği taşmaz); kısaysa oran aynen korunur. */
.facilities__gallery::before {
  content: "";
  display: block;
  padding-top: calc(100% / 1.15);
}

.facilities__visual {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  clip-path: inset(0 0 0 100%);
  transform: scale(1.045);
  transition: opacity .45s ease, clip-path .75s cubic-bezier(.16,1,.3,1), transform 1.15s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}

.facilities__visual--active {
  opacity: 1;
  z-index: 1;
  clip-path: inset(0);
  transform: scale(1);
}

.facilities__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facilities__visual figcaption {
  position: absolute;
  z-index: 2;
  left: clamp(14px, 1.5vw, 22px);
  right: clamp(14px, 1.5vw, 22px);
  bottom: clamp(14px, 1.5vw, 22px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(8px, .55vw, 10px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 12px rgba(0,0,0,.55);
}

@media (max-width: 900px) {
  .facilities__top { grid-template-columns: 1fr; gap: clamp(26px, 6vw, 44px); }
  .facilities__lead { max-width: none; }
  .facilities__content {
    grid-template-columns: 1fr;
    gap: clamp(28px, 7vw, 46px);
  }
  .facilities__trigger {
    grid-template-columns: 26px 1fr auto;
    gap: 12px;
    padding: clamp(18px, 4vw, 24px) 10px;
  }
  .facilities__trigger:hover .facilities__name { transform: none; }
  /* 16/9: galeri görsellerinin (1672x941) doğal oranı — kırpma minimuma iner */
  .facilities__gallery::before { padding-top: 56.25%; }
}

@media (prefers-reduced-motion: reduce) {
  .facilities__name,
  .facilities__arrow,
  .facilities__visual { transition: none; }
}

/* ===================================================================
   SECTION 4 — ZEYTİN AĞACI
   =================================================================== */
.olive-cycle {
  position: relative;
  overflow: hidden;
  background: #056750;
  color: #f0ede4;
  padding-inline: var(--section-x);   /* dikey boşluk .section'dan gelir */
}

.olive-cycle__inner {
  max-width: 1500px;
  margin: 0 auto;
}

.olive-cycle__index {
  display: flex;
  gap: clamp(20px, 3vw, 46px);
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(11px, .8vw, 13px);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.olive-cycle__index span:first-child { color: rgba(240,237,228,.35); }
.olive-cycle__index span:last-child { color: rgba(240,237,228,.62); }

.olive-cycle__intro {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: end;
}

.olive-cycle__title {
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(30px, 3.6cqw, 56px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: #f0ede4;
}

.olive-cycle__lead {
  max-width: 460px;
  padding-bottom: clamp(4px, .8vw, 12px);
  font-family: "Ubuntu", sans-serif;
  font-weight: 200;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: rgba(240,237,228,.65);
}

.olive-cycle__stage {
  position: relative;
  height: clamp(680px, 64vw, 900px);
  max-width: 1320px;
  margin: clamp(28px, 3vw, 46px) auto 0;
  isolation: isolate;
}

.olive-cycle__stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(240,237,228,.11) 0, rgba(240,237,228,.035) 48%, transparent 72%);
  pointer-events: none;
}

.olive-cycle__tree-frame {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(390px, 42vw, 600px);
  aspect-ratio: 1156 / 1361;
  transform: translate(-50%, -50%);
}

.olive-cycle__tree-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(70px) scale(.76);
  transform-origin: 50% 100%;
  transition: opacity .8s ease, transform 1.4s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(0 30px 42px rgba(0,0,0,.18));
}

.olive-cycle.is-visible .olive-cycle__tree-visual {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.olive-cycle__fallback,
.olive-cycle__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.olive-cycle__fallback {
  object-fit: contain;
  transition: opacity .35s ease;
}

.olive-cycle__canvas { opacity: 0; }
.olive-cycle.has-webgl .olive-cycle__canvas { opacity: 1; }
.olive-cycle.has-webgl .olive-cycle__fallback { opacity: 0; }

.olive-cycle__ring {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 52%;
  border: 1px solid rgba(240,237,228,.12);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.72) rotate(-20deg);
  transition: opacity 1s ease .15s, transform 1.5s cubic-bezier(.16,1,.3,1) .15s;
  pointer-events: none;
}

.olive-cycle__ring--outer {
  width: min(84vw, 1100px);
  aspect-ratio: 1.48;
}

.olive-cycle__ring--inner {
  width: min(63vw, 820px);
  aspect-ratio: 1.35;
  border-style: dashed;
}

.olive-cycle.is-visible .olive-cycle__ring {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0);
}

.olive-cycle__point {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.4vw, 20px);
  width: clamp(220px, 21vw, 290px);
  opacity: 0;
  transform: translate3d(var(--from-x), var(--from-y), 0) rotate(var(--from-r)) scale(.65);
  transition: opacity .6s ease var(--point-delay), transform 1.05s cubic-bezier(.16,1,.3,1) var(--point-delay);
}

.olive-cycle.is-visible .olive-cycle__point {
  opacity: 1;
  transform: translate3d(0,0,0) rotate(0) scale(1);
}

.olive-cycle__point--one { left: 2%; top: 25%; }
.olive-cycle__point--two { right: 0; top: 21%; }
.olive-cycle__point--three { left: 4%; bottom: 21%; }
.olive-cycle__point--four { right: 1%; bottom: 18%; }

.olive-cycle__icon {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(48px, 4.5vw, 64px);
  width: clamp(48px, 4.5vw, 64px);
  aspect-ratio: 1;
  border: 1px solid rgba(240,237,228,.28);
  border-radius: 50%;
  color: #f0ede4;
  background: rgba(240,237,228,.035);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.olive-cycle.is-visible .olive-cycle__icon {
  animation: olive-point-float 5s ease-in-out calc(var(--point-delay) + 1s) infinite;
}

.olive-cycle__icon svg {
  width: 44%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.olive-cycle__point-copy {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.olive-cycle__point-copy strong {
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.35;
  color: #f0ede4;
}

.olive-cycle__point-copy small {
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(10px, .72vw, 12px);
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(240,237,228,.46);
}

@keyframes olive-point-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 900px) {
  .olive-cycle__intro { grid-template-columns: 1fr; gap: clamp(26px, 6vw, 44px); }
  .olive-cycle__lead { max-width: none; padding-bottom: 0; }
  .olive-cycle__stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: auto;
    margin-top: clamp(44px, 10vw, 72px);
  }
  .olive-cycle__stage::before {
    top: 29%;
    width: min(115vw, 620px);
  }
  .olive-cycle__tree-frame {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    width: min(80vw, 440px);
    margin: 0 auto clamp(26px, 7vw, 46px);
    transform: none;
  }
  .olive-cycle__ring { top: 28%; }
  .olive-cycle__ring--outer { width: min(130vw, 680px); }
  .olive-cycle__ring--inner { width: min(102vw, 530px); }
  .olive-cycle__point,
  .olive-cycle__point--one,
  .olive-cycle__point--two,
  .olive-cycle__point--three,
  .olive-cycle__point--four {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 114px;
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    border-top: 1px solid rgba(240,237,228,.14);
  }
  .olive-cycle__point-copy { gap: 5px; }
}

@media (max-width: 520px) {
  .olive-cycle__tree-frame { width: min(94vw, 390px); }
  .olive-cycle__point {
    min-height: 126px;
    padding: 16px 4px 18px;
  }
  .olive-cycle__icon {
    flex-basis: 46px;
    width: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .olive-cycle__tree-visual,
  .olive-cycle__ring,
  .olive-cycle__point {
    transition: none;
  }
  .olive-cycle.is-visible .olive-cycle__icon { animation: none; }
}

/* ===================================================================
   MARKA HİKAYESİ — "İyi bir ürün, iyi bir hikayeyle başlar."
   Referans: 1600 x 1000 (1cqw = 16px). Konumlar cqw ile orantılı ölçeklenir.
   =================================================================== */
.brand-story {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  /* dikey ritim .section'dan gelir; yatay padding yok — yaprak sağ kenara dayanmalı */
  padding-block: 0 !important;
  box-sizing: border-box;
  overflow: hidden;
}
.brand-story__inner {
  position: relative;
  /* max-width YOK: yaprak her çözünürlükte tarayıcının sağ kenarına dayalı kalır */
  width: 100%;
  aspect-ratio: 1390 / 786;   /* referans tasarım oranı */
  margin: 0;
  container-type: inline-size;
}

/* Sol büyük başlık */
.brand-story__title {
  position: absolute;
  left: var(--section-x); top: 10cqw; width: 42cqw;
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  font-size: clamp(30px, 3.6cqw, 56px);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #056750;
}

/* Sol alt butonlar */
.brand-story__actions {
  position: absolute;
  left: var(--section-x); top: 50.4cqw;
  display: flex;
  gap: clamp(8px, 0.75cqw, 12px);
}
.brand-story__btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: clamp(36px, 2.75cqw, 44px);
  padding: 0 clamp(16px, 1.75cqw, 28px);
  border-radius: 999px;
  font-family: "Ubuntu", sans-serif;
  font-size: clamp(11px, 0.82cqw, 13px);
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.brand-story__btn--solid {
  background: #056750; color: #ffffff; border: 1px solid #056750;
}
.brand-story__btn--solid:hover { background: #04543f; border-color: #04543f; }
.brand-story__btn--outline {
  background: #ffffff; color: #056750; border: 1px solid #056750;
}
.brand-story__btn--outline:hover { background: #056750; color: #ffffff; }

/* Sağda zeytin dalı görseli — sağ kenara dayalı, doğal oranında (kırpmasız).
   --leafx: scroll ile sürülen yatay kayma (showcase-scroll.js).
   Girişte sağdan içeride başlar, scroll ettikçe sola (yazılara) doğru yaklaşır. */
.brand-story__media {
  position: absolute;
  right: 0; bottom: 1.2cqw;
  width: 66.2cqw;
  margin: 0;
  transform: translate3d(var(--leafx, 0px), 0, 0);
  will-change: transform;
}
.brand-story__media img {
  width: 100%; height: auto;
  display: block;
}

/* Başlığın altındaki dar açıklama sütunu (sol) */
.brand-story__text {
  position: absolute;
  left: 5.6cqw; top: 30.2cqw; width: 15.2cqw;
}
.brand-story__text p {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  font-weight: 400;
  font-size: clamp(11px, 0.95cqw, 14px);
  line-height: 1.5;
  color: #8f8f8f;
}
.brand-story__text p + p { margin-top: clamp(12px, 1.1cqw, 18px); }

/* --- Scroll ile görünüme girince animasyon (yalnız JS varken gizlenir) --- */
.js .brand-story__title,
.js .brand-story__actions,
.js .brand-story__text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
/* yaprak: transform scroll animasyonuna ait — reveal yalnız opacity uygular */
.js .brand-story__media {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.16,1,.3,1);
}
.brand-story.is-visible .brand-story__title  { opacity: 1; transform: none; transition-delay: .05s; }
.brand-story.is-visible .brand-story__media  { opacity: 1; transition-delay: .18s; }
.brand-story.is-visible .brand-story__text   { opacity: 1; transform: none; transition-delay: .32s; }
.brand-story.is-visible .brand-story__actions{ opacity: 1; transform: none; transition-delay: .44s; }

@media (prefers-reduced-motion: reduce) {
  .brand-story__title,
  .brand-story__actions,
  .brand-story__media,
  .brand-story__text,
  .brand-story__media img {
    opacity: 1; transform: none; transition: none;
  }
}

/* --- Tablet / mobil: dikey istif --- */
@media (max-width: 1024px) {
  .brand-story__inner {
    aspect-ratio: auto;
    max-width: 560px;
    margin: 0 auto;
    display: flex; flex-direction: column; align-items: stretch;
    /* metin/butonlar ekran kenarına yapışmasın; yaprak sağ kenara dayalı kalır */
    --bs-pad: var(--section-x);
    padding: 0 var(--bs-pad);
    box-sizing: border-box;
  }
  .brand-story__title,
  .brand-story__actions,
  .brand-story__media,
  .brand-story__text {
    position: static; left: auto; top: auto; width: 100%;
  }
  .brand-story__title {
    font-size: clamp(30px, 3.6cqw, 56px);
    line-height: 1.18;
    margin-bottom: clamp(20px, 6vw, 30px);
  }
  .brand-story__actions {
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 7vw, 36px);
  }
  .brand-story__btn { height: 44px; padding: 0 22px; font-size: 12px; }
  .brand-story__media {
    /* yaprak görseli doğal oranında, KIRPMASIZ; sağ kenara dayalı his için hafif taşma */
    height: auto;
    aspect-ratio: auto;
    width: calc(100% + var(--bs-pad));
    margin: clamp(8px, 2vw, 16px) calc(-1 * var(--bs-pad)) 0 0;
    align-self: flex-end;
  }
  .brand-story__media img {
    width: 100%; height: auto;
    object-fit: unset;
  }
  .brand-story__text p { font-size: clamp(14px, 4vw, 16px); line-height: 1.6; }
  .brand-story__text p + p { margin-top: 16px; }
  .brand-story__text { margin-bottom: clamp(20px, 5vw, 28px); }
}

/* ===================================================================
   SAHNE — 2 katmanlı 3D parallax görsel
   Arka: zeytinlik (HCT logosu negatif alan) · Ön: üretici
   Yatay hiza üst bölüm (.brand-story) ile birebir aynı.
   =================================================================== */
.showcase {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  /* yatay padding yok — görsel tam genişlikte; dikey ritim .section'dan gelir */
  padding-inline: 0;
  box-sizing: border-box;
}
.showcase__inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Sahne. KIRPMA YOK — yükseklik arka görselin doğal oranından gelir.
   Mouse/imleç hareketi YOK — tek hareket kaynağı scroll (showcase-scroll.js). */
.showcase__stage {
  position: relative;
  width: 100%;
  /* çiftçi (ön katman) kayarken sahnenin dışına taşmasın —
     zeytinlik görselinin sınırları bir maske gibi davranır, "içinde" algısı verir */
  overflow: hidden;
}

.showcase__backframe {
  position: relative;
}

/* Arka katman — tamamen sabit, hareket etmez. Doğal oran korunur. */
.showcase__layer--back {
  display: block;
  width: 100%;
  height: auto;
}

/* Ön katman (çiftçi) — iki katmanlı yapı (Safari akıcılığı için):
   .showcase__mover  = yalnızca KAYAR (transform; showcase-scroll.js her karede yazar)
   .showcase__layer--front = görsel + gölge filtresi, hareketsiz içerik.
   Filtre ile transform AYRI katmanlarda olduğu için bulanık gölge kayarken yeniden hesaplanmaz.
   Boyut: height:100% + doğal oran (1281x1228) = eskisiyle birebir aynı; banda tam oturur.
   Yumuşatma CSS transition ile değil JS'te yapılır (her scroll olayında transition yeniden başlamasın). */
.showcase__mover {
  position: absolute;
  left: 28%;
  top: 0;
  height: 100%;
  aspect-ratio: 1281 / 1228;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}
.showcase__layer--front {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .26));
}

/* Scroll ile görünüme girince */
.js .showcase__stage {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
}
.showcase.is-visible .showcase__stage {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .showcase__stage { opacity: 1; transform: none; transition: none; }
  .showcase__layer--front { transition: none; }
}

/* Mobil: görseller masaüstündeki gibi KIRPMASIZ, doğal oranında gösterilir;
   kompozisyon (çiftçi + logo) bozulmadan küçülür.
   Dikey boşluk istisnası yok — ortak ritim geçerli. */


/* ===================================================================
   FOOTER
   Sol: beyaz zemin — logo, açıklama, telefon, adres, sosyal
   Sağ: açık gri zemin — 3 link sütunu + telif
   Referans tasarım: 1609 x 636
   =================================================================== */
.site-footer {
  display: grid;
  grid-template-columns: 33.7% 1fr;
  background: #ffffff;
  font-family: "Ubuntu", sans-serif;
}

/* --- Sol blok --- */
.site-footer__brand {
  background: #ffffff;
  padding: var(--section-y) clamp(24px, 3vw, 48px) var(--section-y) var(--section-x);
  display: flex;
  flex-direction: column;
}

.site-footer__logo {
  display: block;
  line-height: 0;
  align-self: flex-start;
}
.site-footer__logo img {
  display: block;
  width: clamp(150px, 18vw, 295px);
  height: auto;              /* logonun doğal oranı korunur (295x109) */
}

.site-footer__about {
  margin-top: clamp(22px, 2.3vw, 37px);
  max-width: 34ch;
  font-size: clamp(12px, 0.81vw, 13px);
  font-weight: 400;
  line-height: 1.65;
  color: #8f8f8f;
}

.site-footer__phone {
  margin-top: clamp(24px, 2.6vw, 42px);
  font-size: clamp(20px, 1.62vw, 26px);
  font-weight: 700;
  letter-spacing: .01em;
  color: #056750;
  text-decoration: none;
  align-self: flex-start;
}

/* telefon (şimdilik yok) varken adres onun altındaydı; telefonsuzken adres açıklamadan ayrık dursun */
.site-footer__about + .site-footer__contact { margin-top: clamp(20px, 2.2vw, 34px); }
.site-footer__contact {
  margin-top: clamp(8px, 0.8vw, 13px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
  font-size: clamp(12px, 0.81vw, 13px);
  line-height: 1.6;
  color: #8f8f8f;
}
.site-footer__contact a {
  color: inherit;
  text-decoration: none;
  align-self: flex-start;
  transition: color .25s ease;
}
.site-footer__contact a:hover { color: #056750; }

.site-footer__social {
  margin-top: auto;              /* alt hizaya yasla */
  padding-top: clamp(32px, 4vw, 64px);
  display: flex;
  gap: clamp(26px, 2.7vw, 44px);
}
.site-footer__social a {
  font-size: clamp(13px, 0.93vw, 15px);
  color: #056750;
  text-decoration: none;
  transition: color .25s ease;
}
.site-footer__social a:hover { color: #056750; }

  .site-footer__copy a{color: #333333; text-decoration: none;}

/* --- Sağ blok --- */
.site-footer__nav {
  background: #f4f4f4;
  padding: var(--section-y) var(--section-x) var(--section-y) clamp(28px, 7.7vw, 124px);
  display: flex;
  flex-direction: column;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 2.5vw, 40px);
}
.site-footer__col {
  display: flex;
  flex-direction: column;
}
.site-footer__heading {
  margin: 0 0 clamp(20px, 2vw, 32px);
  font-size: clamp(13px, 0.93vw, 15px);
  font-weight: 700;
  color: #1a1a1a;
}
.site-footer__col a {
  font-size: clamp(13px, 0.93vw, 15px);
  font-weight: 400;
  color: #333333;
  text-decoration: none;
  transition: color .25s ease;
}
.site-footer__col a + a { margin-top: clamp(20px, 2vw, 32px); }
.site-footer__col a:hover { color: #056750; }

.site-footer__copy {
  margin-top: auto;              /* alt hizaya yasla (sosyal ile aynı satır) */
  padding-top: clamp(32px, 4vw, 64px);
  font-size: clamp(13px, 0.93vw, 15px);
  color: #1a1a1a;
}

/* --- Tablet / mobil --- */
@media (max-width: 900px) {
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__brand {
    padding: var(--section-y) var(--section-x) clamp(36px, 8vw, 56px);
  }
  .site-footer__nav {
    padding: clamp(36px, 8vw, 56px) var(--section-x) var(--section-y);
  }
  .site-footer__social { padding-top: clamp(28px, 7vw, 40px); }
  .site-footer__copy { padding-top: clamp(32px, 8vw, 48px); }
  .site-footer__about { max-width: none; }
}

@media (max-width: 560px) {
  .site-footer__cols { grid-template-columns: 1fr; gap: clamp(28px, 7vw, 40px); }
}


/* ===================== HEADER: Teklif İste butonu (sağ üst) ===================== */
.site-actions { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 18px); pointer-events: auto; position: relative; z-index: 30; }
.site-cta {
  font-family: "Ubuntu", sans-serif; font-weight: 500;
  font-size: clamp(11px, 1vw, 12.5px); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: #fffbe7; text-decoration: none; line-height: 1;
  padding: 1.05em 1.9em; border: 1px solid rgba(255,251,231,.75); border-radius: 999px;
  background: rgba(255,251,231,.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
  transition: background .3s ease, color .3s ease, border-color .3s ease, opacity .25s ease, transform .3s ease;
}
.site-cta:hover, .site-cta:focus-visible { background: #fffbe7; color: #056750; border-color: #fffbe7; text-shadow: none; }
/* iç sayfalar (açık zemin): koyu yeşil */
.site-header--ink .site-cta { color: #0b3d2e; border-color: rgba(11,61,46,.55); background: transparent; text-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header--ink .site-cta:hover, .site-header--ink .site-cta:focus-visible { background: #0b3d2e; color: #fff; border-color: #0b3d2e; }
@media (max-width: 1024px) {
  .site-cta { padding: .95em 1.4em; font-size: 11px; letter-spacing: .1em; }
  .site-header.menu-open .site-cta { opacity: 0; pointer-events: none; }
}
@media (max-width: 380px) { .site-cta { padding: .9em 1.1em; letter-spacing: .06em; } }

/* Safari: animasyonlu WebGL katmanının üstünde backdrop-filter her karede yeniden hesaplanır (titreme) -> düz yarı saydam dolgu */
.is-safari .site-cta { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255,251,231,.14); }
.is-safari .site-header--ink .site-cta { background: transparent; }

/* ===================================================================
   YAZI STANDARDI — anasayfadaki ölçüler (hero hariç). Tüm iç sayfalar bu değişkenleri kullanır.
   Yeni sayfa/bölüm eklerken font-size için SADECE bunları kullanın.
   =================================================================== */
:root {
  --fs-h:    clamp(30px, 3.6cqw, 56px);     /* başlık (h1/h2) ve büyük sayılar */
  --fs-n:    32px;                          /* rakam / alt başlık (anasayfa .story__stat-num) */
  --fs-card: clamp(20px, 2vw, 30px);        /* kart adı (anasayfa .facilities__name) */
  --fs-p:    clamp(14px, 1.05vw, 16px);     /* paragraf (anasayfa .story__lead p) */
  --lh-p:    1.6;                           /* paragraf satır aralığı */
  --fs-l:    clamp(11px, .8vw, 13px);       /* küçük büyük-harf etiket / buton (anasayfa .story__index) */
}
