/* Dripline Coffee Co. — layout inspired by colectivo.com structure, dark garage palette */

:root {
  --black: #0a0a0a;
  --ink: #111110;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --brown-deep: #1a1512;
  --brown-mid: #2a211c;
  --white: #ffffff;
  --cream: #ffffff;
  --muted: #ffffff;
  --font-display: "Oswald", system-ui, sans-serif;
  --font-condensed: "Barlow Condensed", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-condensed);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--white);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

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

a {
  color: var(--white);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container.narrow {
  max-width: 40rem;
}

/* Header (Colectivo-style bar) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.header-bar {
  width: 100%;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  display: block;
  height: clamp(2.5rem, 5vw, 3.25rem);
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.nav {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.5rem;
}

.nav a {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--muted);
}

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

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-tool {
  display: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--white);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.header-tool:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--surface);
  color: var(--white);
  cursor: pointer;
  border-radius: 4px;
}

.nav-toggle-icon {
  position: relative;
  display: block;
  width: 1.25rem;
  height: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile: nav links live in collapsible panel */
.nav-panel {
  display: none;
  flex-direction: column;
  padding: 0 1.25rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--ink);
}

.header-bar.is-nav-open .nav-panel {
  display: flex;
}

.nav-panel a {
  padding: 0.9rem 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8125rem;
  text-decoration: none;
  color: var(--cream);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-panel a:hover {
  color: var(--white);
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .header-tool {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    display: none !important;
  }

  .header-bar.is-nav-open .nav-panel {
    display: none !important;
  }

  body.nav-menu-open {
    overflow: unset;
  }
}

/* Lock scroll when mobile menu is open */
@media (max-width: 1023px) {
  body.nav-menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* Eyebrows & section headers */

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.section-deck {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.65;
}

.section-text {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-family: var(--font-serif);
  line-height: 1.65;
}

.section-intro {
  margin: -0.25rem 0 2rem;
  color: var(--muted);
  font-family: var(--font-serif);
  max-width: 32rem;
}

/* Hero spotlight */

.hero-spotlight {
  background: linear-gradient(165deg, var(--ink) 0%, var(--black) 45%, var(--brown-deep) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-spotlight-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-spotlight-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3.5rem 1.25rem 4rem;
    min-height: min(78vh, 38rem);
  }
}

.hero-spotlight-copy .eyebrow {
  color: var(--cream);
}

.hero-spotlight-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
}

.hero-spotlight-lead {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.65;
}

.hero-spotlight-media {
  margin: 0;
  justify-self: center;
  max-width: 22rem;
}

@media (min-width: 900px) {
  .hero-spotlight-media {
    max-width: none;
    justify-self: end;
  }
}

.hero-spotlight-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 56px rgba(0, 0, 0, 0.55));
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-condensed);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-solid {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-solid:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* Promo band */

.promo-band {
  padding: 2.5rem 0 3rem;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.promo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .promo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.promo-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.promo-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.promo-kicker {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.promo-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.promo-cta {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cream);
}

/* Featured products */

.section {
  padding: 4rem 0;
}

.section-featured {
  background: linear-gradient(180deg, var(--black) 0%, var(--surface) 50%, var(--black) 100%);
}

.product-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.product-card {
  padding: 0;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card-media {
  aspect-ratio: 1;
  background: var(--black);
  overflow: hidden;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-label {
  margin: 1rem 1.25rem 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.product-name {
  margin: 0 1.25rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.product-quote {
  margin: 0 1.25rem 1rem;
  padding: 0;
  border: none;
}

.product-quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.55;
}

.product-meta {
  margin: 0 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-price {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
}

.product-tags {
  font-size: 0.6875rem;
  color: var(--muted);
}

.product-link {
  margin: auto 1.25rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  color: var(--cream);
}

.product-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Split feature */

.split-feature {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
  .split-feature {
    grid-template-columns: 1fr 1fr;
    min-height: 22rem;
  }
}

.split-feature-media {
  min-height: 14rem;
  background: var(--ink);
}

.split-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-feature-copy {
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--brown-deep);
}

@media (min-width: 900px) {
  .split-feature-copy {
    padding: 3rem 2.5rem;
  }
}

.split-feature-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.split-feature-text {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 32rem;
  line-height: 1.65;
}

/* Community / locations */

.section-community {
  background: var(--black);
}

.location-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.location-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.location-card-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.location-card-text {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.hours-line {
  display: inline-block;
}

.location-card-link {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--cream);
}

.location-card-link:hover {
  text-decoration: underline;
  color: var(--white);
}

/* About, blend, menu */

.section-about {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, var(--brown-deep) 0%, var(--black) 100%);
}

.section-blend {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blend-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .blend-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.blend-figure {
  margin: 0;
}

.blend-mockup-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}

.scan-line {
  margin: 1rem 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--white);
}

.scan-arrow {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--white);
}

.blend-links {
  margin: 0;
  font-weight: 600;
}

.blend-links a {
  text-decoration: none;
}

.blend-links a:hover {
  text-decoration: underline;
}

.blend-dot {
  margin: 0 0.45rem;
  color: var(--muted);
}

.section-menu {
  background: linear-gradient(180deg, var(--black) 0%, var(--surface) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-card {
  padding: 1.5rem;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.menu-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.menu-card p {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--muted);
}

.menu-note {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
}

.pill-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-list li {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(22, 22, 22, 0.8);
}

/* News grid */

.section-news {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.news-card-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.news-card-text {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
}

.news-card-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* Newsletter */

.newsletter-band {
  padding: 3.5rem 0;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.newsletter-inner {
  max-width: 36rem;
}

.newsletter-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.newsletter-deck {
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
  }
}

.newsletter-input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem;
  font-family: var(--font-condensed);
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
}

.newsletter-input::placeholder {
  color: #ffffff;
}

.newsletter-input:focus {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

.newsletter-foot {
  margin: 1.5rem 0 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
}

/* Footer */

.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 1.25rem 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-heading {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a {
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--cream);
}

.footer-list a:hover {
  text-decoration: underline;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-social a {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--white);
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-legal {
  margin: 0;
  font-size: 0.8125rem;
}

.footer-legal a {
  text-decoration: none;
  color: var(--cream);
}

.footer-legal a:hover {
  text-decoration: underline;
}
