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

/* ── Light page body ── */
body {
  background-color: #FAFAF8;
  color: #1C1B1A;
  font-family: 'DM Sans', sans-serif;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Dark site chrome (header + footer only) ── */
.site-header {
  background: #1C1B1A;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  background: #1C1B1A;
  color: #F5F4F1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-heading { color: #E8C547; }
.site-footer .footer-text { color: rgba(245, 244, 241, 0.65); }
.site-footer .footer-link { color: rgba(245, 244, 241, 0.65); transition: color 0.2s ease; }
.site-footer .footer-link:hover { color: #F5F4F1; }
.site-footer .footer-link--active { color: #E8C547; text-decoration: underline; text-underline-offset: 4px; }
.site-footer .footer-divider { border-color: rgba(255, 255, 255, 0.08); }
.site-footer .footer-social {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.site-footer .footer-social:hover {
  background: rgba(232, 197, 71, 0.15);
  border-color: rgba(232, 197, 71, 0.35);
}
.site-footer .footer-social svg { color: rgba(245, 244, 241, 0.8); }
.site-footer .footer-social:hover svg { color: #E8C547; }

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 5rem;
  padding: 0 0.875rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  color: rgba(245, 244, 241, 0.65);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-link:hover { color: #F5F4F1; }
.nav-link--active { color: #E8C547; border-bottom-color: #E8C547; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  background-color: #C41E24;
  color: #FFFFFF;
  border-radius: 0.5rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background-color: #A3181E; }
.nav-cta:active { transform: scale(0.97); }

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F5F4F1;
  transition: background-color 0.2s ease;
}
.mobile-menu-btn:hover { background: rgba(255, 255, 255, 0.08); }

.mobile-nav {
  background: #2C2A28;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(245, 244, 241, 0.7);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.mobile-nav-link:hover { background: rgba(255, 255, 255, 0.06); color: #F5F4F1; }
.mobile-nav-link--active { color: #E8C547; background: rgba(232, 197, 71, 0.08); }
.mobile-nav-cta {
  display: block;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #C41E24;
  color: #FFFFFF;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Light UI components ── */
.glow-sm:hover,
.glow-hover:hover {
  box-shadow: 0 4px 20px rgba(154, 123, 47, 0.12);
}

.elegant-card {
  background: #FFFFFF;
  border: 1px solid #E0DDD8;
  box-shadow: 0 1px 3px rgba(28, 27, 26, 0.06), 0 4px 16px rgba(28, 27, 26, 0.04);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.elegant-card:hover {
  border-color: rgba(154, 123, 47, 0.35);
  box-shadow: 0 4px 12px rgba(28, 27, 26, 0.08), 0 12px 32px rgba(28, 27, 26, 0.06);
}

.highlight-banner {
  border-radius: 0.75rem;
  border: 1px solid rgba(154, 123, 47, 0.25);
  background: #FFF8E7;
  box-shadow: 0 2px 12px rgba(154, 123, 47, 0.08);
}

.highlight-banner__eyebrow {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9A7B2F;
  margin-bottom: 0.75rem;
}

.highlight-banner__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1C1B1A;
  margin-bottom: 0.75rem;
}

.highlight-banner__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #5C5854;
}

.highlight-banner--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .highlight-banner--split {
    grid-template-columns: 1fr auto;
    padding: 2.5rem 3rem;
    gap: 2.5rem;
  }
}

.highlight-banner__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-radius: 0.5rem;
  background: rgba(154, 123, 47, 0.1);
  border: 1px solid rgba(154, 123, 47, 0.2);
  min-width: 7.5rem;
}

.highlight-banner__stat-value {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #9A7B2F;
  letter-spacing: -0.02em;
}

.highlight-banner__stat-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B5E4F;
  margin-top: 0.35rem;
}

.highlight-banner--accent-left {
  text-align: left;
  padding: 2rem 1.5rem 2rem 1.75rem;
  border-left: 4px solid #9A7B2F;
  background: linear-gradient(90deg, #FFF8E7 0%, #FFFCF5 100%);
}

@media (min-width: 640px) {
  .highlight-banner--accent-left {
    padding: 2.25rem 2.5rem 2.25rem 2rem;
  }
}

.highlight-banner--accent-left .highlight-banner__text {
  max-width: 40rem;
}

.highlight-banner--inset {
  background: #F7F6F3;
  border-color: #E0DDD8;
  box-shadow: none;
}

.tech-border { border: 1px solid #E0DDD8; }

.btn-accent {
  background-color: #C41E24;
  color: #FFFFFF;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-accent:hover { background-color: #A3181E; box-shadow: 0 4px 16px rgba(196, 30, 36, 0.2); }

.btn-primary {
  background-color: #1C1B1A;
  color: #FFFFFF;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { background-color: #2C2A28; }

.contact-input:focus {
  border-color: #9A7B2F;
  box-shadow: 0 0 0 3px rgba(154, 123, 47, 0.1);
}

.warm-glow-spotlight,
.red-glow-spotlight {
  background: radial-gradient(circle at center, rgba(154, 123, 47, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.light-reveal-overlay {
  background: linear-gradient(to bottom, rgba(28, 27, 26, 0.55) 0%, rgba(28, 27, 26, 0.15) 50%, transparent 100%);
  transition: opacity 0.5s ease;
}
.card-hover-reveal:hover .light-reveal-overlay { opacity: 0.35; }

/* Home product category cards — legible labels on photos */
.category-card-overlay {
  background: linear-gradient(
    to top,
    rgba(28, 27, 26, 0.88) 0%,
    rgba(28, 27, 26, 0.5) 38%,
    rgba(28, 27, 26, 0.12) 65%,
    transparent 100%
  );
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.card-hover-reveal:hover .category-card-overlay {
  opacity: 0.95;
}

.category-card__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem 1.5rem;
}

.category-card__label p {
  color: #F5F4F1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.45);
}

.product-card-overlay {
  background: linear-gradient(to top, rgba(28, 27, 26, 0.45) 0%, transparent 60%);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.product-card:hover .product-card-overlay { opacity: 0.2; }

/* Product catalog grid */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

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

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

.catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  border: 1px solid #E0DDD8;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.catalog-card:hover {
  border-color: rgba(154, 123, 47, 0.4);
  box-shadow: 0 4px 16px rgba(28, 27, 26, 0.08);
}

.catalog-card__image {
  position: relative;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F5F4F1;
}

.catalog-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-card__image img {
  transform: scale(1.06);
}

.catalog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1rem;
}

.catalog-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1C1B1A;
  margin: 0 0 0.5rem;
  min-height: 3rem;
}

.catalog-card__text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5C5854;
  margin: 0 0 1rem;
  flex: 1;
  min-height: 4.5rem;
}

.catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: stretch;
  padding-top: 0.875rem;
  margin-top: auto;
  border-top: 1px solid #E0DDD8;
}

.catalog-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0.875rem;
  background-color: #C41E24;
  color: #FFFFFF;
  border-radius: 0.375rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.catalog-inquire:hover {
  background-color: #A3181E;
}

/* Contact form inline feedback */
.contact-form-feedback {
  display: block;
  margin-bottom: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: center;
}

.contact-form-feedback--success {
  border: 1px solid rgba(22, 101, 52, 0.25);
  background: #f0fdf4;
  color: #166534;
}

.contact-form-feedback--error {
  border: 1px solid rgba(185, 28, 28, 0.25);
  background: #fef2f2;
  color: #991b1b;
}

.catalog-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E0DDD8;
}

.catalog-section-header h2 {
  margin: 0;
}

.catalog-section-header span {
  margin: 0;
}

.light-reveal { position: relative; overflow: hidden; }
.light-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 26, 0.3);
  transition: opacity 0.5s ease;
}
.light-reveal:hover::after { opacity: 0.12; }

@keyframes subtle-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.animate-zoom { animation: subtle-zoom 6s ease-in-out infinite alternate; }

/* ── Hero carousel ── */
.hero-carousel {
  position: relative;
  min-height: 75vh;
  height: calc(100vh - 5rem);
  max-height: 920px;
  overflow: hidden;
  background: #1C1B1A;
}

.hero-carousel__track {
  display: flex;
  height: 100%;
  width: 400%;
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 25%;
  height: 100%;
  overflow: hidden;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide--active .hero-slide__image {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(28, 27, 26, 0.82) 0%, rgba(28, 27, 26, 0.45) 42%, rgba(28, 27, 26, 0.12) 68%, transparent 100%),
    linear-gradient(to top, rgba(28, 27, 26, 0.75) 0%, transparent 45%),
    radial-gradient(ellipse at 80% 20%, rgba(154, 123, 47, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.hero-slide__vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-slide__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 1rem 7.5rem;
}

@media (min-width: 640px) {
  .hero-slide__content {
    padding: 3rem 1.5rem 8.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-slide__content {
    justify-content: center;
    padding: 0 6rem 6rem;
  }
}

.hero-slide__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease 0.15s, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.hero-slide--active .hero-slide__inner {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8C547;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, #E8C547, rgba(232, 197, 71, 0.25));
}

.hero-slide__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FAFAF8;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero-slide__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.65;
  color: rgba(245, 244, 241, 0.72);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #C41E24;
  color: #FFFFFF;
  border-radius: 0.375rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.hero-btn-primary:hover {
  background: #A3181E;
  box-shadow: 0 8px 24px rgba(196, 30, 36, 0.28);
}

.hero-btn-primary:active { transform: scale(0.98); }

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(245, 244, 241, 0.28);
  color: #F5F4F1;
  border-radius: 0.375rem;
  font-family: 'Sora', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.hero-btn-ghost:hover {
  border-color: rgba(232, 197, 71, 0.55);
  background: rgba(232, 197, 71, 0.08);
  color: #FFFFFF;
}

.hero-carousel__chrome {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 1rem 2rem;
  pointer-events: none;
}

@media (min-width: 640px) {
  .hero-carousel__chrome { padding: 0 1.5rem 2.5rem; }
}

@media (min-width: 1024px) {
  .hero-carousel__chrome { padding: 0 6rem 3rem; }
}

.hero-carousel__chrome-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
  pointer-events: auto;
}

.hero-counter {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-family: 'Sora', sans-serif;
  color: #FAFAF8;
  min-width: 4.5rem;
}

.hero-counter__current {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-counter__sep {
  font-size: 0.875rem;
  color: rgba(245, 244, 241, 0.35);
  margin: 0 0.15rem;
}

.hero-counter__total {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(245, 244, 241, 0.45);
}

.hero-progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 28rem;
}

.hero-progress__segment {
  flex: 1;
  height: 2px;
  background: rgba(245, 244, 241, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  transition: background-color 0.3s ease;
}

.hero-progress__segment:hover {
  background: rgba(245, 244, 241, 0.28);
}

.hero-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #E8C547, #9A7B2F);
  border-radius: 1px;
}

.hero-progress__segment.is-active .hero-progress__fill {
  animation: hero-progress-fill 5s linear forwards;
}

.hero-progress__segment.is-active.is-paused .hero-progress__fill {
  animation-play-state: paused;
}

.hero-progress__segment.is-complete .hero-progress__fill {
  width: 100%;
  animation: none;
}

@keyframes hero-progress-fill {
  from { width: 0; }
  to { width: 100%; }
}

.hero-arrows {
  display: flex;
  gap: 0.625rem;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(245, 244, 241, 0.22);
  border-radius: 50%;
  background: rgba(28, 27, 26, 0.35);
  backdrop-filter: blur(10px);
  color: #F5F4F1;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  border-color: rgba(232, 197, 71, 0.5);
  background: rgba(232, 197, 71, 0.1);
  color: #E8C547;
}

.hero-arrow:active { transform: scale(0.94); }

@media (max-width: 639px) {
  .hero-carousel__chrome-inner {
    flex-wrap: wrap;
  }
  .hero-progress {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .hero-counter__current {
    font-size: 1.375rem;
  }
  .hero-slide__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-btn-primary,
  .hero-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* Project videos */
.project-video-card {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #E0DDD8;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(28, 27, 26, 0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.project-video-card:hover {
  border-color: rgba(154, 123, 47, 0.35);
  box-shadow: 0 4px 16px rgba(28, 27, 26, 0.08);
}
.projects-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .projects-video-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.project-video-card--featured {
  grid-column: 1 / -1;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.project-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #1C1B1A;
}
.project-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1C1B1A;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.red-accent-glow {
  filter: drop-shadow(0 4px 12px rgba(154, 123, 47, 0.2));
}

.reveal-on-hover {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.product-card:hover .reveal-on-hover {
  opacity: 1;
  transform: translateY(0);
}

.tap-highlight-transparent {
  -webkit-tap-highlight-color: transparent;
}

.technical-divider {
  height: 1px;
  background: linear-gradient(90deg, #E0DDD8 0%, transparent 100%);
}

.active-dot {
  width: 4px;
  height: 4px;
  background-color: #C41E24;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

/* ══════════════════════════════════════════
   Mobile-friendly layout & functionality
   ══════════════════════════════════════════ */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

body.mobile-nav-open {
  overflow: hidden;
}

img,
video,
iframe {
  max-width: 100%;
}

/* Page heroes */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 2.5rem;
  min-height: auto;
}

.page-hero--compact {
  align-items: flex-start;
  text-align: left;
  padding: 6.5rem 1rem 1.5rem;
}

.page-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 6vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1C1B1A;
  margin: 0;
}

.page-lead {
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  line-height: 1.65;
  color: #5C5854;
  margin: 1rem 0 0;
  max-width: 36rem;
}

/* Map block — stacks on mobile */
.map-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.map-block__frame {
  position: relative;
  height: 16rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #E0DDD8;
}

.map-block__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-block__card {
  background: #F7F6F3;
  border: 1px solid #E0DDD8;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .map-block {
    position: relative;
    display: block;
  }

  .map-block__frame {
    height: 28rem;
  }

  .map-block__card {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    max-width: 20rem;
    background: rgba(247, 246, 243, 0.92);
    backdrop-filter: blur(10px);
  }
}

@media (min-width: 1024px) {
  .map-block__frame {
    height: 28.125rem;
  }
}

/* Section spacing on small screens */
.section-pad {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .page-hero {
    padding: 7rem 1.5rem 4rem;
    min-height: 20rem;
  }

  .page-hero--compact {
    padding: 7rem 1.5rem 2rem;
  }

  .section-pad {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 639px) {
  /* Header */
  .site-header,
  .site-header.h-20 {
    height: 4.5rem;
  }

  .site-header .h-12 {
    height: 2.5rem;
  }

  .site-header .sm\:h-16 {
    height: 2.5rem;
  }

  .mobile-nav {
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-link,
  .mobile-nav-cta {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }

  /* Typography */
  .text-headline-xl,
  .font-headline-xl.text-headline-xl {
    font-size: clamp(1.75rem, 7vw, 2.25rem) !important;
    line-height: 1.15 !important;
  }

  .text-headline-lg,
  .font-headline-lg.text-headline-lg {
    font-size: clamp(1.5rem, 5.5vw, 1.875rem) !important;
    line-height: 1.2 !important;
  }

  .text-headline-md,
  .font-headline-md.text-headline-md {
    font-size: 1.0625rem !important;
    line-height: 1.35 !important;
  }

  /* Hero carousel */
  .hero-carousel {
    min-height: 32rem;
    height: calc(100svh - 4.5rem);
    max-height: none;
  }

  .hero-slide__content {
    padding: 1.5rem 1rem 9rem;
    justify-content: flex-end;
  }

  .hero-slide__title {
    max-width: none;
    font-size: clamp(1.625rem, 7vw, 2.25rem);
  }

  .hero-slide__subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .hero-eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
  }

  .hero-eyebrow::before {
    width: 1.5rem;
  }

  .hero-carousel__chrome {
    padding: 0 0.75rem 1.25rem;
  }

  .hero-carousel__chrome-inner {
    gap: 0.75rem;
  }

  .hero-counter {
    min-width: 3rem;
  }

  .hero-counter__current {
    font-size: 1.25rem;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  /* Highlight banners */
  .highlight-banner {
    padding: 1.25rem !important;
  }

  .highlight-banner--accent-left {
    padding: 1.25rem 1.25rem 1.25rem 1rem !important;
  }

  .highlight-banner--split {
    padding: 1.25rem !important;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .highlight-banner--split .highlight-banner__stat {
    margin: 0 auto;
  }

  .highlight-banner__title {
    font-size: 1.25rem;
  }

  .highlight-banner__text {
    font-size: 0.9375rem;
  }

  /* Product catalog */
  .catalog-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }

  .catalog-card__title {
    min-height: auto;
    font-size: 1.0625rem;
  }

  .catalog-card__text {
    min-height: auto;
    flex: none;
    font-size: 0.875rem;
    margin-bottom: 0.875rem;
  }

  .catalog-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-inquire {
    width: 100%;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.6875rem;
  }

  .catalog-card__body {
    padding: 1rem;
  }

  /* Forms — prevent iOS zoom */
  .contact-input,
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Buttons & CTAs */
  .btn-accent,
  .btn-primary,
  .nav-cta,
  .hero-btn-primary,
  .hero-btn-ghost {
    min-height: 2.75rem;
  }

  /* Footer */
  .site-footer .footer-divider {
    text-align: center;
  }

  .site-footer .footer-divider > div {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .site-footer img.h-20 {
    height: 4rem;
  }

  /* About industries grid labels */
  .light-reveal .font-label-caps {
    font-size: 0.625rem;
    text-align: center;
    padding: 0 0.25rem;
  }

  /* Showroom hours — stack label and time on narrow screens */
  .showroom-hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  /* Section CTAs full width on mobile */
  .highlight-banner .inline-flex,
  .highlight-banner a.btn-accent {
    width: 100%;
    justify-content: center;
  }

  /* Home category cards — readable labels */
  .category-card__label {
    padding: 1rem;
  }

  .category-card__label p {
    font-size: 0.9375rem;
  }

  /* Contact sidebar stacks cleanly */
  .contact-sidebar-card {
    padding: 1.25rem;
  }

  /* Why Choose Us — distinct cards on mobile */
  .why-choose-grid {
    gap: 1.5rem;
  }

  .why-choose-item {
    padding: 1.5rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid #E0DDD8;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(28, 27, 26, 0.05);
  }

  .why-choose-item .font-headline-md {
    margin-top: 0.125rem;
  }

  .why-choose-item p {
    margin-top: 0.25rem;
    line-height: 1.65;
  }

  /* Reduce large section padding */
  .py-section-gap,
  .sm\:py-section-gap {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .p-8 {
    padding: 1.25rem;
  }

  .p-12 {
    padding: 1.5rem;
  }

  .lg\:p-24 {
    padding: 1.5rem;
  }

  .mb-16 {
    margin-bottom: 2.5rem;
  }

  .mb-12 {
    margin-bottom: 2rem;
  }

  /* Home product category grid — single column on very small */
  .grid.grid-cols-2.lg\:grid-cols-3 {
    gap: 0.75rem;
  }

  /* Featured project badges */
  .aspect-\[4\/5\] .p-6,
  .aspect-video + h6 {
    word-break: break-word;
  }
}

@media (max-width: 380px) {
  .hero-slide__actions .hero-btn-primary,
  .hero-slide__actions .hero-btn-ghost {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.625rem;
  }

  .grid.grid-cols-2.md\:grid-cols-3.lg\:grid-cols-5 {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}
