:root {
    --red: #df311b;
    --red-dark: #b8260f;
    --black: #090909;
    --ink: #161616;
    --white: #ffffff;
    --paper: #f7f5f1;
    --paper-deep: #eee9e1;
    --line: rgba(9, 9, 9, 0.13);
    --muted: #66635e;
    --container: min(1240px, calc(100vw - 48px));
    --radius: 26px;
    --shadow: 0 24px 70px rgba(23, 18, 12, 0.12);
    --gold-gradient: linear-gradient(100deg, #f6d385 0%, #d99a2b 55%, #a8650f 100%);
    --font-title: "obvia", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open, body.recipe-modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }
button { appearance: none; -webkit-appearance: none; background-color: transparent; }

button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

h1 { font-size: clamp(3.4rem, 8vw, 7.6rem); }
h2 { font-size: clamp(2.5rem, 5.3vw, 5rem); }
h3 { font-size: clamp(1.55rem, 2.2vw, 2.25rem); }

.container { width: var(--container); margin-inline: auto; }

.section { padding: clamp(88px, 10vw, 150px) 0; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--black);
    color: var(--white);
    border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 180ms ease, background-image 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .primary-nav a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.button--small { min-height: 44px; padding-inline: 20px; }
.button--dark, .button--light, .header-cta { color: var(--white); background-image: linear-gradient(var(--red), var(--red)), var(--gold-gradient); }
.button--ghost-light { position: relative; isolation: isolate; color: var(--white); background-color: transparent; background-image: none; border-color: transparent; }
.button--ghost-light::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    box-sizing: border-box;
    border-radius: inherit;
    padding: 2px;
    background: var(--gold-gradient);
    -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    mask-clip: content-box, border-box;
    mask-composite: exclude;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    border-bottom: 2px solid;
    border-image: var(--gold-gradient) 1;
    padding-bottom: 5px;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.eyebrow {
    margin-bottom: 18px;
    color: var(--red);
    font-size: .79rem;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eyebrow--light { color: var(--white); }

.topbar { background: var(--red); color: var(--white); }
.topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .75rem; font-weight: 700; }
.topbar a { border-bottom: 1px solid rgba(255,255,255,.5); }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__instagram { display: inline-flex; align-items: center; gap: 6px; border-bottom-color: transparent; }
.topbar__instagram:hover { border-bottom-color: rgba(255,255,255,.5); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid transparent;
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.site-header__inner { min-height: 88px; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; width: 126px; }
.brand img { width: 126px; height: auto; }

.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 36px); }
.primary-nav a { position: relative; padding: 10px 0; font-size: .9rem; font-weight: 700; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(790px, calc(100svh - 122px));
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #5e1c08;
}

.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media { overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-zoom 12s cubic-bezier(.2,.65,.25,1) forwards; }
.hero__shade { background: linear-gradient(90deg, rgba(26,10,3,.93) 0%, rgba(40,14,4,.78) 36%, rgba(40,14,4,.12) 74%, rgba(40,14,4,.03) 100%); }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: min(58vw, 900px); background: linear-gradient(120deg, rgba(223,49,27,.86), rgba(184,38,15,.3) 58%, transparent); mix-blend-mode: multiply; }
.hero__content { position: relative; z-index: 2; padding: 90px 0 115px; }
.hero__content h1 { max-width: 800px; margin-bottom: 28px; opacity: 0; animation: hero-rise 820ms cubic-bezier(.2,.65,.25,1) forwards; }
.hero__lead { max-width: 610px; margin-bottom: 34px; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.5; opacity: 0; animation: hero-rise 820ms cubic-bezier(.2,.65,.25,1) 220ms forwards; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: hero-rise 820ms cubic-bezier(.2,.65,.25,1) 320ms forwards; }

@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.proof-strip { position: relative; overflow: hidden; margin-bottom: -1px; padding: clamp(70px, 9vw, 120px) 0; background: url("../images/brand/trama-sarita.webp") center/cover no-repeat, var(--red); color: var(--white); }
.proof-strip--curved {
    margin-top: -170px;
    padding-top: calc(170px + clamp(40px, 5vw, 70px));
    clip-path: polygon(
        0% 26px, 10% 51.92px, 20% 72.08px, 30% 86.48px, 40% 95.12px, 50% 98px,
        60% 95.12px, 70% 86.48px, 80% 72.08px, 90% 51.92px, 100% 26px,
        100% 100%, 0% 100%
    );
}
.proof-strip__curve-line { position: absolute; top: 0; left: 0; width: 100%; height: 170px; z-index: 2; }
.proof-strip__curve-line path { stroke-width: 16; }
.proof-strip__tagline { position: relative; z-index: 1; margin: 0 0 30px; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.85); }
.proof-strip__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.proof-strip__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; transition: transform 320ms cubic-bezier(.2,.65,.25,1); }
.proof-strip__grid > div:hover { transform: translateY(-4px); }
.proof-strip strong { font-family: var(--font-title); font-size: clamp(2.8rem, 4.2vw, 4.4rem); line-height: 1; color: var(--white); }
.proof-strip span { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.78); }

.section-heading { max-width: 820px; margin-bottom: clamp(42px, 6vw, 76px); }
.section-heading h2 { margin-bottom: 28px; }
.section-heading > p:last-child { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading > p.products-showcase__badge { margin-top: 10px; margin-bottom: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); max-width: none; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr); gap: 80px; align-items: end; }
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--split > p { margin-bottom: 10px !important; }

.audience { background: var(--paper); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience-card { position: relative; min-height: 610px; display: flex; align-items: end; overflow: hidden; border-radius: var(--radius); color: var(--white); box-shadow: var(--shadow); }
.audience-card img, .audience-card__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.audience-card img { object-fit: cover; transition: transform 700ms cubic-bezier(.2,.65,.25,1); }
.audience-card:hover img { transform: scale(1.035); }
.audience-card__overlay { background: linear-gradient(180deg, transparent 22%, rgba(8,8,8,.86) 100%); }
.audience-card__content { position: relative; z-index: 2; padding: clamp(30px, 4vw, 52px); }
.audience-card__content > span { display: block; margin-bottom: 10px; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.audience-card h3 { margin-bottom: 16px; font-size: clamp(2.3rem, 4vw, 4.1rem); }
.audience-card p { max-width: 490px; margin-bottom: 24px; color: rgba(255,255,255,.82); }

.products-showcase { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-grid--catalog { row-gap: 54px; }
.product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; }
.product-card__visual { position: relative; isolation: isolate; min-height: 430px; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.product-card__visual img { width: 78%; height: 360px; object-fit: contain; mix-blend-mode: multiply; will-change: transform; transition: transform 350ms cubic-bezier(.2,.65,.25,1); }
.product-card:hover .product-card__visual img { transform: translateY(-8px) scale(1.025); }

.product-card__visual--rotate { cursor: ew-resize; }
.product-card__visual--rotate .product-card__frame {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease, transform 350ms cubic-bezier(.2,.65,.25,1);
}
.product-card__visual--rotate .product-card__frame.is-active { opacity: 1; }
.product-card:hover .product-card__visual--rotate .product-card__frame.is-active { transform: translateY(-8px) scale(1.025); }
.product-card__body { padding: 26px 8px 6px; }
.product-card__body .eyebrow { margin-bottom: 9px; color: var(--product-accent); font-size: .7rem; }
.product-card__body h3 { margin-bottom: 13px; font-size: clamp(1.65rem, 2.4vw, 2.35rem); }
.product-card__weight { display: block; margin-top: 2px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 700; color: var(--muted); letter-spacing: 0; }
.product-card__body p:not(.eyebrow) { min-height: 76px; margin-bottom: 20px; color: var(--muted); }
.product-card__uses { min-height: 0 !important; margin-top: -10px !important; font-size: .84rem; }
.section-action { display: flex; justify-content: center; margin-top: 58px; }

.history-split { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; overflow: hidden; color: var(--ink); background: var(--paper); }
.history-split__image, .history-split__shade { position: absolute; inset: 0; }
.history-split__image img { width: 100%; height: 100%; object-fit: cover; }
.history-split__shade { background: linear-gradient(90deg, var(--paper) 0%, rgba(247,245,241,.82) 30%, rgba(247,245,241,.55) 50%, rgba(247,245,241,.82) 70%, var(--paper) 100%); }
.history-split__story { position: relative; z-index: 1; display: flex; align-items: center; }
.history-split__timeline { position: relative; z-index: 1; padding: clamp(60px, 8vw, 110px) clamp(40px, 6vw, 90px); display: flex; align-items: center; }
.story-block__copy { width: 100%; padding: clamp(60px, 8vw, 130px) clamp(40px, 6vw, 90px); }
.story-block__logo { width: 241px; max-width: 100%; height: auto; margin-bottom: 22px; }
.story-block__copy .eyebrow { color: var(--red); }
.story-block__copy h2 { margin-bottom: 28px; }
.story-block__copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }

.process-section { background: var(--white); }
.process-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: clamp(56px, 7vw, 90px); }
.process-heading__copy .eyebrow { color: var(--red); }
.process-heading__copy h2 { margin-bottom: 20px; }
.process-heading__copy > p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.process-heading__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.process-heading__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.process-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.process-steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--line); }
.process-step { position: relative; padding-top: 46px; }
.process-step::before { content: ""; position: absolute; top: 14px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--white); }
.process-step__number { display: block; margin-bottom: 16px; font-family: var(--font-title); font-size: 2.4rem; font-weight: 900; color: var(--paper-deep); }
.process-step h3 { margin-bottom: 10px; font-size: 1.25rem; }
.process-step p { margin: 0; color: var(--muted); }

.timeline-vertical { position: relative; width: 100%; list-style: none; margin: 0; padding: 0 0 0 34px; }
.timeline-vertical::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-vertical .timeline-item { position: relative; padding: 0 0 44px; }
.timeline-vertical .timeline-item:last-child { padding-bottom: 0; }
.timeline-vertical .timeline-item::before { content: ""; position: absolute; left: -34px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.timeline-vertical .timeline-item > span { display: block; margin-bottom: 14px; color: var(--muted); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.timeline-vertical .timeline-item h3 { margin-bottom: 10px; font-size: 1.6rem; }
.timeline-vertical .timeline-item p { margin: 0; color: var(--muted); }

.map-section {
    position: relative;
    isolation: isolate;
    background: var(--paper);
    padding-top: clamp(48px, 6vw, 80px);
    padding-bottom: clamp(48px, 6vw, 80px);
}
.map-section__shell {
    display: grid;
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.65fr);
    align-items: center;
    gap: 28px;
}
.map-section__copy { position: relative; z-index: 2; max-width: 340px; }
.map-section__heading {
    font-size: clamp(2.15rem, 3.6vw, 3.05rem);
    line-height: 1.01;
    margin: 0 0 21px;
    max-width: 330px;
}
.map-section__heading span { color: var(--red); }
.map-section__intro { font-size: .9rem; line-height: 1.65; margin: 0; max-width: 290px; color: var(--muted); }
.map-section__locations { display: flex; flex-direction: column; }
.map-section__location {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 13px;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(223, 49, 27, .15);
    margin: 0;
    padding: 17px 0;
    width: 100%;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
}
.map-section__location:last-child { border-bottom: 1px solid rgba(223, 49, 27, .15); }
.map-section__location:hover .map-section__location-arrow { transform: translateX(4px); }
.map-section__location-dot { flex: 0 0 auto; width: 9px; height: 9px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 5px rgba(223, 49, 27, .07); }
.map-section__location strong { display: block; font-size: .82rem; font-weight: 700; line-height: 1.4; }
.map-section__location small { display: block; font-size: .72rem; color: var(--muted); margin-top: 3px; }
.map-section__location-arrow { margin-left: auto; color: var(--red); font-size: 1.4rem; transition: transform 200ms ease; }
.map-section__hint { display: flex; align-items: center; gap: 7px; font-size: .72rem; color: var(--muted); margin: 18px 0 0; }
.map-section__hint svg { width: 15px; height: 15px; flex: 0 0 auto; }
.map-section__noscript { font-size: .85rem; margin: 20px 0 0; color: var(--muted); }

.map-section__visual { position: relative; min-width: 0; }
.map-section__stage { position: relative; width: 100%; aspect-ratio: 900 / 620; }
.map-section__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.map-section__region { fill: #efdfd7; stroke: var(--paper); stroke-width: 1.7; stroke-linejoin: round; }
.map-section__province { fill: var(--white); stroke: var(--red); stroke-width: 1.7; stroke-linejoin: round; }
.map-section__region-label { font: 500 .8rem var(--font-body); fill: #9c7970; letter-spacing: 1.3px; }
.map-section__province-label { font: 800 1.1rem var(--font-body); fill: var(--red); letter-spacing: 2px; }
.map-section__sea-label { font: 500 .72rem var(--font-body); fill: #b6a59b; letter-spacing: 3px; }

.map-section__point-layer { position: absolute; inset: 0; }
.map-section__point { position: absolute; width: 48px; height: 48px; transform: translate(-50%, -50%); padding: 0; background: transparent; border: 0; border-radius: 50%; z-index: 2; cursor: pointer; }
.map-section__point-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--red);
    border: 3px solid var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 1px var(--red), 0 3px 10px rgba(223, 49, 27, .12);
    transition: transform 200ms ease;
}
.map-section__point::before, .map-section__point::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(223, 49, 27, .33); border-radius: 50%; animation: map-point-ripple 3s ease-out infinite; }
.map-section__point::after { animation-delay: 1.5s; }
.map-section__point:hover .map-section__point-core, .map-section__point[aria-expanded="true"] .map-section__point-core { transform: translate(-50%, -50%) scale(1.18); }
.map-section__point-label { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); background: var(--white); padding: 4px 9px; border-radius: 5px; white-space: nowrap; box-shadow: 0 2px 10px rgba(93, 41, 20, .04); font-size: .75rem; line-height: 1.2; font-weight: 800; color: var(--red); }

.map-card {
    position: absolute;
    z-index: 5;
    width: 286px;
    max-width: calc(100% - 20px);
    left: var(--map-card-left, 54%);
    top: var(--map-card-top, 18%);
    padding: 25px 24px 23px;
    background: var(--white);
    border: 1px solid rgba(223, 49, 27, .08);
    border-radius: 18px;
    box-shadow: var(--shadow);
    animation: map-card-in 220ms ease-out;
}
.map-card::before { content: ""; position: absolute; left: -7px; top: 74px; width: 12px; height: 12px; background: var(--white); border-left: 1px solid rgba(223, 49, 27, .08); border-bottom: 1px solid rgba(223, 49, 27, .08); transform: rotate(45deg); }
.map-card__close { display: grid; place-items: center; position: absolute; right: 10px; top: 9px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--paper); color: var(--muted); font-size: 1.35rem; line-height: 1; cursor: pointer; }
.map-card__kicker { font-size: .68rem; color: var(--red); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 9px; padding-right: 20px; }
.map-card__title { font-weight: 800; letter-spacing: -.035em; font-size: 1.7rem; line-height: 1.1; margin: 0 0 4px; }
.map-card__subtitle { font-size: .72rem; color: var(--muted); margin: 0 0 20px; }
.map-card__address { font-style: normal; font-size: .78rem; color: var(--muted); line-height: 1.65; margin: 0 0 15px; white-space: pre-line; }
.map-card__contact { display: block; width: fit-content; color: var(--muted); font-size: .78rem; text-decoration: none; margin: 4px 0; overflow-wrap: anywhere; }
.map-card__contact:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-card__directions { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--red); color: var(--white); text-decoration: none; border-radius: 999px; padding: 11px 15px; font-size: .78rem; font-weight: 700; margin-top: 22px; transition: background 200ms ease; }
.map-card__directions:hover { background: var(--red-dark); color: var(--white); }

@keyframes map-point-ripple { 0% { transform: scale(.5); opacity: .85; } 85%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes map-card-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

.ig-feed { --container: min(1560px, calc(100vw - 48px)); }
.ig-feed__follow { margin-top: 18px; }

.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.recipe-card {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 220ms ease;
    font: inherit;
    color: inherit;
}
.recipe-card:hover { transform: translateY(-4px); }
.recipe-card__visual { display: block; aspect-ratio: 4 / 3; background: var(--paper); }
.recipe-card__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-card__body { display: block; padding: 22px 24px 26px; }
.recipe-card__flour { display: block; margin-bottom: 8px; color: var(--red); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.recipe-card__title { display: block; margin-bottom: 6px; font-family: var(--font-title); font-weight: 800; font-size: 1.4rem; letter-spacing: -.02em; }
.recipe-card__meta { display: block; color: var(--muted); font-size: .88rem; }

.recipe-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.recipe-modal[hidden] { display: none; }
.recipe-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 12, 6, .55); }
.recipe-modal__panel {
    position: relative;
    z-index: 1;
    width: min(880px, 100%);
    max-height: min(86vh, 900px);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.recipe-modal__scroll { max-height: min(86vh, 900px); overflow-y: auto; }
.recipe-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
}
.recipe-modal__image { height: 240px; background: var(--paper); }
.recipe-modal__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-modal__content { padding: clamp(28px, 4vw, 48px); }
.recipe-modal__content .eyebrow { color: var(--red); }
.recipe-modal__content h2 { margin-bottom: 10px; }
.recipe-modal__meta { margin-bottom: 18px; color: var(--muted); font-weight: 700; }
.recipe-modal__intro { margin-bottom: 32px; color: var(--muted); max-width: 640px; }
.recipe-modal__columns { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; margin-bottom: 32px; }
.recipe-modal__columns h3 { margin-bottom: 16px; font-size: 1.1rem; }
.recipe-modal__ingredients, .recipe-modal__steps { margin: 0; padding: 0; list-style: none; }
.recipe-modal__ingredients li { position: relative; padding: 0 0 12px 20px; color: var(--muted); }
.recipe-modal__ingredients li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.recipe-modal__steps { counter-reset: recipe-step; }
.recipe-modal__steps li { position: relative; padding: 0 0 20px 38px; color: var(--muted); counter-increment: recipe-step; }
.recipe-modal__steps li::before {
    content: counter(recipe-step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--paper-deep);
    color: var(--ink);
    font-weight: 800;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-gallery { background: var(--paper); --container: min(1560px, calc(100vw - 48px)); }
.showcase-gallery { padding-top: clamp(28px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 48px); }
.history-gallery__wrap { position: relative; }
.history-gallery__viewport { overflow: hidden; }
.history-gallery__track { display: flex; gap: 22px; will-change: transform; transition: transform 520ms cubic-bezier(.4,0,.2,1); }
.history-gallery__track.is-jumping { transition: none !important; }
.history-gallery__item {
    flex: 0 0 calc((100% - 44px) / 3);
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--black);
}
.history-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.history-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, background 180ms ease;
    z-index: 2;
}
.history-gallery__nav:hover { background: var(--red-dark); transform: translateY(-50%) scale(1.06); }
.history-gallery__nav--prev { left: -22px; }
.history-gallery__nav--next { right: -22px; }

.section-curve { display: block; margin-bottom: -1px; line-height: 0; background: var(--paper); }
.section-curve svg { display: block; width: 100%; height: 130px; }
.section-curve__fill { fill: var(--red); }
.section-curve__line { fill: none; stroke: url(#curve-gold); stroke-width: 16px; }

.site-footer { padding: 80px 0 24px; background: var(--red); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.45fr .7fr .7fr 1fr; gap: 60px; padding-bottom: 70px; }
.site-footer__brand img { width: 152px; height: auto; margin-bottom: 26px; }
.site-footer__brand p { max-width: 350px; color: rgba(255,255,255,.58); }
.site-footer__grid > div:not(.site-footer__brand), .site-footer address { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.site-footer__grid a, .site-footer__grid address span { color: rgba(255,255,255,.64); font-size: .9rem; transition: color 160ms ease; }
.site-footer__grid a:hover { color: var(--white); }
.footer-title { margin-bottom: 10px; color: var(--white); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.46); font-size: .76rem; }
.site-footer__martelletti { width: 86px; height: auto; }



.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-info { position: sticky; top: 140px; }
.contact-info h2 { margin-bottom: 24px; font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
.contact-info h3 { margin-bottom: 24px; font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.contact-info__lead { margin-bottom: 36px; max-width: 420px; font-size: 1.05rem; }
.contact-methods { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-methods > * { display: flex; flex-direction: column; gap: 5px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-methods span { color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-methods strong { font-size: 1rem; overflow-wrap: anywhere; }
.contact-methods a:hover strong { color: var(--red); }
.contact-form-wrap { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--paper); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field--hidden { position: absolute; left: -10000px; }
.form-field label { font-size: .8rem; font-weight: 800; }
.form-field label span { color: var(--muted); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; background: var(--white); color: var(--ink); padding: 14px 15px; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,43,29,.12); }
.contact-form .button { justify-self: start; }
.form-privacy { align-self: center; margin: 0; color: var(--muted); font-size: .74rem; }
.form-notice { margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; font-weight: 700; }
.form-notice--success { background: #e4f6e7; color: #155f25; }
.form-notice--error { background: #ffe6e3; color: #8e1e16; }

.error-page { min-height: 650px; display: grid; place-items: center; padding: 100px 0; text-align: center; background: var(--paper); }
.error-page__inner { position: relative; }
.error-page__inner > span:first-child { display: block; margin-bottom: -30px; font-size: clamp(8rem, 22vw, 18rem); line-height: .8; font-weight: 900; color: var(--paper-deep); letter-spacing: -.09em; }
.error-page h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 5vw, 5rem); }
.error-page__inner > p:not(.eyebrow) { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.65,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.proof-strip__grid > .reveal:nth-child(1) { transition-delay: 0ms; }
.proof-strip__grid > .reveal:nth-child(2) { transition-delay: 80ms; }
.proof-strip__grid > .reveal:nth-child(3) { transition-delay: 160ms; }
.proof-strip__grid > .reveal:nth-child(4) { transition-delay: 240ms; }
.audience-grid > .reveal:nth-child(2) { transition-delay: 100ms; }
.product-grid > .reveal:nth-child(2) { transition-delay: 60ms; }
.product-grid > .reveal:nth-child(3) { transition-delay: 120ms; }
.product-grid > .reveal:nth-child(4) { transition-delay: 180ms; }
.product-grid > .reveal:nth-child(5) { transition-delay: 240ms; }
.product-grid > .reveal:nth-child(6) { transition-delay: 300ms; }
.product-grid > .reveal:nth-child(7) { transition-delay: 360ms; }

@media (max-width: 1080px) {
    .site-header__inner { grid-template-columns: 130px 1fr auto; gap: 18px; }
    .primary-nav { gap: 19px; }
    .primary-nav a { font-size: .82rem; }
    .product-card__visual { min-height: 380px; }
    .product-card__visual img { height: 320px; }
    .history-split__timeline { padding: 70px; }
    .site-footer__grid { grid-template-columns: 1.2fr .7fr .7fr; }
    .site-footer address { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
    :root { --container: min(100% - 36px, 760px); --radius: 22px; }
    .history-gallery__item { flex-basis: calc((100% - 22px) / 2); }
    .topbar__inner span { display: none; }
    .topbar__inner { justify-content: center; }
    .site-header__inner { min-height: 76px; grid-template-columns: 1fr auto; }
    .brand { width: 108px; }
    .brand img { width: 108px; }
    .header-cta { display: none; }
    .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; border-radius: 50%; background: var(--black); cursor: pointer; }
    .menu-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav { position: fixed; z-index: 90; inset: 110px 0 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 36px 24px; background: var(--white); transform: translateX(100%); transition: transform 260ms ease; }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
    .primary-nav a::after { display: none; }
    .hero { min-height: 720px; }
    .hero__shade { background: linear-gradient(90deg, rgba(20,8,2,.92), rgba(20,8,2,.34)); }
    .hero::before { width: 100%; }
    .hero__content { padding-top: 80px; }
    .hero__lead { max-width: 540px; }
    .proof-strip__grid { grid-template-columns: 1fr 1fr; }
    .section-heading--split { grid-template-columns: 1fr; gap: 28px; }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { min-height: 560px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .history-split { grid-template-columns: 1fr; min-height: auto; }
    .history-split__story { min-height: 520px; }
    .process-heading { grid-template-columns: 1fr; gap: 32px; }
    .process-heading__image { order: -1; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
    .process-steps::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 58px; }
    .contact-info { position: static; }
    .recipe-grid { grid-template-columns: 1fr 1fr; }
    .recipe-modal__columns { gap: 28px; }
    .map-section__shell { grid-template-columns: 240px minmax(0, 1fr); gap: 12px; }
    .map-card { width: 250px; padding: 23px 19px; left: auto !important; right: 0; top: 6% !important; }
    .map-card::before { display: none; }
}

@media (max-width: 640px) {
    :root { --container: calc(100% - 28px); }
    .section { padding: 76px 0; }
    .history-gallery__item { flex-basis: 82%; }
    .history-gallery__nav { width: 42px; height: 42px; }
    .history-gallery__nav--prev { left: 4px; }
    .history-gallery__nav--next { right: 4px; }
    .hero { min-height: 690px; }
    .hero__media img { object-position: 63% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(24,9,2,.92), rgba(24,9,2,.44)); }
    .hero__content { padding: 72px 0 112px; }
    .hero__content h1 { font-size: clamp(3.55rem, 17vw, 5rem); }
    .hero__actions { flex-direction: column; align-items: stretch; max-width: 330px; }
    .proof-strip__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .audience-card { min-height: 520px; }
    .audience-card__content { padding: 28px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card__visual { min-height: 390px; }
    .process-steps { grid-template-columns: 1fr; gap: 32px; }
    .recipe-grid { grid-template-columns: 1fr; }
    .recipe-modal { padding: 0; }
    .recipe-modal__panel { width: 100%; max-height: 100vh; height: 100vh; border-radius: 0; }
    .recipe-modal__scroll { max-height: 100vh; }
    .recipe-modal__columns { grid-template-columns: 1fr; gap: 28px; }
    .product-card__body p:not(.eyebrow) { min-height: 0; }
    .history-split__story { min-height: 460px; }
    .history-split__shade { background: linear-gradient(180deg, rgba(247,245,241,.6) 0%, var(--paper) 18%, var(--paper) 82%, rgba(247,245,241,.6) 100%); }
    .story-block__copy { padding: 62px 24px 40px; align-self: flex-end; }
    .history-split__timeline { padding: 56px 24px; }
    .section-curve svg { height: 64px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer address { grid-column: 1 / -1; }
    .site-footer__bottom { flex-direction: column; }
    .contact-form { grid-template-columns: 1fr; }
    .form-field--full { grid-column: auto; }
    .contact-form .button { width: 100%; }
    .form-privacy { text-align: center; }
    .map-section__shell { display: block; }
    .map-section__copy { max-width: 450px; }
    .map-section__heading { max-width: 400px; font-size: 2.35rem; }
    .map-section__intro { max-width: 380px; }
    .map-section__locations, .map-section__hint { max-width: 380px; }
    .map-section__visual { margin-top: 20px; }
    .map-section__stage { max-width: 600px; margin: 0 auto; }
    .map-card { position: relative; left: auto !important; top: auto !important; margin: 18px auto 0; width: 100%; max-width: 380px; padding: 24px; }
    .map-card::before { display: none; }
    .map-section__region-label { display: none; }
    .map-section__province-label { font-size: 1.5rem; }
    .map-section__sea-label { font-size: 1.05rem; }
    .map-card__title { font-size: 1.75rem; }
    .map-card__address, .map-card__contact { font-size: .88rem; }
    .map-card__directions { font-size: .88rem; padding: 13px 16px; }
    .map-card__close { width: 42px; height: 42px; }
}

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