:root {
  --bg: #FAF6F1;
  --card: #FFFFFF;
  --line: #EDE3D8;
  --ink: #2B1A10;
  --ink-2: #6F5A4C;
  --muted: #A08B7C;
  --brand: #8B522A;
  --brand-d: #6E3E1D;
  --brand-soft: #F3E8DC;
  --choco: #5A2E14;
  --shadow: 0 1px 2px rgba(60,35,15,.05), 0 14px 34px -14px rgba(60,35,15,.25);
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { font-family: "Poppins", system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
.btn svg, .link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 18px; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.kicker.light { color: #F3D9BC; }
h1, h2 { letter-spacing: -.025em; line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(26px, 4.4vw, 40px); margin-top: 8px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 14.5px;
  box-shadow: 0 8px 20px -8px rgba(139,82,42,.6); transition: transform .2s, background .2s;
}
.btn:hover { background: var(--brand-d); transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-ghost svg { stroke-width: 2.2; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; border-radius: 12px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,246,241,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.stuck { border-color: var(--line); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 50px; width: auto; mix-blend-mode: multiply; }
.links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.links a:hover { color: var(--brand); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.nav.open .burger span:last-child { top: 20px; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .nav-row { gap: 10px; }
  .links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px 18px 16px; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
  .links a:last-child { border: 0; }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; }
  .btn-sm { margin-left: auto; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 66px); margin-top: 14px; }
.hl { color: var(--brand); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: var(--brand-soft); z-index: -1; border-radius: 4px; }
.hero-txt > p { font-size: 17px; color: var(--ink-2); margin-top: 16px; max-width: 480px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.facts { list-style: none; display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.facts li { padding: 10px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); line-height: 1.25; }
.facts b { display: block; font-size: 15px; font-weight: 800; color: var(--brand); }
.facts span { font-size: 12px; color: var(--ink-2); }

.hero-art { position: relative; }
.stage {
  position: relative; width: min(360px, 100%); margin: 0 auto; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
  background: #2B1A10; border: 6px solid var(--card); box-shadow: var(--shadow), 0 30px 60px -30px rgba(60,35,15,.45);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.chip-photo { position: absolute; width: 30%; z-index: 2; background: var(--card); padding: 6px 6px 8px; border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: bob 6s ease-in-out infinite; }
.chip-photo img { aspect-ratio: 1; object-fit: cover; border-radius: 11px; width: 100%; }
.chip-photo figcaption { font-size: 11.5px; font-weight: 700; text-align: center; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 860px) { .chip-photo figcaption { font-size: 10px; } }
.p1 { left: 0; top: 8%; rotate: -7deg; }
.p2 { right: 0; bottom: 10%; rotate: 6deg; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; gap: 50px; }
  .hero-art { width: min(400px, 100%); margin: 0 auto; }
  .stage { width: min(300px, 74%); }
  .chip-photo { width: 28%; }
}

/* ---------- Scene ---------- */
.scene { width: 82%; height: auto; overflow: visible; stroke: none; }
.scene .jug { transform-box: view-box; transform-origin: 104px -6px; opacity: 0; animation: jug 2.4s ease-in-out both; }
@keyframes jug { 0% { opacity: 0; transform: translateY(-18px); } 12% { opacity: 1; transform: none; } 26%, 68% { opacity: 1; transform: rotate(38deg); } 84% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-18px); } }
.scene .stream { stroke: var(--choco); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: -100; animation: stream 2.4s ease-in both; }
@keyframes stream { 0%, 24% { stroke-dashoffset: 100; } 40%, 68% { stroke-dashoffset: 0; } 86%, 100% { stroke-dashoffset: -100; } }
.scene .coat { transform-box: fill-box; transform-origin: 50% 30%; animation: coat 2.4s cubic-bezier(.3,.7,.3,1) both; }
@keyframes coat { 0%, 36% { transform: scale(0); } 62% { transform: scale(1.03); } 72%, 100% { transform: scale(1); } }
.scene .shine { opacity: .18; animation: shine 2.4s ease both; }
@keyframes shine { 0%, 66% { opacity: 0; } }
.scene .drip { stroke: var(--choco); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 30; animation: drip 1s ease-in both; }
.scene .d1 { animation-delay: 1.25s; } .scene .d2 { animation-delay: 1.4s; animation-duration: 1.3s; } .scene .d3 { animation-delay: 1.55s; } .scene .d4 { animation-delay: 1.5s; } .scene .d5 { animation-delay: 1.65s; }
@keyframes drip { from { stroke-dashoffset: 30; } }
.scene .splash { fill: var(--choco); opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: splash 2.4s ease-out both; }
@keyframes splash { 0%, 38% { opacity: 0; transform: scale(.3); } 46% { opacity: 1; transform: scale(1) translateY(-3px); } 62%, 100% { opacity: 0; } }
.scene .steam path { fill: none; stroke: #CDB8A5; stroke-width: 3; stroke-linecap: round; opacity: .6; animation: steam 2.2s ease-in-out infinite; }
.scene .steam .s2 { animation-delay: .5s; } .scene .steam .s3 { animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 45% { opacity: .9; } 100% { opacity: 0; transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--brand); color: #FBEBD8; overflow: hidden; padding: 15px 0; rotate: -1deg; margin: 10px -10px 0; }
.track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.track span { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 0 18px; display: inline-flex; align-items: center; gap: 36px; }
.track span::after { content: "✦"; color: #D9A574; font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding-top: 84px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.sec-head p { color: var(--ink-2); margin-top: 10px; max-width: 520px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--brand); white-space: nowrap; }
@media (max-width: 640px) { .sec-head { flex-direction: column; align-items: flex-start; } .sec { padding-top: 64px; } }

/* rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 18px 18px; margin: 0 -18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 36px * 1) / 4.3); } }
.d-card { scroll-snap-align: start; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.d-card:hover { transform: translateY(-4px); }
.d-card figure { position: relative; aspect-ratio: 1 / 1.05; overflow: hidden; }
.d-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.d-card:hover img { transform: scale(1.05); }
.d-card .tag { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #fff; color: var(--brand); }
.d-card .tag.imza { background: var(--brand); color: #fff; }
.d-card .body { padding: 14px 15px 16px; }
.d-card h3 { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.d-card p { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-img { position: relative; padding: 0 0 40px 0; }
.split-img img { border-radius: 26px; aspect-ratio: 4 / 4.4; object-fit: cover; width: 86%; box-shadow: var(--shadow); }
.split-img .small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid var(--bg); border-radius: 22px; }
.split-txt p { color: var(--ink-2); margin-top: 14px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--brand); transform: translateY(-2px); }
.tile img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.tile b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.tile small { font-size: 11.5px; color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 30px; } .split-img { max-width: 460px; } }

/* stamp card band */
.card-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 46px; border-radius: 32px; background: var(--brand); color: #fff; position: relative; overflow: hidden; }
.card-band::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); right: -120px; top: -160px; }
.card-band h2 { color: #fff; }
.card-band p { color: #F3D9BC; margin-top: 12px; }
.stamp-card { position: relative; background: #FFFBF6; color: var(--ink); border-radius: 22px; padding: 18px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); rotate: 3deg; max-width: 380px; justify-self: center; width: 100%; }
.sc-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 10px; margin-bottom: 14px; }
.sc-top img { height: 40px; width: auto; mix-blend-mode: multiply; }
.sc-top span { font-size: 11px; font-weight: 800; letter-spacing: .18em; color: var(--brand); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #D9C6B3; display: grid; place-items: center; }
.stamp svg { width: 62%; fill: var(--brand); opacity: 0; transform: scale(1.8) rotate(-30deg); transition: opacity .3s, transform .35s cubic-bezier(.3,1.6,.5,1); }
.stamp.on { border-style: solid; border-color: var(--brand-soft); background: var(--brand-soft); }
.stamp.on svg { opacity: 1; transform: none; }
.stamp.gift { border: 2px solid var(--brand); background: #fff; font-size: 10px; font-weight: 800; color: var(--brand); text-align: center; line-height: 1.1; }
.stamp.gift.on { background: var(--brand); color: #fff; }
@media (max-width: 860px) { .card-band { grid-template-columns: 1fr; padding: 32px 22px 40px; } }

/* moods */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mood { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.mood img { width: 100%; height: 100%; object-fit: cover; }
.mood::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, rgba(255,255,255,.85) 72%, #fff 95%); }
.mood blockquote { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 1; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
@media (max-width: 820px) { .moods { grid-template-columns: 1fr; } .mood { aspect-ratio: 16 / 11; } }

/* event */
.event { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--card); border: 1px solid var(--line); border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.event img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.event-txt { padding: 44px; }
.event-txt p { color: var(--ink-2); margin: 14px 0 24px; }
@media (max-width: 820px) { .event { grid-template-columns: 1fr; } .event img { aspect-ratio: 16/10; min-height: 0; } .event-txt { padding: 26px 22px 30px; } }

/* final */
.final { text-align: center; padding: 60px 20px; border-radius: 32px; background: var(--brand-soft); position: relative; overflow: hidden; }
.final .bean { width: 54px; margin: 0 auto 10px; fill: var(--brand); }
.final p { color: var(--ink-2); margin: 10px 0 24px; }

/* footer */
.foot { margin-top: 84px; border-top: 1px solid var(--line); padding: 34px 0 26px; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-logo { width: 84px; mix-blend-mode: multiply; }
.foot-info { font-size: 13.5px; color: var(--ink-2); }
.foot-info b { color: var(--ink); }
.foot-links { display: flex; gap: 18px; font-size: 14px; font-weight: 600; color: var(--brand); }
.copy { text-align: center; font-size: 12px; color: var(--muted); margin-top: 22px; }

/* sabit menü butonu */
.fab {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 24px 0 20px; border-radius: 99px;
  background: var(--brand); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 30px -10px rgba(110, 62, 29, .7), 0 0 0 4px rgba(250, 246, 241, .9);
  transform: translate(-50%, 130%); opacity: 0; pointer-events: none; transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s, background .2s;
}
.fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fab.show { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fab:hover { background: var(--brand-d); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

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