@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Mono:wght@400;500&display=swap');

:root {
  --cream-warm: #FFF8F0;
  --cream-mid: #F5E6D3;
  --cream-deep: #EDE0D4;
  --ivory: #FBF5EF;
  --espresso: #3D2314;
  --coffee-rich: #6F4E37;
  --copper: #A0522D;
  --caramel: #D4A574;
  --cream-brulee: #E8D5C4;
  --gold-beige: #DEC5A8;
  --coffee-cream: #C9A882;
  --shadow-warm: rgba(61,35,20,0.08);
  --shadow-strong: rgba(61,35,20,0.15);
  --shadow-copper: rgba(160,82,45,0.35);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lora', Georgia, serif;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream-mid) 50%, var(--cream-deep) 100%);
  color: var(--espresso);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

strong, p, span, li, a, h1, h2, h3, h4, h5, h6, button, label, div {
  color: inherit;
}

strong { font-weight: 700; }

.font-serif-display {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.font-body-serif {
  font-family: 'Lora', Georgia, serif;
}

.font-mono {
  font-family: 'DM Mono', 'Courier New', monospace;
  letter-spacing: 0.05em;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--copper);
  border-radius: 4px;
  opacity: 0.4;
}

.pill-header {
  background: rgba(251,245,239,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid var(--cream-brulee);
  border-radius: 50px;
  box-shadow: 0 8px 32px var(--shadow-warm);
  padding: 12px 28px;
}

.pill-header nav a {
  color: var(--espresso);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pill-header nav a:hover {
  background: var(--copper);
  color: var(--ivory);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream-mid) 50%, var(--cream-deep) 100%);
  z-index: 100;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  transform: translateY(0);
}

.mobile-drawer .drawer-blob {
  position: absolute;
  border-radius: 60%;
  filter: blur(100px);
  opacity: 0.25;
  animation: pulseSlow 8s ease-in-out infinite;
}

@keyframes pulseSlow {
  0%, 100% { transform: scale(1) translate(0,0); }
  50% { transform: scale(1.1) translate(20px,-30px); }
}

@keyframes liquidDrift {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
  33% { transform: translate(50px,-30px) scale(1.1) rotate(120deg); }
  66% { transform: translate(-30px,40px) scale(0.95) rotate(240deg); }
}

@keyframes blobDrift {
  0% { transform: translate(0,0); }
  50% { transform: translate(60px,40px); }
  100% { transform: translate(0,0); }
}

@keyframes marqueeScrollL {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollR {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.liquid-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.liquid-blob {
  position: absolute;
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  filter: blur(60px);
  opacity: 0.5;
  animation: liquidDrift 35s ease-in-out infinite;
}

.drifting-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blobDrift 28s ease-in-out infinite;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScrollL 40s linear infinite;
}

.marquee-track-reverse {
  animation: marqueeScrollR 45s linear infinite;
}

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

.marquee-card {
  width: 380px;
  height: 440px;
  background: var(--ivory);
  border-radius: 28px;
  box-shadow: 0 16px 48px var(--shadow-warm);
  border: 2px solid transparent;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.marquee-card:hover {
  z-index: 20;
  transform: scale(1.06);
  border-radius: 20px;
  border-color: var(--copper);
  box-shadow: 0 20px 60px var(--shadow-strong);
}

.organic-card {
  background: var(--ivory);
  border-radius: 28px;
  border: 2px solid var(--cream-brulee);
  box-shadow: 0 12px 36px var(--shadow-warm);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--espresso);
}

.organic-card:hover {
  z-index: 20;
  transform: scale(1.04);
  border-radius: 20px;
  border-color: var(--copper);
  box-shadow: 0 20px 60px var(--shadow-strong);
  position: relative;
}

.masonry-card {
  background: var(--ivory);
  border-radius: 32px;
  overflow: hidden;
  border: 2px solid var(--cream-brulee);
  box-shadow: 0 12px 36px var(--shadow-warm);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--espresso);
}

.masonry-card:hover {
  z-index: 20;
  transform: scale(1.04);
  border-radius: 16px;
  border-color: var(--copper);
  box-shadow: 0 20px 60px var(--shadow-strong);
  position: relative;
}

.node-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 500;
  box-shadow: 0 8px 24px var(--shadow-copper);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.node-circle:hover {
  transform: scale(1.15);
  background: var(--caramel);
}

.cta-primary {
  background: var(--copper);
  color: var(--ivory);
  border: none;
  border-radius: 32px;
  padding: 22px 48px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px var(--shadow-copper);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  min-height: 56px;
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--shadow-copper);
  background: #8B4423;
  color: var(--ivory);
}

.cta-secondary {
  background: var(--ivory);
  color: var(--copper);
  border: 3px solid var(--copper);
  border-radius: 32px;
  padding: 19px 44px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  min-height: 56px;
}

.cta-secondary:hover {
  background: var(--copper);
  color: var(--ivory);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 0.54s; }

.faq-item {
  background: var(--ivory);
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--cream-brulee);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 12px;
}

.faq-item:hover {
  background: rgba(222,197,168,0.2);
}

.faq-item.is-open {
  background: var(--ivory);
  border: 2px solid var(--copper);
  box-shadow: 0 12px 36px var(--shadow-warm);
}

.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212,165,116,0.2);
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  transition: transform 0.4s ease, background 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
  background: var(--copper);
  color: var(--ivory);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 600px;
  margin-top: 16px;
}

.fade-mask {
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.sticky-split-img {
  position: sticky;
  top: 120px;
  border-radius: 0 0 0 40px;
  overflow: hidden;
}

.hover-reveal-list .reveal-trigger {
  padding: 18px 20px;
  border-left: 4px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hover-reveal-list .reveal-trigger.is-active,
.hover-reveal-list .reveal-trigger:hover {
  background: rgba(212,165,116,0.15);
  border-left-color: var(--copper);
}

.reveal-photo {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.35s ease;
  pointer-events: none;
  position: absolute;
}

.reveal-photo.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 20;
}

.flex-grow-grid > .flex-grow-card {
  flex: 1 1 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flex-grow-grid > .flex-grow-card:hover {
  flex-grow: 2;
  transform: scale(1.04);
  z-index: 20;
  border-color: var(--copper);
  box-shadow: 0 20px 60px var(--shadow-strong);
  border-radius: 20px;
}

.coverflow-track {
  display: flex;
  align-items: center;
  gap: 20px;
  perspective: 800px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 20px;
  /* scrollbar-width: none; */
}

.coverflow-track::-webkit-scrollbar { display: none; }

.coverflow-card {
  flex: 0 0 320px;
  scroll-snap-align: center;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--ivory);
  border-radius: 28px;
  border: 2px solid var(--cream-brulee);
  box-shadow: 0 12px 36px var(--shadow-warm);
  color: var(--espresso);
  padding: 36px 28px;
  position: relative;
}

.coverflow-card:nth-child(even) { border-radius: 24px; }
.coverflow-card:nth-child(3n) { border-radius: 32px; }

.coverflow-card:hover {
  z-index: 20;
  transform: scale(1.05);
  border-color: var(--copper);
}

.input-line {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--cream-brulee);
  padding: 12px 4px;
  width: 100%;
  font-family: 'Lora', serif;
  font-size: 16px;
  color: var(--espresso);
  outline: none;
  transition: border-color 0.3s ease;
}

.input-line:focus {
  border-bottom-color: var(--copper);
}

.input-line::placeholder {
  color: var(--coffee-rich);
  opacity: 0.5;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  background: var(--ivory);
  border: 2px solid var(--cream-brulee);
  border-radius: 24px;
  box-shadow: 0 16px 48px var(--shadow-strong);
  padding: 24px;
  z-index: 9999;
  font-size: 14px;
  color: var(--espresso);
}

.cookie-banner.is-hidden {
  display: none;
}

.fade-edge-left, .fade-edge-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 5;
  pointer-events: none;
}

.fade-edge-left { left: 0; background: linear-gradient(to right, var(--cream-warm), transparent); }
.fade-edge-right { right: 0; background: linear-gradient(to left, var(--cream-warm), transparent); }

.bg-copper { background-color: var(--copper); }
.bg-espresso { background-color: var(--espresso); }
.bg-ivory { background-color: var(--ivory); }
.bg-cream-brulee { background-color: var(--cream-brulee); }
.bg-caramel { background-color: var(--caramel); }
.bg-coffee-rich { background-color: var(--coffee-rich); }

.text-copper { color: var(--copper); }
.text-espresso { color: var(--espresso); }
.text-ivory { color: var(--ivory); }
.text-cream-brulee { color: var(--cream-brulee); }
.text-caramel { color: var(--caramel); }
.text-coffee-rich { color: var(--coffee-rich); }
.text-cream-warm { color: var(--cream-warm); }

.border-cream-brulee { border-color: var(--cream-brulee); }
.border-copper { border-color: var(--copper); }

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--espresso);
}

.hero-headline em {
  font-style: italic;
  color: var(--copper);
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--espresso);
}

.section-h3 {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.3;
  color: var(--espresso);
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.blob-bg-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 60%;
  background: var(--copper);
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.node-line {
  stroke: var(--caramel);
  stroke-width: 2;
  fill: none;
}

.marquee-img, .masonry-img, .team-img, .hero-img, .blog-img, .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.marquee-img-wrap {
  height: 200px;
  overflow: hidden;
  border-radius: 28px 28px 0 0;
}

.mobile-top-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251,245,239,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--cream-brulee);
  padding: 12px 20px;
}

.desktop-only { display: flex !important; }
.mobile-only { display: none !important; }

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .marquee-card { width: 320px; height: 400px; }
  .sticky-split-img { position: relative; top: 0; border-radius: 0; }
  .coverflow-card { flex: 0 0 280px; }
}

@media (max-width: 640px) {
  .hero-headline { font-size: 44px; }
  .section-h2 { font-size: 34px; }
  .cta-primary, .cta-secondary { width: 100%; padding: 18px 24px; }
  .marquee-card { width: 280px; height: 380px; }
  .coverflow-card { flex: 0 0 260px; padding: 28px 22px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .node-circle { width: 56px; height: 56px; font-size: 14px; }
  .liquid-blob { width: 60vw !important; height: 60vw !important; right: auto !important; left: auto !important; bottom: auto !important; }
  .drifting-blob { width: 40vw !important; height: 40vw !important; right: auto !important; left: auto !important; top: auto !important; bottom: auto !important; }
  .blob-bg-decoration { width: 50vw !important; height: 50vw !important; }
  .mobile-drawer .drawer-blob { width: 60vw !important; height: 60vw !important; right: auto !important; left: auto !important; top: auto !important; bottom: auto !important; }
  .liquid-canvas { overflow: visible; }
  section.relative > .liquid-canvas { overflow: hidden; }
  footer.relative > .drifting-blob { position: absolute; right: -50px !important; left: auto !important; bottom: -50px !important; top: auto !important; }
}

.espresso-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--caramel), transparent);
  margin: 60px 0;
}

.float-anim-1 { animation: blobDrift 22s ease-in-out infinite; }
.float-anim-2 { animation: blobDrift 28s ease-in-out infinite 3s; }
.float-anim-3 { animation: blobDrift 35s ease-in-out infinite 7s; }

.print-only { display: none; }