:root {
  color-scheme: light;
  --burgundy: #4b2026;
  --burgundy-deep: #2f1116;
  --off-white: #f2eadf;
  --paper: #f7f1e9;
  --ember: #c56a2d;
  --ink: #26191a;
  --line-light: rgba(242, 234, 223, 0.22);
  --line-dark: rgba(75, 32, 38, 0.2);
  --sans: "Helvetica Neue", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  --serif: Marcellus, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --shell: min(1280px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--burgundy); }
body { margin: 0; color: var(--ink); background: var(--off-white); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(5.5rem, 10vw, 9rem) 0; }
.skip-link { position: fixed; z-index: 1000; top: 1rem; left: 1rem; padding: 0.65rem 1rem; color: var(--burgundy); background: var(--off-white); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--off-white); transition: background 250ms ease, border-color 250ms ease; }
.site-header.scrolled { background: rgba(75, 32, 38, 0.96); border-bottom: 1px solid var(--line-light); backdrop-filter: blur(14px); }
.header-inner { min-height: 5.6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { width: clamp(9rem, 15vw, 13rem); flex: 0 0 auto; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.5rem); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; }
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; padding: 0.65rem 0; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--off-white); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.nav-cta { padding: 0.75rem 1rem; border: 1px solid rgba(242, 234, 223, 0.5); transition: color 180ms ease, background 180ms ease; }
.nav-cta:hover, .nav-cta:focus-visible { color: var(--burgundy); background: var(--off-white); }
.menu-toggle { display: none; border: 0; background: none; }

.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--off-white); background: var(--burgundy); }
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
.hero-image { position: absolute; inset: 0 0 0 42%; background-image: linear-gradient(90deg, var(--burgundy) 0%, rgba(75, 32, 38, 0.45) 32%, rgba(47, 17, 22, 0.16) 100%), url("assets/moltenza-roastery-hero.jpg"); background-size: cover; background-position: center right; opacity: 0.9; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 9, 12, 0.2), transparent 35%, rgba(30, 9, 12, 0.36)); pointer-events: none; }
.heat-line { position: absolute; width: 42vw; height: 42vw; min-width: 450px; min-height: 450px; border: 1px solid rgba(197, 106, 45, 0.25); border-radius: 50%; filter: blur(0.2px); }
.heat-line-one { right: -15vw; top: 12vh; }
.heat-line-two { right: -8vw; top: 21vh; transform: scale(0.72); }
.hero-grid { position: relative; z-index: 2; min-height: calc(100svh - 5rem); padding-top: clamp(9rem, 17vh, 13rem); padding-bottom: 8rem; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr); gap: 4rem; align-items: end; }
.hero-copy { max-width: 55rem; align-self: center; }
.eyebrow, .section-index { margin: 0 0 1.5rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow { color: #e09a68; }
.hero h1, .section h2, .manifesto h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; line-height: 0.96; text-wrap: balance; }
.hero h1 { max-width: 13ch; font-size: clamp(3.2rem, 6.7vw, 6.9rem); }
.hero-lead { max-width: 38rem; margin: 2.25rem 0 0; font-size: clamp(1.08rem, 1.7vw, 1.32rem); line-height: 1.55; color: rgba(242, 234, 223, 0.82); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem 2rem; margin-top: 2.6rem; }
.button { min-height: 3.5rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; padding: 0.9rem 1.35rem; border: 0; text-decoration: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; cursor: pointer; transition: transform 180ms ease, color 180ms ease, background 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-ember { color: #fff9f2; background: var(--ember); }
.button-ember:hover, .button-ember:focus-visible { color: var(--burgundy); background: var(--off-white); }
.text-link { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.5rem 0; text-decoration: none; font-size: 0.9rem; font-weight: 600; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.hero-signature { align-self: center; display: grid; justify-items: end; gap: 0.1rem; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.8rem); line-height: 1.15; color: rgba(242, 234, 223, 0.82); }
.hero-signature span:nth-child(2) { color: #e09a68; }
.trust-strip { position: absolute; z-index: 3; inset: auto 0 0; min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.trust-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--ember); }

.statement { background: var(--off-white); }
.statement-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; }
.section-index { color: var(--ember); }
.statement h2, .section-heading h2, .founder h2, .request h2 { font-size: clamp(2.8rem, 5.5vw, 5.6rem); }
.large-copy { max-width: 46rem; margin: 2.2rem 0 0; font-size: clamp(1.35rem, 2.5vw, 2.15rem); line-height: 1.42; letter-spacing: -0.025em; }
.value-grid { margin-top: clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.value-card { min-height: 21rem; padding: 1.5rem 1.4rem 2rem; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.value-card:last-child { border-right: 0; }
.card-number { font-family: var(--serif); font-size: 1.1rem; color: var(--ember); }
.value-card h3 { margin: auto 0 0.8rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; line-height: 1.2; }
.value-card p { margin: 0; color: rgba(38, 25, 26, 0.68); font-size: 0.92rem; line-height: 1.65; }

.collection { color: var(--off-white); background: var(--burgundy-deep); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; }
.section-heading > div { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 0.8fr); gap: 4rem; align-items: end; }
.section-heading p:not(.section-index) { max-width: 29rem; margin: 0; color: rgba(242, 234, 223, 0.68); }
.blend-list { margin-top: 5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.blend-card { min-height: 34rem; padding: 1.5rem; display: flex; flex-direction: column; overflow: hidden; color: var(--off-white); background: var(--burgundy); border: 1px solid rgba(242, 234, 223, 0.18); }
.blend-card-light { color: var(--burgundy); background: var(--off-white); }
.blend-card-ember { color: #fff9f2; background: var(--ember); }
.blend-topline { display: flex; align-items: baseline; justify-content: space-between; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.blend-topline strong { font-family: var(--serif); font-size: 2.8rem; font-weight: 400; letter-spacing: -0.04em; }
.blend-mark { margin: auto; font-family: var(--serif); font-size: clamp(10rem, 17vw, 16rem); line-height: 1; opacity: 0.88; transform: scaleX(1.08); }
.blend-footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid currentColor; }
.blend-footer p { margin: 0 0 0.25rem; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.62; }
.blend-footer span { font-size: 0.82rem; }
.blend-footer a { max-width: 8rem; text-align: right; font-size: 0.78rem; font-weight: 700; text-decoration: none; line-height: 1.4; }

.process { background: var(--paper); }
.process .section-heading p:not(.section-index) { color: rgba(38, 25, 26, 0.68); }
.process-list { list-style: none; margin-top: 5rem; padding: 0; border-top: 1px solid var(--line-dark); }
.process-list li { display: grid; grid-template-columns: 0.5fr 1fr 1.5fr; gap: 2rem; align-items: center; min-height: 8.5rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-dark); }
.process-list li > span { font-family: var(--serif); font-size: 1.2rem; color: var(--ember); }
.process-list h3 { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 400; }
.process-list p { max-width: 34rem; margin: 0; color: rgba(38, 25, 26, 0.68); }

.manifesto { position: relative; padding: clamp(6rem, 13vw, 11rem) 0; overflow: hidden; color: var(--off-white); background: var(--burgundy); }
.manifesto::before { content: ""; position: absolute; width: 70vw; height: 70vw; left: -37vw; top: -22vw; border: 1px solid rgba(197, 106, 45, 0.26); border-radius: 50%; box-shadow: 0 0 0 10vw rgba(197, 106, 45, 0.035), 0 0 0 20vw rgba(197, 106, 45, 0.025); }
.manifesto-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(4rem, 10vw, 9rem); }
.manifesto h2 { max-width: 11ch; font-size: clamp(3rem, 6vw, 6rem); }
.manifesto-steps { border-top: 1px solid var(--line-light); }
.manifesto-steps article { padding: 1.6rem 0 2.2rem; border-bottom: 1px solid var(--line-light); }
.manifesto-steps article > span { color: #e09a68; font-family: var(--serif); font-size: 1.4rem; }
.manifesto-steps h3 { margin: 0.7rem 0 0.4rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.manifesto-steps p { max-width: 27rem; margin: 0; color: rgba(242, 234, 223, 0.68); }

.founder { background: var(--off-white); }
.founder-grid { display: grid; grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.15fr); gap: clamp(4rem, 10vw, 9rem); align-items: center; }
.founder-portrait { min-height: 39rem; padding: 2rem; color: var(--off-white); background: var(--burgundy); display: flex; flex-direction: column; justify-content: space-between; }
.founder-monogram { align-self: center; margin: auto 0; font-family: var(--serif); font-size: clamp(7rem, 14vw, 12rem); letter-spacing: -0.09em; line-height: 1; color: rgba(242, 234, 223, 0.92); }
.founder-caption { display: flex; align-items: end; justify-content: space-between; border-top: 1px solid var(--line-light); padding-top: 1rem; }
.founder-caption span { font-family: var(--serif); font-size: 1.35rem; }
.founder-caption small { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.founder-copy > p:not(.section-index):not(.founder-note) { max-width: 42rem; color: rgba(38, 25, 26, 0.72); font-size: 1.05rem; }
.founder-note { max-width: 35rem; margin: 2.5rem 0 0; padding: 1.5rem 0 0 1.5rem; border-top: 1px solid var(--line-dark); border-left: 3px solid var(--ember); font-family: var(--serif); font-size: 1.45rem; line-height: 1.45; }

.request { color: var(--off-white); background: var(--burgundy-deep); }
.request-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(26rem, 1.15fr); gap: clamp(4rem, 9vw, 8rem); align-items: start; }
.request-copy > p:not(.section-index) { max-width: 32rem; color: rgba(242, 234, 223, 0.7); }
.contact-links { margin-top: 3rem; border-top: 1px solid var(--line-light); }
.contact-links a { display: flex; flex-direction: column; padding: 1.15rem 0; border-bottom: 1px solid var(--line-light); text-decoration: none; }
.contact-links span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #e09a68; }
.contact-links strong { margin-top: 0.25rem; font-weight: 500; }
.request-form { padding: clamp(1.5rem, 4vw, 3rem); color: var(--ink); background: var(--off-white); }
.request-form label { display: grid; gap: 0.45rem; margin-bottom: 1.15rem; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.request-form input:not([type="checkbox"]), .request-form select, .request-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(75, 32, 38, 0.34); border-radius: 0; padding: 0.72rem 0; color: var(--ink); background: transparent; outline: none; font-size: 1rem; letter-spacing: normal; }
.request-form textarea { resize: vertical; }
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { border-bottom-color: var(--ember); box-shadow: 0 1px 0 var(--ember); }
.request-form .consent { grid-template-columns: 1.1rem 1fr; gap: 0.75rem; align-items: start; margin-top: 1.5rem; color: rgba(38, 25, 26, 0.72); font-size: 0.78rem; font-weight: 500; letter-spacing: 0; line-height: 1.55; }
.consent input { width: 1rem; height: 1rem; margin: 0.25rem 0 0; accent-color: var(--ember); }
.inline-legal { display: inline; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; cursor: pointer; }
.submit-button { width: 100%; margin-top: 0.7rem; }
.submit-button:hover { color: #fff9f2; background: var(--burgundy); }
.form-hint, .form-status { margin: 0.8rem 0 0; color: rgba(38, 25, 26, 0.58); font-size: 0.76rem; }
.form-status { color: var(--burgundy); font-weight: 700; }

.site-footer { padding: 4rem 0 1.7rem; color: var(--off-white); background: var(--burgundy); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-bottom: 4rem; }
.footer-top > img { width: min(26rem, 48vw); }
.footer-call { display: grid; min-width: min(100%, 22rem); padding: 1.2rem 0; text-decoration: none; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.footer-call span { color: rgba(242, 234, 223, 0.62); font-size: 0.75rem; }
.footer-call strong { font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.footer-bottom { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: end; padding-top: 1.5rem; border-top: 1px solid var(--line-light); font-size: 0.75rem; color: rgba(242, 234, 223, 0.68); }
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-legal { display: flex; gap: 1rem; }
.footer-legal button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.floating-whatsapp { position: fixed; z-index: 90; right: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.65rem; min-height: 3.2rem; padding: 0.55rem 1rem 0.55rem 0.55rem; color: var(--off-white); background: var(--burgundy); border: 1px solid rgba(242, 234, 223, 0.32); border-radius: 3rem; text-decoration: none; box-shadow: 0 12px 30px rgba(38, 25, 26, 0.22); opacity: 0; pointer-events: none; transform: translateY(1rem); transition: opacity 180ms ease, transform 180ms ease; }
.floating-whatsapp.visible { opacity: 1; pointer-events: auto; transform: none; }
.floating-whatsapp span { width: 2rem; height: 2rem; display: grid; place-items: center; color: var(--burgundy); background: var(--off-white); border-radius: 50%; font-family: var(--serif); }
.floating-whatsapp strong { font-size: 0.75rem; letter-spacing: 0.05em; }

.legal-dialog { width: min(42rem, calc(100vw - 2rem)); max-height: min(80vh, 44rem); margin: auto; padding: 0; color: var(--ink); background: var(--off-white); border: 0; box-shadow: 0 30px 80px rgba(20, 6, 8, 0.5); }
.legal-dialog::backdrop { background: rgba(25, 7, 10, 0.76); backdrop-filter: blur(3px); }
.dialog-header { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 1.6rem; background: var(--off-white); border-bottom: 1px solid var(--line-dark); }
.dialog-header h2 { margin: 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }
.dialog-header button { width: 2.5rem; height: 2.5rem; border: 1px solid var(--line-dark); border-radius: 50%; background: none; font-size: 1.7rem; cursor: pointer; }
.dialog-content { padding: 1.2rem 1.6rem 2rem; color: rgba(38, 25, 26, 0.76); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .menu-toggle { z-index: 2; display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0; color: var(--off-white); cursor: pointer; }
  .menu-toggle-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .menu-toggle-lines { width: 1.5rem; display: grid; gap: 0.35rem; }
  .menu-toggle-lines i { height: 1px; display: block; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; padding: 8rem 1.4rem 3rem; display: none; align-content: start; align-items: stretch; background: var(--burgundy); }
  .site-nav.open { display: grid; }
  .site-nav a { width: min(100%, 760px); margin-inline: auto; padding: 0.85rem 0; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; letter-spacing: 0; border-bottom: 1px solid var(--line-light); }
  .site-nav .nav-cta { margin-top: 1rem; padding: 0.85rem 1rem; text-align: center; font-family: var(--sans); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; border: 1px solid rgba(242, 234, 223, 0.5); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { align-self: end; }
  .hero-signature { display: none; }
  .hero-image { inset: 0 0 20% 25%; opacity: 0.62; }
  .statement-grid, .section-heading, .manifesto-grid, .founder-grid, .request-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-heading > div { grid-template-columns: 1fr; gap: 1.6rem; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2) { border-right: 0; }
  .value-card:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .blend-list { grid-template-columns: 1fr; }
  .blend-card { min-height: 29rem; }
  .blend-mark { font-size: 13rem; }
  .founder-portrait { min-height: 31rem; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 32px); }
  .section { padding: 4.8rem 0; }
  .header-inner { min-height: 4.8rem; }
  .brand { width: 9.5rem; }
  .hero-grid { min-height: 100svh; padding-top: 8rem; padding-bottom: 7.5rem; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-image { inset: 0 -35% 27% 10%; opacity: 0.5; }
  .heat-line { right: -80vw; }
  .trust-strip { min-height: 4.7rem; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 0.2rem 1rem; }
  .trust-strip i { display: none; }
  .trust-strip span { font-size: 0.62rem; }
  .statement h2, .section-heading h2, .founder h2, .request h2 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .large-copy { font-size: 1.25rem; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 15rem; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .value-card:last-child { border-bottom: 0; }
  .value-card h3 { margin-top: 4rem; }
  .blend-card { min-height: 26rem; }
  .blend-mark { font-size: 10rem; }
  .blend-footer { align-items: start; }
  .process-list li { grid-template-columns: 2.8rem 1fr; gap: 0.5rem 1rem; padding: 1.6rem 0; }
  .process-list li p { grid-column: 2; }
  .manifesto h2 { font-size: clamp(2.6rem, 13vw, 4.2rem); }
  .founder-portrait { min-height: 25rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .request-grid { gap: 3rem; }
  .footer-top { align-items: stretch; flex-direction: column; }
  .footer-top > img { width: 17rem; }
  .footer-bottom { grid-template-columns: 1fr; align-items: start; }
  .floating-whatsapp { right: 0.8rem; bottom: 0.8rem; }
  .floating-whatsapp strong { display: none; }
  .floating-whatsapp { padding-right: 0.55rem; }
}
