/* ============================================
   American Made Cannabis - Design V2
   Brand palette - Fullscreen hero - Color categories
   ============================================ */

@font-face {
  font-family: "Shelten";
  src: url("../assets/fonts/Shelten.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand palette */
  --sand: #f3eee9;
  --yellow: #fed360;
  --mustard: #f18f2a;
  --gold-tan: #cc9f53;
  --dark-blue: #000719;
  --bright-blue: #6dc8fd;
  --light-blue: #6aaae4;
  --accent-web-blue: #1c13f2;
  --accent-blue: #093da1;
  --navy: #1a428a;
  --white: #ffffff;

  /* Semantic aliases */
  --coral: var(--mustard);
  --coral-dark: #d97a1f;
  --sunset: var(--mustard);
  --gold: var(--yellow);
  --gold-dark: var(--gold-tan);
  --lime: var(--gold-tan);
  --teal: var(--light-blue);
  --cyan: var(--bright-blue);
  --sky: var(--light-blue);
  --violet: var(--navy);
  --magenta: var(--accent-blue);
  --indigo: var(--accent-blue);
  --cream: var(--sand);
  --ink: var(--dark-blue);
  --ink-soft: #5e5852;

  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-heading: "Shelten", "Bebas Neue", "Impact", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow: 0 8px 32px rgba(0, 7, 25, 0.12);
  --shadow-hover: 0 20px 48px rgba(0, 7, 25, 0.18);
  --utility-bar-height: 36px;
  --header-main-height: 144px;
  --header-main-height-scrolled: 72px;
  --header-height: var(--header-main-height);
  --color-nav-bg: var(--cream);
  --color-nav-text: var(--ink);
  --color-nav-text-muted: var(--ink-soft);
  --transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.4s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide.is-active .hero-slide-bg img {
    animation: none;
    transform: scale(1);
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* ---- Buttons ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background var(--transition-smooth);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-web-blue);
  color: var(--white);
  border-color: var(--accent-web-blue);
  box-shadow: 0 4px 16px rgba(28, 19, 242, 0.35);
}

.btn-primary:hover {
  background: #150eb8;
  border-color: #150eb8;
  box-shadow: 0 6px 22px rgba(28, 19, 242, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

/* ---- Header (matches original topnav) ---- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  font-family: var(--font-body);
  font-weight: 700;
  background: var(--color-nav-bg);
  box-shadow: 0 4px 14px rgba(0, 7, 25, 0.08);
  transition: box-shadow var(--transition-smooth);
}

.site-header--scrolled {
  box-shadow: 0 6px 22px rgba(0, 7, 25, 0.12);
}

.utility-bar {
  height: 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    height var(--transition-smooth),
    opacity var(--transition-smooth);
}

.site-header--scrolled .utility-bar {
  height: var(--utility-bar-height);
  opacity: 1;
  pointer-events: auto;
}

.utility-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.utility-bar-inner a {
  color: inherit;
  transition: opacity var(--transition-smooth);
}

.utility-bar-inner a:hover {
  opacity: 0.8;
}

.utility-bar-divider {
  opacity: 0.45;
}

.header-main {
  height: var(--header-main-height);
  border-bottom: 1px solid rgba(0, 7, 25, 0.08);
  transition: height var(--transition-smooth);
}

.site-header--scrolled .header-main {
  height: var(--header-main-height-scrolled);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.header-inner--split {
  position: relative;
  gap: 28px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}

.logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 132px;
  width: auto;
  max-width: 310px;
  object-fit: contain;
  transition: height var(--transition-smooth);
  mix-blend-mode: multiply;
}

.site-header--scrolled .logo-img {
  height: 56px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav--left {
  justify-content: flex-start;
  padding-right: 170px;
}

.main-nav--right {
  justify-content: flex-end;
  padding-left: 170px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-nav-text-muted);
  transition: color var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.nav-link--login {
  padding: 8px 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: var(--radius-sm);
}

.nav-link--login:hover,
.nav-link--login:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.nav-link--login::after {
  display: none;
}

.nav-cta {
  flex-shrink: 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-chevron {
  transition: transform var(--transition-smooth);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  padding: 8px 0;
  background: var(--color-nav-bg);
  border: 1px solid rgba(0, 7, 25, 0.12);
  box-shadow: 0 12px 32px rgba(0, 7, 25, 0.12);
  z-index: 1001;
  list-style: none;
}

.nav-dropdown-menu:not([hidden]) {
  display: block;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-nav-text);
  transition:
    background var(--transition-smooth),
    color var(--transition-smooth);
}

.nav-dropdown-link:hover,
.nav-dropdown-link:focus-visible {
  background: rgba(254, 211, 96, 0.22);
  color: var(--ink);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  transition: var(--transition-smooth);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--color-nav-bg);
  border-bottom: 1px solid rgba(0, 7, 25, 0.1);
  box-shadow: 0 8px 24px rgba(0, 7, 25, 0.08);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav .btn {
  margin-top: 8px;
  width: 100%;
}

.mobile-nav-shop {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.mobile-nav-sublist {
  list-style: none;
  padding-left: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-sublist .nav-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: none;
}

/* ---- Fullscreen Hero Slider ---- */

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}

.hero-slide.is-active .hero-slide-bg img {
  animation: hero-breathing-zoom 18s ease-in-out infinite;
}

@keyframes hero-breathing-zoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 7, 25, 0.78) 0%,
    rgba(9, 61, 161, 0.5) 50%,
    rgba(26, 66, 138, 0.4) 100%
  );
}

.hero-slide:nth-child(2) .hero-slide-overlay {
  background: linear-gradient(
    135deg,
    rgba(26, 66, 138, 0.65) 0%,
    rgba(106, 170, 228, 0.4) 60%,
    rgba(0, 7, 25, 0.65) 100%
  );
}

.hero-slide:nth-child(3) .hero-slide-overlay {
  background: linear-gradient(
    135deg,
    rgba(241, 143, 42, 0.5) 0%,
    rgba(254, 211, 96, 0.35) 50%,
    rgba(0, 7, 25, 0.72) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: calc(var(--header-height) + 40px) 24px 80px;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-block;
  padding: 8px 20px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-title span {
  display: block;
  color: var(--gold);
}

.hero-desc {
  max-width: 560px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Slider controls */

.hero-slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition:
    background var(--transition-smooth),
    transform var(--transition);
}

.hero-slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.hero-slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.hero-slider-dots {
  display: flex;
  gap: 10px;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition-smooth),
    transform var(--transition),
    border-color var(--transition-smooth);
}

.hero-slider-dot.is-active {
  background: var(--gold);
  border-color: var(--white);
  transform: scale(1.2);
}

.hero-slider-dot:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.6);
}

.hero-slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
}

.hero-slider-arrows .hero-slider-btn {
  pointer-events: auto;
}

/* ---- Section shared ---- */

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.section-intro {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ---- Vibrant Category Grid ---- */

.categories {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--cream) 0%,
    #e8f0fa 50%,
    #dceaf8 100%
  );
  position: relative;
}

.categories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--coral),
    var(--gold),
    var(--teal),
    var(--violet),
    var(--magenta),
    var(--cyan)
  );
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
  aspect-ratio: 1;
  cursor: pointer;
}

.category-card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 0 16px 22px;
  position: relative;
  z-index: 2;
  text-align: center;
  overflow: visible;
}

.category-card-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
  transition:
    transform var(--transition),
    filter var(--transition-smooth);
}

.category-card:hover .category-card-bg {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.15);
}

.category-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    transparent 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 1;
  pointer-events: none;
}

.category-card:hover .category-card-shine {
  opacity: 1;
}

.category-card-image {
  position: absolute;
  left: 50%;
  top: 35%;
  z-index: 1;
  width: 112%;
  max-width: none;
  margin: 0;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.category-card:hover .category-card-image {
  transform: translate(-50%, -50%) translateY(-10px) scale(1.06);
}

.category-card-title {
  position: relative;
  z-index: 10;
  margin-top: auto;
  isolation: isolate;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}

.category-card:hover .category-card-title {
  transform: translateY(-4px);
}

.category-card {
  transition:
    transform var(--transition),
    box-shadow var(--transition-smooth);
  box-shadow: var(--shadow);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

/* Individual category colors */
.category-card--flower .category-card-bg {
  background: linear-gradient(145deg, var(--mustard) 0%, var(--gold-tan) 100%);
}
.category-card--flower:hover {
  box-shadow: 0 20px 48px rgba(241, 143, 42, 0.45);
}

.category-card--concentrates .category-card-bg {
  background: linear-gradient(145deg, var(--navy) 0%, var(--accent-blue) 100%);
}
.category-card--concentrates:hover {
  box-shadow: 0 20px 48px rgba(26, 66, 138, 0.45);
}

.category-card--edibles .category-card-bg {
  background: linear-gradient(145deg, var(--yellow) 0%, var(--mustard) 100%);
}
.category-card--edibles:hover {
  box-shadow: 0 20px 48px rgba(254, 211, 96, 0.45);
}

.category-card--wellness .category-card-bg {
  background: linear-gradient(145deg, var(--bright-blue) 0%, var(--light-blue) 100%);
}
.category-card--wellness:hover {
  box-shadow: 0 20px 48px rgba(109, 200, 253, 0.4);
}

.category-card--accessories .category-card-bg {
  background: linear-gradient(145deg, var(--gold-tan) 0%, var(--mustard) 100%);
}
.category-card--accessories:hover {
  box-shadow: 0 20px 48px rgba(204, 159, 83, 0.45);
}

.category-card--prerolls .category-card-bg {
  background: linear-gradient(145deg, var(--accent-blue) 0%, var(--navy) 100%);
}
.category-card--prerolls:hover {
  box-shadow: 0 20px 48px rgba(9, 61, 161, 0.45);
}

.category-card--vapes .category-card-bg {
  background: linear-gradient(145deg, var(--light-blue) 0%, var(--bright-blue) 100%);
}
.category-card--vapes:hover {
  box-shadow: 0 20px 48px rgba(106, 170, 228, 0.4);
}

.category-card--tinctures .category-card-bg {
  background: linear-gradient(145deg, var(--navy) 0%, var(--accent-web-blue) 100%);
}
.category-card--tinctures:hover {
  box-shadow: 0 20px 48px rgba(28, 19, 242, 0.35);
}

.category-card--cbd .category-card-bg {
  background: linear-gradient(145deg, var(--bright-blue) 0%, var(--accent-blue) 100%);
}
.category-card--cbd:hover {
  box-shadow: 0 20px 48px rgba(109, 200, 253, 0.4);
}

/* ---- Best Sellers ---- */

.best-sellers {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}

.best-sellers .section-eyebrow {
  color: var(--gold);
}
.best-sellers .section-title {
  color: var(--white);
}
.best-sellers .section-intro {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Carousel ---- */

.carousel {
  --carousel-gap: 24px;
  --slides-visible: 1.15;
  position: relative;
}

.carousel--products {
  --carousel-gap: 20px;
}

.carousel-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -8px 0 20px;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition:
    background var(--transition-smooth),
    border-color var(--transition-smooth),
    transform var(--transition);
}

.carousel-btn:hover:not(:disabled),
.carousel-btn:focus-visible:not(:disabled) {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.carousel-viewport {
  container-type: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-viewport:focus-visible {
  outline: 3px solid var(--bright-blue);
  outline-offset: 4px;
}

.carousel-track {
  display: flex;
  gap: var(--carousel-gap);
}

.carousel-track > .product-card {
  flex: 0 0
    calc(
      (100cqi - (var(--slides-visible) - 1) * var(--carousel-gap)) /
        var(--slides-visible)
    );
  min-width: 0;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .carousel--products {
    --slides-visible: 2;
  }
}

@media (min-width: 900px) {
  .carousel--products {
    --slides-visible: 3;
  }
}

@media (min-width: 1100px) {
  .carousel--products {
    --slides-visible: 4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-viewport {
    scroll-behavior: auto;
  }
}

.product-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition:
    transform var(--transition),
    background var(--transition-smooth),
    border-color var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.product-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.products-track > .product-card:nth-child(1) .product-type {
  background: var(--coral);
  color: var(--white);
}
.products-track > .product-card:nth-child(2) .product-type {
  background: var(--teal);
  color: var(--ink);
}
.products-track > .product-card:nth-child(3) .product-type {
  background: var(--violet);
  color: var(--white);
}
.products-track > .product-card:nth-child(4) .product-type {
  background: var(--gold);
  color: var(--ink);
}
.products-track > .product-card:nth-child(5) .product-type {
  background: var(--cyan);
  color: var(--ink);
}

.product-image {
  aspect-ratio: 1;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.product-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.btn-card {
  width: 100%;
  padding: 12px;
  font-size: 11px;
  background: linear-gradient(135deg, var(--gold), var(--sunset));
  color: var(--ink);
  border: none;
  border-radius: 50px;
}

.btn-card:hover {
  box-shadow: 0 4px 16px rgba(254, 211, 96, 0.4);
}

.section-footer-link {
  text-align: center;
  margin-top: 40px;
}

.section-footer-link a {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--gold);
  transition: color var(--transition-smooth);
}

.section-footer-link a:hover {
  color: var(--bright-blue);
}

/* ---- Shop by Mood ---- */

.shop-mood {
  padding: 100px 0;
  background: var(--cream);
}

.shop-mood .section-header {
  margin-bottom: 40px;
}

.shop-mood .carousel-toolbar {
  margin: -16px 0 20px;
}

.shop-mood .carousel-btn {
  border: 2px solid rgba(26, 26, 46, 0.12);
  background: var(--white);
  color: var(--ink);
}

.shop-mood .carousel-btn:hover:not(:disabled),
.shop-mood .carousel-btn:focus-visible:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.shop-mood .carousel-viewport {
  margin: 0 -24px;
  padding: 4px 24px 8px;
}

.shop-mood .carousel-viewport:focus-visible {
  outline-color: var(--navy);
}

.mood-tile {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.12);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.mood-tile:hover,
.mood-tile:focus-visible {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(26, 66, 138, 0.35);
}

.mood-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mood-tile:hover img,
.mood-tile:focus-visible img {
  transform: scale(1.08);
}

.mood-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 18px 16px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(to top, rgba(26, 26, 46, 0.85) 0%, transparent 70%);
}

.carousel--mood {
  --carousel-gap: 16px;
}

.carousel-track > .mood-tile {
  flex: 0 0 calc((100cqi - (var(--slides-visible) - 1) * var(--carousel-gap)) / var(--slides-visible));
  min-width: 0;
}

@media (min-width: 640px) {
  .carousel--mood {
    --slides-visible: 2;
  }
}

@media (min-width: 900px) {
  .carousel--mood {
    --slides-visible: 3.5;
  }
}

@media (min-width: 1100px) {
  .carousel--mood {
    --slides-visible: 4;
  }
}

/* ---- Values strip ---- */

.values-strip {
  padding: 80px 0;
  background: linear-gradient(90deg, var(--navy), var(--accent-blue), var(--light-blue));
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.value-item {
  text-align: center;
  color: var(--white);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 22px;
}

.value-icon i {
  line-height: 1;
}

.value-item strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.value-item span {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.5;
}

/* ---- Newsletter ---- */

.newsletter {
  padding: 100px 0;
  background: var(--cream);
}

.newsletter-banner {
  background: linear-gradient(
    135deg,
    var(--light-blue) 0%,
    var(--bright-blue) 50%,
    var(--accent-blue) 100%
  );
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 16px 48px rgba(106, 170, 228, 0.3);
}

.newsletter-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.newsletter-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  backdrop-filter: blur(4px);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.25);
}

.btn-newsletter {
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.btn-newsletter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.newsletter-form-status {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
}

.newsletter-form-status.is-success {
  color: var(--white);
}

.newsletter-form-status.is-error {
  color: #ffe0e0;
}

/* ---- Med Card CTA ---- */

.med-card-cta {
  padding: 100px 0;
  background: var(--cream);
}

.med-card-cta-banner {
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--accent-blue) 55%,
    var(--bright-blue) 100%
  );
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  box-shadow: 0 16px 48px rgba(9, 61, 161, 0.28);
}

.med-card-cta-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.med-card-cta-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
}

.section-eyebrow--on-dark {
  color: var(--yellow);
}

.med-card-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.med-card-cta-partner {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Footer ---- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--mustard);
  color: var(--ink);
  padding: 64px 0 32px;
}

.footer-stained-glass {
  --footer-parallax: 0px;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.footer-stained-glass::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -25%;
  height: 150%;
  z-index: 0;
  background: url("../assets/images/stained-glass-orange.jpg") center / cover
    no-repeat;
  transform: translate3d(0, var(--footer-parallax), 0);
  will-change: transform;
}

.footer-stained-glass-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse 75% 55% at 18% 25%,
      rgba(254, 211, 96, 0.45),
      transparent 58%
    ),
    radial-gradient(
      ellipse 65% 50% at 82% 70%,
      rgba(243, 238, 233, 0.25),
      transparent 55%
    );
}

.footer-stained-glass-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(241, 143, 42, 0.72) 0%,
    rgba(254, 211, 96, 0.55) 42%,
    rgba(204, 159, 83, 0.78) 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  .footer-stained-glass::before {
    transform: none;
    will-change: auto;
  }
}

.site-footer > .container {
  position: relative;
  z-index: 1;
  padding: 18px 10px 10px 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px 56px;
  margin-bottom: 48px;
  align-items: center;
}

.footer-brand {
  justify-self: start;
}

.footer-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
}

.footer-logo {
  display: block;
}

.footer-logo-img {
  height: 200px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  margin-bottom: 0;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  justify-self: end;
  width: 100%;
  max-width: 360px;
}

.footer-about {
  font-size: 17px;
  line-height: 1.75;
  max-width: 380px;
  color: var(--ink);
  font-weight: 500;
}

.footer-links h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--accent-blue);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 7, 25, 0.12);
  color: var(--ink);
  transition:
    background var(--transition-smooth),
    color var(--transition-smooth),
    transform var(--transition);
}

.social-links a:hover {
  background: var(--ink);
  color: var(--white);
  transform: scale(1.08);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 7, 25, 0.2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-bottom p {
  color: var(--ink);
}

.footer-disclaimer {
  opacity: 0.85;
}

/* ---- About Page ---- */

.page-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 7, 25, 0.75) 0%,
    rgba(9, 61, 161, 0.48) 45%,
    rgba(26, 66, 138, 0.38) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: calc(var(--header-height) + 48px) 24px 80px;
  color: var(--white);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.page-hero-title span {
  display: block;
  color: var(--gold);
}

.page-hero-desc {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.about-story {
  padding: 100px 0;
  background: var(--cream);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about-story-copy .section-title {
  margin-bottom: 20px;
}

.about-story-copy p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-story-copy .btn {
  margin-top: 12px;
}

.about-story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-story-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.about-story-image:hover img {
  transform: scale(1.03);
}

.about-location {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #e8f0fa 100%);
}

.about-location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.about-location-image {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-location-image img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.about-location-image:hover img {
  transform: scale(1.03);
}

.about-values {
  padding: 100px 0;
  background: linear-gradient(180deg, #e8f0fa 0%, var(--cream) 100%);
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-value-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  transition:
    transform var(--transition),
    box-shadow var(--transition-smooth);
  box-shadow: var(--shadow);
}

.about-value-card:hover {
  transform: translateY(-8px);
}

.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about-value-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.92;
}

.about-value-card--coral {
  background: linear-gradient(145deg, var(--coral) 0%, var(--sunset) 100%);
}
.about-value-card--coral:hover {
  box-shadow: 0 20px 48px rgba(241, 143, 42, 0.4);
}

.about-value-card--teal {
  background: linear-gradient(145deg, var(--teal) 0%, var(--cyan) 100%);
  color: var(--ink);
}
.about-value-card--teal:hover {
  box-shadow: 0 20px 48px rgba(106, 170, 228, 0.4);
}

.about-value-card--violet {
  background: linear-gradient(145deg, var(--violet) 0%, var(--indigo) 100%);
}
.about-value-card--violet:hover {
  box-shadow: 0 20px 48px rgba(26, 66, 138, 0.4);
}

.about-value-card--gold {
  background: linear-gradient(145deg, var(--gold) 0%, var(--sunset) 100%);
  color: var(--ink);
}
.about-value-card--gold:hover {
  box-shadow: 0 20px 48px rgba(254, 211, 96, 0.4);
}

.about-building {
  padding: 100px 0;
  background: var(--ink);
  color: var(--white);
}

.about-building-grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-building-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.about-building-image img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about-building-copy .section-eyebrow {
  color: var(--gold);
}

.about-building-copy .section-title {
  color: var(--white);
  margin-bottom: 20px;
}

.about-building-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

.about-cta-bg {
  position: absolute;
  inset: 0;
}

.about-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
}

.about-cta-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 30% 40%,
      rgba(254, 211, 96, 0.15),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      rgba(0, 7, 25, 0.5) 0%,
      rgba(0, 7, 25, 0.75) 100%
    );
}

.about-cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  color: var(--white);
}

.section-eyebrow--light {
  color: var(--gold);
}

.about-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.about-cta-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---- Contact Page ---- */

.page-hero--contact .page-hero-overlay {
  background:
    linear-gradient(
      135deg,
      rgba(0, 7, 25, 0.82) 0%,
      rgba(9, 61, 161, 0.62) 50%,
      rgba(26, 66, 138, 0.52) 100%
    );
}

.contact-main {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream) 0%, #e8f0fa 100%);
}

.contact-main-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-intro {
  max-width: 640px;
}

.contact-intro .section-title {
  margin-bottom: 16px;
}

.contact-info-intro {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border-radius: var(--radius-lg);
  color: var(--white);
  transition:
    transform var(--transition),
    box-shadow var(--transition-smooth);
  box-shadow: var(--shadow);
}

.contact-card:hover {
  transform: translateY(-4px);
}

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-card p,
.contact-card address {
  font-size: 14px;
  line-height: 1.7;
  font-style: normal;
  opacity: 0.92;
}

.contact-card a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card a:hover {
  opacity: 0.85;
}

.contact-card--teal {
  background: linear-gradient(145deg, var(--teal) 0%, var(--cyan) 100%);
  color: var(--ink);
}
.contact-card--teal:hover {
  box-shadow: 0 16px 40px rgba(106, 170, 228, 0.35);
}

.contact-card--violet {
  background: linear-gradient(145deg, var(--violet) 0%, var(--indigo) 100%);
}
.contact-card--violet:hover {
  box-shadow: 0 16px 40px rgba(26, 66, 138, 0.35);
}

.contact-card--coral {
  background: linear-gradient(145deg, var(--coral) 0%, var(--sunset) 100%);
}
.contact-card--coral:hover {
  box-shadow: 0 16px 40px rgba(241, 143, 42, 0.35);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(0, 7, 25, 0.06);
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 28px;
}

.contact-form-success {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(45, 106, 79, 0.12);
  border: 1px solid rgba(45, 106, 79, 0.25);
  color: var(--ink);
  font-weight: 600;
}

.contact-form-error {
  background: rgba(176, 32, 32, 0.1);
  border-color: rgba(176, 32, 32, 0.25);
  color: #8b1a1a;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.form-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid rgba(0, 7, 25, 0.1);
  border-radius: var(--radius-sm);
  transition:
    border-color var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26, 66, 138, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- Store Locator (Contact) ---- */

.locations-map {
  padding: 100px 0;
  background: var(--cream);
}

.locations-map-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.locations-map-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  line-height: 1;
}

.locations-map-widget {
  position: relative;
  min-height: 620px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 7, 25, 0.1);
  box-shadow: var(--shadow-hover);
  background: #fbfbfb;
}

.store-locator-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.store-locator-map .leaflet-container {
  width: 100%;
  height: 100%;
  font-family: var(--font-body);
}

.store-locator-marker {
  background: transparent;
  border: none;
}

.store-locator-marker span {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-web-blue);
  border: 3px solid var(--white);
  box-shadow: 0 4px 14px rgba(28, 19, 242, 0.45);
  transform: rotate(-45deg);
}

.store-locator-panel {
  position: absolute;
  z-index: 2;
  top: 60px;
  left: 46px;
  bottom: 60px;
  width: min(348px, calc(100% - 92px));
  display: flex;
  flex-direction: column;
  background: var(--mustard);
  border-radius: 19px;
  box-shadow: 0 12px 40px rgba(0, 7, 25, 0.18);
  overflow: hidden;
}

.store-locator-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 7, 25, 0.08);
}

.store-locator-search-icon {
  position: absolute;
  left: 22px;
  color: rgba(0, 7, 25, 0.35);
  pointer-events: none;
}

.store-locator-search-field {
  flex: 1;
  height: 44px;
  padding: 0 44px 0 40px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
}

.store-locator-search-field::placeholder {
  color: rgba(0, 7, 25, 0.45);
}

.store-locator-search-field:focus {
  outline: none;
}

.store-locator-geolocate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 7, 25, 0.06);
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-smooth);
}

.store-locator-geolocate:hover,
.store-locator-geolocate:focus-visible {
  background: rgba(0, 7, 25, 0.12);
}

.store-locator-status {
  padding: 12px 18px 0;
  font-size: 12px;
  font-weight: 500;
  color: rgba(0, 7, 25, 0.72);
}

.store-locator-results {
  flex: 1;
  overflow-y: auto;
  padding: 12px 12px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--white) rgba(0, 7, 25, 0.2);
}

.store-locator-card {
  border: 0;
  border-radius: 10px;
  background: transparent;
  transition: transform var(--transition-smooth);
}

.store-locator-card.is-active .store-locator-card-content {
  opacity: 1;
}

.store-locator-card-content {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
  padding: 14px;
  min-height: 79px;
  box-shadow: 0 4px 16px rgba(0, 7, 25, 0.08);
}

.store-locator-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 8px;
}

.store-locator-card-address,
.store-locator-card-phone,
.store-locator-card-hours,
.store-locator-card-distance {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.store-locator-card-phone a {
  color: inherit;
  font-weight: 600;
}

.store-locator-card-distance {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 7, 25, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.store-locator-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.store-locator-directions,
.store-locator-menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-locator-directions {
  background: var(--accent-web-blue);
  color: var(--white);
  transition: background var(--transition-smooth);
}

.store-locator-directions:hover {
  background: #150eb8;
  color: var(--white);
}

.store-locator-menu-link {
  background: rgba(0, 7, 25, 0.08);
  color: var(--ink);
  transition: background var(--transition-smooth);
}

.store-locator-menu-link:hover {
  background: rgba(0, 7, 25, 0.14);
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav--left {
    padding-right: 135px;
  }

  .main-nav--right {
    padding-left: 135px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-story-grid,
  .about-building-grid,
  .about-location-grid {
    grid-template-columns: 1fr;
  }

  .about-building-grid .about-building-image {
    order: -1;
  }

  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-banner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
  }

  .med-card-cta-banner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    text-align: center;
  }

  .med-card-cta-copy p {
    max-width: none;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-logo-wrap {
    grid-column: 1 / -1;
    order: -1;
    padding: 0;
  }

  .footer-logo-img {
    height: 180px;
    max-width: 280px;
  }

  .footer-nav {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .utility-bar-divider,
  .utility-bar-inner span:nth-child(3),
  .utility-bar-inner span:nth-child(4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hero-slider-arrows {
    display: none;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-logo-wrap {
    order: 0;
  }

  .footer-logo-img {
    height: 160px;
    max-width: 260px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .locations-map-widget {
    min-height: 850px;
    display: flex;
    flex-direction: column;
  }

  .store-locator-map {
    position: relative;
    height: 300px;
    flex-shrink: 0;
    border-radius: 20px 20px 0 0;
  }

  .store-locator-panel {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    flex: 1;
    border-radius: 0 0 20px 20px;
  }

  .page-hero {
    min-height: 60vh;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 28px 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .contact-card {
    padding: 20px 16px;
  }

  .contact-card h3 {
    font-size: 1.1rem;
  }

  .contact-card p,
  .contact-card address {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-card-title {
    font-size: 1.1rem;
  }
}

/* ---- Careers ---- */

.careers-openings {
  padding: 100px 0;
  background: var(--cream);
}

.careers-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 56px;
  align-items: start;
}

.careers-poster {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(0, 7, 25, 0.08);
}

.careers-poster img {
  display: block;
  width: 100%;
  height: auto;
}

.careers-copy .section-title {
  margin-bottom: 16px;
}

.careers-copy > p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.careers-jobs {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 16px;
}

.careers-job {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(0, 7, 25, 0.08);
  box-shadow: var(--shadow-card);
}

.careers-job h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.careers-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.careers-job-meta span {
  background: rgba(9, 61, 161, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.careers-email-note {
  font-size: 14px;
  color: var(--text-muted);
}

.careers-email-note a {
  color: var(--navy);
  font-weight: 600;
}

.apply-main {
  padding: 80px 0 100px;
  background: var(--cream);
}

.apply-main-inner {
  max-width: 820px;
  margin: 0 auto;
}

.apply-form-wrap {
  max-width: none;
}

.form-file-note,
.apply-back-link {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: -8px;
  margin-bottom: 20px;
}

.apply-back-link {
  margin-top: 16px;
  margin-bottom: 0;
  text-align: center;
}

.apply-back-link a {
  color: var(--navy);
  font-weight: 600;
}

.contact-form input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(0, 7, 25, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 14px;
}

@media (max-width: 900px) {
  .careers-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .careers-poster {
    max-width: 420px;
    margin: 0 auto;
  }
}
