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

/* Cornerstone Recording Company — stained-glass logo palette */
html.crc-site {
  --crc-cream: #f3f4ee;
  --crc-blue: #0526a4;
  --crc-gold: #f4d987;
  --crc-sage: #9fc98d;
  --crc-bg: #f3f4ee;
  --crc-surface: #ffffff;
  --crc-text: #1a2744;
  --crc-text-muted: #3d4f72;
  --crc-border: rgba(159, 201, 141, 0.55);
  --crc-border-strong: #9fc98d;
  --crc-accent: #0526a4;
  --crc-highlight: #f4d987;
  --crc-cta-text: #0526a4;
  --primary-color: #0526a4;
  --primary-dark: #041a7a;
  --accent-color: #0526a4;
  --accent-muted: #9fc98d;
  --text-color: #1a2744;
  --text-light: #3d4f72;
  --text: #1a2744;
  --secondary: #0526a4;
  --cream: #f3f4ee;
  --surface: #ffffff;
  --background-alt: #e8ebe4;
  --white: #ffffff;
  --header-bar: #0526a4;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 2px 16px rgba(5, 38, 164, 0.08);
  --shadow-lift: 0 12px 36px rgba(5, 38, 164, 0.12);
}

html.crc-site body {
  color: var(--crc-text);
  background-color: var(--crc-bg);
  position: relative;
}

/* subtle paper grain (cream-friendly) */
html.crc-site body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html.crc-site #main-content {
  position: relative;
  z-index: 1;
}

*,
*::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 — legacy asset in archive/images/coffee.svg */
.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;
}

/* Gradient only — legacy hero photo (hero2.jpg) archived / removed */
.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%
  );
  background-color: #0f172a;
}

@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%
    );
    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;
  }

  html.crc-site .hero-content--crc {
    background: #f3f4ee;
    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 (legacy US Roaster wordmark) */
.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;
}

/* ----- Cornerstone Recording Company: header, hero, sections, footer ----- */

html.crc-site .site-header--crc {
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--crc-surface);
  box-shadow: 0 2px 16px rgba(5, 38, 100, 0.08);
}

html.crc-site .site-header--crc .crc-main-bar.crc-header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2.25rem);
  row-gap: 0.75rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  min-height: 7rem;
  background: var(--crc-surface);
  border-bottom: 1px solid var(--crc-border);
  box-shadow: none;
}

html.crc-site .site-header--crc .crc-header-brand {
  justify-self: start;
  min-width: 0;
}

html.crc-site .site-header--crc .crc-header-nav {
  justify-self: center;
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

html.crc-site .site-header--crc .crc-header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem 1rem;
}

/* Desktop: nav column fills row height so links align with logo + CTA vertical center */
@media (min-width: 769px) {
  html.crc-site .site-header--crc .crc-header-nav {
    align-self: stretch;
  }

  html.crc-site .site-header--crc .crc-header-brand,
  html.crc-site .site-header--crc .crc-header-tools {
    align-self: center;
  }
}

html.crc-site .site-header--crc .crc-desktop-nav {
  margin: 0;
  justify-content: center;
}

html.crc-site .site-header--crc .crc-desktop-nav .main-nav {
  gap: 0.15rem 0.35rem;
  justify-content: center;
}

html.crc-site .site-header--crc .crc-desktop-nav .main-nav > li > a {
  padding: 0.55rem 0.75rem;
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--crc-blue);
}

html.crc-site .site-header--crc .crc-desktop-nav .main-nav > li > a:hover {
  color: #041a7a;
}

html.crc-site .site-header--crc .crc-book-cta {
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.15vw, 1.125rem);
  line-height: 1.2;
  padding: 0.6rem 1.35rem;
}

html.crc-site .site-header:not(.site-header--crc) {
  z-index: 1000;
  background: rgba(243, 244, 238, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--crc-border-strong);
}

html.crc-site body.menu-open .site-header {
  z-index: 1097;
}

html.crc-site .menu-overlay.active {
  z-index: 1098;
}

html.crc-site .mobile-nav.active {
  z-index: 1099;
}

html.crc-site .mobile-menu-toggle {
  z-index: 1100;
}

html.crc-site .site-footer {
  position: relative;
  z-index: 1;
}

html.crc-site .header-top {
  background: var(--crc-blue);
  border-bottom: 1px solid rgba(244, 217, 135, 0.35);
}

html.crc-site .header-top a:hover {
  color: var(--crc-gold);
}

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

html.crc-site .header-inner:not(.crc-main-bar) {
  border-bottom: 1px solid var(--crc-border);
}

html.crc-site .site-header--crc .header-inner.crc-main-bar {
  border-bottom: 1px solid var(--crc-border);
}

@media (max-width: 768px) {
  html.crc-site .site-header--crc .crc-main-bar.crc-header-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: unset;
    padding: 0.65rem clamp(0.65rem, 3.5vw, 1rem);
  }

  html.crc-site .site-header--crc .crc-header-nav {
    display: none;
  }

  /* Main bar: text-only wordmark — crest removed so title + CTA + menu fit */
  html.crc-site .site-header--crc .crc-header-brand {
    flex: 1 1 auto;
    min-width: 0;
    justify-self: unset;
  }

  html.crc-site .site-header--crc .crc-header-brand .wordmark.wordmark--crc {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    max-width: 100%;
  }

  html.crc-site .site-header--crc .crc-header-brand .wordmark__mark--crc {
    display: none;
  }

  html.crc-site .site-header--crc .crc-header-brand .wordmark__text {
    min-width: 0;
  }

  html.crc-site .site-header--crc .crc-header-brand .wordmark__line--primary {
    font-size: clamp(0.92rem, 4.5vw, 1.08rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  html.crc-site .site-header--crc .crc-header-brand .wordmark__line--secondary {
    font-size: clamp(0.52rem, 2.6vw, 0.65rem);
    letter-spacing: 0.1em;
    line-height: 1.15;
  }

  html.crc-site .site-header--crc .crc-header-tools {
    flex: 0 0 auto;
    flex-shrink: 0;
    gap: 0.45rem;
  }

  html.crc-site .site-header--crc .crc-book-cta {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
  }
}

html.crc-site .main-nav > li > a,
html.crc-site .main-nav > li > .nav-parent {
  color: var(--crc-text);
}

html.crc-site .main-nav > li > a:hover,
html.crc-site .main-nav > li > .nav-parent:hover {
  color: var(--crc-blue);
}

html.crc-site .dropdown {
  background: var(--crc-surface);
  border: 1px solid var(--crc-border-strong);
  box-shadow: var(--shadow-lift);
}

html.crc-site .dropdown a {
  color: var(--crc-text);
}

html.crc-site .dropdown a:hover {
  background: rgba(5, 38, 164, 0.06);
  color: var(--crc-blue);
}

html.crc-site .header-cta {
  background: var(--crc-gold);
  color: var(--crc-cta-text) !important;
  border-color: rgba(5, 38, 164, 0.25);
}

html.crc-site .header-cta:hover {
  background: #f5e19a;
  color: var(--crc-blue) !important;
}

html.crc-site .mobile-menu-toggle span {
  background-color: var(--crc-text);
}

html.crc-site .mobile-nav {
  background: var(--crc-cream);
  box-shadow: -8px 0 40px rgba(5, 38, 164, 0.15);
}

html.crc-site .mobile-nav-header {
  border-bottom-color: var(--crc-border-strong);
}

html.crc-site .mobile-menu-close {
  color: var(--crc-blue);
}

html.crc-site .mobile-menu-close:hover {
  background: rgba(159, 201, 141, 0.35);
}

html.crc-site .mobile-nav-links a {
  color: var(--crc-text);
}

html.crc-site .mobile-nav-links a:hover {
  background: rgba(5, 38, 164, 0.06);
  color: var(--crc-blue);
}

html.crc-site .mobile-nav-links .mobile-cta {
  background: var(--crc-gold);
  color: var(--crc-cta-text) !important;
  box-shadow: 0 4px 14px rgba(5, 38, 164, 0.12);
}

html.crc-site .mobile-nav-links .mobile-cta:hover {
  background: #f5e19a;
  color: var(--crc-blue) !important;
}

/* Wordmark + stained-glass logo (rectangular panel) */
html.crc-site .wordmark__mark--crc {
  width: auto;
  height: 2.85rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: var(--crc-surface);
  border: 2px solid var(--crc-blue);
  box-shadow:
    0 2px 8px rgba(5, 38, 164, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.crc-site .wordmark:hover .wordmark__mark--crc {
  border-color: #041a7a;
  box-shadow:
    0 4px 14px rgba(5, 38, 164, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

html.crc-site .wordmark__crest {
  height: 2.45rem;
  width: auto;
  max-width: 3.4rem;
  display: block;
  object-fit: contain;
}

html.crc-site .site-header--crc .wordmark:not(.wordmark--compact) .wordmark__mark--crc {
  height: 5.7rem;
  padding: 0.38rem;
  border-radius: 12px;
}

html.crc-site .site-header--crc .wordmark:not(.wordmark--compact) .wordmark__crest {
  height: 4.9rem;
  max-width: 6.8rem;
}

html.crc-site .site-header--crc .wordmark:not(.wordmark--compact) {
  gap: 0.85rem;
}

html.crc-site .site-header--crc .wordmark:not(.wordmark--compact) .wordmark__line--primary {
  font-size: 1.35rem;
}

html.crc-site .site-header--crc .wordmark:not(.wordmark--compact) .wordmark__line--secondary {
  font-size: 0.82rem;
}

html.crc-site .wordmark--compact .wordmark__mark--crc {
  height: 2.5rem;
}

html.crc-site .wordmark--compact .wordmark__crest {
  height: 2.1rem;
  max-width: 3rem;
}

html.crc-site .wordmark__line--primary {
  color: var(--crc-blue);
}

html.crc-site .wordmark__line--secondary {
  color: var(--crc-text-muted);
}

html.crc-site .wordmark:hover .wordmark__line--primary {
  color: #041a7a;
}

/* Hero — full-bleed studio photo + scrim for legible panel */
html.crc-site .hero-section--crc {
  position: relative;
  min-height: min(88vh, 52rem);
  padding: clamp(3.5rem, 12vw, 6rem) 0 clamp(4rem, 10vw, 5.5rem);
  background-color: #1a2744;
  background-image: linear-gradient(105deg, rgba(5, 38, 100, 0.45) 0%, rgba(5, 38, 100, 0.2) 42%, transparent 68%),
    linear-gradient(to top, rgba(26, 39, 68, 0.5) 0%, transparent 35%), url("../images/hero.jpg");
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
}

@media (max-width: 768px) {
  html.crc-site .hero-section--crc {
    min-height: min(82vh, 44rem);
    background-position: center 8%;
  }
}

html.crc-site .hero-section--crc::before {
  background: linear-gradient(
    180deg,
    rgba(5, 38, 100, 0.35) 0%,
    rgba(5, 38, 100, 0.12) 45%,
    rgba(26, 39, 68, 0.25) 100%
  );
  z-index: 0;
}

html.crc-site .hero-section--crc .hero-inner {
  position: relative;
  z-index: 2;
}

html.crc-site .hero-inner--crc {
  justify-content: center;
}

html.crc-site .hero-content--crc {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 42rem;
  width: 100%;
  text-align: center;
  margin-inline: auto;
  padding: clamp(2rem, 4.5vw, 2.75rem) clamp(1.65rem, 4vw, 2.5rem);
  border-radius: 18px;
  color: var(--crc-text);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(159, 201, 141, 0.45);
  box-shadow:
    0 12px 48px rgba(5, 38, 100, 0.22),
    0 4px 20px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: none;
}

@media (min-width: 900px) {
  html.crc-site .hero-content--crc {
    text-align: center;
  }

  html.crc-site .hero-content--crc .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
}

html.crc-site .hero-content--crc .hero-eyebrow,
html.crc-site .hero-content--crc .hero-title,
html.crc-site .hero-content--crc .hero-tagline,
html.crc-site .hero-content--crc .hero-description {
  width: 100%;
  max-width: 36rem;
  text-align: center;
}

html.crc-site .hero-content--crc .hero-buttons {
  justify-content: center;
  width: 100%;
}

html.crc-site .hero-eyebrow {
  color: var(--crc-blue);
  font-weight: 600;
  letter-spacing: 0.2em;
  opacity: 0.92;
}

html.crc-site .hero-title {
  color: var(--crc-blue);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

html.crc-site .hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--crc-text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

html.crc-site .hero-description {
  color: var(--crc-text);
  opacity: 0.95;
}

html.crc-site .hero-buttons .button--crc-primary {
  background: var(--crc-gold);
  color: var(--crc-cta-text);
  border: 1px solid rgba(5, 38, 164, 0.2);
  box-shadow: 0 4px 16px rgba(5, 38, 164, 0.12);
}

html.crc-site .hero-buttons .button--crc-primary:hover {
  background: #f5e19a;
  color: var(--crc-blue);
}

html.crc-site .hero-buttons .button--crc-primary i {
  color: var(--crc-blue);
}

html.crc-site .hero-buttons .button--crc-ghost {
  background: rgba(255, 255, 255, 0.5);
  color: var(--crc-blue);
  border: 2px solid var(--crc-blue);
}

html.crc-site .hero-buttons .button--crc-ghost:hover {
  background: rgba(5, 38, 164, 0.06);
  border-color: #041a7a;
  color: #041a7a;
}

html.crc-site .hero-buttons .button--crc-ghost i {
  color: var(--crc-blue);
}

/* Section dividers */
html.crc-site .crc-section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--crc-sage),
    var(--crc-gold),
    var(--crc-blue),
    var(--crc-gold),
    var(--crc-sage),
    transparent
  );
  opacity: 0.75;
  margin: 0;
}

html.crc-site .crc-section-divider--ornament {
  height: auto;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0;
}

html.crc-site .crc-section-divider--ornament span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--crc-gold);
  border: 2px solid var(--crc-blue);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(159, 201, 141, 0.4);
}

/* CRC sections */
html.crc-site .crc-section {
  padding: clamp(3.25rem, 8vw, 5.5rem) var(--page-pad-x);
  scroll-margin-top: 6rem;
}

html.crc-site .crc-section--spacious {
  padding-top: clamp(4rem, 9vw, 6.25rem);
  padding-bottom: clamp(4rem, 9vw, 6.25rem);
}

html.crc-site .crc-section--surface {
  background: var(--crc-surface);
  border-top: 1px solid var(--crc-border);
  border-bottom: 1px solid var(--crc-border);
}

html.crc-site .crc-container {
  max-width: 900px;
  margin: 0 auto;
}

html.crc-site .crc-container--narrow {
  max-width: 720px;
}

html.crc-site .crc-prose--relaxed p {
  font-size: 1.0625rem;
  line-height: 1.78;
}

html.crc-site .crc-prose--contain {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

html.crc-site .crc-text-center .crc-prose--contain {
  text-align: center;
}

html.crc-site .crc-lead--tight {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

html.crc-site .crc-services .crc-container,
html.crc-site .crc-clients .crc-container {
  max-width: 1040px;
}

html.crc-site .crc-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  color: var(--crc-blue);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  line-height: 1.15;
}

html.crc-site .crc-text-center {
  text-align: center;
}

html.crc-site .crc-lead {
  font-size: 1.1rem;
  color: var(--crc-text-muted);
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

html.crc-site .crc-prose p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--crc-text-muted);
  margin: 0;
}

html.crc-site .section-eyebrow {
  color: #3d5a1f;
  letter-spacing: 0.18em;
  font-weight: 600;
}

html.crc-site .section-eyebrow--brand {
  color: var(--crc-blue);
}

html.crc-site .crc-facility-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

html.crc-site .crc-facility-chips--centered {
  justify-content: center;
  margin-top: 2.25rem;
}

html.crc-site .crc-facility-chips li {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crc-blue);
  padding: 0.55rem 1rem;
  border: 1px solid rgba(159, 201, 141, 0.65);
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(159, 201, 141, 0.28) 100%);
  box-shadow: 0 1px 2px rgba(5, 38, 100, 0.06);
}

html.crc-site .crc-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  html.crc-site .crc-photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

html.crc-site .crc-photo-card {
  margin: 0;
  text-align: center;
}

html.crc-site .crc-photo-placeholder {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #e8ebe4 0%, rgba(159, 201, 141, 0.2) 100%);
  border: 1px solid var(--crc-border);
  position: relative;
  overflow: hidden;
}

html.crc-site .crc-photo-placeholder::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crc-text-muted);
  opacity: 0.65;
}

html.crc-site .crc-photo-card figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--crc-text-muted);
}

html.crc-site .crc-photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(159, 201, 141, 0.35);
  box-shadow:
    0 4px 20px rgba(5, 38, 100, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

html.crc-site .crc-about-figures {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  html.crc-site .crc-about-figures {
    grid-template-columns: repeat(2, 1fr);
  }
}

html.crc-site .crc-about-figures figure {
  margin: 0;
  text-align: center;
}

html.crc-site .crc-about-figures .crc-photo-img {
  aspect-ratio: 3/2;
}

/* Pipes / folk caption card: vertical crop (was top; nudged down 5%) */
html.crc-site .crc-photo-img--focus-top {
  object-position: center 5%;
}

/* Service grid */
html.crc-site .crc-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

@media (min-width: 960px) {
  html.crc-site .crc-service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

html.crc-site .crc-service-card {
  background: var(--crc-surface);
  border: 1px solid rgba(159, 201, 141, 0.4);
  border-radius: 14px;
  padding: 1.65rem 1.4rem;
  box-shadow:
    0 2px 16px rgba(5, 38, 100, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

html.crc-site .crc-service-card:hover {
  border-color: rgba(5, 38, 164, 0.35);
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(5, 38, 100, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.06);
}

html.crc-site .crc-service-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(244, 217, 135, 0.5);
  border: 1px solid rgba(5, 38, 164, 0.12);
  color: var(--crc-blue);
}

html.crc-site .crc-service-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

html.crc-site .crc-service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--crc-blue);
  margin: 0 0 0.5rem;
}

html.crc-site .crc-service-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--crc-text-muted);
  line-height: 1.6;
}

/* Clients */
html.crc-site .crc-client-placeholders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 700px) {
  html.crc-site .crc-client-placeholders {
    grid-template-columns: repeat(4, 1fr);
  }
}

html.crc-site .crc-logo-slot {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--crc-surface);
  border: 1px dashed rgba(5, 38, 164, 0.22);
  border-radius: 12px;
  padding: 1.15rem;
}

html.crc-site .crc-logo-slot span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crc-text-muted);
  opacity: 0.65;
  text-align: center;
}

html.crc-site .crc-quote {
  margin: 2rem auto 0;
  max-width: 40rem;
  padding: 1.5rem 1.35rem;
  border-left: 4px solid var(--crc-blue);
  background: rgba(159, 201, 141, 0.2);
  border-radius: 0 12px 12px 0;
}

html.crc-site .crc-quote--featured {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.35rem, 4vw, 2rem);
  border: none;
  border-radius: 12px;
  background: rgba(159, 201, 141, 0.42);
  box-shadow: 0 2px 12px rgba(5, 38, 100, 0.06);
}

html.crc-site .crc-quote--featured p {
  font-size: 1.08rem;
}

html.crc-site .crc-quote--featured footer {
  color: var(--crc-blue);
  font-weight: 600;
}

html.crc-site .crc-quote p {
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--crc-text);
  line-height: 1.65;
}

html.crc-site .crc-quote footer {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--crc-text-muted);
}

/* Contact band */
html.crc-site .crc-contact {
  background:
    radial-gradient(ellipse 85% 70% at 50% 0%, rgba(159, 201, 141, 0.38) 0%, transparent 55%),
    linear-gradient(180deg, rgba(159, 201, 141, 0.2) 0%, rgba(243, 244, 238, 0.95) 72%, var(--crc-bg) 100%);
  border-top: 1px solid rgba(159, 201, 141, 0.55);
  border-bottom: 1px solid rgba(159, 201, 141, 0.35);
  position: relative;
}

html.crc-site .crc-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65) 35%,
    rgba(255, 255, 255, 0.65) 65%,
    transparent
  );
  pointer-events: none;
}

html.crc-site .crc-contact__inner {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

html.crc-site .crc-contact__inner--left {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  max-width: 32rem;
}

html.crc-site .crc-contact__inner--left .crc-contact-list a {
  word-break: break-word;
}

html.crc-site .crc-social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 1.75rem 0 1.5rem;
}

html.crc-site .crc-social-row__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  color: var(--crc-blue);
  background: var(--crc-surface);
  border: 1px solid rgba(5, 38, 164, 0.2);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

html.crc-site .crc-social-row__btn:hover {
  background: var(--crc-blue);
  color: #f3f4ee;
  border-color: var(--crc-blue);
  transform: translateY(-1px);
}

html.crc-site .crc-social-row__btn svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2;
}

html.crc-site .crc-contact-list {
  list-style: none;
  margin: 1.75rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.crc-site .crc-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 1.05rem;
  color: var(--crc-text);
}

html.crc-site .crc-contact-list a {
  color: var(--crc-blue);
  font-weight: 600;
  text-decoration: none;
}

html.crc-site .crc-contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.crc-site .crc-contact-list__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--crc-text-muted);
}

html.crc-site .crc-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

html.crc-site .crc-contact-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

html.crc-site .crc-contact-actions .button--crc-primary {
  background: var(--crc-gold);
  color: var(--crc-cta-text);
  border: 1px solid rgba(5, 38, 164, 0.2);
}

html.crc-site .crc-contact-actions .button--crc-primary:hover {
  background: #f5e19a;
  transform: translateY(-1px);
}

html.crc-site .crc-contact-actions .button--crc-ghost {
  background: transparent;
  color: var(--crc-blue);
  border: 2px solid var(--crc-blue);
}

html.crc-site .crc-contact-actions .button--crc-ghost:hover {
  border-color: #041a7a;
  color: #041a7a;
}

/* Footer — two columns */
html.crc-site .site-footer .footer-content {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

@media (max-width: 768px) {
  html.crc-site .site-footer {
    padding: 1.75rem 1rem 1.1rem;
  }

  html.crc-site .site-footer .footer-content {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.25rem;
  }

  html.crc-site .footer-wordmark.footer-wordmark--crc {
    margin-bottom: 0.5rem;
    gap: 0.5rem;
  }

  html.crc-site .footer-wordmark--crc .footer-wordmark__mark {
    height: 2.15rem;
    padding: 0.15rem;
    border-radius: 8px;
  }

  html.crc-site .footer-wordmark--crc .wordmark__crest {
    height: 1.75rem;
    max-width: 2.6rem;
  }

  html.crc-site .site-footer .footer-wordmark__text {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  html.crc-site .footer-tagline {
    font-size: 0.8125rem;
    line-height: 1.45;
    max-width: 22rem;
  }

  html.crc-site .site-footer .footer-heading {
    margin: 0 0 0.5rem;
    font-size: 0.625rem;
  }

  html.crc-site .site-footer .footer-contact__list {
    gap: 0.55rem;
    width: 100%;
    max-width: 19.5rem;
    margin-inline: auto;
  }

  /* One row per contact line: icon + text (avoids stacked icon/text doubling height) */
  html.crc-site .footer-contact-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem 0.75rem;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  html.crc-site .site-footer .footer-contact__icon-wrap {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0;
  }

  html.crc-site .site-footer .footer-contact__icon-wrap svg {
    width: 13px;
    height: 13px;
  }

  html.crc-site .site-footer .footer-contact__body {
    font-size: 0.875rem;
    line-height: 1.45;
  }

  html.crc-site .site-footer .footer-address {
    margin: 0;
  }

  html.crc-site .site-footer .footer-phone-line {
    margin: 0;
    justify-content: flex-start;
  }

  html.crc-site .site-footer .footer-email {
    margin-bottom: 0;
    word-break: break-word;
  }

  html.crc-site .site-footer .footer-bottom {
    margin-top: 1.35rem;
    padding-top: 1rem;
  }

  html.crc-site .site-footer .footer-bottom .footer-fineprint {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

html.crc-site .footer-wordmark--crc {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

html.crc-site .footer-wordmark--crc .footer-wordmark__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 2.6rem;
  padding: 0.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html.crc-site .footer-wordmark--crc .wordmark__crest {
  height: 2.2rem;
  width: auto;
  max-width: 3.25rem;
  object-fit: contain;
}

html.crc-site .site-footer {
  color: #f7f8f3;
  /* Muted steel blue (less saturated than brand blue) + light haze at top to bridge cream body */
  background:
    linear-gradient(180deg, rgba(243, 244, 238, 0.2) 0%, transparent 22%),
    linear-gradient(165deg, #5a6d86 0%, #4a5c74 28%, #3d4a5f 55%, #323c4e 100%);
  border-top: 1px solid rgba(159, 201, 141, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 -12px 36px rgba(45, 55, 72, 0.06);
}

html.crc-site .site-footer::before {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(159, 201, 141, 0.25) 18%,
    rgba(244, 217, 135, 0.42) 50%,
    rgba(159, 201, 141, 0.25) 82%,
    transparent 100%
  );
  opacity: 1;
}

html.crc-site .footer-tagline {
  color: rgba(247, 248, 243, 0.78);
}

html.crc-site .footer-wordmark__text {
  color: #f7f8f3;
}

html.crc-site .site-footer .footer-heading {
  color: rgba(244, 217, 135, 0.78);
  letter-spacing: 0.14em;
}

html.crc-site .site-footer .footer-address,
html.crc-site .site-footer .footer-contact__body {
  color: rgba(247, 248, 243, 0.9);
}

html.crc-site .site-footer .footer-contact__body a {
  color: var(--crc-gold);
}

html.crc-site .site-footer .footer-contact__body a:hover {
  color: #f5e19a;
}

html.crc-site .site-footer .footer-contact__icon-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

html.crc-site .site-footer .footer-contact__icon-wrap svg {
  color: rgba(244, 217, 135, 0.92);
}

html.crc-site .crc-contact-page {
  min-height: 50vh;
}

html.crc-site .crc-contact--page {
  border-top: none;
  background: transparent;
}

html.crc-site .crc-contact--page::before {
  display: none;
}

html.crc-site .crc-contact-note {
  margin: 2rem 0 0;
  font-size: 0.9rem;
  color: var(--crc-text-muted);
  line-height: 1.55;
}

html.crc-site .site-footer .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
}

html.crc-site .site-footer .footer-bottom .footer-fineprint {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: rgba(247, 248, 243, 0.52);
}

html.crc-site .site-footer .footer-bottom .footer-fineprint a {
  color: var(--crc-gold);
  text-decoration: none;
  font-weight: 600;
}

html.crc-site .site-footer .footer-bottom .footer-fineprint a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html.crc-site .crc-service-card:hover,
  html.crc-site .hero-content--crc {
    transform: none;
    animation: none;
  }
}
