/* Brutăria Todex — v3 (motion edition) */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --char: #17110d;
  --char-2: #221913;
  --char-3: #2e231b;
  --crust: #8b4a23;
  --crust-deep: #5e2e15;
  --wheat: #d9a65a;
  --wheat-lt: #ecd3a1;
  --cream: #f3eadb;
  --flour: #fbf7f0;
  --ink: #221812;
  --muted: #6c5c4e;
  --line: rgba(34, 24, 18, .12);
  --line-dark: rgba(236, 211, 161, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 24px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(1.15rem, 4vw, 3rem);
  --wrap: min(1320px, 100% - 2 * var(--pad));
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--flour); color: var(--ink); overflow-x: hidden;
  font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(2.35rem, 1.4rem + 4.4vw, 5.6rem); }
em { font-style: italic; }
p { margin: 0 0 1em; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 300; background: var(--wheat); color: var(--char); padding: .7rem 1.1rem; border-radius: 999px; font-weight: 800; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--wheat); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; font-size: .76rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--crust); }
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: currentColor; }
.dark .eyebrow, .hero .eyebrow { color: var(--wheat); }
.accent { font-style: italic; color: var(--crust); }
.dark .accent { color: var(--wheat); }
.split-line { padding-bottom: .08em; margin-bottom: -.08em; } /* room for descenders inside SplitText masks */

/* buttons */
.btn {
  --bg: var(--wheat); --fg: var(--char);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 54px; padding: .9rem 1.6rem;
  background: var(--bg); color: var(--fg); border: 1.5px solid transparent; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .3s, color .3s, border-color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, #fff); border-radius: inherit; transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; --fill: var(--wheat); border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { color: var(--char); border-color: var(--wheat); }
.btn-dark { --bg: var(--char); --fg: var(--cream); --fill: var(--crust); }
.btn-line { --bg: transparent; --fg: var(--ink); --fill: var(--char); border-color: var(--line); }
.btn-line:hover { color: var(--cream); }
[data-magnetic] { will-change: transform; }

/* ---------- intro curtain ---------- */
.intro { display: none; }
.js-motion .intro {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--char); color: var(--wheat);
  animation: introFailsafe .01s 4.2s forwards;
}
.intro-mark { display: grid; justify-items: center; gap: 1rem; }
.intro-mark svg { width: 64px; height: 64px; }
.intro-mark span { font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--cream); letter-spacing: -.01em; }
.intro-bar { width: 140px; height: 2px; background: rgba(236, 211, 161, .2); overflow: hidden; border-radius: 2px; }
.intro-bar i { display: block; height: 100%; background: var(--wheat); transform-origin: left; transform: scaleX(0); }
@keyframes introFailsafe { to { visibility: hidden; opacity: 0; } }
.js-motion .hero [data-hero], .js-motion .hero-title { visibility: hidden; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background .4s, color .4s, box-shadow .4s, transform .6s var(--ease); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.site-header.scrolled { color: var(--ink); background: rgba(251, 247, 240, .82); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; position: relative; z-index: 2; }
.logo img { width: 42px; height: 42px; border-radius: 12px; }
.logo b { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; line-height: 1; }
.logo small { display: block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; opacity: .75; margin-top: .32rem; }
.nav { display: flex; align-items: center; gap: .2rem; }
.nav a { position: relative; text-decoration: none; font-weight: 700; font-size: .94rem; padding: .55rem .85rem; }
.nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-call { --fill: #fff; min-height: 46px; padding: .6rem 1.15rem; font-size: .92rem; }
.menu-toggle { display: none; position: relative; z-index: 2; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); cursor: pointer; }
.scrolled .menu-toggle { background: rgba(34, 24, 18, .08); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 15px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; content: ""; transition: transform .45s var(--ease), background .2s; }
.menu-toggle span { top: 24px; }
.menu-toggle span::before { left: 0; top: -6px; }
.menu-toggle span::after { left: 0; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* full-screen menu overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: 100px var(--pad) 2rem; background: var(--char); color: var(--cream); overflow-y: auto;
  clip-path: circle(0% at calc(100% - var(--pad) - 25px) 38px); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
}
.menu-overlay::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; pointer-events: none; }
.menu-open .menu-overlay { clip-path: circle(150% at calc(100% - var(--pad) - 25px) 38px); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
.menu-overlay nav { display: grid; }
.menu-overlay nav a { display: block; overflow: hidden; text-decoration: none; font-family: var(--serif); font-size: clamp(2.6rem, 11vw, 5rem); line-height: 1.12; }
.menu-overlay nav a span { display: inline-flex; align-items: baseline; gap: .8rem; transform: translateY(110%); transition: transform .6s var(--ease); transition-delay: calc(.05s * var(--i) + .12s); }
.menu-overlay nav a small { font-family: var(--sans); font-size: .8rem; font-weight: 800; color: var(--wheat); letter-spacing: .1em; }
.menu-overlay nav a:hover span { font-style: italic; color: var(--wheat); }
.menu-open .menu-overlay nav a span { transform: none; }
.menu-foot { display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; opacity: 0; transform: translateY(20px); transition: opacity .6s .5s, transform .8s var(--ease) .5s; }
.menu-open .menu-foot { opacity: 1; transform: none; }
.menu-foot a:not(.btn) { color: var(--wheat-lt); text-decoration: none; font-weight: 700; }
.menu-open.site-header { color: var(--cream); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .menu-toggle { background: rgba(255, 255, 255, .12); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; background: var(--char); color: #fff; overflow: hidden; isolation: isolate; display: flex; align-items: center; }
.hero-glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(45% 55% at 72% 48%, rgba(217, 166, 90, .26), transparent 70%), radial-gradient(35% 40% at 8% 92%, rgba(139, 74, 35, .4), transparent 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; background-image: var(--grain); opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.hero-flour { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); padding: 110px 0 70px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-size: clamp(3rem, 1rem + 6.4vw, 8rem); line-height: .92; letter-spacing: -.035em; font-weight: 350; margin: 0; }
.hero-title .ln { display: block; }
.hero-title em { color: var(--wheat); font-weight: 300; }
.hero .lead { max-width: 50ch; margin: 1.8rem 0 2.2rem; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); color: rgba(255, 255, 255, .78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-media { position: relative; height: min(78svh, 760px); min-height: 460px; }
.hero-media .l1 { position: absolute; inset: 0 7% 0 12%; border-radius: 999px 999px 28px 28px; overflow: hidden; background: var(--char-3); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.hero-media .l1 picture, .hero-media .l1 img { width: 100%; height: 100%; }
.hero-media .l1 img { object-fit: cover; object-position: 50% 40%; transform: scale(1.08); }
.hero-media .l2, .hero-media .l3 { position: absolute; overflow: hidden; border: 6px solid var(--char); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.hero-media .l2 { width: 40%; aspect-ratio: 1; left: -4%; bottom: 7%; border-radius: 24px; }
.hero-media .l3 { width: 30%; aspect-ratio: 1; right: -2%; top: 10%; border-radius: 50%; }
.hero-media .l2 img, .hero-media .l3 img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; right: 2%; bottom: 3%; width: 132px; height: 132px; z-index: 3; }
.hero-badge svg.ring { width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero-badge text { font-family: var(--sans); font-size: 10.4px; font-weight: 800; letter-spacing: 2.9px; fill: var(--wheat-lt); text-transform: uppercase; }
.hero-badge .core { position: absolute; inset: 30px; border-radius: 50%; background: var(--wheat); display: grid; place-items: center; }
.hero-badge .core svg { width: 40px; height: 40px; color: var(--char); }
@keyframes spin { to { transform: rotate(360deg); } }
.steam { position: absolute; left: 30%; top: -6%; width: 44%; height: 42%; z-index: 2; pointer-events: none; filter: blur(16px); }
.steam span { position: absolute; bottom: 0; width: 42%; height: 75%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 248, 236, .3), transparent); animation: steam 7.5s ease-in-out infinite; opacity: 0; }
.steam span:nth-child(1) { left: 0; }
.steam span:nth-child(2) { left: 30%; animation-delay: 2.5s; }
.steam span:nth-child(3) { left: 58%; animation-delay: 5s; }
@keyframes steam { 0% { transform: translateY(40%) scale(.55); opacity: 0; } 30% { opacity: .9; } 100% { transform: translate(12%, -70%) scale(1.5); opacity: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; z-index: 4; display: grid; justify-items: center; gap: .5rem; transform: translateX(-50%); font-size: .68rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.scroll-cue i { display: block; width: 1.5px; height: 44px; background: linear-gradient(var(--wheat), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee band ---------- */
.band { position: relative; z-index: 2; background: var(--wheat); color: var(--char); overflow: hidden; padding: clamp(.9rem, 2vw, 1.5rem) 0; }
.band-row { display: flex; width: max-content; will-change: transform; }
.band ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.band li { font-family: var(--serif); font-size: clamp(1.9rem, 1rem + 4.2vw, 5rem); line-height: 1.1; white-space: nowrap; display: flex; align-items: center; letter-spacing: -.02em; }
.band li::after { content: ""; width: .32em; height: .32em; margin: 0 .55em; background: var(--crust-deep); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.band-row.alt li { font-style: italic; color: transparent; -webkit-text-stroke: 1.2px var(--crust-deep); }
html:not(.js-motion) .band-row { animation: marquee 50s linear infinite; }
html:not(.js-motion) .band-row.alt { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- generic sections ---------- */
section { position: relative; padding: clamp(5rem, 11vw, 10rem) 0; }
.dark { background: var(--char); color: var(--cream); }
.dark::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .08; pointer-events: none; }
.tint { background: var(--cream); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.8rem, 6vw, 5rem); }
.section-head p { color: var(--muted); margin: 0; }
.dark .section-head p { color: rgba(243, 234, 219, .68); }

/* about */
.statement { font-family: var(--serif); font-weight: 350; font-size: clamp(1.75rem, 1rem + 3.2vw, 4.1rem); line-height: 1.12; letter-spacing: -.025em; max-width: 24ch; margin: 0 0 clamp(3.5rem, 8vw, 7rem); }
.statement b { font-weight: 350; font-style: italic; color: var(--crust); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-text p { color: var(--muted); max-width: 54ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2.6rem; border-top: 1px solid var(--line); }
.stat { padding: 1.4rem .8rem 0 0; }
.stat + .stat { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-weight: 350; font-size: clamp(2.6rem, 1.8rem + 3vw, 4.6rem); line-height: 1; color: var(--crust); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .55rem; font-size: .88rem; color: var(--muted); line-height: 1.35; }
.about-media { position: relative; padding: 0 0 3rem 3rem; }
.arch { border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); box-shadow: 0 40px 80px -40px rgba(60, 30, 10, .55); }
.arch picture, .arch img { width: 100%; height: 100%; }
.arch img { object-fit: cover; }
.about-media .stamp { position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--flour); box-shadow: 0 20px 50px -20px rgba(60, 30, 10, .5); }
.about-media .stamp img { width: 100%; height: 100%; object-fit: cover; }
.about-media .tag { position: absolute; right: -.5rem; top: 12%; margin: 0; background: var(--char); color: var(--cream); padding: .9rem 1.2rem; border-radius: 16px; font-size: .85rem; line-height: 1.35; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.about-media .tag b { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--wheat); }

/* process timeline */
.tl-wrap { position: relative; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; }
.tl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tl-base { fill: none; stroke: rgba(236, 211, 161, .28); stroke-width: 1.5; stroke-dasharray: 3 8; }
.tl-prog { fill: none; stroke: var(--wheat); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(217, 166, 90, .55)); }
.tl-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); align-items: center; min-height: clamp(300px, 34vw, 400px); }
.tl-media { grid-column: 1; grid-row: 1; justify-self: end; }
.tl-node { grid-column: 2; grid-row: 1; justify-self: center; }
.tl-text { grid-column: 3; grid-row: 1; max-width: 400px; }
.tl-step:nth-child(odd) .tl-media { grid-column: 3; justify-self: start; }
.tl-step:nth-child(odd) .tl-text { grid-column: 1; justify-self: end; text-align: right; }
.tl-disc { position: relative; width: clamp(180px, 20vw, 250px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--char-3); border: 1.5px solid var(--line-dark); }
.tl-disc img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) saturate(1.1) contrast(1.05); }
.tl-disc .dough { position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; color: var(--wheat); animation: rise 3.2s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes rise { 0%, 100% { transform: scale(.92); } 50% { transform: scale(1.08); } }
.tl-node { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--char); border: 1.5px solid var(--line-dark); color: var(--wheat-lt); font-weight: 800; font-size: .86rem; transition: background .5s, color .5s, transform .6s var(--ease), box-shadow .6s; }
.tl-step.active .tl-node, html:not(.js-motion) .tl-node { background: var(--wheat); color: var(--char); border-color: var(--wheat); transform: scale(1.12); box-shadow: 0 0 0 10px rgba(217, 166, 90, .12), 0 0 40px rgba(217, 166, 90, .45); }
.tl-text h3 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); font-style: italic; color: var(--wheat); margin-bottom: .8rem; }
.tl-text p { color: rgba(243, 234, 219, .7); margin: 0; }

/* products: showcase */
.products-sec { padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; }
.showcase-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.showcase-head h2 { font-size: clamp(2.35rem, 1.4rem + 4vw, 5rem); }
.showcase-head .count { margin: .8rem 0 0; color: var(--muted); font-weight: 700; font-size: .92rem; }
.tabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.tab { position: relative; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .7); border-radius: 999px; min-height: 46px; padding: .55rem 1.05rem; font-weight: 800; font-size: .9rem; cursor: pointer; display: inline-flex; gap: .45rem; align-items: center; transition: background .3s, color .3s, border-color .3s; }
.tab small { font-size: .72rem; opacity: .55; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--char); color: var(--cream); border-color: var(--char); }
.tab[aria-selected="true"] small { opacity: 1; color: var(--wheat); }
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; perspective: 1000px; width: var(--wrap); margin-inline: auto; }
@media (min-width: 600px) { .cover { aspect-ratio: 2 / 1; } }
.track > [hidden] { display: none !important; }
.cover { grid-column: 1 / -1; position: relative; min-height: 220px; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--char-3); }
.cover picture { position: absolute; inset: 0 -10%; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 14, 10, .82) 0%, rgba(20, 14, 10, .15) 55%, rgba(20, 14, 10, .25) 100%); }
.cover-txt { position: absolute; z-index: 1; left: 1.4rem; right: 1.4rem; bottom: 1.3rem; }
.cover-txt .n { display: block; font-weight: 800; font-size: .76rem; letter-spacing: .2em; color: var(--wheat); margin-bottom: .4rem; }
.cover-txt h3 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); }
.cover-txt p { margin: .35rem 0 0; font-size: .92rem; opacity: .8; }
.pcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 210px; padding: 1rem 1rem 1.1rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d; }
.pcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .7), transparent 50%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.pcard:hover::after { opacity: 1; }
.pcard::before { content: attr(data-n); position: absolute; right: -.08em; bottom: -.22em; font-family: var(--serif); font-weight: 300; font-size: clamp(5rem, 9vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(139, 74, 35, .16); pointer-events: none; }
.pcard[data-cat="cozonaci"]::before { -webkit-text-stroke-color: rgba(217, 166, 90, .2); }
.pcard > * { position: relative; }
.pc-top { display: flex; justify-content: space-between; gap: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pc-ico { width: 52px; height: 52px; color: var(--crust); transform: translateZ(30px); }
.pcard h3 { font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); line-height: 1.12; letter-spacing: -.01em; }
.pc-w { margin: .35rem 0 0; font-family: var(--serif); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1; color: var(--crust); font-variant-numeric: tabular-nums; }
.pc-w small { font-family: var(--sans); font-size: .78rem; font-weight: 800; margin-left: .25rem; color: var(--muted); }
.pc-w.soft { font-family: var(--sans); font-size: .85rem; font-weight: 700; color: var(--muted); }
.pcard[data-cat="franzele"] { background: #fff9ef; }
.pcard[data-cat="chifle"] { background: #fbf1e3; }
.pcard[data-cat="cozonaci"] { background: var(--char); color: var(--cream); border-color: transparent; }
.pcard[data-cat="cozonaci"] .pc-ico, .pcard[data-cat="cozonaci"] .pc-w { color: var(--wheat); }
.pcard[data-cat="cozonaci"] .pc-top, .pcard[data-cat="cozonaci"] .pc-w.soft { color: rgba(243, 234, 219, .6); }
.hs-progress { display: none; }
.catalog-note { margin-top: 1.6rem; padding: 1.3rem 1.4rem; border-radius: 20px; background: var(--char); color: var(--cream); display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.catalog-note p { margin: 0; max-width: 44ch; color: rgba(243, 234, 219, .82); }
.catalog-note p b { color: var(--wheat); }

/* horizontal pinned mode (desktop, motion OK) */
.is-horizontal .products-sec { padding: 0; }
.is-horizontal .showcase { height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 28px; }
.is-horizontal .track {
  --ch: clamp(170px, calc((100svh - 330px) / 2), 290px);
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, var(--ch)); grid-auto-columns: clamp(230px, 19vw, 290px);
  grid-template-columns: none; width: max-content; margin: 0; gap: 1rem; padding-inline: calc((100vw - min(1320px, 100vw - 2 * var(--pad))) / 2) 12vw; will-change: transform;
}
.is-horizontal .cover { grid-row: span 2; grid-column: span 2; aspect-ratio: auto; min-height: 0; }
.is-horizontal .pcard { min-height: 0; }
.is-horizontal .hs-progress { display: block; height: 2px; margin-top: 1.6rem; background: var(--line); border-radius: 2px; overflow: hidden; }
.is-horizontal .hs-progress i { display: block; height: 100%; background: var(--crust); transform-origin: left; transform: scaleX(0); }
.is-horizontal .catalog-note { display: none; }
.hs-hint { display: none; }
.is-horizontal .hs-hint { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hs-hint svg { width: 18px; height: 18px; }

/* quality: expanding image */
.expand { padding: 0; background: var(--char); color: var(--cream); }
.expand-media { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.expand-media picture, .expand-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.expand-media img { object-fit: cover; }
.expand-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 55%, rgba(20, 14, 10, .45), rgba(20, 14, 10, .82)); }
.expand-copy { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; text-align: center; padding: 0 var(--pad); }
.expand-copy .eyebrow { justify-self: center; }
.quote { font-family: var(--serif); font-weight: 300; font-size: clamp(2.1rem, 1rem + 4.4vw, 5.4rem); line-height: 1.04; max-width: 17ch; margin: 0 auto; letter-spacing: -.03em; }
.quote em { color: var(--wheat); }
.pillars-wrap { padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 9rem); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.pillar { padding: 2rem 1.8rem 2.2rem; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); transition: transform .6s var(--ease), background .4s, border-color .4s; }
.pillar:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); border-color: rgba(217, 166, 90, .4); }
.pillar .n { font-family: var(--serif); font-size: 3.6rem; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--wheat); display: block; margin-bottom: 1.6rem; }
.pillar h3 { margin-bottom: .8rem; font-size: 1.7rem; }
.pillar p { margin: 0; color: rgba(243, 234, 219, .68); }

/* gallery */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 19vw, 270px); gap: 1rem; }
.bento button { all: unset; position: relative; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--cream); }
.bento button:nth-child(1), .bento button:nth-child(3), .bento button:nth-child(5) { grid-row: span 2; }
.bento button:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.bento button:focus-visible { outline: 3px solid var(--crust); outline-offset: 3px; }
.bento picture { position: absolute; left: 0; right: 0; top: -8%; height: 116%; }
.bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento button::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(20, 14, 10, .6), transparent 45%); opacity: 0; transition: opacity .45s; }
.bento button::after { content: attr(data-caption); position: absolute; z-index: 2; left: 1.1rem; bottom: 1rem; right: 1rem; color: #fff; font-family: var(--serif); font-size: 1.25rem; opacity: 0; transform: translateY(10px); transition: .5s var(--ease); }
.bento button:hover img { transform: scale(1.07); }
.bento button:hover::after, .bento button:hover::before, .bento button:focus-visible::after, .bento button:focus-visible::before { opacity: 1; transform: none; }
.gallery-foot { display: flex; justify-content: center; margin-top: 2.6rem; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(12, 8, 6, .93); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; gap: .9rem; justify-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; width: auto; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: var(--cream); font-family: var(--serif); font-size: 1.15rem; }
.lb-btn { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; margin-top: -26px; }
.lb-next { right: 1.2rem; top: 50%; margin-top: -26px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.contact-intro h2 { margin-bottom: 1.5rem; }
.contact-intro > p { color: var(--muted); max-width: 46ch; }
.contact-list { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { border-bottom: 1px solid var(--line); }
.contact-list a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 1rem; padding: 1.05rem .2rem; text-decoration: none; border-radius: 14px; transition: padding .45s var(--ease), background .3s; }
.contact-list a:hover { padding-left: .9rem; background: rgba(217, 166, 90, .16); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--char); color: var(--wheat); display: grid; place-items: center; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); line-height: 1.2; overflow-wrap: anywhere; }
.contact-list .go { width: 20px; height: 20px; color: var(--crust); transition: transform .4s var(--ease); }
.contact-list a:hover .go { transform: translateX(5px); }
.socials { display: flex; gap: .6rem; margin-top: 1.8rem; flex-wrap: wrap; }
.socials a { min-height: 46px; padding: .6rem 1.05rem; font-size: .92rem; }
.map-card { position: relative; min-height: 480px; border-radius: var(--r); overflow: hidden; background: var(--cream); box-shadow: 0 40px 80px -45px rgba(60, 30, 10, .6); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: sepia(.35) saturate(.85); }
.map-card .pin { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border-radius: 16px; background: rgba(23, 17, 13, .88); color: var(--cream); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.map-card .pin b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; }
.map-card .pin span { font-size: .88rem; opacity: .8; }
.map-card .pin .btn { min-height: 44px; padding: .55rem 1rem; font-size: .88rem; }

/* pnrr */
.pnrr { padding: 2.6rem 0; background: #fff; border-top: 1px solid var(--line); }
.pnrr img { width: min(760px, 100%); margin: 0 auto 1.1rem; }
.pnrr p { font-size: .76rem; line-height: 1.55; color: var(--muted); text-align: center; max-width: 120ch; margin: 0 auto; }

/* footer */
.site-footer { position: relative; overflow: hidden; background: var(--char); color: rgba(243, 234, 219, .75); padding: clamp(4rem, 8vw, 6rem) 0 2rem; }
.site-footer .big { font-family: var(--serif); font-weight: 300; font-size: clamp(3.1rem, 13.2vw, 13rem); line-height: .95; letter-spacing: -.045em; color: var(--cream); margin: 0 0 3rem; white-space: nowrap; }
.site-footer .big em { color: var(--wheat); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.foot-grid h3 { font-family: var(--sans); font-size: .74rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); margin-bottom: 1rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.foot-grid a { text-decoration: none; color: var(--cream); }
.foot-grid a:hover { color: var(--wheat); }
.foot-grid p { margin: 0; max-width: 34ch; }
.foot-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: .85rem; }

/* floating call (mobile) */
.fab { position: fixed; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40; display: none; min-height: 54px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55); transform: translateY(160%); transition: transform .6s var(--ease); }
.fab.show { transform: none; }

/* custom cursor (desktop, fine pointer) */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 500; pointer-events: none; opacity: 0; transition: opacity .3s; }
.has-cursor .cursor.on, .has-cursor .cursor-ring.on { opacity: 1; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--wheat); }
.cursor-ring { width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 1.5px solid rgba(217, 166, 90, .85); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s, border-color .3s, opacity .3s; }
.cursor-ring b { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--char); opacity: 0; transition: opacity .2s; }
.cursor-ring.is-hover { width: 66px; height: 66px; margin: -33px 0 0 -33px; background: rgba(217, 166, 90, .14); }
.cursor-ring.has-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--wheat); border-color: var(--wheat); }
.cursor-ring.has-label b { opacity: 1; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .bento button { cursor: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023.98px) {
  .nav, .header-call { display: none; }
  .menu-toggle { display: block; }
  .hero { align-items: flex-end; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding: 0 0 2.6rem; }
  .hero-media { position: absolute; left: 0; right: 0; top: 72px; height: 39svh; min-height: 260px; max-height: 560px; }
  .hero-media .l1 { inset: 0 13%; -webkit-mask-image: linear-gradient(#000 55%, transparent 98%); mask-image: linear-gradient(#000 55%, transparent 98%); }
  .hero-media .l2 { width: 27%; max-width: 190px; left: 3%; bottom: 30%; border-radius: 18px; border-width: 4px; }
  .hero-media .l3 { width: 21%; max-width: 150px; right: 4%; top: 2%; border-width: 4px; }
  .hero-badge, .scroll-cue { display: none; }
  .hero-copy { padding-top: calc(72px + min(31svh, 470px)); }
  .hero .lead { margin: 1.1rem 0 1.5rem; }
  .hero-title { font-size: clamp(2.8rem, 13.6vw, 5.6rem); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-media { max-width: 560px; }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .fab { display: inline-flex; width: 58px; height: 58px; min-height: 0; padding: 0; border-radius: 50%; }
  .fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fab svg { width: 24px; height: 24px; }
}
@media (min-width: 1024px) { .menu-overlay { display: none; } }
@media (max-width: 767.98px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat + .stat { padding-left: .8rem; }
  .stat span { font-size: .78rem; }
  .about-media { padding: 0 0 2rem 1.4rem; }
  .about-media .tag { right: 0; }
  .tl-step { grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 0 1.1rem; min-height: 0; padding-bottom: 3.4rem; }
  .tl-node, .tl-step:nth-child(odd) .tl-node { grid-column: 1; grid-row: 1 / span 2; justify-self: start; width: 52px; height: 52px; }
  .tl-media, .tl-step:nth-child(odd) .tl-media { grid-column: 2; grid-row: 1; justify-self: start; }
  .tl-text, .tl-step:nth-child(odd) .tl-text { grid-column: 2; grid-row: 2; justify-self: start; text-align: left; margin-top: 1.2rem; }
  .tl-disc { width: 132px; }
  .track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: .2rem var(--pad) .5rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .pcard { min-height: 196px; padding: .9rem .9rem 1rem; border-radius: 16px; }
  .pc-ico { width: 42px; height: 42px; }
  .pc-top span + span { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: .6rem; }
  .bento button { border-radius: 14px; }
  .bento button:nth-child(5) { grid-row: span 1; }
  .bento button:nth-child(6) { grid-column: span 1; grid-row: span 1; }
  .bento button::after { font-size: 1rem; left: .8rem; bottom: .7rem; }
  .map-card { min-height: 380px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .lb-prev, .lb-next { top: auto; bottom: 1.2rem; margin: 0; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
@media (max-width: 420px) {
  .eyebrow .opt { display: none; }
  .hero-copy { padding-top: calc(72px + min(27svh, 470px)); }
  .pcard h3 { font-size: 1.02rem; }
  .pc-w { font-size: 1.35rem; }
  .logo small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .steam { display: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow .opt { margin-left: -.7rem; }
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-grid { padding: 92px 0 44px; }
  .hero .lead { margin: 1.2rem 0 1.5rem; }
  .hero-media { height: 72svh; min-height: 420px; }
  .hero-badge { width: 112px; height: 112px; right: -2%; }
  .hero-badge .core { inset: 24px; }
}

.hero .eyebrow { text-transform: none; letter-spacing: .14em; font-size: .82rem; }
