/* Kenpresso. Premium coffee and beverage startup */

:root {
  --espresso: #17120F;
  --cocoa: #3A241B;
  --cream: #F5EBDD;
  --oat: #E5D2B8;
  --orange: #D96732;
  --pistachio: #B9C88A;
  --foam: #FFF8F0;
  --ink: #1C1612;
  --muted: #8A7A6C;
  --line: rgba(23, 18, 15, 0.12);
  --line-light: rgba(245, 235, 221, 0.16);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;

  --nav-h: 5.25rem;
  --radius: 1.35rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1.25rem, 4vw, 3rem);
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--espresso);
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

ul,
ol {
  list-style: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--orange);
  color: var(--foam);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
}

.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-wrap: balance;
  font-size: clamp(2.4rem, 7vw, 6.4rem);
}

.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.eyebrow,
.section-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 38rem;
  color: color-mix(in srgb, var(--cream) 78%, transparent);
}

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  transition: transform 0.45s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn-primary {
  background: var(--orange);
  color: var(--foam);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #c45526;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-light);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--cream);
}

.btn-nav {
  background: var(--orange);
  color: var(--foam);
  padding: 0.72rem 1.1rem;
  font-size: 0.92rem;
}

.btn-add {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-light);
  margin-top: 0.85rem;
}

.product-card:hover .btn-add,
.btn-add:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-3px);
}

.arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}

.btn:hover .arrow {
  transform: translate(3px, -3px);
}

:focus-visible {
  outline: 2px solid var(--pistachio);
  outline-offset: 3px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.logo-mark {
  width: 2.45rem;
  height: 2.45rem;
  flex: none;
  color: var(--cream);
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.logo-orbit {
  transform-origin: 32px 32px;
  animation: spin 22s linear infinite;
}

.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 0.92rem;
  color: var(--cream);
}

.logo-o {
  display: inline-flex;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.08em;
  margin-left: 0.02em;
}

.logo-o svg {
  width: 100%;
  height: 100%;
}

/* Navigation */
.site-header {
  position: sticky;
  top: 0.7rem;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 var(--space);
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
  padding: 0.45rem 0.55rem 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(23, 18, 15, 0.42);
  border: 1px solid var(--line-light);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), color 0.45s var(--ease);
}

.site-header.is-light .nav {
  background: rgba(245, 235, 221, 0.72);
  border-color: var(--line);
}

.site-header.is-light .logo-word,
.site-header.is-light .logo-mark,
.site-header.is-light .nav-links a,
.site-header.is-light .icon-btn {
  color: var(--espresso);
}

.nav-links {
  display: flex;
  gap: 1.35rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--cream);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  color: var(--cream);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-btn svg {
  width: 1.2rem;
  height: 1.2rem;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: var(--pistachio);
  color: var(--espresso);
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  opacity: 0;
}

.cart-count.is-on {
  opacity: 1;
}

.hamburger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 1.5px;
  width: 1.15rem;
  margin: 0.28rem auto;
  background: currentColor;
  color: inherit;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.site-header.is-light .hamburger span {
  background: var(--espresso);
}

body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--cream);
  display: grid;
  place-items: center;
  padding: 6rem 1.5rem 2rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-inner {
  width: min(28rem, 100%);
}

.mobile-menu nav {
  display: grid;
  gap: 0.4rem;
  margin: 1.5rem 0 2rem;
}

.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: start center;
  padding: 7rem 1rem 1rem;
}

.search-panel[hidden],
.cart-drawer[hidden],
.backdrop[hidden] {
  display: none;
}

.overlay-card {
  width: min(520px, 100%);
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 30px 80px rgba(23, 18, 15, 0.28);
}

.overlay-card input,
.join-form input {
  width: 100%;
  margin-top: 0.8rem;
  border: 1px solid var(--line);
  background: var(--foam);
  border-radius: 999px;
  padding: 0.95rem 1.1rem;
  color: var(--espresso);
}

.overlay-card input:focus-visible,
.join-form input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 55;
  width: min(380px, 100%);
  height: 100%;
  background: var(--cream);
  padding: 1.2rem;
  box-shadow: -20px 0 60px rgba(23, 18, 15, 0.2);
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-head h2,
.cart-head .icon-btn {
  color: var(--espresso);
  font-family: var(--font-display);
}

.cart-body {
  margin-top: 1.2rem;
}

.cart-empty {
  color: var(--cocoa);
}

.cart-item {
  display: flex;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(23, 18, 15, 0.45);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: 7.5rem var(--space) 4rem;
  color: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(245, 235, 221, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 235, 221, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: drift 18s ease-in-out infinite;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  right: -8vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(217, 103, 50, 0.22), transparent 68%);
}

.orb-b {
  width: 28vw;
  height: 28vw;
  left: -6vw;
  bottom: 0;
  background: radial-gradient(circle, rgba(185, 200, 138, 0.12), transparent 70%);
  animation-delay: -6s;
}

.curve {
  position: absolute;
  inset: 12% 8% auto auto;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(245, 235, 221, 0.08);
  border-radius: 50%;
  animation: spin 48s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-copy .display {
  margin: 0.85rem 0 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.6rem 0 1.4rem;
}

.hero-note {
  font-size: 0.92rem;
  color: var(--oat);
}

.hero-stage {
  position: relative;
  height: min(72vh, 640px);
  min-height: 460px;
}

.stage-glow {
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(circle, rgba(217, 103, 50, 0.18), transparent 65%);
}

/* Product art */
.pack {
  position: relative;
}

.pack-clip {
  width: 190px;
  height: 250px;
  border-radius: 18px 18px 28px 28px;
  background:
    linear-gradient(180deg, rgba(245, 235, 221, 0.08), transparent 28%),
    #241910;
  border: 1px solid rgba(245, 235, 221, 0.12);
  padding: 1.1rem 1rem;
  box-shadow: 18px 30px 50px rgba(0, 0, 0, 0.28);
  transform: rotate(-8deg);
}

.pack-clip.dark {
  background: linear-gradient(180deg, #2a1c14, #17120f 55%);
}

.pack-clip.night {
  background: linear-gradient(180deg, #1b1612, #0f0c0a 60%);
}

.pack-clip.tall {
  width: 230px;
  height: 340px;
  transform: rotate(-4deg);
}

.pack-seal {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--cream);
  color: var(--espresso);
  font-size: 0.85rem;
}

.pack-seal.orange { background: var(--orange); color: var(--foam); }
.pack-seal.pistachio { background: var(--pistachio); color: var(--espresso); }

.pack-brand {
  margin-top: 1.3rem;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  color: var(--oat);
}

.pack-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  margin-top: 0.2rem;
}

.pack-name.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
}

.pack-notes {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.pack-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  height: 8px;
  background: var(--orange);
}

.pack-stripe.pistachio { background: var(--pistachio); }

.pack-hero {
  position: absolute;
  left: 18%;
  top: 12%;
  z-index: 2;
}

.pack-signature {
  filter: drop-shadow(0 30px 40px rgba(23, 18, 15, 0.18));
}

.cup {
  position: absolute;
  right: 16%;
  top: 28%;
  z-index: 3;
}

.steam {
  position: absolute;
  left: 28px;
  top: -48px;
  width: 50px;
  height: 50px;
}

.steam span {
  position: absolute;
  width: 10px;
  height: 34px;
  border: 1.5px solid rgba(245, 235, 221, 0.45);
  border-radius: 50%;
  animation: steam 3.6s ease-in-out infinite;
}

.steam span:nth-child(2) { left: 14px; animation-delay: 0.5s; }
.steam span:nth-child(3) { left: 28px; animation-delay: 1s; }

.cup-body {
  width: 92px;
  height: 72px;
  background: linear-gradient(180deg, #f3e7d6, #d9c3a4);
  border-radius: 0 0 40px 40px;
  position: relative;
}

.cup-rim {
  position: absolute;
  top: -8px;
  left: -4px;
  right: -4px;
  height: 16px;
  border-radius: 50%;
  background: #efe0cb;
  box-shadow: inset 0 6px 0 #c9ae8d;
}

.cup-inner {
  position: absolute;
  top: 2px;
  left: 10px;
  right: 10px;
  height: 12px;
  border-radius: 50%;
  background: #3a241b;
}

.cup-handle {
  position: absolute;
  right: -22px;
  top: 12px;
  width: 28px;
  height: 34px;
  border: 7px solid #e5d2b8;
  border-left: 0;
  border-radius: 0 18px 18px 0;
}

.cup-saucer {
  width: 118px;
  height: 14px;
  margin: 4px 0 0 -12px;
  border-radius: 50%;
  background: #ead9c0;
}

.can {
  width: 92px;
}

.can-top {
  height: 12px;
  border-radius: 8px 8px 2px 2px;
  background: #cfc0ab;
}

.can-body {
  height: 150px;
  border-radius: 8px 8px 18px 18px;
  padding: 1rem 0.7rem;
  text-align: center;
  color: var(--cream);
  background: linear-gradient(180deg, #e07a42, #b84a1e);
}

.can-body p {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.6rem;
}

.can-mark {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
}

.can-mark.dark {
  background: var(--espresso);
  color: var(--cream);
}

.can-hero {
  position: absolute;
  right: 6%;
  bottom: 8%;
  transform: rotate(12deg);
  z-index: 2;
}

.can-oat .can-body {
  background: linear-gradient(180deg, #efe0c8, #d7bd96);
  color: var(--espresso);
}

.can-orange .can-body {
  background: linear-gradient(180deg, #e8894d, #c45322);
}

.bean {
  position: absolute;
  width: 22px;
  height: 32px;
  background: #4a2d22;
  border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%;
  box-shadow: inset -6px -4px 0 rgba(0, 0, 0, 0.18);
  animation: bean 7s ease-in-out infinite;
}

.bean::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  height: 64%;
  width: 1.5px;
  background: #d7b48c;
  transform: translateX(-50%) rotate(-8deg);
  border-radius: 2px;
}

.bean-1 { left: 8%; bottom: 22%; }
.bean-2 { left: 62%; top: 10%; animation-delay: -2s; }
.bean-3 { right: 28%; bottom: 16%; animation-delay: -4s; width: 16px; height: 24px; }

.foam {
  position: absolute;
  left: 42%;
  bottom: 10%;
  width: 90px;
  height: 40px;
  background: radial-gradient(circle at 30% 40%, #fff8f0, #e5d2b8 70%);
  border-radius: 50%;
  filter: blur(0.4px);
  opacity: 0.85;
}

.blob {
  position: absolute;
  border-radius: 42% 58% 50% 50%;
  opacity: 0.35;
}

.blob-a {
  width: 120px;
  height: 90px;
  background: var(--pistachio);
  right: 0;
  top: 8%;
}

.blob-b {
  width: 80px;
  height: 80px;
  background: var(--orange);
  left: 0;
  bottom: 8%;
  opacity: 0.2;
}

.stamp {
  position: absolute;
  right: -1%;
  top: 4%;
  width: 148px;
  height: 148px;
  color: var(--cream);
  animation: spin 28s linear infinite;
  z-index: 4;
}

.stamp text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2.5px;
  fill: currentColor;
}

.stamp-k {
  font-size: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  fill: var(--orange);
}

.float-slow { animation: float 7s ease-in-out infinite; }
.float-mid { animation: float 5.5s ease-in-out infinite reverse; }
.float-alt { animation: float 6.5s ease-in-out infinite; animation-delay: -2s; }

/* Trust */
.trust {
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(23, 18, 15, 0.035) 1px, transparent 0);
  background-size: 22px 22px;
  color: var(--espresso);
  padding: 1.4rem var(--space);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
}

.trust-line {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  font-size: 0.9rem;
  color: var(--cocoa);
}

.trust-points li {
  position: relative;
  padding: 0 0.4rem;
}

.trust-points li + li::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 0.35rem;
  width: 1px;
  height: 0.9rem;
  background: var(--line);
}

/* Intro */
.intro,
.signature,
.method,
.community,
.quote,
.newsletter {
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(23, 18, 15, 0.035) 1px, transparent 0),
    linear-gradient(180deg, rgba(255, 248, 240, 0.35), transparent 28%);
  background-size: 22px 22px, auto;
  color: var(--espresso);
  padding: clamp(4rem, 9vw, 8rem) var(--space);
  position: relative;
  overflow: hidden;
}

.intro-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem 3rem;
}

.intro .section-label { grid-column: 1 / -1; }
.intro .display { max-width: 12ch; }
.intro-copy {
  font-size: 1.12rem;
  max-width: 38rem;
  align-self: end;
}

.intro-aside {
  grid-column: 2;
  max-width: 24rem;
  color: var(--cocoa);
  display: grid;
  gap: 0.6rem;
}

.intro-aside .serif {
  font-size: 1.45rem;
  color: var(--espresso);
}

.giant-k {
  position: absolute;
  right: -4vw;
  bottom: -12%;
  font-family: var(--font-display);
  font-size: 42vw;
  line-height: 0.7;
  font-weight: 700;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}

/* Products */
.products,
.flavors,
.story,
.final-cta,
.site-footer {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(4rem, 9vw, 8rem) var(--space);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 2.4rem;
}

.product-rail {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) transparent;
}

.product-card {
  scroll-snap-align: start;
  background: #1f1915;
  border: 1px solid var(--line-light);
  border-radius: 1.6rem;
  padding: 1.1rem;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s var(--ease);
}

.product-card::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  top: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 103, 50, 0.45);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-cat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pistachio);
}

.product-visual {
  height: 230px;
  display: grid;
  place-items: center;
  margin: 0.6rem 0 1rem;
}

.product-visual .pack-clip,
.product-visual .can {
  transition: transform 0.55s var(--ease);
}

.product-card:hover .product-visual .pack-clip,
.product-card:hover .product-visual .can {
  transform: rotate(-4deg) scale(1.08);
}

.product-visual .can {
  transform: rotate(8deg);
}

.oat-scene { background: radial-gradient(circle at 50% 70%, rgba(229, 210, 184, 0.12), transparent 60%); }
.night-scene { background: radial-gradient(circle at 50% 70%, rgba(185, 200, 138, 0.1), transparent 60%); }

.product-meta h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.profile {
  color: var(--oat);
  font-size: 0.92rem;
  margin: 0.25rem 0 0.8rem;
}

.product-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  color: var(--cream);
  font-weight: 600;
}

.product-meta {
  margin-top: auto;
}

/* Signature */
.signature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

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

.signature-copy p:last-of-type {
  margin-top: 1rem;
  color: var(--cocoa);
}

.signature-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.sig-notes {
  position: absolute;
  inset: 8% 4%;
  pointer-events: none;
}

.sig-notes li {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sig-notes li span {
  background: var(--cream);
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.sig-notes li::after {
  content: "";
  position: absolute;
  height: 1px;
  background: var(--cocoa);
  opacity: 0.35;
  top: 50%;
}

.sig-notes li:nth-child(1) { left: 0; top: 12%; }
.sig-notes li:nth-child(1)::after { left: 100%; width: 70px; }
.sig-notes li:nth-child(2) { right: 0; top: 22%; }
.sig-notes li:nth-child(2)::after { right: 100%; width: 80px; }
.sig-notes li:nth-child(3) { left: 2%; bottom: 22%; }
.sig-notes li:nth-child(3)::after { left: 100%; width: 90px; }
.sig-notes li:nth-child(4) { right: 4%; bottom: 16%; }
.sig-notes li:nth-child(4)::after { right: 100%; width: 70px; }

/* Flavors */
.flavor-spectrum {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.flavor {
  text-align: left;
  background: #1f1915;
  color: var(--cream);
  border: 1px solid var(--line-light);
  border-radius: 1.4rem;
  padding: 1.4rem 1.2rem 1.6rem;
  min-height: 240px;
  cursor: pointer;
  transition: flex 0.45s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}

.flavor h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 1.4rem 0 0.4rem;
}

.flavor-pos {
  color: var(--orange);
  letter-spacing: 0.14em;
  font-size: 0.78rem;
}

.flavor-rec {
  margin-top: 1.2rem;
  color: var(--pistachio);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.flavor:hover,
.flavor.is-active,
.flavor:focus-visible {
  background: #2a211b;
  transform: translateY(-6px);
}

.flavor:hover .flavor-rec,
.flavor.is-active .flavor-rec,
.flavor:focus-visible .flavor-rec {
  opacity: 1;
  transform: none;
}

.flavor[data-flavor="bright"].is-active { border-color: var(--pistachio); }
.flavor[data-flavor="balanced"].is-active { border-color: var(--orange); }
.flavor[data-flavor="creamy"].is-active { border-color: var(--oat); }
.flavor[data-flavor="bold"].is-active { border-color: #8a5a3a; }

.spectrum-axis {
  width: min(var(--max), 100%);
  margin: 1.2rem auto 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

/* Method */
.method-track {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: 1rem;
}

.steam-path {
  width: 100%;
  height: 120px;
  color: var(--orange);
  opacity: 0.55;
}

.steam-path path {
  stroke-dasharray: 8 10;
  animation: dash 12s linear infinite;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.method-steps li span {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.method-steps p {
  margin-top: 0.45rem;
  color: var(--cocoa);
  max-width: 16ch;
}

/* Story */
.story .display {
  max-width: 16ch;
  margin: 0.8rem 0 1.2rem;
}

/* Community */
.masonry {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 90px;
  gap: 0.8rem;
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #e8d7c0;
}

.shot figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--espresso);
  background: rgba(245, 235, 221, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.shot-a { grid-column: span 5; grid-row: span 4; }
.shot-b { grid-column: span 4; grid-row: span 3; }
.shot-c { grid-column: span 3; grid-row: span 3; }
.shot-d { grid-column: span 3; grid-row: span 3; }
.shot-e { grid-column: span 4; grid-row: span 4; }
.shot-f { grid-column: span 5; grid-row: span 3; }
.shot-g { grid-column: span 3; grid-row: span 3; }

.shot-art {
  height: 100%;
  position: relative;
}

.morning { background: linear-gradient(160deg, #f7efe3, #e7c9a4); }
.table { background: linear-gradient(180deg, #d7c2a6, #b99672); }
.friends { background: linear-gradient(180deg, #3a241b, #17120f); }
.bagshot { background: linear-gradient(180deg, #2b1d16, #17120f); }
.canshot { background: linear-gradient(160deg, #d96732, #9e3e16); }
.desk { background: linear-gradient(180deg, #efe4d3, #d2b792); }
.street { background: linear-gradient(180deg, #1c1612, #3a241b); }

.shot-cup {
  position: absolute;
  left: 38%;
  bottom: 22%;
  width: 70px;
  height: 54px;
  background: #f4ebdd;
  border-radius: 0 0 28px 28px;
}

.shot-steam {
  position: absolute;
  left: 48%;
  bottom: 54%;
  width: 8px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(58, 36, 27, 0.35);
  animation: steam 3s ease-in-out infinite;
}

.shot-plate {
  position: absolute;
  left: 18%;
  bottom: 24%;
  width: 54%;
  height: 14px;
  background: #f5ebdd;
  border-radius: 50%;
}

.shot-bag {
  position: absolute;
  right: 18%;
  top: 18%;
  width: 52px;
  height: 70px;
  background: #17120f;
  border-radius: 8px 8px 14px 14px;
}

.shot-glass,
.mini-can,
.shot-can-walk {
  position: absolute;
  width: 42px;
  height: 78px;
  border-radius: 8px 8px 16px 16px;
  background: var(--orange);
  left: 30%;
  top: 28%;
}

.shot-glass.alt {
  left: 52%;
  background: var(--oat);
  transform: rotate(8deg);
}

.mini-pack {
  position: absolute;
  left: 32%;
  top: 18%;
  width: 70px;
  height: 100px;
  background: #24180f;
  border-radius: 10px 10px 18px 18px;
  border-bottom: 8px solid var(--orange);
}

.shot-laptop {
  position: absolute;
  left: 16%;
  top: 30%;
  width: 58%;
  height: 38%;
  background: #3a241b;
  border-radius: 8px;
}

.shot-mug {
  position: absolute;
  right: 14%;
  bottom: 22%;
  width: 34px;
  height: 28px;
  background: var(--cream);
  border-radius: 0 0 12px 12px;
}

/* Quote */
.quote blockquote {
  width: min(820px, 100%);
  margin: 0 auto;
  position: relative;
  padding-top: 1rem;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 16vw, 12rem);
  line-height: 0.4;
  color: var(--orange);
  position: absolute;
  left: -0.15em;
  top: -0.15em;
  opacity: 0.7;
}

.quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  position: relative;
}

.quote footer {
  margin-top: 1.4rem;
  display: grid;
}

.quote cite {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* Newsletter */
.newsletter-inner {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.join-form {
  display: flex;
  gap: 0.6rem;
  margin: 1.4rem 0 0.8rem;
}

.join-form input {
  margin-top: 0;
}

/* Final CTA */
.final-cta {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  background:
    radial-gradient(1200px 280px at 50% 120%, rgba(217, 103, 50, 0.22), transparent 60%),
    radial-gradient(800px 200px at 10% 0%, rgba(229, 210, 184, 0.08), transparent 50%),
    var(--espresso);
}

.final-cta .display {
  margin: 0.6rem auto 1rem;
  max-width: 14ch;
}

.final-cta p {
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  color: var(--oat);
}

.cta-k {
  color: var(--cream);
  right: 50%;
  transform: translateX(50%);
  bottom: -18%;
  font-size: min(70vw, 28rem);
  opacity: 0.06;
}

/* Footer */
.site-footer {
  padding-top: 3.5rem;
  padding-bottom: 1.6rem;
  border-top: 1px solid var(--line-light);
}

.footer-top {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.6fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  margin-top: 0.8rem;
  color: var(--oat);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.footer-cols h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--pistachio);
}

.footer-cols a {
  display: inline-block;
  padding: 0.2rem 0;
  color: var(--oat);
}

.footer-cols a:hover {
  color: var(--cream);
}

.footer-bottom {
  width: min(var(--max), 100%);
  margin: 2.4rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes steam {
  0% { transform: translateY(8px) scaleX(1); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translateY(-18px) scaleX(1.15); opacity: 0; }
}

@keyframes bean {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.08); }
}

@keyframes dash {
  to { stroke-dashoffset: -200; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6.5rem;
  }

  .hero-stage {
    min-height: 420px;
    height: 480px;
  }

  .intro-grid,
  .signature,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .intro-aside {
    grid-column: 1;
  }

  .method-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .method-steps li:last-child {
    grid-column: 1 / -1;
  }

  .flavor-spectrum {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links,
  .btn-nav {
    display: none;
  }

  .hamburger {
    display: block;
    color: var(--cream);
  }

  .masonry {
    grid-template-columns: repeat(6, 1fr);
  }

  .shot-a,
  .shot-f { grid-column: span 6; }
  .shot-b,
  .shot-c,
  .shot-d,
  .shot-e,
  .shot-g { grid-column: span 3; }
}

@media (max-width: 720px) {
  .site-header {
    top: 0.4rem;
    padding-inline: 0.7rem;
  }

  .logo-word {
    letter-spacing: 0.1em;
    font-size: 0.78rem;
  }

  .hero {
    padding-inline: 1.1rem;
  }

  .hero-stage {
    height: 390px;
    min-height: 360px;
  }

  .pack-hero { left: 6%; }
  .stamp { width: 110px; height: 110px; }
  .can-hero { right: 2%; }

  .product-rail {
    grid-auto-columns: 78%;
  }

  .join-form,
  .footer-bottom,
  .footer-cols {
    display: grid;
    grid-template-columns: 1fr;
  }

  .flavor-spectrum,
  .method-steps {
    grid-template-columns: 1fr;
  }

  .sig-notes {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.2rem;
  }

  .sig-notes li {
    position: static;
  }

  .sig-notes li::after {
    display: none;
  }

  .masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

  .shot-a,
  .shot-b,
  .shot-c,
  .shot-d,
  .shot-e,
  .shot-f,
  .shot-g {
    grid-column: span 1;
    grid-row: span 1;
  }

  .btn,
  .join-form .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-k {
    font-size: 70vw;
  }
}

@media (min-width: 1025px) {
  .flavor-spectrum {
    display: flex;
  }

  .flavor {
    flex: 1;
  }

  .flavor:hover,
  .flavor.is-active {
    flex: 1.35;
  }
}
