/* US Roaster Corp — clean industrial / calm premium */

:root {
  --primary-color: #0a4e9d;
  --primary-dark: #082f5e;
  --accent-color: #1d7ed8;
  --accent-muted: #1b4d3e;
  --text-color: #0f1419;
  --text-light: #5c6670;
  --white: #ffffff;
  --cream: #f6f7f9;
  --surface: #ffffff;
  --background-alt: #eceff3;
  --primary: #0a4e9d;
  --text: #0f1419;
  --secondary: #0a4e9d;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 2px 16px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 12px 40px rgba(15, 23, 42, 0.1);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --header-bar: #1e293b;
  --page-pad-x: clamp(1rem, 4.2vw, 1.75rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-color);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

#main-content {
  overflow-x: hidden;
}

h1,
h2,
h3,
.section-eyebrow {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-color);
}

/* ----- Site header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.75rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  background: var(--header-bar);
  color: rgba(255, 255, 255, 0.88);
  border-bottom: none;
}

.header-top a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.header-top a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header-top__phones {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.header-top__sep {
  opacity: 0.55;
  font-weight: 300;
}

.header-top__sep--wide {
  margin: 0 0.15rem;
}

.header-top__email {
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
  word-break: break-all;
}

@media (max-width: 768px) {
  .header-top__email,
  .header-top__sep--wide {
    display: none;
  }

  .header-top__phone-link--sales,
  .header-top__sep--between-phones {
    display: none;
  }

  .header-top__phones .header-phone-label {
    display: none;
  }

  .header-top {
    gap: 0.4rem 0.75rem;
    padding: 0.5rem 1rem;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .header-top {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }
}

.header-phone-label {
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.75;
  margin-right: 0.2rem;
  text-transform: uppercase;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
}

.header-inner.full-width {
  max-width: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Wordmark (replaces legacy logo art) */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.wordmark:hover .wordmark__line--primary {
  color: var(--primary-color);
}

/* Coffee icon tile — pairs with images/coffee.svg (brand strokes inside asset) */
.wordmark__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(
    152deg,
    rgba(10, 78, 157, 0.16) 0%,
    rgba(29, 126, 216, 0.1) 45%,
    rgba(255, 255, 255, 0.55) 100%
  );
  border: 1px solid rgba(10, 78, 157, 0.26);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    0 4px 14px rgba(10, 78, 157, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.wordmark:hover .wordmark__mark {
  border-color: rgba(10, 78, 157, 0.4);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.07),
    0 8px 22px rgba(10, 78, 157, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: linear-gradient(
    152deg,
    rgba(10, 78, 157, 0.22) 0%,
    rgba(29, 126, 216, 0.14) 50%,
    rgba(255, 255, 255, 0.65) 100%
  );
}

.wordmark__coffee {
  width: 1.65rem;
  height: 1.65rem;
  display: block;
  transition: transform 0.22s ease;
}

.wordmark:hover .wordmark__coffee {
  transform: translateY(-1px) scale(1.05);
}

.wordmark:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .wordmark__mark,
  .wordmark__coffee {
    transition: none;
  }

  .wordmark:hover .wordmark__coffee {
    transform: none;
  }
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wordmark__line {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.wordmark__line--primary {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
}

.wordmark__line--secondary {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-light);
}

.wordmark--compact .wordmark__line--primary {
  font-size: 1rem;
}

.wordmark--compact .wordmark__line--secondary {
  font-size: 0.68rem;
}

.wordmark--compact .wordmark__mark {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 12px;
}

.wordmark--compact .wordmark__coffee {
  width: 1.45rem;
  height: 1.45rem;
}

.mobile-nav-logo.wordmark {
  align-items: center;
}

@media (max-width: 380px) {
  .wordmark__line--primary {
    font-size: 1rem;
  }

  .wordmark__mark {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 12px;
  }

  .wordmark__coffee {
    width: 1.45rem;
    height: 1.45rem;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
}

.main-navigation {
  display: block;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav > li {
  position: relative;
}

.main-nav > li > a,
.main-nav > li > .nav-parent {
  display: block;
  padding: 0.45rem 0.6rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.main-nav > li > a:hover,
.main-nav > li > .nav-parent:hover {
  color: var(--primary-color);
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-caret {
  font-size: 0.65rem;
  opacity: 0.8;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 228px;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--white);
  box-shadow: var(--shadow-lift);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 1002;
}

.dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.dropdown a:hover {
  background: var(--background-alt);
  color: var(--primary-color);
}

@media (min-width: 769px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: block;
  }
}

.has-dropdown.is-open .dropdown {
  display: block;
}

.header-cta {
  white-space: nowrap;
  padding: 0.5rem 1.1rem;
  background: var(--primary-color);
  color: var(--white) !important;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

#hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--text-color);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .header-top {
    font-size: 0.8rem;
  }

  .header-inner {
    padding: 0.65rem var(--page-pad-x);
  }

  .main-navigation {
    display: none;
  }

  .header-cta {
    font-size: 0.85rem;
    padding: 0.5rem 1.35rem;
    min-width: 5.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #hamburger {
    display: flex;
  }

  .has-dropdown .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 0.75rem;
    background: var(--background-alt);
  }
}

/* Mobile menu (template) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1100;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1098;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(88vw, 340px);
  max-width: 340px;
  height: 100%;
  background: var(--white);
  z-index: 1099;
  padding: 1.25rem 1.15rem 1.5rem;
  padding-top: max(1.25rem, env(safe-area-inset-top, 0px));
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  box-shadow: -8px 0 40px rgba(15, 23, 42, 0.12);
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

/* Drawer + dimmer sit above the sticky header so the first links are not clipped */
body.menu-open .site-header {
  z-index: 1097;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-logo .wordmark__mark {
  max-height: none;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li {
  margin-bottom: 0.5rem;
}

.mobile-nav-links a {
  display: block;
  padding: 1rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.mobile-nav-links a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--primary);
  padding-left: 1.5rem;
}

.mobile-nav-links .mobile-cta {
  background: var(--primary-color);
  color: var(--white) !important;
  margin-top: 1.25rem;
  text-align: center;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 4px 14px rgba(10, 78, 157, 0.3);
}

.mobile-nav-links .mobile-cta:hover {
  background: var(--primary-dark);
  opacity: 1;
  padding-left: 1rem;
  color: var(--white) !important;
}

.mobile-nav-links .mobile-sub {
  font-size: 0.95rem;
  padding: 0.65rem 1rem 0.65rem 1.5rem;
  color: var(--text-light);
}

.mobile-nav-group {
  margin-bottom: 0.15rem;
}

.mobile-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  margin: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-nav-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-nav-caret {
  flex-shrink: 0;
  font-size: 0.6rem;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.mobile-nav-group.is-open .mobile-nav-caret {
  transform: rotate(-180deg);
}

.mobile-nav-sub {
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0.15rem 0 0.35rem;
  border-left: 2px solid rgba(10, 78, 157, 0.2);
  margin-left: 0.65rem;
}

.mobile-nav-sub li {
  margin-bottom: 0.1rem;
}

.mobile-nav-sub a {
  padding: 0.6rem 1rem 0.6rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 500;
}

.mobile-nav-sub a:hover {
  padding-left: 1.35rem;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .menu-overlay,
  .mobile-menu-toggle span,
  .mobile-nav-links a {
    transition: none;
  }
}

/* ----- Hero ----- */
.hero-section {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: 52% 38%;
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  overflow: hidden;
}

@media (min-width: 900px) {
  .hero-section {
    min-height: 85vh;
    background-position: 48% 36%;
  }
}

@media (max-width: 600px) {
  .hero-section {
    background-position: center 30%;
    min-height: 78vh;
    padding: 2.5rem 0;
  }
}

/* Soft vignette only — photo stays vivid on the right */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 95% 90% at 85% 45%, transparent 20%, rgba(8, 15, 28, 0.35) 100%);
  pointer-events: none;
}

.hero-section--home {
  background-image:
    linear-gradient(105deg, rgba(8, 14, 26, 0.94) 0%, rgba(8, 14, 26, 0.72) 32%, rgba(8, 18, 32, 0.35) 55%, rgba(8, 18, 32, 0.45) 100%),
    url("images/hero2.jpg");
}

@media (max-width: 600px) {
  .hero-section--home {
    background-image:
      linear-gradient(165deg, rgba(6, 12, 24, 0.92) 0%, rgba(8, 14, 26, 0.78) 38%, rgba(8, 18, 32, 0.55) 100%),
      url("images/hero2.jpg");
    background-position: center 32%;
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: var(--page-pad-x);
  padding-right: var(--page-pad-x);
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-inner {
    justify-content: flex-start;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
  color: var(--white);
  animation: heroFade 0.85s ease-out both;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.35rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.18),
    0 24px 64px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (min-width: 900px) {
  .hero-content {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding: 1.4rem 1.25rem;
    max-width: min(26.5rem, calc(100vw - 2 * var(--page-pad-x)));
  }

  .hero-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .hero-content {
    background: rgba(8, 18, 36, 0.82);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-description {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  margin: 0 0 1.75rem;
  line-height: 1.6;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

@media (min-width: 900px) {
  .hero-description {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: 22rem;
    margin-inline: auto;
  }

  .hero-buttons .button {
    width: 100%;
    justify-content: center;
    min-height: 3rem;
  }
}

@media (min-width: 900px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hero-buttons .button--primary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .button--primary:hover {
  background: #f1f5f9;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.hero-buttons .button--primary i {
  width: 20px;
  height: 20px;
  color: var(--primary-color);
}

.hero-buttons .button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.hero-buttons .button--ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.hero-buttons .button--ghost i {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* Trust line below hero */
.hero-substrip {
  position: relative;
  z-index: 0;
  background: linear-gradient(95deg, #e9f2fa 0%, #e2ebf6 50%, #eef4fb 100%);
  border-bottom: 1px solid rgba(10, 78, 157, 0.08);
  padding: 1rem var(--page-pad-x) 1.45rem;
  text-align: center;
}

.hero-substrip__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.hero-substrip p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--primary-dark);
}

/* Founder spotlight — stacked below trust line (no negative margin / overlap) */
.founder-strip {
  position: relative;
  margin-top: 0;
  z-index: 0;
  padding: 1.5rem var(--page-pad-x) 2.75rem;
}

.founder-strip__inner {
  max-width: 900px;
  margin: 0 auto;
}

.founder-strip__card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.65rem 1.65rem 1.55rem;
  margin: 0;
  box-shadow:
    var(--shadow-soft),
    0 24px 48px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-left: 4px solid var(--primary-color);
}

.founder-strip__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-color);
  margin: 0 0 0.75rem;
}

.founder-strip__body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-color);
}

.founder-strip__body strong {
  color: var(--primary-color);
  font-weight: 700;
}

@media (max-width: 640px) {
  .hero-substrip {
    padding: 1.15rem clamp(1.35rem, 5.5vw, 2rem) 1.5rem;
  }

  .hero-substrip p {
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 36rem;
    margin-inline: auto;
  }

  .founder-strip {
    padding-top: 1.25rem;
    padding-bottom: 2.35rem;
  }

  .founder-strip__card {
    padding: 1.55rem 1.35rem;
  }

  .gallery.gallery--product-rail {
    padding-top: 2.35rem;
    padding-bottom: clamp(2.65rem, 7vw, 5rem);
  }
}

/* Section labels */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-muted);
  margin: 0 0 0.65rem;
}

.section-eyebrow--center {
  text-align: center;
}

.section-eyebrow--brand {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 78, 157, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.feature-link:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.quote-attribution {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

/* ----- Gallery ----- */
.gallery {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--cream);
  text-align: center;
}

.gallery--muted {
  background: var(--surface);
}

.gallery--product-rail {
  background: var(--surface);
}

#product-families {
  scroll-margin-top: 6.5rem;
}

.gallery .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--page-pad-x);
}

.gallery h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gallery > .container > p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

@media (min-width: 1100px) {
  .gallery-grid--product-tiles {
    gap: 1.65rem;
  }
}

.gallery-grid--logos {
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(10, 30, 60, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

a.gallery-item {
  display: block;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Product family tiles: icon panels + text (replaces photography) */
.gallery-item--product-tile {
  display: flex;
  flex-direction: column;
  aspect-ratio: auto;
  min-height: 280px;
  text-align: left;
  overflow: hidden;
}

.gallery-item--product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
}

.gallery-item__icon-panel {
  flex: 1;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.gallery-item__icon-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 20%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.gallery-item__icon-panel--roasters {
  background: linear-gradient(155deg, #1d7ed8 0%, var(--primary-color) 38%, var(--primary-dark) 100%);
}

.gallery-item__icon-panel--revelation {
  background: linear-gradient(155deg, #0d9488 0%, var(--accent-muted) 45%, #0f172a 100%);
}

.gallery-item__icon-panel--plant {
  background: linear-gradient(155deg, #475569 0%, #334155 42%, #1e293b 100%);
}

.gallery-item__icon-panel svg {
  width: 4.5rem;
  height: 4.5rem;
  color: #ffffff;
  stroke-width: 2.15;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.22));
  transition: transform 0.35s ease, filter 0.25s ease;
}

.gallery-item--product-tile:hover .gallery-item__icon-panel svg {
  transform: scale(1.08);
  color: #ffffff;
}

.gallery-item__text {
  padding: 1.35rem 1.35rem 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  flex-shrink: 0;
}

.gallery-item__text h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.gallery-item__text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-light);
}

a.gallery-item--product-tile:hover .gallery-item__text h3 {
  color: var(--primary-color);
}

@media (max-width: 600px) {
  .gallery-item--product-tile {
    min-height: 0;
    border-radius: calc(var(--radius-lg) + 2px);
  }

  .gallery-item__icon-panel {
    min-height: 138px;
    padding: 1.65rem 1.25rem;
  }

  .gallery-item__icon-panel svg {
    width: 3.85rem;
    height: 3.85rem;
  }

  .gallery-item__text {
    padding: 1.2rem 1.2rem 1.35rem;
  }

  .gallery-item__text h3 {
    font-size: 1.18rem;
  }

  .gallery > .container > p {
    font-size: 1rem;
    margin-bottom: 1.65rem;
  }
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.88));
  color: #fff;
  padding: 1.75rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  text-align: left;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #fff;
}

.gallery-overlay p {
  font-size: 0.95rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.gallery-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.gallery-logo-cell:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.gallery-logo-cell img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid--logos {
    grid-template-columns: 1fr;
  }

  .gallery-overlay {
    transform: translateY(0);
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-item img,
  .gallery-overlay {
    transition: none;
  }

  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-item--product-tile:hover,
  .gallery-item--product-tile:hover .gallery-item__icon-panel svg {
    transform: none;
  }
}

/* ----- About ----- */
.about-why {
  background: var(--surface);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 4vw, 2rem);
  margin: 2.5rem auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  max-width: 1080px;
}

.about-why-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-why-text-only .about-why-container {
  max-width: 900px;
}

.about-why-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about-why-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 1.25rem;
}

.about-why-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-why {
    padding: 2.25rem var(--page-pad-x);
    margin: 1.25rem auto;
    width: min(100% - 1.5rem, 1080px);
  }

  .about-why-text h2 {
    font-size: 1.5rem;
  }
}

/* ----- Features grid ----- */
.features {
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-pad-x);
  background: var(--cream);
}

.features h2 {
  text-align: center;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
}

.features .text-center {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 auto 2.5rem;
  max-width: 900px;
  color: var(--text-light);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

/* Lucide icons (same set as header / product tiles) — high contrast on tinted tile */
.feature-icon-wrap {
  width: 4.25rem;
  height: 4.25rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(
    148deg,
    rgba(10, 78, 157, 0.11) 0%,
    rgba(29, 126, 216, 0.16) 55%,
    rgba(255, 255, 255, 0.65) 100%
  );
  border: 1px solid rgba(10, 78, 157, 0.32);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.feature-icon-wrap svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-dark);
  stroke-width: 2.1;
  flex-shrink: 0;
}

.feature-item:hover .feature-icon-wrap {
  border-color: rgba(10, 78, 157, 0.45);
  background: linear-gradient(
    148deg,
    rgba(10, 78, 157, 0.16) 0%,
    rgba(29, 126, 216, 0.2) 50%,
    rgba(255, 255, 255, 0.75) 100%
  );
}

.feature-item:hover .feature-icon-wrap svg {
  color: var(--primary-color);
}

.feature-item h3 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.feature-item p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.98rem;
  margin: 0;
}

.feature-item:nth-child(2) p:first-of-type {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.65;
  padding-left: 1rem;
  border-left: 3px solid rgba(10, 78, 157, 0.35);
}

.feature-item:nth-child(2) p:first-of-type .quote-attribution {
  font-style: normal;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .feature-item {
    max-width: 32rem;
    margin-inline: auto;
    padding: 1.75rem 1.35rem;
  }
}

@media (max-width: 600px) {
  .feature-item h3 {
    font-size: 1.12rem;
  }

  .features .text-center {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-item {
    transition: none;
  }

  .feature-item:hover {
    transform: none;
  }
}

/* ----- Services section ----- */
.services-section {
  background: var(--surface);
  padding: clamp(3.5rem, 8vw, 6rem) var(--page-pad-x);
}

.services-section .services-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  letter-spacing: -0.02em;
}

.services-section .section-lead {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .services-grid {
    gap: 1.35rem;
  }

  .service-card__icon-panel {
    min-height: 168px;
    padding: 1.85rem 1.25rem;
  }

  .service-card__icon-panel svg {
    width: 3.85rem;
    height: 3.85rem;
  }

  .service-content {
    padding: 1.35rem 1.2rem 1.45rem;
  }

  .services-section .section-lead {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.service-card__icon-panel {
  flex-shrink: 0;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2.25rem 1.5rem;
}

.service-card__icon-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 18%, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}

.service-card__icon-panel--new {
  background: linear-gradient(155deg, #1d7ed8 0%, var(--primary-color) 38%, var(--primary-dark) 100%);
}

.service-card__icon-panel--used {
  background: linear-gradient(155deg, #4338ca 0%, #3730a3 42%, #1e1b4b 100%);
}

.service-card__icon-panel--plant {
  background: linear-gradient(155deg, #475569 0%, #334155 42%, #1e293b 100%);
}

.service-card__icon-panel svg {
  width: 4.5rem;
  height: 4.5rem;
  color: #ffffff;
  stroke-width: 2.15;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) drop-shadow(0 6px 20px rgba(0, 0, 0, 0.22));
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__icon-panel svg {
  transform: scale(1.06);
}

.service-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.service-content p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
  margin: 0;
}

.service-card .service-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.service-card .service-link:hover {
  text-decoration: underline;
}

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

@media (prefers-reduced-motion: reduce) {
  .service-card:hover .service-card__icon-panel svg {
    transform: none;
  }
}

/* ----- CTA section ----- */
.cta-section {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 4.5rem) var(--page-pad-x);
  text-align: center;
}

.cta-section.cta-section--brand {
  background: linear-gradient(160deg, #082f5e 0%, var(--primary-color) 48%, #0d5d9e 100%);
}

.cta-section.cta-section--brand h2,
.cta-section.cta-section--brand p {
  color: var(--white);
}

.cta-section.cta-section--brand p a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-section.cta-section--brand p a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.cta-section--brand .cta-section__lead {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.cta-section--brand .cta-section__fineprint {
  margin: 1.35rem 0 0;
  margin-bottom: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.cta-section--brand .cta-section__fineprint a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-section--brand .cta-section__fineprint a:hover {
  color: rgba(255, 255, 255, 0.92);
}

.cta-section--news {
  background: var(--surface);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.cta-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-section.cta-section--brand h2 {
  color: var(--white);
}

.cta-section p {
  color: var(--text-color);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-section.cta-section--brand p {
  color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  display: inline-block;
  padding: 0.95rem 1.85rem;
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(10, 78, 157, 0.25);
}

.cta-section .btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.cta-section.cta-section--brand .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-section.cta-section--brand .btn-primary:hover {
  background: #f8fafc;
}

.cta-section .btn-secondary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-section .btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

.cta-section--brand .btn-secondary {
  border-color: var(--white);
  color: var(--white);
}

.cta-section--brand .btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 2.75rem var(--page-pad-x);
  }

  .cta-section p {
    font-size: 1.02rem;
    margin-bottom: 1.65rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-section .btn-primary,
  .cta-section .btn-secondary {
    width: 100%;
    max-width: min(20rem, 100%);
    text-align: center;
  }
}

/* ----- Social row ----- */
.social-row-section {
  padding: 2.75rem var(--page-pad-x);
  text-align: center;
  background: linear-gradient(180deg, var(--surface) 0%, var(--cream) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.social-row-section h2 {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0 0 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.social-inline {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.social-inline a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(10, 78, 157, 0.18);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.social-inline a:hover {
  background: var(--white);
  border-color: rgba(10, 78, 157, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

.social-inline i {
  width: 22px;
  height: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .social-inline a:hover {
    transform: none;
  }
}

/* ----- Footer ----- */
.site-footer {
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) 1.75rem;
  background: linear-gradient(180deg, #111c33 0%, #0a0f1a 48%, #080c14 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 30%,
    rgba(255, 255, 255, 0.14) 70%,
    transparent
  );
  pointer-events: none;
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin: 0 0 1.35rem;
}

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-bottom: 1.15rem;
  transition: opacity 0.2s ease;
}

.footer-wordmark:hover {
  opacity: 0.88;
}

.footer-wordmark:hover .footer-wordmark__mark {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Light tile on dark footer so coffee.svg brand colors read clearly */
.footer-wordmark__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: linear-gradient(152deg, rgba(255, 255, 255, 0.96) 0%, #f1f5f9 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-wordmark__coffee {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.footer-wordmark__text {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
  max-width: 26rem;
}

.footer-tagline strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-contact-row {
  display: grid;
  grid-template-columns: 2.375rem minmax(0, 1fr);
  gap: 0.9rem 1rem;
  align-items: start;
  margin: 0;
}

.footer-contact__icon-wrap {
  width: 2.375rem;
  height: 2.375rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-contact__icon-wrap svg {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, 0.72);
  stroke-width: 2;
}

.footer-contact__body {
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.footer-address {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.footer-hours {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.footer-phone-line {
  margin: 0 0 0.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.footer-phone-line:last-child {
  margin-bottom: 0;
}

.footer-label {
  display: inline-block;
  min-width: 3.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.footer-contact__body a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact__body a:hover {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-email {
  display: inline-block;
  margin-bottom: 0.3rem;
}

.footer-fax {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.48);
}

.site-footer .footer-social {
  padding-left: clamp(0px, 2vw, 1rem);
}

.site-footer .social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.site-footer .social-links a {
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.site-footer .social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer .social-links i {
  width: 20px;
  height: 20px;
}

.site-footer .footer-bottom {
  max-width: 1120px;
  margin: 2.5rem auto 0;
  padding-top: 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-footer .footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.52);
}

@media (max-width: 900px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem 2rem;
  }

  .site-footer .footer-about {
    grid-column: 1 / -1;
    max-width: 32rem;
  }

  .site-footer .footer-social {
    padding-left: 0;
    justify-self: end;
  }
}

@media (max-width: 768px) {
  .site-footer .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer .footer-about {
    grid-column: auto;
    max-width: 26rem;
  }

  .site-footer .footer-social {
    justify-self: center;
  }

  .footer-contact-row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-contact__icon-wrap {
    margin-bottom: 0.15rem;
  }

  .footer-phone-line {
    justify-content: center;
  }

  .site-footer .social-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-wordmark,
  .site-footer .social-links a {
    transition: none;
  }

  .site-footer .social-links a:hover {
    transform: none;
  }
}

/* Knowledge base / FAQ */
.knowledge-main {
  background: var(--cream);
}

.knowledge-page-head {
  background: linear-gradient(165deg, var(--background-alt) 0%, var(--cream) 55%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 2.5rem 1.25rem 2rem;
}

.knowledge-page-head__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.knowledge-page-head h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.knowledge-page-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-light);
}

.knowledge-page-lead a {
  font-weight: 600;
}

.knowledge-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .knowledge-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 3rem;
    padding-top: 2.5rem;
  }
}

.knowledge-toc {
  position: sticky;
  top: 5.5rem;
  padding: 1.25rem 1.1rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.knowledge-toc__title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin: 0 0 0.75rem;
}

.knowledge-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.knowledge-toc a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
}

.knowledge-toc a:hover {
  text-decoration: underline;
}

.knowledge-body {
  min-width: 0;
}

.knowledge-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 6rem;
}

.knowledge-section:last-of-type {
  margin-bottom: 1.5rem;
}

.knowledge-section__title {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 0 0 1.25rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid rgba(10, 78, 157, 0.2);
}

.knowledge-faq {
  margin-bottom: 1.75rem;
}

.knowledge-faq:last-child {
  margin-bottom: 0;
}

.knowledge-faq__q {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.knowledge-faq__a p {
  margin: 0;
  color: var(--text-light);
  font-size: 1rem;
}

.knowledge-faq__a p + p {
  margin-top: 0.75rem;
}

.knowledge-faq__a a {
  font-weight: 600;
}

.knowledge-footnote {
  margin: 2rem 0 0;
  padding: 1.25rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.98rem;
  color: var(--text-color);
}

.main-nav .dropdown a[aria-current="page"],
.mobile-nav-links a[aria-current="page"] {
  font-weight: 700;
  color: var(--primary-dark);
}

/* Placeholder inner pages (stubs linked from nav) */
.stub-page {
  padding: 2rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.stub-page h1 {
  color: var(--primary-color);
}

/* Utility */
.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;
}
