:root {
  --bg: oklch(0.99 0.004 124);
  --surface: oklch(0.962 0.01 124);
  --surface-strong: oklch(0.912 0.024 124);
  --ink: oklch(0.18 0.032 95);
  --muted: oklch(0.41 0.032 104);
  --primary: oklch(0.34 0.096 136);
  --primary-dark: oklch(0.24 0.064 136);
  --coffee: oklch(0.29 0.07 62);
  --accent: oklch(0.38 0.082 64);
  --accent-soft: oklch(0.91 0.036 112);
  --gold: oklch(0.72 0.085 78);
  --line: oklch(0.84 0.012 118);
  --white: oklch(1 0 0);
  --shadow: 0 6px 8px oklch(0.18 0.032 95 / 0.08);
  --max: 1180px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Commissioner", Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(18px, 4vw, 52px);
  color: var(--ink);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 38px;
  place-items: center;
  overflow: hidden;
}

.brand-mark img {
  width: 48px;
  max-width: none;
  height: auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
}

.nav-quote {
  padding: 10px 14px !important;
  color: var(--white) !important;
  background: var(--accent);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--ink);
}

/* HERO FIXED */

.hero {
  position: relative;
  min-height: calc(82svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 52px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, oklch(0.08 0.018 108 / 0.22), transparent 62%),
    linear-gradient(135deg, oklch(0.16 0.026 98) 0%, oklch(0.23 0.058 130) 70%, oklch(0.16 0.026 98) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.hero-kicker,
.section-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold);
}

.hero h1 {
  max-width: 13ch;
  margin-top: 14px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  font-weight: 800;
  text-wrap: balance;
}

.hero-copy {
  max-width: 60ch;
  margin-top: 24px;
  color: oklch(0.93 0 0);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(420px, 100%);
  padding: clamp(22px, 3vw, 30px);
  color: var(--white);
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.22);
  border-radius: 8px;
}

.hero-panel-heading {
  display: grid;
  gap: 8px;
}

.hero-panel-heading p {
  color: var(--gold);
  font-weight: 800;
}

.hero-panel-heading span {
  max-width: 29ch;
  color: oklch(0.93 0.012 120);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-supply-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid oklch(1 0 0 / 0.2);
  border-bottom: 1px solid oklch(1 0 0 / 0.2);
}

.hero-supply-list div {
  display: grid;
  gap: 6px;
  padding: 16px 0;
}

.hero-supply-list div + div {
  border-top: 1px solid oklch(1 0 0 / 0.16);
}

.hero-supply-list strong {
  font-size: 1rem;
  line-height: 1.2;
}

.hero-supply-list span {
  color: oklch(0.9 0.015 120);
  line-height: 1.45;
  text-wrap: pretty;
}

.hero-panel-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--white);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.hero-panel-link:hover,
.hero-panel-link:focus-visible {
  color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--coffee);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  color: var(--white);
  background: oklch(1 0 0 / 0.14);
  outline: 1px solid oklch(1 0 0 / 0.45);
}

.product-strip {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.product-strip a {
  flex: 1 0 max-content;
  min-width: 150px;
  padding: 16px clamp(16px, 3vw, 28px);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.product-strip a:hover,
.product-strip a:focus-visible {
  color: var(--white);
  background: var(--primary);
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 9vw, 118px) 0;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.section-label {
  color: var(--primary);
  margin-bottom: 12px;
}

.section h2,
.quote-section h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.5vw, 4.1rem);
  letter-spacing: -0.025em;
  line-height: 1;
  text-wrap: balance;
}

.section-body {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

#about h2 {
  max-width: 13ch;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 52px);
}

.section-heading h2 {
  max-width: 14ch;
}

.section-heading p:not(.section-label) {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.beans-section {
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 4vw, 52px);
  padding-left: clamp(18px, 4vw, 52px);
  background:
    linear-gradient(180deg, var(--surface), oklch(0.93 0.022 112));
}

.beans-section .section-heading,
.bean-list {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.bean-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bean-item {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.bean-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-strong);
}

.bean-item div {
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: clamp(18px, 2.5vw, 24px);
}

.bean-item h3 {
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.bean-item p {
  color: var(--muted);
  text-wrap: pretty;
}

.supply-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.supply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.supply-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 800;
}

.supply-card span {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  background: var(--gold);
  border-radius: 999px;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(18px, 4vw, 38px);
  width: 100%;
  max-width: none;
  padding-right: clamp(18px, 4vw, 52px);
  padding-left: clamp(18px, 4vw, 52px);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 20%, oklch(0.51 0.07 136 / 0.45), transparent 30%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.delivery-panel,
.coverage-list {
  width: min(100%, 720px);
}

.delivery-section .section-label {
  color: var(--gold);
}

.delivery-panel p:not(.section-label) {
  max-width: 64ch;
  margin-top: 20px;
  color: oklch(0.94 0.015 156);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--white);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.coverage-list {
  display: grid;
  gap: 14px;
  align-self: center;
}

.coverage-list div {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: oklch(1 0 0 / 0.1);
  border-radius: 8px;
}

.coverage-list strong {
  font-size: 1.18rem;
}

.coverage-list span {
  color: oklch(0.94 0.015 156);
}

.why-section {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 118px);
  align-items: start;
}

.why-section .section-heading {
  max-width: 420px;
  margin-bottom: 0;
}

.why-section .section-heading h2 {
  max-width: 8ch;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.why-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-item {
  display: flex;
  align-items: center;
  min-height: 70px;
  padding: 20px 0;
  background: var(--bg);
}

.why-item strong {
  color: var(--primary);
  font-size: 1.02rem;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 78px);
  padding: clamp(66px, 9vw, 118px) clamp(18px, 4vw, 52px);
  background: var(--surface-strong);
}

.quote-copy {
  max-width: 480px;
}

.quote-copy p:not(.section-label) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.quote-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: oklch(0.36 0.018 34);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px oklch(0.34 0.11 156 / 0.18);
}

.form-submit {
  width: fit-content;
}

.hidden {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: var(--ink);
}

.site-footer small {
  color: oklch(0.88 0 0);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    background: var(--bg);
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 18px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-quote {
    width: fit-content;
    margin-top: 14px;
    padding: 12px 16px !important;
    border-bottom: 0 !important;
  }

  .section-split,
  .hero,
  .supply-section,
  .delivery-section,
  .why-section,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(42px, 8vw, 72px);
    padding-bottom: clamp(42px, 8vw, 72px);
  }

  .hero-panel {
    justify-self: start;
    width: min(440px, 100%);
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.8rem, 9vw, 4.6rem);
  }

  .delivery-panel,
  .coverage-list,
  .quote-copy {
    width: 100%;
    max-width: none;
  }
}

@media (min-width: 981px) and (max-width: 1180px) {
  #about h2 {
    font-size: clamp(2rem, 3.7vw, 3.25rem);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .hero {
    gap: 28px;
    align-items: start;
    padding-top: 34px;
    padding-bottom: 42px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 12vw, 3.5rem);
    line-height: 1;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .product-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
  }

  .product-strip a {
    min-width: 0;
  }

  .section h2,
  .quote-section h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 11vw, 3.15rem);
  }

  .supply-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .bean-item {
    min-height: auto;
  }

  .why-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .form-submit {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bean-list,
  .product-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 28ch;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    max-width: 11ch;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
