:root {
  --coffee: #3a2116;
  --espresso: #160d09;
  --dark: #101010;
  --cream: #fffaf0;
  --warm: #f4ead9;
  --latte: #d8b77e;
  --gold: #d5a93d;
  --gold-light: #eadca9;
  --text: #241913;
  --muted: #705f55;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(35, 20, 12, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 7vw;
  background: rgba(255, 250, 240, 0.97);
  color: var(--coffee);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-bottom: 4px solid var(--gold);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-title,
h1,
.page-header h1,
.outline-title {
  font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.brand-title {
  font-size: 1.55rem;
  -webkit-text-stroke: 1px var(--dark);
  color: transparent;
}

.brand-subtitle {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coffee);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 900;
  color: var(--coffee);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
}

.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  color: var(--coffee);
  border: 0;
  font-size: 28px;
}

/* HERO */

.hero {
  min-height: 78vh;
  display: grid;
  align-items: center;
  padding: 92px 7vw;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(22,13,9,.10) 0%,
      rgba(22,13,9,.20) 38%,
      rgba(22,13,9,.58) 65%,
      rgba(22,13,9,.72) 100%
    ),
    url('../img/coffee-hero_02.jpg') center/cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,0.00) 0%,
      rgba(0,0,0,0.08) 42%,
      rgba(0,0,0,0.38) 66%,
      rgba(0,0,0,0.50) 100%
    );
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(transparent, rgba(22,13,9,.55));
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 2;
}

.hero-with-video {
  min-height: 560px;
  padding: 54px 7vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-with-video .hero-video {
  position: absolute;
  left: 6vw;
  bottom: 32px;
  width: 48%;
  max-width: 680px;
  z-index: 2;
  pointer-events: none;
}

.hero-with-video .hero-video::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255,214,120,.42) 0%,
      rgba(255,214,120,.22) 36%,
      rgba(255,214,120,0) 72%
    );
  filter: blur(40px);
  z-index: -1;
}

.hero-with-video .hero-video video {
  width: 100%;
  height: auto;
  display: block;
  filter:
    brightness(1.32)
    contrast(1.12)
    saturate(1.08)
    drop-shadow(0 0 22px rgba(0,0,0,.55))
    drop-shadow(0 0 44px rgba(255,210,120,.42));
}

.hero-with-video .hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #9a6a1f;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
}

.hero .eyebrow {
  color: var(--gold-light);
  text-shadow: 0 2px 8px rgba(0,0,0,.95);
}

h1,
h2 {
  line-height: 1.08;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  color: var(--cream);
  text-shadow:
    0 4px 0 rgba(0,0,0,.20),
    0 8px 18px rgba(0,0,0,.55);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.hero-text {
  max-width: 670px;
  font-size: 1.2rem;
  color: #f7ead6;
  text-shadow: 0 2px 8px rgba(0,0,0,.85);
}

.hero-text p {
  display: inline-block;
  margin: 0;
  background: rgba(22,13,9,.34);
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  font-weight: 900;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn.primary {
  background: var(--gold);
  color: var(--espresso);
}

.btn.secondary {
  border-color: var(--gold-light);
  color: var(--cream);
}

.btn.dark {
  background: var(--coffee);
  color: var(--cream);
}

.btn:hover { transform: translateY(-1px); }

/* IMAGE MARQUEE */

.image-marquee {
  background: var(--espresso);
  border-top: 5px solid var(--gold);
  border-bottom: 5px solid var(--gold);
  overflow: hidden;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scrollGallery 38s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-track img {
  width: 360px;
  height: 230px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  filter: saturate(.92) contrast(1.05);
}

@keyframes scrollGallery {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 11px)); }
}

/* CONTENT */

.section { padding: 72px 7vw; }

.section-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card,
.service-item,
.contact-form {
  background: var(--white);
  border-radius: 26px;
  padding: 30px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(58,33,22,.08);
}

.card.image-card {
  padding: 0;
  overflow: hidden;
}

.card.image-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card.image-card div { padding: 26px; }

.card h2,
.service-item h2 {
  color: var(--coffee);
  font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* SERVICES SPLIT SECTION */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(22,13,9,.92), rgba(58,33,22,.88)),
    url('../img/coffee-beans.jpg') center/cover no-repeat;
  color: var(--cream);
  border-top: 5px solid var(--gold);
}

.split h2,
.split-statement {
  color: var(--cream);
  text-shadow: 0 4px 14px rgba(0,0,0,.55);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: 1.12;
  max-width: 760px;
  margin: 0;
}

.split-statement span {
  display: block;
}

.split-statement span + span,
.split-line-two {
  display: block;
  margin-top: 14px;
}

/* PAGE HEADER */

.page-header {
  padding: 82px 7vw 48px;
  background:
    linear-gradient(120deg, rgba(22,13,9,.92), rgba(58,33,22,.78)),
    url('../img/espresso-machine.jpg') center/cover no-repeat;
  color: var(--white);
}

.page-header p {
  max-width: 720px;
  color: #f5e7d2;
}

.page-header h1 {
  color: var(--cream);
  max-width: 900px;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 1.08;
}

.services-list {
  display: grid;
  gap: 22px;
}

.service-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
}

.service-item img {
  width: 220px;
  height: 150px;
  object-fit: cover;
  border-radius: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.contact-logo {
  width: 150px;
  max-width: 100%;
  display: block;
  margin-bottom: 16px;
}

.contact-card-photo {
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-card-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #d8c6b5;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}

.form-note,
.site-footer p { color: var(--muted); }

/* HOME QUOTE */

.coffee-quote {
  text-align: center;
  padding: 90px 7vw;
  background: var(--espresso);
  color: var(--cream);
}

.coffee-quote p {
  max-width: 1200px;
  margin: 0 auto;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.18;
  font-family: Impact, Haettenschweiler, 'Arial Black', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}

.coffee-quote p span {
  display: block;
}

.quote-line-two {
  margin-top: 18px;
}

/* FOOTER */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 34px 7vw;
  background: var(--coffee);
  color: var(--cream);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: var(--cream);
  border-radius: 18px;
  padding: 6px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a { color: var(--latte); }

.footer-audio {
  display: flex;
  align-items: center;
}

.footer-audio-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  color: var(--latte);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-audio-btn:hover {
  color: var(--cream);
  border-color: var(--gold);
  background: rgba(255,255,255,.08);
}

/* RESPONSIVE */
/* Mobile version avoids heavy blur/glow filters for faster Android first-load rendering. */

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

@media (max-width: 900px) {

  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(22,13,9,.05) 0%,
        rgba(22,13,9,.16) 38%,
        rgba(22,13,9,.62) 100%
      ),
      url('../img/coffee-hero_02.jpg') 80% center/cover no-repeat;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(0,0,0,0.00) 0%,
        rgba(0,0,0,0.16) 36%,
        rgba(0,0,0,0.42) 100%
      );
  }

  .grid-3,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-item { grid-template-columns: 1fr; }

  .service-item img {
    width: 100%;
    height: 220px;
  }

  .hero-with-video {
    min-height: auto;
    padding: 34px 22px 42px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .hero-with-video .hero-video::before {
    display: none;
  }

  .hero-with-video .hero-video video {
    filter:
      brightness(1.22)
      contrast(1.08)
      saturate(1.04)
      drop-shadow(0 0 18px rgba(0,0,0,.45));
  }

  .hero-with-video .hero-video {
    position: relative;
    left: auto;
    bottom: auto;
    width: 92%;
    max-width: 430px;
    margin: 0 auto 22px;
    z-index: 2;
  }

  .hero-with-video .hero-content {
    background: rgba(22,13,9,.64);
    padding: 22px 18px;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.35);
    max-width: 620px;
  }

  .hero-text p {
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .hero-with-video .button-row { justify-content: center; }

  .hero-with-video h1 { font-size: 2.1rem; }
}

@media (max-width: 800px) {

  .site-nav {
    backdrop-filter: none;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-title { font-size: 1.2rem; }

  .brand-subtitle { font-size: .65rem; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 22px 7vw;
    background: var(--cream);
    border-bottom: 3px solid var(--gold);
  }

  .nav-open .nav-links { display: flex; }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .marquee-track img {
    width: 280px;
    height: 185px;
  }
}

@media (max-width: 520px) {

  .quote-line-two {
    margin-top: 28px;
  }

  .coffee-quote p {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .split-statement,
  .split h2 {
    font-size: 2rem;
    line-height: 1.14;
  }

  .split-statement span + span,
  .split-line-two {
    margin-top: 22px;
  }

  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(22,13,9,.04) 0%,
        rgba(22,13,9,.12) 28%,
        rgba(22,13,9,.50) 62%,
        rgba(22,13,9,.76) 100%
      ),
      url('../img/coffee-hero_02.jpg') 85% center/cover no-repeat;
  }

  .hero::after {
    height: 90px;
    background: linear-gradient(transparent, rgba(22,13,9,.42));
  }

  .hero-with-video {
    padding: 24px 16px 34px;
  }

  .hero-with-video .hero-video {
    width: 92%;
    max-width: 260px;
    margin: 0 auto 26px;
    transform: translateX(-12px);
    background: radial-gradient(
      circle,
      rgba(255, 225, 150, 0.48) 0%,
      rgba(255, 210, 120, 0.26) 38%,
      rgba(255, 210, 120, 0) 68%
    );
    border-radius: 50%;
    padding: 8px;
  }

  .hero-with-video .hero-video::before {
    display: none;
  }

  .hero-with-video .hero-video video {
    filter:
      brightness(1.42)
      contrast(1.18)
      saturate(1.12)
      drop-shadow(0 0 18px rgba(0,0,0,.85))
      drop-shadow(0 0 26px rgba(255,210,120,.55));
  }

  .hero-with-video .hero-content {
    background: rgba(22,13,9,.76);
    padding: 20px 16px;
    border-radius: 20px;
  }

  .hero-with-video .hero-logo {
    max-width: 250px;
    padding: 12px;
  }

  .hero-with-video h1 {
    font-size: 1.75rem;
    text-shadow: 0 3px 12px rgba(0,0,0,.95);
  }

  .hero .eyebrow,
  .hero-text {
    text-shadow: 0 3px 12px rgba(0,0,0,.95);
  }

  .hero-text {
    font-size: 1rem;
  }
}
