:root {
  --espresso: #17130f;
  --coffee: #2b211b;
  --coffee-soft: #3c2d24;
  --cream: #f4efe7;
  --stone: #e9e1d5;
  --paper: #faf7f1;
  --bronze: #b99269;
  --bronze-light: #d8b58d;
  --ink: #231d18;
  --muted: #746a60;
  --line: rgb(45 32 25 / 14%);
  --radius-sm: 7px;
  --radius-card: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: Archivo, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body::selection { background: var(--bronze); color: var(--espresso); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--bronze-light); outline-offset: 4px; }
[hidden] { display: none !important; }
.container { width: min(100% - 48px, 1320px); margin-inline: auto; }

.brand { display: inline-flex; flex: none; align-items: center; color: var(--cream); }
.brand-logo { display: block; width: 178px; height: auto; }
.hero-tagline, .footer-note { font: 500 9px/1.5 Archivo, Arial, sans-serif; letter-spacing: .09em; white-space: nowrap; }
.hero-tagline { color: rgb(244 239 231 / 70%); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 18px 24px; border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 11px/1 Archivo, sans-serif; letter-spacing: .13em; text-align: center; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.button .submit-label { font: inherit; line-height: 1; }
.button:disabled { cursor: wait; opacity: .66; transform: none; box-shadow: none; }
.button-light { background: var(--cream); color: var(--espresso); }
.button-light:hover { background: var(--bronze-light); box-shadow: 0 12px 28px rgb(0 0 0 / 14%); }

.hero { position: relative; isolation: isolate; overflow: hidden; background-color: var(--espresso); color: var(--cream); }
.hero::before { position: absolute; inset: 0; z-index: -1; content: ''; pointer-events: none; background-image: linear-gradient(90deg, transparent 0 71%, rgb(23 19 15 / 8%) 100%), linear-gradient(90deg, #17130f 0%, rgb(23 19 15 / 95%) 28%, rgb(23 19 15 / 74%) 52%, rgb(23 19 15 / 13%) 83%), linear-gradient(0deg, #17130f 0%, transparent 25%), url("../images/andrew-neel-TTPMpLl_2lc-unsplash.jpg"); background-size: cover, cover, cover, auto 100%; background-position: center, center, center, right center; background-repeat: no-repeat, no-repeat, no-repeat, no-repeat; mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 46%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 18%, #000 46%); }
.hero-inner { padding-top: clamp(24px, 3vw, 42px); }
.hero-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-grid { display: flex; align-items: center; min-height: clamp(560px, 55vw, 730px); }
.hero-copy { max-width: min(66%, 740px); padding-block: 10px 70px; }
.hero h1 { max-width: 740px; margin: 0; font: 400 clamp(48px, 5.6vw, 78px)/1.08 Archivo, Arial, sans-serif; letter-spacing: -.06em; text-wrap: balance; }
.hero h1 em, .machines h2 em, .process h2 em, .quote h2 em { color: var(--bronze-light); font: inherit; letter-spacing: inherit; }
.hero-description { max-width: 52ch; margin: 34px 0 0; color: rgb(244 239 231 / 69%); font: 400 15px/1.85 Archivo, sans-serif; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 42px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: hidden; border: 1px solid rgb(244 239 231 / 18%); border-radius: var(--radius-card); background: rgb(23 19 15 / 48%); backdrop-filter: blur(10px); }
.benefit { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 7px; min-height: 108px; padding: 22px clamp(20px, 2.4vw, 34px); border-left: 1px solid rgb(244 239 231 / 11%); }
.benefit:first-child { border-left: 0; }
.benefit strong { font: 500 20px/1.2 Archivo, Arial, sans-serif; letter-spacing: -.035em; }
.benefit > span:last-child { color: rgb(244 239 231 / 51%); font: 500 9px/1.5 Archivo, Arial, sans-serif; letter-spacing: .07em; }

.section-inner { padding-block: clamp(90px, 11vw, 160px); }
.machines { background: var(--paper); }
.machines-heading { display: grid; grid-template-columns: 1.45fr .55fr; align-items: end; gap: 56px; margin-bottom: 54px; }
.machines h2, .process h2, .quote h2 { margin: 0; font: 400 clamp(42px, 4.8vw, 66px)/1.12 Archivo, Arial, sans-serif; letter-spacing: -.055em; text-wrap: balance; }
.machines h2 em { color: #947354; }
.machines-heading > p { max-width: 32ch; margin: 0 0 6px auto; color: var(--muted); font: 400 14px/1.8 Archivo, sans-serif; }
.machine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.machine-card { min-width: 0; overflow: hidden; border: 1px solid #e1d7ca; border-radius: var(--radius-card); background: #fffdfa; box-shadow: 0 18px 45px rgb(56 36 21 / 5%); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease, border-color .5s ease; }
.machine-card:hover { transform: translateY(-9px); border-color: #cbb69e; box-shadow: 0 28px 65px rgb(56 36 21 / 13%); }
.machine-media { position: relative; aspect-ratio: 1.28; overflow: hidden; }
.machine-media-one { background: radial-gradient(circle at 48% 58%, #a58868 0, #604a38 45%, #241c17 84%); }
.machine-media-two { background: radial-gradient(circle at 52% 54%, #8e7c6b 0, #4a3c31 46%, #241c17 86%); }
.machine-media::after { position: absolute; inset: 15px; border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius-sm); content: ''; pointer-events: none; }
.machine-image-slot { position: absolute; inset: 0; overflow: hidden; }
.machine-image-slot::before { position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(circle, rgb(244 224 198 / 17%), transparent 68%); content: ''; }
.machine-product-image { position: absolute; inset: 6% 9%; z-index: 1; display: block; width: 82%; height: 88%; object-fit: contain; filter: drop-shadow(0 24px 20px rgb(0 0 0 / 38%)); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.machine-card:hover .machine-product-image { transform: translateY(-6px) scale(1.02); }
.machine-details { padding: clamp(28px, 3vw, 44px); }
.machine-details h3 { margin: 0; font: 500 clamp(26px, 2.4vw, 34px)/1.15 Archivo, Arial, sans-serif; letter-spacing: -.045em; }
.machine-description { min-height: 48px; max-width: 52ch; margin: 18px 0 28px; color: #766b60; font: 400 13px/1.8 Archivo, sans-serif; }
.machine-specs { margin: 0 0 28px; border-top: 1px solid var(--line); }
.machine-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); font: 400 12px/1.5 Archivo, sans-serif; }
.machine-specs dt { color: #75695f; }
.machine-specs dd { margin: 0; color: #9b9084; text-align: right; }
.machine-link { display: flex; align-items: center; padding: 14px 0 5px; color: var(--ink); font: 600 10px/1.5 Archivo, sans-serif; letter-spacing: .12em; transition: color .25s ease; }
.machine-link:hover { color: #956b43; }
.machines-footnote { margin: 26px 0 0; color: #897c70; font: 400 11px/1.6 Archivo, sans-serif; text-align: right; }

.process { background: var(--stone); }
.section-heading { margin-bottom: 55px; }
.process h2 { max-width: 900px; }
.process h2 em { color: #947354; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #cfc2b3; }
.step { position: relative; min-height: 240px; padding: 28px clamp(18px, 2vw, 34px) 22px 0; border-right: 1px solid #d4c9bc; }
.step + .step { padding-left: clamp(18px, 2vw, 34px); }
.step:last-child { border-right: 0; }
.step::before { position: absolute; top: -2px; left: 0; width: 30px; height: 3px; background: var(--bronze); content: ''; transform-origin: left; transition: transform .35s ease; }
.step + .step::before { left: clamp(18px, 2vw, 34px); }
.step:hover::before { transform: scaleX(2); }
.step-number { color: #9a7554; font: 600 10px/1 Archivo, Arial, sans-serif; letter-spacing: .1em; }
.step h3 { margin: 31px 0 12px; font: 500 20px/1.25 Archivo, Arial, sans-serif; letter-spacing: -.035em; }
.step p { max-width: 26ch; margin: 0; color: #74685d; font: 400 12px/1.75 Archivo, sans-serif; }
.included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 45px; padding: 30px; border: 1px solid #cbbeb0; border-radius: var(--radius-card); }
.included strong { display: block; margin-bottom: 12px; color: #8a6749; font: 600 9px/1.5 Archivo, Arial, sans-serif; letter-spacing: .12em; }
.included span { color: #4c4035; font: 400 13px/1.5 Archivo, sans-serif; }

.quote { position: relative; overflow: hidden; background-color: #17130f; background-image: linear-gradient(90deg, rgb(23 19 15 / 93%) 0%, rgb(23 19 15 / 84%) 55%, rgb(23 19 15 / 69%) 100%), url("../images/cafe-textura.png"); background-size: cover; background-position: center, center right; color: var(--cream); }
.quote::before { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(23 19 15 / 48%), transparent 45%); content: ''; pointer-events: none; }
.quote-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); align-items: center; gap: clamp(60px, 9vw, 150px); }
.quote h2 { max-width: 650px; }
.quote-description { max-width: 48ch; margin: 30px 0 0; color: rgb(244 239 231 / 66%); font: 400 14px/1.85 Archivo, sans-serif; }
.quote-assurance { max-width: 380px; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgb(244 239 231 / 16%); }
.quote-assurance span { color: var(--bronze-light); font: 600 9px/1.4 Archivo, Arial, sans-serif; letter-spacing: .15em; }
.quote-assurance p { margin: 12px 0 0; color: rgb(244 239 231 / 66%); font: 400 13px/1.7 Archivo, sans-serif; }
.quote-form { display: flex; flex-direction: column; gap: 24px; padding: clamp(30px, 4vw, 56px); border: 1px solid rgb(216 181 141 / 30%); border-radius: var(--radius-card); background: linear-gradient(145deg, rgb(86 61 43 / 25%), rgb(33 26 21 / 75%)); box-shadow: 30px 40px 90px rgb(0 0 0 / 16%); }
.form-heading { display: flex; justify-content: space-between; gap: 20px; color: var(--bronze-light); font: 600 9px/1.5 Archivo, Arial, sans-serif; letter-spacing: .14em; }
.quote-form h3 { margin: 0 0 8px; font: 500 27px/1.2 Archivo, Arial, sans-serif; letter-spacing: -.04em; }
.form-title-together { white-space: nowrap; }
.selected-model { align-self: flex-start; margin: -7px 0 0; padding: 9px 12px; border: 1px solid rgb(216 181 141 / 40%); border-radius: var(--radius-sm); color: var(--bronze-light); font: 500 10px/1.4 Archivo, sans-serif; letter-spacing: .04em; }
.quote-form label { display: flex; flex-direction: column; gap: 8px; }
.quote-form label span { color: rgb(244 239 231 / 61%); font: 600 9px/1 Archivo, Arial, sans-serif; letter-spacing: .15em; }
.quote-form input:not([type="hidden"]) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgb(244 239 231 / 28%); border-radius: var(--radius-sm); background: rgb(244 239 231 / 4%); color: var(--cream); font: 400 15px/1.4 Archivo, sans-serif; transition: border-color .2s ease, background-color .2s ease; }
.quote-form input::placeholder { color: rgb(244 239 231 / 34%); }
.quote-form input:focus { outline: none; border-color: var(--bronze-light); background: rgb(244 239 231 / 7%); }
.quote-form .button { width: 100%; margin-top: 5px; }
.form-note, .form-status { margin: -5px 0 0; color: rgb(244 239 231 / 45%); font: 400 10px/1.6 Archivo, sans-serif; }
.form-status { color: var(--bronze-light); }
.form-success { padding: clamp(32px, 4vw, 56px); border: 1px solid rgb(216 181 141 / 38%); border-radius: var(--radius-card); background: rgb(33 26 21 / 86%); box-shadow: 30px 40px 90px rgb(0 0 0 / 16%); }
.success-kicker { color: var(--bronze-light); font: 600 9px/1.4 Archivo, Arial, sans-serif; letter-spacing: .15em; }
.form-success h3 { margin: 22px 0 16px; font: 500 clamp(26px, 3vw, 38px)/1.15 Archivo, Arial, sans-serif; letter-spacing: -.04em; }
.form-success p { max-width: 37ch; margin: 0; color: rgb(244 239 231 / 68%); font: 400 13px/1.8 Archivo, sans-serif; }
.success-reset { display: inline-flex; align-items: center; margin-top: 32px; padding: 13px 16px; border: 1px solid rgb(216 181 141 / 45%); border-radius: var(--radius-sm); background: rgb(216 181 141 / 5%); color: var(--bronze-light); font: 600 10px/1.4 Archivo, sans-serif; letter-spacing: .1em; transition: color .25s ease, border-color .25s ease, background-color .25s ease; }
.success-reset:hover { border-color: var(--bronze-light); background: rgb(216 181 141 / 12%); color: var(--cream); }

.site-footer { border-top: 1px solid rgb(244 239 231 / 9%); background: #120f0d; color: rgb(244 239 231 / 53%); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; min-height: 125px; padding-block: 28px; }
.brand-footer .brand-logo { width: 156px; }
.footer-note { font-size: 9px; }
.footer-bahtech { display: inline-flex; align-items: center; opacity: .72; transition: opacity .25s ease; }
.footer-bahtech:hover { opacity: 1; }
.footer-bahtech img { display: block; width: 96px; height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .has-js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
  .has-js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
  .machine-card:nth-child(2), .step:nth-child(2) { --reveal-delay: 100ms; }
  .step:nth-child(3) { --reveal-delay: 180ms; }
  .step:nth-child(4) { --reveal-delay: 260ms; }
}

@media (max-width: 1120px) {
  .hero-grid { min-height: 600px; }
  .hero-copy { max-width: 68%; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid #d4c9bc; }
  .step:nth-child(3) { padding-left: 0; }
  .step:nth-child(3)::before { left: 0; }
}
@media (min-width: 1121px) and (min-height: 900px) {
  .hero-grid { min-height: min(980px, max(clamp(560px, 55vw, 730px), calc(100svh - 220px))); }
}
@media (max-width: 820px) {
  .container { width: min(100% - 36px, 1320px); }
  .hero-grid { min-height: 620px; }
  .hero-copy { max-width: 78%; }
  .quote-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 750px; }
  .machines-heading { grid-template-columns: 1fr; gap: 22px; }
  .machines-heading > p { max-width: 60ch; margin: 0; }
  .machine-grid { gap: 16px; }
  .machine-media { aspect-ratio: 1.1; }
  .machine-details { padding: 28px; }
  .quote-grid { gap: 50px; }
}
@media (max-width: 620px) {
  .brand-logo { width: 154px; }
  .hero-tagline { font-size: 8px; }
  .hero::before { inset: 0 0 auto; height: 560px; background-image: linear-gradient(180deg, rgb(23 19 15 / 52%) 0%, rgb(23 19 15 / 12%) 20%, rgb(23 19 15 / 10%) 42%, rgb(23 19 15 / 75%) 68%, #17130f 100%), url("../images/andrew-neel-TTPMpLl_2lc-unsplash.jpg"); background-size: cover, auto 560px; background-position: center, -65px -80px; background-repeat: no-repeat; mask-image: none; -webkit-mask-image: none; }
  .hero-inner { padding-top: 24px; }
  .hero-grid { display: block; min-height: 0; padding-top: clamp(225px, 62vw, 330px); }
  .hero-copy { max-width: 100%; padding: 0 0 56px; }
  .hero h1 { font-size: clamp(38px, 8.8vw, 50px); }
  .hero-description { margin-top: 20px; font-size: 13px; line-height: 1.65; }
  .hero-actions { gap: 15px; margin-top: 22px; }
  .hero-actions .button { width: 100%; min-height: 52px; }
  .benefits { grid-template-columns: 1fr; gap: 0; }
  .benefit, .benefit:first-child { min-height: auto; padding: 20px 22px; border-top: 1px solid rgb(244 239 231 / 14%); border-left: 0; }
  .benefit:first-child { border-top: 0; }
  .benefit strong { font-size: 20px; }
  .section-inner { padding-block: 82px; }
  .machines h2, .process h2, .quote h2 { font-size: clamp(36px, 8vw, 52px); }
  .machine-grid { grid-template-columns: 1fr; gap: 26px; }
  .machine-media { aspect-ratio: 1.2; }
  .machines-footnote { text-align: left; }
  .section-heading { margin-bottom: 36px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step, .step:nth-child(3) { min-height: auto; padding: 24px 0 30px; border-right: 0; border-top: 1px solid #d4c9bc; }
  .step:first-child { border-top: 0; }
  .step + .step::before { left: 0; }
  .step h3 { margin-top: 19px; }
  .step p { max-width: 52ch; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-form { padding: 28px 24px; }
  .footer-inner { align-items: center; flex-direction: column; justify-content: center; gap: 16px; padding-block: 36px; text-align: center; }
  .footer-note { max-width: 32ch; white-space: normal; }
}
@media (max-width: 380px) {
  .container { width: min(100% - 28px, 1320px); }
  .brand-logo { width: 145px; }
  .hero-tagline { display: none; }
  .hero h1 { font-size: 36px; }
  .included { grid-template-columns: 1fr; }
}
@media (max-width: 340px) and (max-height: 620px) {
  .hero::before { background-position: center, -65px -120px; }
  .hero-grid { padding-top: 180px; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
