:root {
  --bg: #100b09;
  --bg-soft: #1a120f;
  --panel: rgba(31, 20, 16, 0.82);
  --panel-strong: rgba(37, 25, 20, 0.9);
  --line: rgba(255, 214, 189, 0.15);
  --line-strong: rgba(255, 214, 189, 0.28);
  --text: #fff6ef;
  --muted: #d9c7bb;
  --coffee: #c67b43;
  --coffee-strong: #8f4d24;
  --cream: #f3e2d0;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #140d0a 0%, #0b0706 100%);
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(198, 123, 67, 0.22), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.08), transparent 16%),
    radial-gradient(circle at bottom right, rgba(198, 123, 67, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 28%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 2px,
      transparent 2px,
      transparent 20px
    );
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 28px 40px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0 34px;
}

.site-header.compact {
  gap: 18px;
  padding-bottom: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  width: min(100%, 240px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.28));
}

.site-header.compact .brand-logo {
  width: min(100%, 180px);
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  color: var(--muted);
}

.site-nav a {
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 24px;
  align-items: stretch;
}

.glass-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(198, 123, 67, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.glass-panel > * {
  position: relative;
  z-index: 1;
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 14%),
    linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.06) 50%, transparent 56%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.copy-panel,
.sample-card,
.story-card,
.service-card,
.blog-card,
.tutorial-card,
.contact-form,
.contact-aside {
  padding: 42px;
}

.section,
.interior-page {
  display: grid;
  gap: 30px;
}

.interior-page {
  padding-top: 16px;
}

.section {
  margin-top: 48px;
}

.section-kicker,
.carousel-label,
.blog-meta {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e0a778;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.section-heading {
  max-width: 820px;
}

.section-heading h1,
.section-heading h2 {
  margin-top: 8px;
}

.section-heading p {
  max-width: 760px;
}

.hero h1 {
  margin-top: 10px;
  font-size: clamp(3rem, 6vw, 5.7rem);
  max-width: 10ch;
}

.hero-text,
.section-heading p,
.service-card p,
.story-card p,
.sample-card p,
.copy-panel p,
.blog-card p,
.contact-aside p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

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

.button.primary {
  background: linear-gradient(180deg, #d4925b 0%, #b46735 100%);
  color: #1a100c;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
}

.hero-metrics div {
  padding: 18px 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-metrics dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ebba8d;
}

.hero-metrics dd {
  margin: 10px 0 0;
  font-weight: 700;
}

.hero-visual {
  display: grid;
  gap: 28px;
  align-content: start;
}

.hero-badge {
  width: min(100%, 320px);
}

.hero-media-shell {
  display: grid;
  gap: 20px;
}

.hero-media-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.hero-media-head h2 {
  margin-top: 8px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.hero-media-carousel {
  position: relative;
  min-height: 520px;
}

.hero-media-card {
  display: none;
  gap: 22px;
  align-content: start;
}

.hero-media-card.active {
  display: grid;
}

.hero-media-card img,
.service-card img,
.story-card img {
  width: 100%;
  border-radius: 18px;
  background: #f2dfc7;
  padding: 18px;
}

.hero-media-card img {
  min-height: 360px;
  object-fit: contain;
}

.hero-media-copy {
  display: grid;
  gap: 10px;
}

.hero-media-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-media-label {
  color: #f3dfce;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hero-dots {
  margin-top: 0;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  color: #edd2bc;
  text-align: center;
  font-size: 0.94rem;
}

.trust-bar p {
  margin: 0;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.service-card,
.story-card,
.blog-card {
  display: grid;
  gap: 20px;
  align-content: start;
  min-width: 0;
}

.about-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-story-grid .story-card {
  min-height: 460px;
}

.about-story-grid .story-card img {
  min-height: 240px;
  object-fit: contain;
  object-position: center;
}

.about-story-grid .roaster-card img {
  min-height: 300px;
  padding: 28px;
}

.sustainability-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.sustainability-card {
  padding: 38px;
}

.stronghold-mark {
  width: min(100%, 520px);
  margin-bottom: 24px;
  background: #f2dfc7;
  border-radius: 18px;
  padding: 32px;
}

.carousel-shell {
  padding: 36px;
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  margin-bottom: 30px;
}

.carousel-actions {
  display: flex;
  gap: 10px;
}

.carousel-button,
.dot {
  cursor: pointer;
}

.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.4rem;
}

.coffee-carousel {
  position: relative;
  min-height: 360px;
}

.coffee-card {
  display: none;
  gap: 18px;
  padding: 32px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.coffee-card.active {
  display: grid;
}

.coffee-badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(198, 123, 67, 0.18);
  color: #efc29d;
  font-size: 0.82rem;
  font-weight: 700;
}

.coffee-origin {
  color: #f0cfb1;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.coffee-summary {
  margin: -4px 0 2px;
  color: #f8eadc;
  line-height: 1.8;
}

.coffee-pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coffee-pricing span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f6ddc8;
  font-size: 0.9rem;
  font-weight: 600;
}

.coffee-card ul,
.sample-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.coffee-notes {
  display: grid;
  gap: 10px;
}

.coffee-notes li {
  padding-left: 4px;
}

.coffee-notes strong {
  color: #f6ddc8;
  font-weight: 700;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.dot.active {
  background: var(--coffee);
}

.sample-grid,
.contact-layout,
.tutorial-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.sample-card,
.contact-aside,
.tutorial-card {
  display: grid;
  gap: 20px;
}

.sample-price {
  margin: 0;
  color: #f0cda9;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.sample-form,
.contact-form {
  display: grid;
  gap: 18px;
}

.sample-form label,
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: #f8e5d5;
}

.sample-form input,
.sample-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.sample-form select,
.contact-form select {
  color: #fff6ef;
  background-color: rgba(34, 23, 18, 0.96);
}

.sample-form option,
.contact-form option {
  color: #20140f;
  background-color: #f3e2d0;
}

.form-status {
  min-height: 1.2rem;
  margin: 0;
  color: #f0cfb1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.7fr;
  gap: 28px;
  align-items: center;
  margin-top: 56px;
  padding: 30px 0 24px;
  color: var(--muted);
}

.footer-logo {
  width: 120px;
}

.footer-copy {
  max-width: 28rem;
}

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

.footer-contact {
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .sample-grid,
  .contact-layout,
  .tutorial-grid,
  .service-grid,
  .story-grid,
  .blog-grid,
  .site-footer,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .site-header,
  .carousel-head,
  .hero-media-head {
    flex-direction: column;
    align-items: start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-contact {
    text-align: left;
  }

  .page-shell {
    padding: 18px 18px 28px;
  }

  .hero-copy,
  .hero-visual,
  .copy-panel,
  .sample-card,
  .story-card,
  .service-card,
  .blog-card,
  .contact-form,
  .contact-aside,
  .tutorial-card,
  .sustainability-card,
  .carousel-shell {
    padding: 28px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .coffee-card {
    padding: 24px;
  }

  .coffee-summary,
  .coffee-origin,
  .coffee-notes {
    font-size: 0.96rem;
  }
}
