:root {
  --ink: #191510;
  --coffee: #2d2118;
  --cream: #f0e9dc;
  --paper: #f8f5ef;
  --copper: #c57947;
  --light-copper: #e4a071;
  --line: rgba(31, 24, 18, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(100% - 80px, 1380px); margin-inline: auto; }
.section { padding: 132px 0; }
.section-label { margin: 0 0 35px; color: #9a613f; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 94px); font-weight: 400; letter-spacing: -.055em; line-height: .92; }
.section-title em { color: var(--copper); font-weight: 400; }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; height: 88px; padding: 0 40px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: height .3s, background .3s, color .3s, box-shadow .3s; }
.site-header.scrolled { height: 72px; color: var(--ink); background: rgba(248,245,239,.94); box-shadow: 0 8px 35px rgba(29,21,15,.08); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 16px; font-weight: 800; letter-spacing: .22em; }
.brand-mark { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.desktop-nav { display: flex; gap: 35px; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.desktop-nav a { transition: opacity .2s; }
.desktop-nav a:hover { opacity: .55; }
.header-phone { justify-self: end; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.menu-button, .mobile-nav { display: none; }

.hero { position: relative; min-height: 850px; height: 100svh; color: #fff; background: #1f1914; overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background: url("assets/coffee-machine-hero.jpg") center/cover no-repeat; transform: scale(1.015); animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(13,10,8,.88) 0%, rgba(13,10,8,.62) 37%, rgba(13,10,8,.12) 71%), linear-gradient(0deg, rgba(12,9,7,.65) 0%, transparent 35%); }
.hero-content { position: relative; z-index: 2; padding-top: min(24vh, 225px); }
.eyebrow { margin: 0 0 28px; color: #e8a778; font-size: 11px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 0; font-family: var(--serif); font-size: clamp(67px, 8vw, 126px); font-weight: 400; letter-spacing: -.06em; line-height: .82; }
.hero h1 em { color: #d89161; font-weight: 400; }
.hero-lead { max-width: 530px; margin: 34px 0 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 36px; min-height: 56px; padding: 0 27px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .06em; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--copper); }
.button-primary:hover { background: #d58a58; }
.button-ghost { border-color: rgba(255,255,255,.38); }
.button-ghost:hover { color: var(--ink); background: #fff; }
.hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 38px; left: 0; display: flex; gap: 80px; }
.hero-bottom div { display: grid; gap: 5px; }
.hero-bottom strong { font-family: var(--serif); font-size: 29px; font-weight: 400; }
.hero-bottom span { color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; right: 40px; bottom: 38px; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.scroll-cue span { width: 1px; height: 14px; background: #fff; animation: scroll 1.7s infinite; }

.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 27% 1fr; }
.intro-copy { max-width: 660px; margin: 45px 0 0 31%; color: #625a52; font-size: 18px; line-height: 1.65; }

.solutions { padding-top: 30px; }
.section-heading { margin-bottom: 62px; }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.solution-card { position: relative; display: flex; min-height: 590px; padding: 26px; overflow: hidden; color: #fff; background: var(--coffee); }
.card-number { position: absolute; top: 25px; right: 27px; font-family: var(--serif); font-size: 15px; opacity: .6; }
.card-art { position: absolute; inset: 0; display: grid; place-items: center; }
.cup-icon { font-size: 108px; filter: grayscale(1) sepia(.25); transform: translateY(-45px); }
.card-copy { position: relative; z-index: 2; align-self: flex-end; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.25); }
.card-copy > p { margin: 0 0 11px; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; opacity: .65; }
.card-copy h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 42px; font-weight: 400; }
.card-copy > span { display: block; max-width: 340px; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.55; }
.card-public { color: #302117; background: #d49567; }
.card-public .card-copy { border-color: rgba(45,32,23,.25); }
.card-public .card-copy > span { color: rgba(45,32,23,.72); }
.card-art-lines { display: flex; align-items: center; justify-content: center; gap: 14px; transform: rotate(-18deg) translateY(-40px); }
.card-art-lines span { display: block; width: 44px; height: 245px; border: 1px solid rgba(47,31,21,.36); border-radius: 50%; }
.card-art-lines span:nth-child(2) { height: 315px; }
.card-horeca { color: #302117; background: #e9dfcc; }
.card-horeca .card-copy { border-color: rgba(45,32,23,.2); }
.card-horeca .card-copy > span { color: rgba(45,32,23,.68); }
.card-art-orbit span { width: 230px; height: 230px; border: 1px solid rgba(45,32,23,.2); border-radius: 50%; box-shadow: 0 0 0 35px rgba(45,32,23,.035), 0 0 0 70px rgba(45,32,23,.025); transform: translateY(-50px); }
.card-art-orbit span::after { content: ""; display: block; width: 45px; height: 45px; margin: 38px; border-radius: 50%; background: var(--copper); box-shadow: 95px 85px 0 10px #34251d; }

.taste { color: #fff; background: #1e1915; }
.taste-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 11%; }
.taste-visual { position: relative; min-height: 590px; background: radial-gradient(circle at 50% 45%, #5a3828, #241a15 58%, #18130f); overflow: hidden; }
.taste-visual::before { content: ""; position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.taste-ring { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 240px; height: 240px; border: 1px solid rgba(223,159,111,.7); border-radius: 50%; transform: translate(-50%,-50%); }
.taste-ring::after { content: ""; position: absolute; inset: 12px; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; }
.taste-ring span { align-self: end; font-family: var(--serif); font-size: 54px; }
.taste-ring small { align-self: start; color: #d99b70; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.bean { position: absolute; width: 54px; height: 79px; border-radius: 50%; background: linear-gradient(135deg,#a0623c,#3a2118 70%); box-shadow: 4px 14px 20px rgba(0,0,0,.35); transform: rotate(38deg); }
.bean::after { content: ""; position: absolute; top: 4px; left: 26px; width: 2px; height: 69px; border-radius: 50%; background: rgba(231,168,113,.42); transform: rotate(12deg); }
.bean-one { top: 11%; left: 14%; }
.bean-two { right: 13%; bottom: 20%; transform: rotate(-45deg) scale(.7); }
.bean-three { bottom: 12%; left: 25%; transform: rotate(12deg) scale(.52); }
.taste-copy > p:not(.section-label) { max-width: 520px; margin: 40px 0; color: rgba(255,255,255,.63); font-size: 16px; line-height: 1.7; }
.quality-list { margin: 0; padding: 0; list-style: none; }
.quality-list li { padding: 19px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.quality-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.quality-list span { display: inline-block; width: 56px; color: var(--light-copper); font-family: var(--serif); }

.service { background: #eee6d9; }
.service-intro { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 80px; }
.service-lead { max-width: 430px; margin: 0 0 8px; color: #675c52; font-size: 16px; line-height: 1.65; }
.service-steps { position: relative; display: grid; grid-template-columns: repeat(4,1fr); margin-top: 100px; }
.service-steps::before { content: ""; position: absolute; top: 8px; right: 0; left: 0; height: 1px; background: #cdbbaa; }
.step { position: relative; padding: 44px 35px 0 0; }
.step-dot { position: absolute; z-index: 1; top: 2px; left: 0; width: 13px; height: 13px; border: 3px solid #eee6d9; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 1px var(--copper); }
.step small { color: #a96743; font-family: var(--serif); }
.step h3 { margin: 19px 0 12px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.step p { max-width: 240px; margin: 0; color: #766a60; font-size: 13px; line-height: 1.6; }

.calculator { color: #fff; background: #1d1814; }
.calculator-shell { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 12%; }
.calculator-copy > p:last-child { max-width: 420px; margin: 40px 0 0; color: rgba(255,255,255,.57); font-size: 15px; line-height: 1.7; }
.calculator-panel { padding: 48px; color: var(--ink); background: #f2eadd; }
.range-heading { display: flex; align-items: end; justify-content: space-between; }
.range-heading label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.range-heading output { color: var(--copper); font-family: var(--serif); font-size: 58px; line-height: 1; }
input[type="range"] { width: 100%; height: 3px; margin: 44px 0 0; appearance: none; outline: none; background: linear-gradient(to right, var(--copper) 0 12.5%, #cbbdae 12.5% 100%); }
input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; appearance: none; border: 6px solid #f2eadd; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 1px var(--copper); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 6px solid #f2eadd; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 1px var(--copper); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; margin-top: 10px; color: #8f8378; font-size: 10px; }
.calc-results { display: grid; grid-template-columns: 1fr 1fr; margin-top: 45px; padding-top: 32px; border-top: 1px solid var(--line); }
.calc-results div:last-child { padding-left: 40px; border-left: 1px solid var(--line); }
.calc-results small { display: block; margin-bottom: 10px; color: #8a7e74; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.calc-results strong { font-family: var(--serif); font-size: 36px; font-weight: 400; }
.text-link { display: flex; justify-content: space-between; margin-top: 36px; padding: 19px 0; border-top: 1px solid var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .05em; }

.cases { background: var(--paper); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; }
.section-heading-row > p { max-width: 340px; margin: 0 0 7px; color: #776c62; font-size: 15px; line-height: 1.6; }
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.case { display: flex; flex-direction: column; min-height: 480px; padding: 34px; }
.case-type { margin-bottom: auto; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.case strong { margin-top: 80px; font-family: var(--serif); font-size: 76px; font-weight: 400; line-height: 1; }
.case h3 { margin: 6px 0 23px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.case p { margin: 0; font-size: 13px; line-height: 1.6; opacity: .65; }
.case > span { margin-top: 30px; padding-top: 18px; border-top: 1px solid currentColor; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .5; }
.case-dark { color: #fff; background: #282019; }
.case-copper { color: #352319; background: #cf8859; }
.case-cream { background: #e9dfcf; }

.faq { background: #eee6da; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 12%; }
.accordion { border-top: 1px solid #cfc0b2; }
.accordion details { border-bottom: 1px solid #cfc0b2; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; padding: 28px 0; font-family: var(--serif); font-size: 22px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { position: relative; width: 28px; height: 28px; border: 1px solid #b8a99c; border-radius: 50%; }
.accordion summary span::before, .accordion summary span::after { content: ""; position: absolute; top: 13px; left: 8px; width: 10px; height: 1px; background: var(--ink); transition: transform .2s; }
.accordion summary span::after { transform: rotate(90deg); }
.accordion details[open] summary span::after { transform: rotate(0); }
.accordion details p { max-width: 620px; margin: -5px 55px 27px 0; color: #6d6258; font-size: 14px; line-height: 1.7; }

.contact { padding-bottom: 48px; background: var(--paper); }
.contact-shell { display: grid; grid-template-columns: 1fr 320px; min-height: 580px; padding: 70px; color: #fff; background: #a85f38; }
.contact-main h2 { max-width: 830px; margin: 0; font-family: var(--serif); font-size: clamp(54px,6vw,90px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.contact-main h2 em { color: #f3c3a2; font-weight: 400; }
.contact-main > p:not(.section-label) { max-width: 500px; margin: 32px 0 0; color: rgba(255,255,255,.7); line-height: 1.65; }
.contact-actions { display: flex; align-items: center; gap: 35px; margin-top: 48px; }
.button-light { color: var(--ink); background: #fff; }
.contact-mail { padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: 13px; }
.contact-aside { display: flex; flex-direction: column; justify-content: flex-end; gap: 35px; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.24); }
.contact-aside small { color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.contact-aside p { font-size: 13px; line-height: 1.7; }

.footer { padding: 52px 0 30px; color: #fff; background: #17130f; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; padding-bottom: 70px; }
.footer-top > p { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; line-height: 1.5; }
.footer-top > a:last-child { justify-self: end; font-family: var(--serif); font-size: 22px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 23px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.38); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes heroIn { from { opacity: .4; transform: scale(1.07); } to { opacity: 1; transform: scale(1.015); } }
@keyframes scroll { 0%,100% { transform: scaleY(.45) translateY(-5px); opacity:.45; } 50% { transform: scaleY(1) translateY(4px); opacity:1; } }

@media (max-width: 1000px) {
  .container { width: min(100% - 44px, 920px); }
  .section { padding: 100px 0; }
  .desktop-nav, .header-phone { display: none; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 22px; }
  .menu-button { display: grid; gap: 6px; width: 36px; padding: 10px 4px; border: 0; background: none; }
  .menu-button span { display: block; width: 28px; height: 1px; background: currentColor; transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-nav { position: fixed; top: 72px; right: 0; left: 0; display: grid; gap: 22px; padding: 35px 22px 45px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 30px rgba(0,0,0,.1); transform: translateY(-130%); transition: transform .35s; }
  .mobile-nav.open { transform: none; }
  .mobile-nav a { font-family: var(--serif); font-size: 28px; }
  .hero { min-height: 800px; }
  .hero-content { padding-top: 180px; }
  .hero-bottom { gap: 35px; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-grid .section-label { margin-bottom: 20px; }
  .intro-copy { margin-left: 15%; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 420px; }
  .card-art { transform: scale(.7); }
  .taste-grid, .calculator-shell { gap: 7%; }
  .service-intro { grid-template-columns: 1fr; }
  .service-lead { margin-top: 30px; }
  .service-steps { grid-template-columns: 1fr 1fr; gap: 50px 0; }
  .service-steps::before { display: none; }
  .step { padding-top: 30px; }
  .step-dot { top: 0; }
  .cases-grid { grid-template-columns: 1fr; }
  .case { min-height: 390px; }
  .case strong { margin-top: 50px; }
  .contact-shell { grid-template-columns: 1fr; }
  .contact-aside { flex-direction: row; margin-top: 70px; padding: 35px 0 0; border-top: 1px solid rgba(255,255,255,.24); border-left: 0; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 32px, 600px); }
  .section { padding: 78px 0; }
  .section-label { margin-bottom: 22px; }
  .section-title { font-size: clamp(44px, 13vw, 68px); }
  .site-header { height: 72px; }
  .hero { min-height: 760px; }
  .hero-image { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(13,10,8,.86), rgba(13,10,8,.35)), linear-gradient(0deg, rgba(12,9,7,.78), transparent 45%); }
  .hero-content { padding-top: 150px; }
  .hero h1 { font-size: clamp(58px, 19vw, 87px); line-height: .84; }
  .hero-lead { max-width: 420px; font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; width: 100%; max-width: 330px; }
  .button { justify-content: space-between; }
  .hero-bottom { bottom: 27px; gap: 24px; overflow: hidden; }
  .hero-bottom div:nth-child(3) { display: none; }
  .hero-bottom strong { font-size: 24px; }
  .hero-bottom span { font-size: 8px; }
  .scroll-cue { display: none; }
  .intro-copy { margin: 35px 0 0; font-size: 16px; }
  .solution-card { min-height: 450px; }
  .taste-grid { grid-template-columns: 1fr; }
  .taste-visual { min-height: 400px; }
  .taste-copy { padding-top: 20px; }
  .service-steps { grid-template-columns: 1fr; margin-top: 65px; gap: 35px; }
  .step { padding-left: 28px; }
  .calculator-shell { grid-template-columns: 1fr; }
  .calculator-panel { padding: 30px 22px; }
  .range-heading output { font-size: 48px; }
  .calc-results strong { font-size: 28px; }
  .calc-results div:last-child { padding-left: 20px; }
  .section-heading-row { display: block; }
  .section-heading-row > p { margin-top: 30px; }
  .faq-grid { grid-template-columns: 1fr; gap: 55px; }
  .accordion summary { gap: 20px; font-size: 19px; }
  .accordion summary span { flex: 0 0 28px; }
  .contact { padding-bottom: 20px; }
  .contact-shell { width: calc(100% - 24px); min-height: 620px; padding: 42px 26px; }
  .contact-main h2 { font-size: clamp(45px, 13.5vw, 66px); }
  .contact-actions { align-items: stretch; flex-direction: column; gap: 22px; }
  .contact-aside { flex-direction: column; margin-top: 55px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-top > a:last-child { justify-self: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@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; }
}
