/* Aydınlar Fındık
   Yerleşim: tek sütunlu, kaydırmayla ilerleyen sahneler. Koyu "kabuk" zemin,
   fotoğraflar ve fındık çizimi ön planda; ürünler için açık "iç fındık" zemini. */
:root {
  --kabuk: #120d09;        /* zemin: fındık kabuğunun koyu kahvesi */
  --kabuk-2: #1d1610;      /* yükseltilmiş yüzey */
  --kabuk-3: #2a2018;      /* çizgi / ayraç */
  --zar: #f1e6d6;          /* metin: iç fındık rengi */
  --zar-dim: #b9ab98;      /* ikincil metin */
  --kavrum: #e0a258;       /* vurgu: kavrulmuş altın */
  --kavrum-ink: #1b1109;   /* vurgu üzerindeki metin */
  --yaprak: #9bb865;       /* ikincil vurgu: fındık yaprağı */
  --ic: #efe4d2;           /* açık bölüm zemini */
  --ic-2: #e4d6c0;
  --ink: #22170e;          /* açık zemin üstü metin */
  --ink-dim: #6b5a48;

  --f-display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  --nav-h: 60px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kabuk);
  color: var(--zar);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--kavrum); outline-offset: 3px; border-radius: 6px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--kavrum); }

/* Tip ölçeği */
.display-l { font-family: var(--f-display); font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -.01em; }
.display-m { font-family: var(--f-display); font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.05; }
.display-s { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.12; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--zar-dim); max-width: 38em; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  background: var(--kavrum); color: var(--kavrum-ink);
  font: 600 16px/1 var(--f-body); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); background: #eab06c; }
.btn-small { min-height: 38px; padding: 0 1.1em; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--zar); box-shadow: inset 0 0 0 1.5px var(--kabuk-3); }
.btn-ghost:hover { background: var(--kabuk-2); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  background: color-mix(in srgb, var(--kabuk) 72%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--zar) 8%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 20px; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand em { font-style: normal; color: var(--kavrum); }
.nav-links { display: flex; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--zar-dim); transition: color .2s; }
.nav-links a:hover { color: var(--zar); }

/* 1. HERO */
.hero { height: 260vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-head {
  position: absolute; inset: calc(var(--nav-h) + 4vh) var(--gutter) auto; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  will-change: transform, opacity;
}
.hero-seal { width: clamp(72px, 8vw, 112px); height: auto; margin-bottom: 4px; filter: drop-shadow(0 12px 28px rgba(0,0,0,.5)); }
.hero-title { font-family: var(--f-display); font-size: clamp(3.4rem, 12vw, 10.5rem); line-height: .9; letter-spacing: -.02em; }
.hero-title span { color: var(--kavrum); }
@media (min-width: 761px) {
  .hero-title { font-size: clamp(3.6rem, min(8vw, 14vh), 8.5rem); }
  .hero-title br { display: none; }
}
.hero-media {
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(50% 10% 5% 10% round 28px);
  will-change: clip-path;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,5,.15) 0%, rgba(12,8,5,.25) 45%, rgba(12,8,5,.78) 100%); opacity: 0; }
.hero-over {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 9vh;
  max-width: var(--maxw); margin-inline: auto;
  display: grid; gap: 18px; opacity: 0; transform: translateY(30px);
}
.hero-over .lead { color: var(--zar); }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--zar);
}
.scroll-cue span { width: 1px; height: 28px; background: currentColor; transform-origin: top; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 2. MANİFESTO */
.manifesto { height: 260vh; }
.manifesto-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; padding-inline: var(--gutter); }
.manifesto-text {
  max-width: 21ch; font-family: var(--f-display);
  font-size: clamp(2rem, 5.2vw, 4.4rem); line-height: 1.14; text-wrap: pretty;
}
.manifesto-text .w { opacity: .16; transition: opacity .25s linear; }
.manifesto-text .w.hl { color: var(--kavrum); }

/* 3. BAHÇE / PANORAMA */
.place { height: 360vh; }
.place-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.5vh, 36px);
  padding-top: var(--nav-h);
}
.pano { position: relative; }
.pano-img { height: min(52vh, 540px); width: auto; max-width: none; will-change: transform; }
.pano-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: -14px; height: 2px; background: var(--kabuk-3); }
.pano-bar span { display: block; height: 100%; width: 100%; background: var(--kavrum); transform-origin: left; transform: scaleX(0); }
.place-captions { display: grid; min-height: 7.5em; }
.cap { grid-area: 1 / 1; max-width: 34em; opacity: 0; transform: translateY(12px); transition: opacity .18s ease, transform .18s ease; }
.cap.is-active { opacity: 1; transform: none; transition: opacity .4s ease .16s, transform .4s ease .16s; }
.cap-k { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--yaprak); margin-bottom: 6px; }
.cap p:last-child { color: var(--zar-dim); font-size: clamp(1rem, 1.5vw, 1.2rem); }

/* 4. SÜREÇ */
.process { padding-top: clamp(80px, 14vh, 160px); }
.process-intro { display: grid; gap: 12px; margin-bottom: 4vh; }
.process-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 80px); }
.stage-col { position: relative; }
.stage {
  --glow: #3d5a22;
  position: sticky; top: calc(var(--nav-h) + 2vh);
  height: calc(100vh - var(--nav-h) - 4vh); height: calc(100svh - var(--nav-h) - 4vh);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  border-radius: 32px; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 48%, color-mix(in srgb, var(--glow) 70%, transparent) 0%, transparent 70%),
    var(--kabuk-2);
}
.stage-svg { width: min(100%, 520px); height: auto; max-height: 78%; overflow: visible; }
.stage-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; list-style: none; margin: 0; padding: 0 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--zar-dim); }
.stage-steps li { opacity: .45; transition: opacity .3s, color .3s; }
.stage-steps li.is-active { opacity: 1; color: var(--kavrum); }
.stage-3d { position: absolute; inset: 0; }
.stage-3d canvas { display: block; width: 100%; height: 100%; }
.stage.has-3d .stage-svg { display: none; }
.stage.has-3d .stage-steps { position: absolute; left: 0; right: 0; bottom: 18px; }
#heat path { animation: heat 1.6s ease-in-out infinite; }
#heat path:nth-child(2) { animation-delay: -.5s; }
#heat path:nth-child(3) { animation-delay: -1s; }
@keyframes heat { 0%, 100% { transform: translateY(6px); opacity: .5; } 50% { transform: translateY(-6px); opacity: 1; } }

.steps-col { display: flex; flex-direction: column; }
.step { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.step:last-child { min-height: 185vh; align-items: flex-start; padding-top: 38vh; }
.step-card { display: grid; gap: 14px; max-width: 30em; opacity: .28; transition: opacity .4s ease; }
.step.is-active .step-card { opacity: 1; }
.step-n { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--kavrum); }
.step-card p:last-child { color: var(--zar-dim); font-size: 1.08rem; }

/* 5. SÖZLER / BENTO */
.promises { padding-block: clamp(100px, 16vh, 180px) clamp(60px, 10vh, 120px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vh, 56px); }
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, auto);
}
.tile { border-radius: 28px; background: var(--kabuk-2); padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-width: 0; }
.tile p { color: var(--zar-dim); }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile-photo { margin: 0; padding: 0; min-height: 320px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-wide img { object-position: 50% 62%; }
.tile-photo figcaption {
  position: relative; display: grid; gap: 8px;
  padding: clamp(22px, 3vw, 34px); padding-top: 90px;
  background: linear-gradient(180deg, transparent, rgba(12,8,5,.85));
}
.tile-photo figcaption p { color: var(--zar); }
.tile-photo figcaption .mono { font-size: 13px; letter-spacing: .1em; color: var(--kavrum); }
.stat { font-family: var(--f-display); font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: 1; color: var(--zar) !important; font-variant-numeric: tabular-nums; }
.stat small { font-size: .5em; color: var(--kavrum); margin-left: .05em; }
.tile-leaf { background: #1c2414; }
.tile-leaf .stat { color: var(--yaprak) !important; }
.tile-roast { background: linear-gradient(160deg, #3a2413, #1d1610 70%); }
.tile-roast .stat { color: var(--kavrum) !important; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes rise { from { transform: translateY(40px) scale(.97); } to { transform: none; } }
  }
}

/* 6. ARA */
.interlude { position: relative; height: 110vh; overflow: hidden; display: grid; align-items: end; }
.interlude-img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.interlude-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--kabuk) 0%, rgba(18,13,9,.1) 25%, rgba(18,13,9,.2) 55%, var(--kabuk) 100%); }
.interlude-quote { position: relative; margin: 0 auto; padding-block: 0 16vh; }
.interlude-quote p { max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }

/* 7. ÜRÜNLER (açık zemin) */
.shop { background: var(--ic); color: var(--ink); padding-block: clamp(90px, 14vh, 160px); border-radius: 40px 40px 0 0; }
.shop .eyebrow { color: #9a5a22; }
.shop .lead { color: var(--ink-dim); }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product { background: #f8f0e3; border-radius: 28px; padding: 28px; display: grid; grid-template-rows: 260px auto; gap: 18px; min-width: 0; box-shadow: 0 1px 0 rgba(34,23,14,.06); }
.product-art { display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(55% 45% at 50% 70%, #ead8bb, transparent 72%); }
.product-art img { height: var(--h, 200px); width: auto; filter: drop-shadow(0 16px 14px rgba(70,40,12,.22)); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.product:hover .product-art img { transform: translateY(-6px) rotate(-2deg); }
.product-body { display: grid; gap: 6px; }
.product-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product h3 { font-family: var(--f-display); font-size: 1.6rem; }
.product .weight { font-family: var(--f-mono); font-size: 14px; color: #9a5a22; white-space: nowrap; }
.product p { color: var(--ink-dim); font-size: .98rem; }
.product .price { font-weight: 600; color: var(--ink); }
.shop :focus-visible { outline-color: #9a5a22; }

/* 8. MAĞAZALAR */
.stores { padding-block: clamp(100px, 16vh, 180px) clamp(60px, 10vh, 100px); display: grid; justify-items: center; text-align: center; gap: 28px; }
.stores-seal { width: clamp(110px, 14vw, 160px); height: auto; filter: drop-shadow(0 14px 30px rgba(0,0,0,.45)); }
.stores h2 span { color: var(--kavrum); }
.stores .lead { max-width: 34em; }
.store-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.place-link { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--zar-dim); text-decoration: none; }
.place-link:hover { color: var(--zar); }

/* Pazaryeri düğmeleri: logolar maske olarak, yazı rengini alır */
.market {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, currentColor 35%, transparent);
  text-decoration: none; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.market:hover { background: var(--ink); color: var(--ic); box-shadow: none; transform: translateY(-1px); }
.market-logo { display: block; height: 20px; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.market-trendyol .market-logo { --logo: url(../assets/img/pazar/trendyol.png); aspect-ratio: 419 / 96; height: 22px; }
.market-hepsiburada .market-logo { --logo: url(../assets/img/pazar/hepsiburada.png); aspect-ratio: 549 / 96; }
.markets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.buy-label { margin-top: 8px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim) !important; }
.market-lg { min-height: 64px; padding: 0 38px; color: var(--zar); }
.market-lg .market-logo { height: 28px; }
.market-lg.market-trendyol .market-logo { height: 31px; }
.market-lg:hover { background: var(--zar); color: var(--kabuk); }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--kabuk-3); color: var(--zar-dim); font-size: 14px; }
.footer strong { color: var(--zar); font-weight: 600; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; }

/* SVG içi yazılar */
.pouch-brand { font: 500 13px var(--f-mono); letter-spacing: .3em; fill: #2e1c0d; }
.pouch-name { font: 400 30px var(--f-display); fill: #2e1c0d; }
.pouch-sub { font: 500 8.5px var(--f-mono); letter-spacing: .16em; fill: #3a2412; }

/* Duyarlı */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-tall { grid-row: span 1; grid-column: span 2; min-height: 420px; }
  .products { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .product { grid-template-rows: 220px auto; }
}
@media (max-width: 760px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage-col, .steps-col { grid-area: 1 / 1; }
  .stage { height: 52vh; height: 52svh; top: calc(var(--nav-h) + 8px); z-index: 1; border-radius: 24px; gap: 8px; }
  .stage-svg { max-height: 80%; }
  .stage-steps { font-size: 10px; gap: 4px 10px; }
  .steps-col { position: relative; z-index: 2; padding-top: 40vh; }
  .step { min-height: 90vh; align-items: flex-end; padding-bottom: 6vh; }
  .step:last-child { min-height: 150vh; align-items: flex-start; padding-top: 52vh; }
  .step-card { transition: none; background: color-mix(in srgb, var(--kabuk) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 22px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--kabuk-3); opacity: 1; }
  .hero-media { clip-path: inset(44% 5% 4% 5% round 22px); }
  .place-captions { min-height: 10em; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-tall, .tile-wide { grid-column: span 1; }
  .tile-wide { min-height: 420px; }
  .brand { font-size: 18px; }
}

/* Hareket azaltma: sahneler sabit, son hâlinde görünür */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .manifesto { height: auto; }
  .hero-sticky, .manifesto-sticky { position: relative; }
  .hero-media { clip-path: none !important; }
  .hero-media img { transform: none !important; }
  .hero-shade { opacity: 1 !important; }
  .hero-head { display: none; }
  .hero-over { opacity: 1 !important; transform: none !important; }
  .manifesto-sticky { padding-block: 20vh; }
  .manifesto-text .w { opacity: 1 !important; }
  .place { height: auto; }
  .place-sticky { position: relative; height: auto; padding-block: 12vh; }
  .pano { overflow-x: auto; }
  .pano-bar { display: none; }
  .cap { opacity: 1; transform: none; grid-area: auto; }
  .place-captions { gap: 20px; }
  .scroll-cue span, #heat path { animation: none; }
  .interlude-img { transform: none !important; }
}
