/* Mine Pastanesi — site styles */
@view-transition { navigation: auto; }

:root {
  --kakao: #241713;
  --kakao-2: #2F201B;
  --bakir: #C08463;
  --bakir-acik: #E2B497;
  --seker: #F3E7DD;
  --gul: #E8C9C0;
  --gul-koyu: #D9AFA4;
  --palmiye: #26311F;
  --murekkep: #2B1D18;
  --murekkep-soft: #6B564C;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --radius-photo: 2px;
  --ease: cubic-bezier(.22, .8, .2, 1);

  /* type scale, ratio 1.333 */
  --t-0: .875rem;
  --t-1: 1.0625rem;
  --t-2: 1.333rem;
  --t-3: clamp(1.6rem, 2.4vw, 1.777rem);
  --t-4: clamp(2rem, 3.6vw, 2.369rem);
  --t-5: clamp(2.4rem, 5.2vw, 3.157rem);
  --t-6: clamp(3rem, 7.6vw, 5.61rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--kakao);
  color: var(--seker);
  font-family: var(--sans);
  font-size: var(--t-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bakir); color: var(--kakao); }

:focus-visible { outline: 2px solid var(--bakir-acik); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--seker); color: var(--kakao); padding: .6rem 1rem; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-6); }
h2 { font-size: var(--t-5); }
h3 { font-size: var(--t-3); line-height: 1.15; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
.lede { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 380; font-size: var(--t-2); line-height: 1.45; max-width: 34ch; }
.small { font-size: var(--t-0); }
.muted { color: color-mix(in srgb, currentColor 72%, transparent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bakir-acik);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn-solid { background: var(--seker); color: var(--kakao); }
.btn-solid:hover { color: var(--kakao); }
.btn-line { border-color: color-mix(in srgb, currentColor 45%, transparent); color: inherit; }
.btn-line:hover { color: var(--kakao); border-color: var(--bakir-acik); }
.btn-dark { background: var(--kakao); color: var(--seker); }
.btn-dark::after { background: var(--bakir); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .4s var(--ease), transform .45s var(--ease), box-shadow .4s;
  view-transition-name: site-head;
}
.site-head.is-solid { background: color-mix(in srgb, var(--kakao) 94%, transparent); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(243,231,221,.08); }
.site-head.is-hidden { transform: translateY(-100%); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 50px; height: 50px; }
.brand .brand-wm { width: 86px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; position: relative; padding: .4rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--bakir-acik); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: .75em 1.2em; font-size: .95rem; }
.nav .btn::after { display: block; }
.menu-btn { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--seker); margin: 6px 0; transition: transform .4s var(--ease), opacity .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; position: relative; z-index: 61; }
  .nav {
    position: fixed; inset: 0; z-index: 60;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: .3rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--kakao);
    clip-path: circle(0 at calc(100% - 44px) 38px);
    transition: clip-path .7s var(--ease);
    visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(2.2rem, 10vw, 3.2rem); font-weight: 500; line-height: 1.15; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1.6rem; font-size: 1.05rem; padding: 1em 1.6em; }
  .nav > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .menu-open .nav > * { opacity: 1; transform: none; }
  .menu-open .nav > *:nth-child(2) { transition-delay: .06s; }
  .menu-open .nav > *:nth-child(3) { transition-delay: .12s; }
  .menu-open .nav > *:nth-child(4) { transition-delay: .18s; }
  .menu-open .nav > *:nth-child(5) { transition-delay: .24s; }
  .menu-open .nav > *:nth-child(6) { transition-delay: .3s; }
  .menu-open { overflow: hidden; }
}

/* ---------- hero (home) ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 96px; padding-bottom: clamp(2rem, 5vw, 4rem);
}
.hero-copy { position: relative; z-index: 2; }
.hero-wm { width: min(100%, 760px); height: auto; margin: 0 0 clamp(1.2rem, 3vw, 2.2rem) -1.5%; overflow: visible; }
.hero-wm path { fill: var(--seker); }
.hero h1 { font-size: var(--t-4); font-weight: 420; max-width: 22ch; line-height: 1.18; }
.hero-meta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; align-items: center; }
.open-now { display: inline-flex; align-items: center; gap: .55rem; font-size: .98rem; }
.open-now i { width: 9px; height: 9px; border-radius: 50%; background: #8FBF7A; box-shadow: 0 0 0 0 rgba(143,191,122,.6); animation: pulse 2.4s infinite; }
.open-now.is-closed i { background: var(--bakir); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(143,191,122,.55); } 70% { box-shadow: 0 0 0 10px rgba(143,191,122,0); } 100% { box-shadow: 0 0 0 0 rgba(143,191,122,0); } }
.hero-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.window {
  position: relative; justify-self: end;
  width: min(100%, 430px);
  aspect-ratio: 9 / 16;
  max-height: calc(100svh - 140px);
  border-radius: 220px 220px 4px 4px;
  overflow: hidden;
  background: var(--kakao-2);
  box-shadow: 0 0 0 1px rgba(192,132,99,.35), 0 0 0 10px var(--kakao), 0 0 0 11px rgba(192,132,99,.35);
}
.window video, .window img { width: 100%; height: 100%; object-fit: cover; }
.window-sound {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(36,23,19,.6); color: var(--seker); backdrop-filter: blur(6px);
  display: grid; place-items: center;
}
.window-sound svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 88px; gap: 2.2rem; min-height: auto; }
  .window { justify-self: center; width: min(100%, 360px); max-height: none; border-radius: 180px 180px 4px 4px; }
  .hero-wm { width: 92%; }
}

/* the piping reveal */
.js .hero-wm { clip-path: inset(0 100% 0 0); }
.js .hero-wm.is-piped { animation: pipe 1.9s var(--ease) .15s forwards; }
@keyframes pipe { to { clip-path: inset(0 -2% 0 0); } }
.js .hero-after { opacity: 0; transform: translateY(10px); }
.js .hero-wm.is-piped ~ .hero-after { animation: after .9s var(--ease) forwards; }
.js .hero-wm.is-piped ~ .hero-after:nth-of-type(1) { animation-delay: 1.1s; }
.js .hero-wm.is-piped ~ .hero-after:nth-of-type(2) { animation-delay: 1.3s; }
.js .hero-wm.is-piped ~ .hero-after:nth-of-type(3) { animation-delay: 1.45s; }
@keyframes after { to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.on-gul { background: var(--gul); color: var(--murekkep); }
.on-seker { background: var(--seker); color: var(--murekkep); }
.on-palmiye { background: var(--palmiye); color: var(--seker); }
.on-gul ::selection, .on-seker ::selection { background: var(--kakao); color: var(--seker); }

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }

/* story block */
.story h2 { grid-column: 1 / span 6; }
.story-text { grid-column: 8 / span 5; padding-top: .6rem; }
.story-photos { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 3fr 4fr; gap: clamp(.8rem, 2vw, 1.6rem); align-items: end; margin-top: clamp(2.5rem, 6vw, 5rem); }
.story-photos figure:nth-child(2) { margin-bottom: 18%; }
@media (max-width: 800px) {
  .story h2, .story-text { grid-column: 1 / -1; }
  .story-photos { grid-template-columns: 1fr 1fr; }
  .story-photos figure:nth-child(3) { grid-column: 1 / -1; }
  .story-photos figure:nth-child(2) { margin-bottom: 0; }
}

figure { margin: 0; }
.ph { position: relative; overflow: hidden; border-radius: var(--radius-photo); background: var(--kakao-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
a.ph:hover img, .ph.zoom:hover img { transform: scale(1.04); }
figcaption { font-size: var(--t-0); margin-top: .6rem; color: color-mix(in srgb, currentColor 70%, transparent); }

/* image reveal on scroll (one effect, used consistently on photos only) */
.js .reveal { clip-path: inset(12% 0 0 0); opacity: .001; transition: clip-path 1.1s var(--ease), opacity .6s var(--ease); }
.js .reveal.in { clip-path: inset(0 0 0 0); opacity: 1; }

/* ---------- vitrine rail ---------- */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rail-head p { margin: 0; }
.rail-ctrl { display: flex; gap: .6rem; }
.rail-ctrl button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243,231,221,.35); background: none; cursor: pointer; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; }
.rail-ctrl button:hover { background: var(--seker); color: var(--kakao); border-color: var(--seker); }
.rail-ctrl svg { width: 20px; height: 20px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 28vw, 380px);
  gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-bottom: 1.2rem;
  scrollbar-width: thin; scrollbar-color: var(--bakir) transparent;
  cursor: grab;
}
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging a { pointer-events: none; }
.rail > a { scroll-snap-align: start; text-decoration: none; display: block; }
.rail .ph { aspect-ratio: 3 / 4; }
.rail h3 { margin-top: 1rem; font-size: var(--t-2); }
.rail p { font-size: .95rem; margin: .35rem 0 0; color: color-mix(in srgb, currentColor 70%, transparent); }

/* ---------- custom cake ---------- */
.cakes-intro { grid-column: 1 / span 6; }
.cakes-steps { grid-column: 8 / span 5; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.cakes-steps li { counter-increment: s; display: grid; grid-template-columns: 3.2rem 1fr; gap: .2rem 1rem; padding: 1.3rem 0; border-top: 1px solid rgba(43,29,24,.22); }
.cakes-steps li:last-child { border-bottom: 1px solid rgba(43,29,24,.22); }
.cakes-steps li::before { content: counter(s); font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 2.2rem; line-height: 1; color: var(--bakir); grid-row: span 2; }
.cakes-steps strong { font-weight: 650; }
.cakes-steps p { margin: 0; color: var(--murekkep-soft); }
.cake-wall { grid-column: 1 / -1; margin-top: clamp(3rem, 6vw, 5rem); columns: 4 220px; column-gap: clamp(.8rem, 1.6vw, 1.3rem); }
.cake-wall figure { break-inside: avoid; margin-bottom: clamp(.8rem, 1.6vw, 1.3rem); }
.cakes-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.5rem; }
@media (max-width: 860px) { .cakes-intro, .cakes-steps { grid-column: 1 / -1; } .cakes-steps { margin-top: 1.5rem; } }

/* ---------- terrace ---------- */
.terrace-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: center; }
.terrace-photo { grid-column: 1 / span 7; aspect-ratio: 4 / 5; }
.terrace-copy { grid-column: 9 / span 4; }
.facts { margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.facts div { display: grid; gap: .1rem; }
.facts dt { font-size: var(--t-0); color: var(--bakir-acik); }
.facts dd { margin: 0; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: var(--t-2); line-height: 1.3; }
.terrace-strip { margin-top: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.6rem, 1.4vw, 1.1rem); }
.terrace-strip .ph { aspect-ratio: 1; }
@media (max-width: 860px) {
  .terrace-photo, .terrace-copy { grid-column: 1 / -1; }
  .terrace-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- page heads ---------- */
.page-head { padding-top: calc(76px + clamp(3rem, 8vw, 6.5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 1.4rem; }
.crumbs { font-size: var(--t-0); margin-bottom: 1.4rem; color: color-mix(in srgb, currentColor 65%, transparent); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- products page ---------- */
.cat-nav { position: sticky; top: 76px; z-index: 20; background: var(--kakao); border-bottom: 1px solid rgba(243,231,221,.1); transition: top .45s var(--ease); }
.site-head.is-hidden ~ main .cat-nav { top: 0; }
.cat-nav ul { list-style: none; margin: 0; padding: .9rem 0; display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; }
.cat-nav a { display: block; white-space: nowrap; text-decoration: none; padding: .55em 1.1em; border-radius: 999px; border: 1px solid rgba(243,231,221,.22); font-size: .95rem; transition: background .3s, color .3s, border-color .3s; }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--seker); color: var(--kakao); border-color: var(--seker); }
.cat { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-bottom: 1px solid rgba(243,231,221,.08); scroll-margin-top: 140px; }
.cat-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); align-items: end; }
.cat-head h2 { grid-column: 1 / span 6; }
.cat-head p { grid-column: 8 / span 5; margin: 0; }
@media (max-width: 800px) { .cat-head h2, .cat-head p { grid-column: 1 / -1; } }
.prod-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.prod { grid-column: span 4; }
.prod.wide { grid-column: span 8; }
.prod .ph { aspect-ratio: 4 / 5; }
.prod.wide .ph { aspect-ratio: 16 / 10; }
.prod h3 { font-size: var(--t-2); margin-top: .9rem; }
.prod p { margin: .3rem 0 0; font-size: .95rem; color: color-mix(in srgb, currentColor 70%, transparent); }
@media (max-width: 900px) { .prod { grid-column: span 6; } .prod.wide { grid-column: span 12; } }
@media (max-width: 520px) { .prod { grid-column: span 12; } .prod.wide .ph { aspect-ratio: 4 / 5; } }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--murekkep-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 3px;
  border: 1px solid rgba(43,29,24,.3); background: rgba(255,255,255,.55); color: var(--murekkep);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--kakao); background: #fff; box-shadow: 0 0 0 3px rgba(192,132,99,.35); }
.field .err { font-size: .87rem; color: #9B2C1F; min-height: 1.2em; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #9B2C1F; }
.form-note { font-size: .9rem; color: var(--murekkep-soft); }
.form-done { grid-column: 1 / -1; padding: 1rem 1.2rem; background: rgba(36,23,19,.08); border-left: 3px solid var(--bakir); display: none; }
.form-done.show { display: block; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; accent-color: var(--kakao); flex: none; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.contact-info { grid-column: 1 / span 5; }
.contact-form { grid-column: 7 / span 6; }
.contact-info dl { margin: 0; display: grid; gap: 1.6rem; }
.contact-info dt { font-size: var(--t-0); color: var(--murekkep-soft); margin-bottom: .2rem; }
.contact-info dd { margin: 0; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: var(--t-2); line-height: 1.35; }
.contact-info dd a { text-decoration: none; }
.contact-info dd a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.map { margin-top: clamp(3rem, 6vw, 5rem); aspect-ratio: 21 / 9; min-height: 340px; border: 0; width: 100%; filter: sepia(.25) saturate(.85); border-radius: var(--radius-photo); }
@media (max-width: 860px) { .contact-info, .contact-form { grid-column: 1 / -1; } .map { aspect-ratio: 4 / 3; } }

/* ---------- about ---------- */
.big-quote { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: var(--t-5); line-height: 1.12; max-width: 20ch; margin: 0; }
.about-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.about-photo { grid-column: 1 / span 5; aspect-ratio: 3 / 4; }
.about-copy { grid-column: 7 / span 6; }
.about-copy h2 { margin-bottom: 1.5rem; }
@media (max-width: 860px) { .about-photo, .about-copy { grid-column: 1 / -1; } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.values h3 { font-size: var(--t-2); margin-bottom: .6rem; }
.values p { margin: 0; color: var(--murekkep-soft); }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

/* ---------- legal ---------- */
.legal { max-width: 72ch; }
.legal h2 { font-size: var(--t-3); margin: 2.4rem 0 .8rem; }
.legal p, .legal li { color: var(--murekkep); max-width: none; }
.legal ul { padding-left: 1.2rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--kakao); border-top: 1px solid rgba(192,132,99,.25); padding-top: clamp(4rem, 8vw, 6.5rem); padding-bottom: 2rem; }
.foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.foot-brand { grid-column: 1 / span 4; }
.foot-brand img { width: 128px; height: 128px; margin-bottom: 1.4rem; }
.foot-col { grid-column: span 2; }
.foot-col.wide { grid-column: span 3; }
.foot-col h2 { font-family: var(--sans); font-size: var(--t-0); font-weight: 600; color: var(--bakir-acik); letter-spacing: 0; margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-big { margin-top: clamp(3rem, 7vw, 5.5rem); }
.foot-big svg { width: 100%; height: auto; }
.foot-big path { fill: rgba(243,231,221,.07); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; font-size: var(--t-0); color: color-mix(in srgb, var(--seker) 60%, transparent); }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .foot-brand { grid-column: 1 / -1; }
  .foot-col, .foot-col.wide { grid-column: span 6; }
}

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 2.5vw, 1.8rem); bottom: clamp(1rem, 2.5vw, 1.8rem); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--seker); color: var(--kakao);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) rotate(-6deg); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- cookie note ---------- */
.cookie {
  position: fixed; left: clamp(1rem, 2.5vw, 1.8rem); bottom: clamp(1rem, 2.5vw, 1.8rem); z-index: 45;
  max-width: 380px; padding: 1.1rem 1.2rem; border-radius: 6px;
  background: var(--seker); color: var(--murekkep); font-size: .92rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  display: none;
}
.cookie.show { display: block; animation: after .6s var(--ease) both; }
.cookie p { margin: 0 0 .8rem; }
.cookie .btn { padding: .7em 1.1em; font-size: .9rem; }
@media (max-width: 520px) { .cookie { right: 5.5rem; } }

/* ---------- 404 ---------- */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 8rem var(--gutter) 4rem; }
.nf img { width: 160px; margin: 0 auto 2rem; }
.nf p { margin-inline: auto; }

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

@media (max-width: 700px) {
  .cake-wall { columns: 2 !important; column-gap: .7rem; }
  .cake-wall figure { margin-bottom: .7rem; }
}
@media (min-width: 521px) and (max-width: 900px) {
  .prod:last-child:nth-child(even) { grid-column: span 12; }
  .prod:last-child:nth-child(even) .ph { aspect-ratio: 16 / 10; }
}
.brand { position: relative; z-index: 61; }

/* ================= mobile refinements ================= */
.brand img { width: 58px; height: 58px; }
@media (max-width: 900px) {
  .head-row { height: 66px; }
  .brand img { width: 48px; height: 48px; }
  .page-head { padding-top: calc(66px + clamp(2.2rem, 8vw, 4rem)); }
  .cat-nav { top: 66px; }
  .section { padding-block: clamp(3.6rem, 12vw, 5rem); }

  /* hero: the vitrine film fills the phone screen behind the wordmark */
  .hero {
    position: relative; isolation: isolate;
    grid-template-columns: 1fr; align-items: end; gap: 0;
    min-height: 100svh; padding-top: 80px; padding-bottom: 1.6rem;
  }
  .hero .window {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; max-width: none; height: 100%; max-height: none; aspect-ratio: auto;
    border-radius: 0; box-shadow: none; justify-self: stretch;
  }
  .hero .window::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(36,23,19,.7) 0%, rgba(36,23,19,.1) 22%, rgba(36,23,19,.25) 45%, rgba(36,23,19,.88) 70%, var(--kakao) 100%);
  }
  .hero-wm { width: 82%; margin-bottom: 1rem; filter: drop-shadow(0 6px 28px rgba(0,0,0,.45)); }
  .hero h1 { font-size: clamp(1.45rem, 6vw, 1.9rem); line-height: 1.22; }
  .hero-cta { margin-top: 1.4rem; }
  .hero-cta .btn { flex: 1 1 0; justify-content: center; padding-inline: 1em; }
  .hero-meta { margin-top: 1.1rem; }

  /* products: two columns on phones, first item full width, a lone last item spans */
  .prod { grid-column: span 6; }
  .prod.wide { grid-column: span 12; }
  .prod:last-child:nth-child(even) { grid-column: span 12; }
  .prod:last-child:nth-child(even) .ph, .prod.wide .ph { aspect-ratio: 16 / 11; }
  .rail-ctrl { display: none; }
}
@media (max-width: 520px) {
  .prod-grid { gap: 1.1rem .75rem; }
  .prod h3 { font-size: 1.05rem; margin-top: .6rem; line-height: 1.25; }
  .prod p { font-size: .85rem; line-height: 1.4; }
  .rail { grid-auto-columns: 72vw; }
  .cat-head { gap: .8rem; }
  .story-photos { gap: .6rem; }
  .terrace-strip { gap: .5rem; }
  .facts dd { font-size: 1.15rem; }
  .big-quote { font-size: 1.9rem; }
  .foot-brand img { width: 96px; height: 96px; }

  /* cookie note as a slim bar */
  .cookie {
    left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0;
    display: none; align-items: center; gap: .8rem; padding: .75rem 1rem; font-size: .82rem; line-height: 1.4;
  }
  .cookie.show { display: flex; }
  .cookie p { margin: 0; }
  .cookie .btn { flex: none; padding: .65em 1em; }
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 25px; height: 25px; }
}
@media (hover: none) { a.ph:hover img, .ph.zoom:hover img { transform: none; } }
