:root {
  --ink: #17110e;
  --brown: #33231b;
  --roast: #70442c;
  --gold: #c59a63;
  --cream: #f6f0e6;
  --beige: #e9decd;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --side: clamp(1.25rem, 5vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); overflow-x: hidden; }
body.menu-open, body.modal-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.skip-link { position: fixed; z-index: 999; top: .75rem; left: .75rem; transform: translateY(-150%); background: var(--gold); padding: .8rem 1rem; color: var(--ink); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.section-pad { padding: clamp(5rem, 9vw, 9rem) var(--side); }
.section-kicker, .eyebrow { margin: 0 0 1.3rem; color: var(--roast); font-size: .72rem; font-weight: 700; letter-spacing: .21em; text-transform: uppercase; }
.section-kicker::before { content: ""; display: inline-block; width: 2.8rem; height: 1px; margin: 0 .8rem .2rem 0; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; }
h2 { margin-bottom: 1.5rem; font-size: clamp(3rem, 6vw, 6.8rem); line-height: .91; }
h1 em, h2 em { color: var(--gold); font-weight: 400; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 6.4rem; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--side); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.14); transition: height .35s, background .35s, box-shadow .35s; }
.site-header.scrolled { height: 4.8rem; background: rgba(23,17,14,.94); box-shadow: 0 10px 40px rgba(0,0,0,.16); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: .7rem; line-height: 1; }
.brand > span:last-child { display: grid; gap: .2rem; }
.brand strong { font-size: 1.08rem; letter-spacing: .12em; }
.brand small { font-size: .6rem; letter-spacing: .38em; }
.brand-mark { width: 2.15rem; height: 2.5rem; flex: 0 0 auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.2)); }
.brand-mark .bean-brown { fill: #784a2c; }
.brand-mark .bean-green { fill: #778d48; }
.brand-mark .bean-seam { fill: none; stroke: #f5ead8; stroke-width: 3; stroke-linecap: round; }
.header-social { display: flex; align-items: center; gap: .42rem; margin-left: auto; margin-right: clamp(.8rem, 1.6vw, 1.7rem); }
.header-social a { display: grid; place-items: center; width: 1.95rem; height: 1.95rem; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; color: rgba(255,255,255,.72); font-size: .54rem; font-weight: 800; letter-spacing: .04em; transition: border-color .3s, background .3s, color .3s, transform .3s; }
.header-social a:hover { transform: translateY(-2px); border-color: var(--gold); background: var(--gold); color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.2rem); font-size: .78rem; }
.site-nav > a:not(.nav-order) { position: relative; padding: 1.2rem 0; color: rgba(255,255,255,.82); }
.site-nav > a:not(.nav-order)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: .75rem; height: 1px; background: var(--gold); transition: right .3s; }
.site-nav > a:hover::after, .site-nav > a[aria-current="true"]::after { right: 0; }
.nav-order { border: 1px solid rgba(197,154,99,.75); padding: .85rem 1.25rem; letter-spacing: .08em; text-transform: uppercase; transition: background .3s, color .3s; }
.nav-order:hover { background: var(--gold); color: var(--ink); }
.nav-social { display: none; }
.menu-toggle { display: none; width: 2.7rem; height: 2.7rem; padding: .55rem; border: 0; background: none; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: .36rem 0; background: currentColor; transition: transform .3s, opacity .3s; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; isolation: isolate; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-media { position: absolute; z-index: 0; inset: 0 0 0 auto; width: min(54vw, 58rem); margin: 0; overflow: hidden; background: #0f0a08; animation: hero-in 1.5s ease-out both; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: saturate(.88) contrast(1.04); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(23,17,14,.72) 12%, transparent 43%), linear-gradient(0deg, rgba(10,6,5,.55), transparent 40%); }
.hero-media figcaption { position: absolute; z-index: 2; right: clamp(1.2rem, 3vw, 3.2rem); bottom: 2.6rem; display: grid; gap: .28rem; padding-left: 1rem; border-left: 1px solid var(--gold); text-align: right; }
.hero-media figcaption span { color: var(--gold); font-size: .58rem; letter-spacing: .22em; }
.hero-media figcaption strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(12,8,6,.98) 0%, rgba(18,12,9,.96) 35%, rgba(18,12,9,.68) 51%, transparent 76%); }
.hero-grain { position: absolute; z-index: 1; inset: 0; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; width: min(50rem, 62vw); padding: 9rem var(--side) 7rem; }
.eyebrow { display: flex; align-items: center; gap: .85rem; color: var(--beige); }
.eyebrow span { width: 2.4rem; height: 1px; background: var(--gold); }
.hero h1 { margin-bottom: 1rem; font-size: clamp(3.7rem, 7.5vw, 8.2rem); line-height: .86; text-transform: uppercase; }
.hero h1 em { display: inline-block; font-size: .56em; text-transform: none; letter-spacing: -.025em; }
.hero-tagline { max-width: 19ch; margin: 0 0 1.65rem; color: var(--gold); font-family: var(--serif); font-size: clamp(1.85rem, 3.2vw, 3.35rem); font-style: italic; line-height: 1.08; letter-spacing: -.025em; }
.hero-copy { max-width: 42rem; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.4vw, 1.22rem); line-height: 1.7; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.4rem; min-height: 3.65rem; padding: .9rem 1.4rem; border: 1px solid transparent; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .3s, background .3s, border-color .3s; }
.button:hover { transform: translateY(-3px); }
.button-gold { background: var(--gold); color: var(--ink); }
.button-gold:hover { background: #d8b37e; }
.button-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-dark { background: var(--ink); color: var(--white); }
.hero-scroll { position: absolute; z-index: 2; left: var(--side); bottom: 2rem; display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.65); font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll i { width: 1px; height: 3rem; background: linear-gradient(var(--gold), transparent); }
.hero-note { position: absolute; z-index: 2; right: var(--side); bottom: 2.6rem; display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.55); font-family: var(--serif); font-size: .75rem; }
.hero-note i { display: block; width: 4rem; height: 1px; background: rgba(255,255,255,.35); }

.photo-story { overflow: hidden; background: #120c09; color: var(--white); }
.photo-story-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.photo-story-heading .section-kicker { color: var(--gold); }
.photo-story-heading h2 { max-width: 62rem; margin-bottom: 0; font-size: clamp(2.8rem, 5.4vw, 6rem); }
.photo-story-controls { display: grid; grid-template-columns: 3rem auto 3rem; align-items: center; gap: .8rem; flex: 0 0 auto; }
.photo-story-controls button { width: 3rem; height: 3rem; border: 1px solid rgba(197,154,99,.52); background: transparent; color: var(--gold); cursor: pointer; transition: background .25s, color .25s; }
.photo-story-controls button:hover { background: var(--gold); color: var(--ink); }
.photo-story-controls span { min-width: 4rem; color: rgba(255,255,255,.45); font-family: var(--serif); font-size: .75rem; text-align: center; }
.photo-story-controls b { color: var(--white); font-weight: 400; }
.photo-track { display: flex; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; touch-action: pan-x; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.photo-track::-webkit-scrollbar { display: none; }
.photo-card { position: relative; flex: 0 0 calc((100% - 3rem) / 4); aspect-ratio: 4 / 5; margin: 0; overflow: hidden; scroll-snap-align: start; background: #241710; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); filter: saturate(.86) contrast(1.03); transition: transform .8s ease, filter .5s; }
.photo-card:nth-child(2) img, .photo-card:nth-child(4) img { object-position: center; }
.photo-card:nth-child(3) img { transform: scale(1.14); }
.photo-card:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.02); }
.photo-card:nth-child(3):hover img { transform: scale(1.18); }
.photo-card figcaption { position: absolute; inset: auto 0 0; min-height: 5.8rem; display: grid; align-content: center; gap: .35rem; padding: 1rem 1.15rem; background: rgba(18,12,9,.94); }
.photo-card figcaption span { color: var(--gold); font-size: .58rem; letter-spacing: .2em; }
.photo-card figcaption strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; line-height: 1.25; }

.story { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(3.5rem, 9vw, 10rem); align-items: center; background: var(--cream); }
.story-visual { position: relative; max-width: 36rem; }
.image-frame { position: relative; margin: 0; padding: 0 0 3rem 3rem; }
.image-frame::before { content: ""; position: absolute; z-index: -1; left: 0; bottom: 0; width: 72%; height: 73%; background: var(--beige); }
.image-frame img { width: 100%; max-height: 45rem; object-fit: cover; object-position: center; filter: saturate(.84) contrast(1.04); }
.image-frame figcaption { position: absolute; right: -2.1rem; bottom: .8rem; display: grid; gap: .25rem; min-width: 15rem; padding: 1.1rem 1.35rem; background: var(--ink); color: var(--white); }
.image-frame figcaption span { color: var(--gold); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.image-frame figcaption strong { font-family: var(--serif); font-weight: 400; }
.story-seal { position: absolute; top: 1.6rem; left: .6rem; display: grid; place-items: center; width: 7.5rem; height: 7.5rem; border: 1px solid rgba(197,154,99,.65); border-radius: 50%; background: rgba(23,17,14,.9); color: var(--gold); text-align: center; font-size: .57rem; font-weight: 700; letter-spacing: .2em; line-height: 1.55; transform: rotate(-8deg); }
.story-seal i { font-style: normal; }
.story-copy { max-width: 43rem; }
.story-copy .lead { max-width: 38rem; margin-bottom: 1.5rem; color: var(--brown); font-family: var(--serif); font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.35; }
.story-copy > p:not(.section-kicker):not(.lead) { max-width: 38rem; color: #6d5c53; line-height: 1.8; }
.story-promise { display: flex; align-items: flex-start; gap: 1rem; margin-top: 2.3rem; padding-top: 1.7rem; border-top: 1px solid #d7c9b5; }
.story-promise > span { color: var(--gold); font-family: var(--serif); font-size: 4rem; line-height: .75; }
.story-promise p { margin: 0; font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; }

.products { background: var(--ink); color: var(--white); }
.section-heading { display: grid; grid-template-columns: 1.2fr .6fr; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.section-heading .section-kicker, .film-heading .section-kicker, .contact .section-kicker { color: var(--gold); }
.section-heading > p { max-width: 30rem; color: rgba(255,255,255,.58); line-height: 1.8; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.product-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(16rem, .94fr); min-height: 38rem; background: var(--cream); color: var(--ink); overflow: hidden; transition: transform .5s, box-shadow .5s; }
.product-card:hover { transform: translateY(-7px); box-shadow: 0 28px 80px rgba(0,0,0,.33); }
.product-card-dark { background: #261a15; color: var(--white); }
.product-number { position: absolute; z-index: 2; top: 1.5rem; left: 1.5rem; color: var(--gold); font-family: var(--serif); font-size: .8rem; }
.product-image { position: relative; min-height: 28rem; overflow: hidden; background: #1b120e; }
.product-image-light { background: #ebe3d8; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .7s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-label { position: absolute; z-index: 2; right: 1rem; top: 1rem; padding: .55rem .7rem; background: rgba(23,17,14,.8); color: var(--white); font-size: .57rem; letter-spacing: .16em; text-transform: uppercase; backdrop-filter: blur(8px); }
.product-info { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 3.5vw, 3.8rem); }
.product-info > div:first-child > p { margin-bottom: .25rem; color: var(--gold); font-size: .65rem; letter-spacing: .26em; }
.product-info h3 { margin-bottom: 1.4rem; font-family: var(--serif); font-size: clamp(2.1rem, 3vw, 3.7rem); font-weight: 400; line-height: 1; }
.product-description { color: #6b5d54; font-size: .9rem; line-height: 1.75; }
.product-card-dark .product-description { color: rgba(255,255,255,.58); }
.product-info ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.7rem; padding: 0; list-style: none; }
.product-info li { padding: .45rem .7rem; border: 1px solid rgba(112,68,44,.28); color: var(--roast); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.product-card-dark .product-info li { border-color: rgba(197,154,99,.3); color: var(--gold); }
.product-actions { display: grid; gap: 1rem; margin-top: auto; }
.text-button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .9rem 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-align: left; text-transform: uppercase; cursor: pointer; }
.text-button span { color: var(--gold); }
.wa-link { color: var(--roast); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-decoration: underline; text-underline-offset: 4px; }
.product-card-dark .wa-link { color: var(--gold); }
.product-disclaimer { margin: 1.5rem 0 0; color: rgba(255,255,255,.45); font-size: .7rem; }

.experience { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 7vw, 8rem); background: var(--beige); }
.experience-intro { position: sticky; top: 8rem; align-self: start; }
.experience-intro p:last-child { max-width: 31rem; color: #6f5e54; line-height: 1.75; }
.experience-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #ccbca5; border-left: 1px solid #ccbca5; }
.experience-item { position: relative; min-height: 20rem; padding: 2.4rem 2rem 2rem; border-right: 1px solid #ccbca5; border-bottom: 1px solid #ccbca5; transition: background .35s, color .35s; }
.experience-item:hover { background: var(--ink); color: var(--white); }
.experience-item > span { position: absolute; top: 1.1rem; right: 1.2rem; color: var(--roast); font-family: var(--serif); font-size: .7rem; }
.experience-item:hover > span { color: var(--gold); }
.experience-item h3 { margin: 1.7rem 0 .7rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.experience-item p { margin: 0; color: #78675c; font-size: .82rem; line-height: 1.65; }
.experience-item:hover p { color: rgba(255,255,255,.6); }
.cup { position: relative; width: 4.8rem; height: 3.2rem; margin-top: 1.6rem; border: 1.5px solid var(--roast); border-top: 0; border-radius: 0 0 1.9rem 1.9rem; transition: border-color .35s; }
.cup::after { content: ""; position: absolute; right: -1.2rem; top: .45rem; width: 1.25rem; height: 1.5rem; border: 1.5px solid var(--roast); border-left: 0; border-radius: 0 1rem 1rem 0; }
.cup::before { content: ""; position: absolute; top: -.35rem; left: 8%; width: 84%; height: .65rem; border-radius: 50%; background: var(--roast); }
.experience-item:hover .cup, .experience-item:hover .cup::after { border-color: var(--gold); }
.experience-item:hover .cup::before { background: var(--gold); }
.cup-short { width: 3.7rem; height: 2.4rem; }
.cup-foam::before { height: 1rem; top: -.6rem; background: transparent; border: 1px dashed var(--roast); }
.cup-tall { width: 3.2rem; height: 5rem; border-radius: 0 0 1rem 1rem; }
.cup-long { width: 5.6rem; height: 3.8rem; }
.cup-ristretto { width: 3.2rem; height: 1.8rem; }
.cup-crema::before { height: .35rem; top: -.2rem; background: var(--gold); }

.film-section { background: #201510; color: var(--white); }
.film-heading { display: grid; grid-template-columns: 1fr .58fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.film-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -1rem; }
.film-heading h2 { margin: 0; }
.film-heading > p:last-child { color: rgba(255,255,255,.55); line-height: 1.8; }
.film-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.film-card { position: relative; aspect-ratio: 9 / 13; overflow: hidden; background: #0c0806; }
.film-card video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; filter: brightness(.7) saturate(.85); transition: transform .6s, filter .4s; }
.film-card:hover video, .film-card.is-playing video { transform: scale(1.025); filter: brightness(.92) saturate(1); }
.film-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 1.3rem; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%, rgba(0,0,0,.65)); }
.film-overlay > span { color: var(--gold); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.film-overlay p { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.play-button { align-self: center; width: 4rem; height: 4rem; padding-left: .3rem; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(20,13,10,.25); color: var(--white); cursor: pointer; pointer-events: auto; backdrop-filter: blur(7px); transition: transform .3s, background .3s; }
.play-button:hover { transform: scale(1.08); background: var(--gold); color: var(--ink); }
.expand-video { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; width: 2.5rem; height: 2.5rem; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: var(--white); cursor: pointer; }
.film-nav { display: none; }

.journey { position: relative; background: var(--cream); }
.journey-heading { max-width: 57rem; margin: 0 auto 5rem; text-align: center; }
.journey-heading .section-kicker::before { display: none; }
.journey-line { position: absolute; left: 21%; right: 21%; top: 61%; height: 1px; background: #d5c5b0; }
.journey-line span { display: block; width: 48%; height: 1px; background: var(--gold); }
.journey-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 6vw, 7rem); }
.journey-step { text-align: center; }
.step-no { display: inline-block; margin-bottom: 1.4rem; color: var(--roast); font-family: var(--serif); font-size: .7rem; }
.step-icon { position: relative; z-index: 2; display: grid; place-items: center; width: 6rem; height: 6rem; margin: 0 auto 1.7rem; border: 1px solid var(--gold); border-radius: 50%; background: var(--cream); }
.journey-step h3 { margin-bottom: .9rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.journey-step p { margin: 0 auto; max-width: 19rem; color: #76665b; font-size: .85rem; line-height: 1.7; }
.bean-icon { width: 1.7rem; height: 2.35rem; border: 1.5px solid var(--roast); border-radius: 55% 45% 55% 45%; transform: rotate(35deg); }
.bean-icon::after { content: ""; position: absolute; width: 1px; height: 1.7rem; background: var(--roast); transform: translate(.75rem,.25rem) rotate(-12deg); }
.roast-icon { display: flex; align-items: center; justify-content: center; gap: .3rem; }
.roast-icon i { width: .6rem; height: 2.1rem; border-left: 1.5px solid var(--roast); border-radius: 50%; transform: rotate(10deg); }
.cup-icon::before { content: ""; width: 2.4rem; height: 1.6rem; border: 1.5px solid var(--roast); border-top: 0; border-radius: 0 0 1.4rem 1.4rem; }
.cup-icon::after { content: ""; position: absolute; right: 1.35rem; top: 2.25rem; width: .75rem; height: .8rem; border: 1.5px solid var(--roast); border-left: 0; border-radius: 0 1rem 1rem 0; }

.social { background: var(--beige); }
.social-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.social-heading h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5.6rem); }
.social-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 1rem; }
.social-grid a { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.social-grid a:nth-child(2) { margin-top: 3rem; }
.social-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .5s; }
.social-grid a:hover img { transform: scale(1.045); filter: brightness(.65); }
.social-grid span { position: absolute; inset: auto 1.2rem 1.2rem; display: flex; justify-content: space-between; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.5); color: var(--white); font-family: var(--serif); opacity: 0; transform: translateY(1rem); transition: opacity .35s, transform .35s; }
.social-grid a:hover span { opacity: 1; transform: none; }
.social-grid i { color: var(--gold); font-style: normal; }
.social-platforms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 3rem; border-top: 1px solid rgba(112,68,44,.24); border-left: 1px solid rgba(112,68,44,.24); }
.social-platforms a { position: relative; display: grid; gap: .35rem; min-height: 8.5rem; padding: 1.5rem; border-right: 1px solid rgba(112,68,44,.24); border-bottom: 1px solid rgba(112,68,44,.24); transition: background .3s, color .3s; }
.social-platforms a:hover { background: var(--ink); color: var(--white); }
.social-platforms span { color: var(--roast); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.social-platforms a:hover span { color: var(--gold); }
.social-platforms strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; }
.social-platforms i { position: absolute; right: 1.25rem; bottom: 1.1rem; color: var(--gold); font-style: normal; }

.contact { position: relative; min-height: 46rem; display: grid; place-items: center; isolation: isolate; background: var(--ink); color: var(--white); overflow: hidden; }
.contact-backdrop { position: absolute; z-index: -2; inset: 0; background: url("assets/images/esperta-espresso-front.jpeg") center 42% / cover no-repeat; filter: blur(1px); transform: scale(1.04); }
.contact::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(23,17,14,.97) 0%, rgba(23,17,14,.84) 50%, rgba(23,17,14,.62)); }
.contact-inner { width: 100%; }
.contact h2 { max-width: 60rem; margin-bottom: 1rem; }
.contact-inner > p:not(.section-kicker) { max-width: 38rem; color: rgba(255,255,255,.62); line-height: 1.7; }
.contact address { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 2rem; margin-top: 5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); font-style: normal; }
.contact address div { display: grid; gap: .65rem; align-content: start; }
.contact address span { color: var(--gold); font-size: .62rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.contact address p, .contact address a { margin: 0; color: rgba(255,255,255,.8); font-family: var(--serif); line-height: 1.55; }
.contact address a[href^="mailto:"] { overflow-wrap: anywhere; }

.site-footer { background: #0d0907; color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; padding: 5rem var(--side); }
.footer-brand p { margin: 1.2rem 0 0; color: var(--gold); font-family: var(--serif); font-size: 1.05rem; }
.footer-main h3 { margin-bottom: 1.2rem; color: var(--gold); font-size: .63rem; letter-spacing: .17em; text-transform: uppercase; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.footer-main a, .footer-main p { margin: 0; color: rgba(255,255,255,.56); font-size: .78rem; line-height: 1.75; }
.footer-main a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding: 1.4rem var(--side); border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: .66rem; letter-spacing: .06em; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--gold); letter-spacing: .14em; }
.floating-wa { position: fixed; z-index: 90; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #25d366; box-shadow: 0 10px 35px rgba(0,0,0,.28); transition: transform .3s; }
.floating-wa:hover { transform: translateY(-4px) scale(1.04); }
.floating-wa svg { width: 1.65rem; fill: #fff; }

dialog { padding: 0; border: 1px solid rgba(197,154,99,.35); background: #140d0a; color: var(--white); box-shadow: 0 30px 100px rgba(0,0,0,.6); }
dialog::backdrop { background: rgba(8,5,4,.88); backdrop-filter: blur(8px); }
.video-modal { width: min(92vw, 60rem); overflow: visible; }
.video-modal video { width: 100%; max-height: 80vh; background: #000; }
.video-modal > p { margin: 0; padding: 1rem; color: var(--gold); font-size: .7rem; letter-spacing: .18em; }
.modal-close { position: absolute; z-index: 3; right: -.9rem; top: -.9rem; width: 2.8rem; height: 2.8rem; border: 1px solid var(--gold); border-radius: 50%; background: var(--ink); color: var(--white); font-size: 1.45rem; cursor: pointer; }
.product-modal { width: min(90vw, 36rem); padding: clamp(2.5rem, 5vw, 4rem); }
.product-modal h2 { margin-bottom: 1.4rem; font-size: clamp(2.3rem, 5vw, 4rem); }
.product-modal > p:not(.section-kicker) { color: rgba(255,255,255,.65); line-height: 1.8; }
.product-modal .button { margin-top: 1rem; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { animation: reveal-up .75s ease both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.1); } to { opacity: 1; transform: scale(1.035); } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .site-nav { gap: 1rem; }
  .site-nav > a:not(.nav-order) { display: none; }
  .photo-card { flex-basis: calc((100% - 1rem) / 2); }
  .story { gap: 4.5rem; }
  .product-card { grid-template-columns: 1fr; }
  .product-image { min-height: 30rem; }
  .experience { grid-template-columns: 1fr; }
  .experience-intro { position: static; }
}

@media (max-width: 760px) {
  :root { --side: 1.2rem; }
  html { scroll-padding-top: 4.5rem; }
  .section-pad { padding-block: 4.8rem; }
  .site-header { height: 4.7rem; }
  .site-header.scrolled { backdrop-filter: none; }
  .site-header .brand { position: relative; z-index: 102; }
  .header-social { display: none; }
  .menu-toggle { position: relative; z-index: 102; display: block; color: var(--white); }
  .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); }
  .site-nav { position: fixed; z-index: 101; inset: auto; top: 0; left: 0; width: 100dvw; height: 100dvh; min-height: 100vh; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; overflow-y: auto; padding: 6rem 2rem 3rem; background: #17110e; visibility: hidden; opacity: 0; transform: translateY(-1rem); transition: opacity .3s, transform .3s, visibility .3s; }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav > a:not(.nav-order) { display: block; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.09); font-family: var(--serif); font-size: clamp(1.8rem, 9vw, 3rem); }
  .site-nav > a:not(.nav-order)::after { display: none; }
  .nav-order { margin-top: 1.5rem; text-align: center; }
  .nav-social { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem .9rem; margin-top: 1.2rem; }
  .nav-social a { padding: .65rem .75rem; border: 1px solid rgba(197,154,99,.3); color: var(--gold); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
  .hero { min-height: 0; display: flex; flex-direction: column; align-items: stretch; padding-bottom: .1rem; }
  .hero-media { position: relative; inset: auto; order: 2; width: calc(100% - 2.4rem); height: 30rem; margin: 0 1.2rem 4.2rem; box-shadow: 0 24px 60px rgba(0,0,0,.35); animation-name: mobile-hero-in; }
  .hero-media img { object-position: center 42%; }
  .hero-media::after { background: linear-gradient(0deg, rgba(10,6,5,.55), transparent 48%); }
  .hero-media figcaption { right: 1rem; bottom: 1rem; }
  .hero::before { background: linear-gradient(180deg, rgba(23,17,14,.05), rgba(23,17,14,0) 64%, rgba(23,17,14,.24)); }
  .hero-content { order: 1; width: 100%; padding: 8rem var(--side) 2.5rem; }
  .hero h1 { font-size: clamp(3.25rem, 15vw, 5.4rem); }
  .hero h1 em { font-size: .48em; line-height: 1.05; }
  .hero-tagline { max-width: 17ch; font-size: clamp(1.7rem, 8vw, 2.6rem); }
  .hero-copy { max-width: 34rem; font-size: .95rem; }
  .hero-actions .button { width: 100%; }
  .hero-scroll { display: none; }
  .hero-note { right: 2rem; bottom: 5.2rem; }
  .photo-story-heading { align-items: stretch; flex-direction: column; gap: 1.7rem; }
  .photo-story-controls { align-self: flex-start; }
  .photo-card { flex-basis: min(82vw, 22rem); }
  .story { grid-template-columns: 1fr; }
  .story-visual { width: 92%; }
  .image-frame { padding: 0 0 2rem 1.8rem; }
  .image-frame figcaption { right: -1.5rem; min-width: 13.5rem; }
  .story-seal { width: 6rem; height: 6rem; left: .2rem; font-size: .48rem; }
  h2 { font-size: clamp(2.8rem, 14vw, 4.7rem); }
  .section-heading, .film-heading { grid-template-columns: 1fr; gap: 1rem; }
  .section-heading { margin-bottom: 2.2rem; }
  .film-heading .section-kicker { grid-column: auto; margin-bottom: .4rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .product-image { min-height: 25rem; }
  .product-info { min-height: 25rem; }
  .experience-list { grid-template-columns: 1fr; }
  .experience-item { min-height: 17rem; }
  .film-section { padding-right: 0; }
  .film-heading { padding-right: var(--side); }
  .film-track { display: flex; gap: .8rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; touch-action: pan-x; cursor: grab; user-select: none; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-right: 1.2rem; }
  .film-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
  .film-track::-webkit-scrollbar { display: none; }
  .film-card { flex: 0 0 min(82vw, 23rem); scroll-snap-align: start; }
  .film-nav { display: grid; grid-template-columns: 2.8rem 1fr 2.8rem; align-items: center; gap: .7rem; margin: 1rem 1.2rem 0 0; color: rgba(255,255,255,.5); font-size: .64rem; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
  .film-nav button { width: 2.8rem; height: 2.8rem; border: 1px solid rgba(197,154,99,.45); background: transparent; color: var(--gold); cursor: pointer; }
  .film-nav button:active { background: var(--gold); color: var(--ink); }
  .journey-heading { margin-bottom: 3rem; }
  .journey-line { display: none; }
  .journey-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .social-heading { align-items: stretch; flex-direction: column; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .social-grid a:first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1.1; }
  .social-grid a:nth-child(2) { margin-top: 0; }
  .social-grid span { opacity: 1; transform: none; font-size: .74rem; }
  .social-platforms { grid-template-columns: 1fr 1fr; }
  .contact { min-height: 0; }
  .contact::after { background: rgba(23,17,14,.85); }
  .contact address { grid-template-columns: 1fr; gap: 2rem; margin-top: 3.5rem; }
  .contact-actions .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}

@keyframes mobile-hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 420px) {
  .hero h1 { font-size: 3rem; }
  .product-info { min-height: 27rem; }
  .social-grid { gap: .55rem; }
  .social-grid span { inset: auto .7rem .7rem; }
}

@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, .reveal.is-visible { opacity: 1; transform: none; animation: none; }
}
