:root {
  --color-bg: #ffffff;
  --color-text: #121212;
  --color-muted: #5a5a5a;
  --color-accent: #e52521; /* Matches Beaker Concepts red from logo.png */
  --color-dark: #0a0a0a;
  --color-border: #e6e6e6;
  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --page-width: 1440px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--color-dark);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 14px 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 12px;
}

.btn-dark {
  background-color: var(--color-text);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--color-accent);
}

.btn-light {
  background-color: #ffffff;
  color: var(--color-text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Hero Section (Velox 86svh layout + 3-image slider) */
.hero-section {
  position: relative;
  min-height: 84svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #121212;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.4, 0, 0, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.72) 0%,
    rgba(10, 10, 10, 0.42) 50%,
    rgba(10, 10, 10, 0.15) 100%
  );
  z-index: 1;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 76svh;
}

.hero-content {
  margin-top: auto;
  margin-bottom: auto;
  max-width: 620px;
  color: #ffffff;
}

.hero-step-pills {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-divider {
  opacity: 0.6;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 28px;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-arrow:hover {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active,
.slider-dot:hover {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

/* Our Products / 3-Step Section (Velox Collection Cards style) */
.steps-section {
  background-color: #ffffff;
  padding: 56px 5rem 80px;
  max-width: var(--page-width);
  margin: 0 auto;
}

.steps-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
}

.steps-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.steps-subheading {
  margin-top: 8px;
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.5;
}

/* 3-Column Grid matching RideVelox's 3-sock showcase */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #f4f4f4;
}

.step-card-media {
  position: relative;
  aspect-ratio: 9.6 / 13;
  width: 100%;
  overflow: hidden;
}

.step-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.step-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0, 1);
}

.step-card:hover .step-card-media img {
  transform: scale(1.1) translateZ(0);
}

.step-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  background-color: var(--color-text);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Uploaded graphic overlaid directly on the vertical calf portion of the plain white sock */
.uploaded-preview-overlay {
  position: absolute;
  top: 21%;
  left: 40%;
  width: 20%;
  height: 24%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  mix-blend-mode: multiply;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0, 1);
}

.step-card:hover .uploaded-preview-overlay {
  transform: scale(1.1) translateZ(0);
}

.uploaded-preview-overlay[hidden] {
  display: none !important;
}

.uploaded-preview-overlay img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
  transform: none !important;
}

/* Card Bottom Overlay Content */
.step-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 18px;
  color: #ffffff;
}

.step-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.step-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.step-card:hover .step-action-btn,
.step-action-btn:hover {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

.step-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.step-arrow svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.step-card:hover .step-arrow,
.step-action-btn:hover .step-arrow {
  background: var(--color-text);
  color: #ffffff;
}

/* Inline Quick-Order Form inside Step 3 Card */
.quick-order-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 16px;
  border-radius: 16px;
}

.quick-order-form[hidden],
.step-action-btn[hidden] {
  display: none !important;
}

.quick-order-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.quick-order-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.quick-order-field select,
.quick-order-field input {
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.quick-order-field select:focus,
.quick-order-field input:focus {
  border-color: var(--color-accent);
}

.quick-order-submit {
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

.quick-order-submit .step-arrow {
  background: var(--color-text);
  color: #ffffff;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 36px 5rem;
  background-color: #ffffff;
}

.footer-inner {
  max-width: var(--page-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-copy {
  font-size: 13px;
  color: var(--color-muted);
}

/* Responsive */
@media screen and (max-width: 1023px) {
  .header-inner,
  .hero-content-wrapper,
  .steps-section,
  .site-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .main-nav {
    display: none;
  }
}
