/* ==========================================================================
   Butat — Lezzet Şöleni · 2026
   ========================================================================== */

:root {
  --choc: #24140c;
  --brown: #4a2a1a;
  --brown-2: #6b3f26;
  --caramel: #c46f22;
  --orange: #ea8a1c;
  --honey: #f3b45a;
  --cream: #f6ede0;
  --paper: #fcf8f2;
  --white: #fff;
  --ink: #2a1810;
  --muted: #7a6656;
  --line: rgba(42, 24, 16, .12);
  --line-light: rgba(255, 255, 255, .18);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 0px;
  --r-lg: 0px;
  --hdr-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 1px 2px rgba(42, 24, 16, .05), 0 12px 32px -12px rgba(42, 24, 16, .18);
  --shadow-lg: 0 2px 4px rgba(42, 24, 16, .05), 0 30px 60px -20px rgba(42, 24, 16, .35);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--honey); color: var(--choc); }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.i.flip { transform: scaleX(-1); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--choc); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--choc); color: var(--cream); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--caramel);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--honey); }
.h2, .h3, .phero__title, .hero__title, .pd__title, .article__title, .ftr__big, .band__quote, .mega__title, .feature__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.05;
  font-variation-settings: "opsz" 120;
}
.h2 { font-size: clamp(36px, 5vw, 62px); margin-bottom: 24px; }
.h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
em { font-style: italic; color: var(--caramel); font-weight: 400; }
.section--dark em, .phero em, .hero em, .band em, .ftr em { color: var(--honey); }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--brown); }
p + p { margin-top: 1em; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--choc); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--sans); letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s, color .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, var(--orange)); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: none; }
.btn .i { transition: transform .4s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--dark { --bg: var(--choc); --hover: var(--brown-2); }
.btn--accent { --bg: var(--orange); --fg: var(--choc); --hover: var(--honey); }
.btn--line { --bg: transparent; --fg: var(--choc); --hover: var(--choc); box-shadow: inset 0 0 0 1.5px var(--choc); }
.btn--line:hover { color: #fff; }
.btn--line-light { --bg: transparent; --fg: #fff; --hover: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn--line-light:hover { color: var(--choc); }
.btn--glass { --bg: rgba(255,255,255,.12); --fg: currentColor; --hover: var(--orange); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line-light); }
.btn--glass:hover { color: var(--choc); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--choc);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { background-size: 100% 1.5px; gap: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr-h);
  color: var(--choc); view-transition-name: site-header;
  transition: transform .5s var(--ease), color .3s;
}
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(252, 248, 242, .82); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line); transition: opacity .4s;
}
.hdr__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.hdr__logo {
  align-self: flex-start; flex: none; display: grid; place-items: center;
  background: var(--paper); padding: 14px 18px 12px; border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.35);
  transition: padding .4s var(--ease), box-shadow .4s;
}
.hdr__logo img { width: 112px; transition: width .4s var(--ease); }
.hdr__cta { margin-left: auto; }

/* Over dark heroes while at top */
body:has(.hero, .phero) .hdr.is-top { color: #fff; }
body:has(.hero, .phero) .hdr.is-top::before { opacity: 0; }
.hdr:not(.is-top) .hdr__logo { padding: 8px 14px 6px; box-shadow: none; background: transparent; }
.hdr:not(.is-top) .hdr__logo img { width: 92px; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr:not(.is-top) .hdr__cta { --bg: var(--choc); --fg: #fff; box-shadow: none; }

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 4px; height: var(--hdr-h); padding: 0 16px;
  font-weight: 600; font-size: 15px;
}
.nav__link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 26px; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__item:hover > .nav__link::after, .nav__item.is-current > .nav__link::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__item.is-current > .nav__link::after { background: var(--orange); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-mega:hover .nav__chev, .has-mega.is-open .nav__chev { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: fixed; left: 0; right: 0; top: var(--hdr-h); padding-top: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s, transform .45s var(--ease), visibility 0s .3s; color: var(--choc);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; } /* hover bridge */
.has-mega:hover .mega, .has-mega.is-open .mega, .has-mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease);
}
.mega__in {
  max-width: calc(var(--wrap) + 0px); margin: 10px auto 0; width: calc(100% - var(--gutter) * 2);
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px;
}
.mega__intro { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 8px 0; }
.mega__intro .eyebrow { margin: 0; }
.mega__title { font-size: 30px; }
.mega__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mega__card { display: flex; flex-direction: column; gap: 10px; text-align: center; font-weight: 600; font-size: 14px; }
.mega__img { display: grid; place-items: center; background: #fff; border-radius: var(--r); aspect-ratio: 1/1; padding: 0; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.mega__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__card:hover .mega__img { background: var(--cream); }
.mega__card:hover .mega__img img { transform: scale(1.08); }
.has-mega:hover .mega__grid li, .has-mega.is-open .mega__grid li { animation: rise .55s var(--ease) both; }
.mega__grid li:nth-child(2) { animation-delay: .04s !important; }
.mega__grid li:nth-child(3) { animation-delay: .08s !important; }
.mega__grid li:nth-child(4) { animation-delay: .12s !important; }
.mega__grid li:nth-child(5) { animation-delay: .16s !important; }
.mega__grid li:nth-child(6) { animation-delay: .2s !important; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Burger */
.burger { display: none; position: relative; width: 48px; height: 48px; border-radius: 50%; z-index: 120; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.is-menu .burger { color: #fff; }
.is-menu .burger span:first-child { top: 23px; transform: rotate(45deg); }
.is-menu .burger span:last-child { top: 23px; transform: rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed; inset: 0; z-index: 110; background: var(--choc); color: var(--cream);
  clip-path: circle(0 at calc(100% - 44px) 42px); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s; overflow-y: auto;
}
.is-menu .drawer { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; transition: clip-path .8s var(--ease-io); }
.is-menu { overflow: hidden; }
.is-menu .hdr { color: #fff; }
.is-menu .hdr::before { opacity: 0; }
.drawer__in { min-height: 100%; padding: calc(var(--hdr-h) + 40px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 40px; }
.drawer__nav a { display: flex; align-items: baseline; gap: 16px; font: 500 clamp(40px, 11vw, 64px)/1.15 var(--serif); letter-spacing: -.02em; }
.drawer__nav a[aria-current] { color: var(--honey); font-style: italic; }
.drawer__num { font: 600 12px var(--sans); letter-spacing: .1em; color: var(--caramel); }
.drawer__products { display: flex; flex-wrap: wrap; gap: 8px; }
.drawer__products a { display: block; padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-light); font-size: 14px; }
.drawer__foot { margin-top: auto; display: grid; gap: 10px; color: rgba(246,237,224,.75); }
.drawer__foot a { display: flex; align-items: center; gap: 10px; }
.drawer li, .drawer__products, .drawer__foot { opacity: 0; transform: translateY(24px); }
.is-menu .drawer li, .is-menu .drawer__products, .is-menu .drawer__foot { opacity: 1; transform: none; transition: opacity .6s, transform .8s var(--ease); transition-delay: calc(.15s + var(--d, 0) * .05s); }
.drawer__products li { opacity: 1; transform: none; }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
  position: relative; height: clamp(560px, 86svh, 820px); display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--choc); overflow: hidden; isolation: isolate;
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slides { z-index: -2; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--ease-io); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; image-rendering: high-quality; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { opacity: .6; } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(36,20,12,.55) 0%, rgba(36,20,12,0) 28%),
    linear-gradient(0deg, rgba(36,20,12,.92) 0%, rgba(36,20,12,.35) 48%, rgba(36,20,12,.1) 100%),
    linear-gradient(90deg, rgba(36,20,12,.55) 0%, rgba(36,20,12,0) 60%);
}
.hero__in { padding-top: calc(var(--hdr-h) + 80px); padding-bottom: 40px; }
.hero__title { font-size: clamp(60px, 11vw, 168px); line-height: .92; margin-bottom: 28px; font-weight: 400; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero__eyebrow, .hero__lead, .hero__actions { animation: fadeUp 1s var(--ease) both; }
.hero__eyebrow { animation-delay: .05s; }
.hero__lead { max-width: 520px; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.82); margin-bottom: 36px; animation-delay: .35s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; animation-delay: .5s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } }
.hero__dots { display: flex; gap: 8px; padding-bottom: 36px; animation: fadeUp 1s .7s var(--ease) both; }
.hero__dot { flex: 1; max-width: 170px; text-align: left; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); transition: color .3s; padding-top: 10px; }
.hero__dot.is-active, .hero__dot:hover { color: #fff; }
.hero__dot-bar { display: block; height: 2px; background: rgba(255,255,255,.22); margin-bottom: 12px; overflow: hidden; border-radius: 2px; }
.hero__dot-bar i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active .hero__dot-bar i { animation: bar var(--slide-ms, 6000ms) linear both; }
.hero.is-paused .hero__dot.is-active .hero__dot-bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

/* Marquee */
.marquee { background: var(--orange); color: var(--choc); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: marquee 40s linear infinite; font: 500 italic clamp(22px, 2.4vw, 30px)/1 var(--serif); white-space: nowrap; }
.marquee__dot { font-style: normal; font-size: .6em; opacity: .7; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Intro */
.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
/* Decorative patterns (reusable) */
.pat { position: absolute; pointer-events: none; }
.pat--checker {
  --c: var(--choc); --s: 18px;
  background: conic-gradient(var(--c) 25%, transparent 0 50%, var(--c) 0 75%, transparent 0) 0 0 / calc(var(--s) * 2) calc(var(--s) * 2);
}
.pat--stripes { background: repeating-linear-gradient(-45deg, var(--caramel) 0 2px, transparent 2px 11px); }
.pat--dots { background: radial-gradient(var(--caramel) 1.6px, transparent 2px) 0 0 / 16px 16px; }
.pat--grid {
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px;
}

/* Intro composition */
.intro__media { position: relative; padding: 0 0 18% 7%; isolation: isolate; }
.intro__main { position: relative; z-index: 1; width: 82%; aspect-ratio: 4 / 5; overflow: hidden; }
.intro__main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.intro__media:hover .intro__main img { transform: scale(1.04); }
.intro__frame { position: absolute; z-index: 0; top: 30px; left: calc(7% + 30px); width: 82%; aspect-ratio: 4 / 5; border: 1.5px solid var(--caramel); }
.intro__checker { z-index: 2; top: -26px; left: 0; width: 108px; height: 108px; --s: 13.5px; opacity: .92; }
.intro__stripes { z-index: 0; right: 0; bottom: 0; width: 58%; height: 46%; opacity: .55; }
.intro__inset {
  position: absolute; z-index: 3; right: 0; bottom: 6%; width: 50%; aspect-ratio: 4 / 3; overflow: hidden;
  outline: 10px solid var(--paper);
}
.intro__inset img { position: absolute; left: 0; top: -30px; width: 100%; height: calc(100% + 60px); object-fit: cover; }
.intro__badge {
  position: absolute; z-index: 4; left: 0; bottom: 4%; background: var(--choc); color: var(--cream);
  padding: 20px 24px; display: flex; gap: 14px; align-items: center;
}
.intro__badge strong { font: 500 46px/1 var(--serif); color: var(--honey); }
.intro__badge span { font-size: 13px; line-height: 1.35; }
.intro__vert {
  position: absolute; z-index: 2; top: 30px; right: -34px; writing-mode: vertical-rl;
  font-size: 11px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--caramel);
}
.intro__vert::after { content: ""; display: inline-block; width: 1.5px; height: 60px; margin-top: 14px; background: currentColor; vertical-align: top; }
.intro__text > p:not(.eyebrow) { color: var(--muted); max-width: 560px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.stats strong { display: block; font: 500 clamp(34px, 3.6vw, 46px)/1 var(--serif); color: var(--choc); margin-bottom: 6px; }
.stats span { font-size: 14px; color: var(--muted); }

/* Section heading */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .h2 { margin-bottom: 0; }

/* Product grid & card */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.pcard {
  position: relative; display: flex; flex-direction: column; height: 100%; background: var(--white);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; border-bottom: 1px solid var(--line); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard:hover .pcard__img::after { transform: scaleX(.8); opacity: .6; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px 28px; flex: 1; }
.pcard__en { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel); }
.pcard__name { font: 500 clamp(24px, 2.2vw, 30px)/1.15 var(--serif); letter-spacing: -.01em; }
.pcard__short { color: var(--muted); font-size: 15px; line-height: 1.55; }
.pcard__more { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--caramel); }
.pcard__more .i { transition: transform .4s var(--ease); }
.pcard:hover .pcard__more .i { transform: translateX(5px); }
.pcard--sm .pcard__body { padding: 16px 20px 20px; }
.pcard--sm .pcard__name { font-size: 20px; }

/* Band */
.band { position: relative; min-height: clamp(380px, 60vw, 620px); display: grid; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.band__bg { position: absolute; inset: -12% 0; z-index: -1; will-change: transform; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,20,12,.85), rgba(36,20,12,.2)); }
.band__quote { font-size: clamp(42px, 7vw, 100px); line-height: 1; font-weight: 400; }

/* Process */
.process { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.process__text > p:not(.eyebrow) { color: var(--muted); }
.feats { display: grid; gap: 22px; margin-top: 40px; }
.feats li { display: flex; gap: 18px; align-items: flex-start; }
.feats__i { flex: none; width: 54px; height: 54px; border-radius: 0; display: grid; place-items: center; background: var(--cream); color: var(--caramel); }
.feats__i .i { width: 26px; height: 26px; }
.feats strong { display: block; font-size: 17px; margin-bottom: 2px; }
.feats p { color: var(--muted); font-size: 15px; }
.process__mosaic { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / 1; }
.process__mosaic::before { content: ""; position: absolute; z-index: -1; left: -28px; bottom: -28px; width: 46%; height: 46%; background: radial-gradient(var(--caramel) 1.6px, transparent 2px) 0 0 / 16px 16px; opacity: .7; }
.process__mosaic::after { content: ""; position: absolute; z-index: -1; right: -28px; top: -28px; width: 30%; height: 30%; border: 1.5px solid var(--caramel); }
.process__mosaic figure { overflow: hidden; }
.process__mosaic figure:first-child { grid-row: span 2; }
.process__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.process__mosaic figure:hover img { transform: scale(1.06); }

/* Feature (blog teaser) */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.feature:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature__img { position: relative; overflow: hidden; min-height: 340px; }
.feature__img::after { content: ""; position: absolute; top: 0; right: 0; width: 84px; height: 84px; background: conic-gradient(var(--paper) 25%, transparent 0 50%, var(--paper) 0 75%, transparent 0) 0 0 / 28px 28px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 5vw, 64px); }
.feature__body .eyebrow { margin: 0; }
.feature__title { font-size: clamp(30px, 3.4vw, 46px); }
.feature__text { color: var(--muted); }

/* ==========================================================================
   Page hero
   ========================================================================== */
.phero { position: relative; min-height: clamp(380px, 52vw, 540px); display: flex; align-items: flex-end; color: #fff; background: var(--choc); overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,20,12,.92) 0%, rgba(36,20,12,.45) 55%, rgba(36,20,12,.55) 100%); }
.phero__in { padding-top: calc(var(--hdr-h) + 60px); padding-bottom: clamp(44px, 6vw, 72px); }
.phero__title { font-size: clamp(48px, 7.5vw, 104px); font-weight: 400; max-width: 14ch; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.crumbs a:hover { color: #fff; }
.crumbs--dark { color: var(--muted); }
.crumbs--dark a:hover { color: var(--choc); }

/* ==========================================================================
   Product detail
   ========================================================================== */
.pd { padding-top: calc(var(--hdr-h) + 32px); padding-bottom: clamp(48px, 6vw, 80px); background: linear-gradient(180deg, var(--cream) 0 70%, var(--paper) 70%); }
.pd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.pd__media { position: sticky; top: calc(var(--hdr-h) + 24px); }
.pd__pack {
  position: relative; aspect-ratio: 1 / 1; border-radius: 0; overflow: hidden; background: #fff;
  border: 0; box-shadow: none;
}
.pd__pack img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pd__pack:hover img { transform: scale(1.04); }
.pd__title { font-size: clamp(44px, 6vw, 84px); margin-bottom: 20px; font-weight: 400; }
.pd__lead { font: 400 italic clamp(20px, 1.8vw, 24px)/1.45 var(--serif); color: var(--brown); margin-bottom: 28px; }
.pd__body { color: var(--muted); max-width: 560px; }
.tip { display: flex; gap: 16px; margin-top: 32px; padding: 20px 22px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); max-width: 560px; }
.tip__i { flex: none; width: 40px; height: 40px; border-radius: 0; display: grid; place-items: center; background: var(--orange); color: var(--choc); }
.tip strong { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--caramel); margin-bottom: 2px; }
.tip p { font-size: 15px; color: var(--brown); }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pd-photo .wrap { position: relative; isolation: isolate; }
.pd-photo .wrap::before { content: ""; position: absolute; z-index: -1; right: calc(var(--gutter) - 22px); top: -22px; width: 30%; height: 60%; background: repeating-linear-gradient(-45deg, var(--caramel) 0 2px, transparent 2px 11px); opacity: .5; }
.pd-photo figure { overflow: hidden; aspect-ratio: 1920 / 640; }
.pd-photo img { width: 100%; height: 100%; object-fit: cover; }

.pager { display: flex; gap: 10px; }
.pager__btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.pager__btn:hover { background: var(--choc); color: #fff; box-shadow: none; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.rail > li { scroll-snap-align: start; }

/* ==========================================================================
   Kurumsal
   ========================================================================== */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 110px); }
.story__lead { position: sticky; top: calc(var(--hdr-h) + 32px); align-self: start; }
.story__text p:not(.lead) { color: var(--muted); }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mv__card { padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-light); transition: background .4s, transform .6s var(--ease); }
.mv__card:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); }
.mv__num { display: block; font: 500 italic 20px var(--serif); color: var(--honey); margin-bottom: 40px; }
.mv__card h3 { font: 500 34px/1.1 var(--serif); margin-bottom: 14px; color: #fff; }
.mv__card p { color: rgba(246,237,224,.72); font-size: 16px; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 230px); gap: 14px; }
.gallery__item { position: relative; border-radius: var(--r); overflow: hidden; background: var(--cream); cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__cap { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(252,248,242,.9); font-size: 13px; font-weight: 600; transform: translateY(8px); opacity: 0; transition: .4s var(--ease); }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }
.g0 { grid-column: span 2; grid-row: span 2; }
.g3 { grid-row: span 2; }
.g4 { grid-row: span 2; }
.g5 { grid-row: span 2; }

.docs { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.docs > div p:not(.eyebrow) { color: var(--muted); }
.docs__list { display: grid; gap: 10px; }
.docs__list a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; transition: transform .4s var(--ease), box-shadow .4s, background .3s; }
.docs__list a > .i:first-child { color: var(--caramel); width: 24px; height: 24px; }
.docs__list a span { flex: 1; }
.docs__arrow { opacity: .4; transition: transform .4s var(--ease), opacity .3s; }
.docs__list a:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.docs__list a:hover .docs__arrow { opacity: 1; transform: translateX(4px); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(20,11,6,.92); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; padding: 24px; }
.lb.is-open { opacity: 1; }
.lb img { max-width: min(1100px, 100%); max-height: 86vh; border-radius: var(--r); box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .5s var(--ease); }
.lb.is-open img { transform: none; }
.lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; color: #fff; display: grid; place-items: center; background: rgba(255,255,255,.1); transition: background .3s; }
.lb button:hover { background: rgba(255,255,255,.2); }
.lb__close { top: 20px; right: 20px; }
.lb__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb__next { right: 20px; top: 50%; translate: 0 -50%; }
.lb__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.bcard { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.bcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.bcard__img { aspect-ratio: 16/10; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.06); }
.bcard__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 30px; }
.bcard__body .eyebrow { margin: 0; }
.bcard__title { font: 500 28px/1.15 var(--serif); }
.bcard__text { color: var(--muted); font-size: 15px; }

.article { padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(64px, 8vw, 120px); }
.article__head { text-align: left; margin-bottom: 40px; }
.article__title { font-size: clamp(40px, 6vw, 76px); margin-bottom: 20px; font-weight: 400; }
.article__img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--r-lg); }
.article__body { margin-top: clamp(40px, 5vw, 64px); }
.article__back { margin-top: 48px !important; padding-top: 32px; border-top: 1px solid var(--line); }

.prose { color: var(--brown); }
.prose h2 { font: 500 clamp(26px, 3vw, 34px)/1.2 var(--serif); color: var(--choc); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 18px; color: var(--choc); margin: 1.6em 0 .4em; }
.prose p { margin: 0 0 1em; }
.prose ol, .prose ul { margin: 0 0 1.4em; padding-left: 0; counter-reset: s; display: grid; gap: 10px; }
.prose ol li { position: relative; padding-left: 44px; counter-increment: s; }
.prose ol li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--caramel); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.prose a:not(.link-arrow) { color: var(--caramel); text-decoration: underline; text-underline-offset: 3px; }
.prose > :first-child { margin-top: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.cinfo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cinfo li { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--r-lg); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s, transform .5s var(--ease); }
.cinfo li:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.cinfo__i { width: 48px; height: 48px; border-radius: 0; background: var(--cream); color: var(--caramel); display: grid; place-items: center; margin-bottom: 14px; }
.cinfo__i .i { width: 22px; height: 22px; }
.cinfo__h { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cinfo p { font-size: 15px; }
.cinfo p + p { margin-top: 0; }
.cinfo .link-arrow { margin-top: auto; padding-top: 12px; font-size: 14px; align-self: flex-start; }
.cinfo__big { font: 500 26px/1.2 var(--serif); color: var(--choc); }
.cinfo a:not(.link-arrow):hover { color: var(--caramel); }

.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__side > p:not(.eyebrow) { color: var(--muted); }
.contact__img { margin-top: 36px; overflow: hidden; max-width: 360px; box-shadow: 18px 18px 0 -1.5px var(--cream), 18px 18px 0 0 var(--caramel); }
.contact__form { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; display: grid; gap: 8px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--brown); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; outline: none; resize: vertical;
  box-shadow: inset 0 0 0 1px var(--line); transition: border-color .3s, background .3s, box-shadow .3s;
}
.field input:hover, .field textarea:hover { background: #fff; }
.field input:focus, .field textarea:focus { background: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(234,138,28,.14); }
.field [aria-invalid="true"] { border-color: #c0392b; background: #fdf3f1; }
.field__err { font-size: 13px; color: #b03a2e; font-weight: 500; }
.check { display: flex; align-items: center; gap: 12px; font-size: 15px; cursor: pointer; color: var(--brown); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper); color: transparent; transition: .25s; }
.check__box .i { width: 14px; height: 14px; transform: scale(.4); transition: transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--choc); color: #fff; box-shadow: none; }
.check input:checked + .check__box .i { transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--orange); outline-offset: 2px; }
.check a { color: var(--caramel); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 24px; font-size: 15px; animation: fadeUp .6s var(--ease) both; }
.alert .i { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.alert--ok { background: #eef6ea; color: #2f5d24; }
.alert--err { background: #fbeeec; color: #8e2f23; }
.alert a { text-decoration: underline; }
.map { line-height: 0; }
.map iframe { width: 100%; height: clamp(320px, 40vw, 480px); border: 0; filter: grayscale(.6) sepia(.25) contrast(1.05); }

/* 404 */
.nf { min-height: 80vh; display: grid; place-items: center; padding: calc(var(--hdr-h) + 40px) 0 80px; background: var(--cream); text-align: center; }
.nf__code { font: 400 italic clamp(120px, 22vw, 260px)/1 var(--serif); color: var(--orange); }
.nf .hero__actions { justify-content: center; margin-top: 32px; animation: none; }
.nf p { color: var(--muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.ftr { background: var(--choc); color: rgba(246,237,224,.72); padding-top: clamp(64px, 8vw, 110px); font-size: 15px; }
.ftr__cta { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 28px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.ftr__big { font-size: clamp(44px, 7vw, 96px); color: #fff; font-weight: 400; }
.ftr__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; padding-block: 56px; }
.ftr__brand img { width: 120px; background: var(--paper); border-radius: 0; padding: 10px 12px; margin-bottom: 20px; }
.ftr__brand p { max-width: 300px; }
.ftr__social { display: flex; gap: 10px; margin-top: 20px; }
.ftr__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-light); transition: background .3s, color .3s; }
.ftr__social a:hover { background: var(--orange); color: var(--choc); box-shadow: none; }
.ftr__h { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; }
.ftr ul { display: grid; gap: 10px; }
.ftr__grid a { transition: color .25s; }
.ftr__grid a:hover { color: #fff; }
.ftr__contact { margin-top: 16px; }
.ftr__contact a { display: inline-flex; gap: 10px; align-items: center; }
.ftr__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-block: 24px 32px; border-top: 1px solid var(--line-light); font-size: 13px; }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.ftr__bottom a:hover { color: #fff; }

/* Cookie */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 150; max-width: 420px; display: flex; align-items: center; gap: 16px;
  padding: 16px 16px 16px 20px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow-lg); font-size: 14px;
  animation: fadeUp .8s 1s var(--ease) both;
}
.cookie a { color: var(--caramel); text-decoration: underline; }
.cookie[hidden] { display: none; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--rd, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Page transitions (cross-document View Transitions)
   ========================================================================== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-io) both; }
::view-transition-new(root) { animation: vtIn .6s var(--ease) both; }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }
::view-transition-group(site-header) { z-index: 10; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-16px); filter: blur(4px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(24px); } }

/* Fallback for browsers without VT: simple fade-in */
@supports not (view-transition-name: x) {
  .js main { animation: fadeUp .7s var(--ease) both; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .mega__in { grid-template-columns: 200px 1fr; }
  .cinfo { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --hdr-h: 70px; }
  .nav, .hdr__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hdr__logo { padding: 10px 14px 8px; }
  .hdr__logo img { width: 88px; }
  .hdr:not(.is-top) .hdr__logo img { width: 80px; }

  .intro__grid, .process, .story, .contact, .docs, .pd__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 560px; }
  .intro__vert { display: none; }
  .story__lead, .pd__media { position: static; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .mv { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature__img { min-height: 240px; aspect-ratio: 16/10; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g0 { grid-column: span 2; }
  .pd { background: var(--cream); }
  .pd__pack { max-width: 520px; margin-inline: auto; width: 100%; }
  .pd-photo figure { aspect-ratio: 16/9; }
  .hero__dots { overflow-x: auto; }
  .hero__dot { min-width: 96px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .pgrid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stats span { font-size: 12px; }
  .cinfo { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .ftr__cta-actions, .ftr__cta-actions .btn, .hero__actions .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
  .cookie { right: 16px; max-width: none; }
  .hero__dot { font-size: 12px; }
  .process__mosaic { aspect-ratio: 4/5; }
  .gallery { grid-auto-rows: 140px; }
}

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

/* Math captcha */
.captcha { display: grid; gap: 10px; padding: 18px; background: var(--cream); }
.captcha__row { display: flex; align-items: center; gap: 14px; }
.captcha__q { font: 500 30px/1 var(--serif); color: var(--choc); white-space: nowrap; letter-spacing: .02em; user-select: none; }
.captcha__row input { max-width: 110px; text-align: center; font-size: 20px; font-weight: 700; }
.captcha__hint { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.captcha__hint .i { color: var(--caramel); }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
