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

:root {
  --bg:       #0a0805;
  --surface:  #13100c;
  --surface-2:#1c1812;
  --border:   #2a2318;
  --accent:   #c8962a;
  --accent-2: #e0b050;
  --text:     #ede8df;
  --muted:    #7a6e5e;
  --muted-2:  #45392e;
  --font:     'Satoshi', sans-serif;
  --display:  'Cabinet Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--text); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* === CUSTOM CURSOR === */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, opacity 0.2s;
  mix-blend-mode: screen;
}
.cursor.expanded {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* === ANIMATIONS === */
.animate {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-scroll.visible { opacity: 1; transform: translateY(0); }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  z-index: 200;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(10,8,5,0.92);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}

.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(237,232,223,0.6);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: var(--bg) !important;
}

/* === SECTION LABEL === */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 2.5rem 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.7);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,5,0.95) 20%, rgba(10,8,5,0.3) 70%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 680px;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(237,232,223,0.65);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: none;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.btn:hover { background: var(--accent-2); color: var(--bg); transform: translateY(-2px); }
.btn:active { transform: scale(0.97); }
.btn.full { width: 100%; text-align: center; border-radius: 10px; cursor: none; }

.btn-outline {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(237,232,223,0.6);
  border: 1px solid rgba(237,232,223,0.2);
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  transition: color 0.2s, border-color 0.2s;
  letter-spacing: 0.02em;
}
.btn-outline:hover { color: var(--text); border-color: rgba(237,232,223,0.5); }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* === MARQUEE === */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 20s linear infinite;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-track .dot { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === ROASTS === */
.roasts {
  padding: 8rem 0;
  border-bottom: 1px solid var(--border);
}

.roasts-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
}
.roasts-header .section-label { margin-bottom: 0; }
.roasts-sub {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: right;
  max-width: 200px;
}

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

.roast-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s;
}
.roast-card:hover { border-color: var(--accent); transform: translateY(-4px); }

.roast-img {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.roast-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.8);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}
.roast-card:hover .roast-img img { transform: scale(1.06); filter: brightness(0.9) saturate(1); }

.roast-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
}
.roast-badge.sold-out { background: var(--muted-2); color: var(--muted); }

.roast-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.roast-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.roast-top h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.roast-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.roast-notes {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.roast-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-top: 0.25rem;
}

.btn-roast {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  cursor: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: 0.03em;
  width: 100%;
  text-align: center;
}
.btn-roast:hover:not([disabled]) { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.btn-roast[disabled] { opacity: 0.4; cursor: not-allowed; }

/* === FEATURE === */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.feature-img {
  overflow: hidden;
}
.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.8);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.feature:hover .feature-img img { transform: scale(1.03); }

.feature-text {
  background: var(--surface);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.feature-text h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.feature-text p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 420px;
}

.feature-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.fstat-num {
  display: block;
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.fstat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* === MENU === */
.menu {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

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

.menu-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.menu-items { display: flex; flex-direction: column; gap: 0; }

.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.menu-item:last-child { border-bottom: none; }
.menu-item span:first-child { color: var(--text); }
.menu-item span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.menu-item.muted span { color: var(--muted-2); font-style: italic; }

/* === VISIT === */
.visit {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.visit-text h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.visit-text > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.visit-details { display: flex; flex-direction: column; gap: 0; }

.vd-row {
  display: flex;
  gap: 2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  align-items: baseline;
}
.vd-row:last-child { border-bottom: none; }
.vd-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 80px;
}

.visit-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.visit-map img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.5);
  display: block;
}
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(200,150,42,0.4);
}

/* === FOOTER === */
footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  display: block;
}
.footer-loc { font-size: 0.75rem; color: var(--muted-2); }
.footer-right a { color: var(--accent); font-weight: 500; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .roasts-grid { grid-template-columns: 1fr; }
  .menu-cols { grid-template-columns: 1fr; gap: 3rem; }
  .feature { grid-template-columns: 1fr; }
  .feature-img { height: 300px; }
  .feature-text { padding: 3.5rem 2rem; }
  .visit-grid { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 0 1.5rem 5rem; }
  h1 { font-size: 2.8rem; }
  .container { padding: 0 1.5rem; }
  body { cursor: auto; }
  .cursor { display: none; }
}
