/* =====================================================================
   TWINS SPICE — design tokens
   Two tracks running through one build: customer counter (gold) and
   behind the counter / admin (chili). Access sits between the two.
   ===================================================================== */
:root {
  --bg: #1b1512;
  --bg-card: #241c17;
  --bg-card-alt: #2c221a;
  --ink: #f3e9dd;
  --ink-muted: #b9a996;
  --line: rgba(243, 233, 221, 0.12);

  --gold: #e3a23c;
  --gold-soft: rgba(227, 162, 60, 0.14);
  --chili: #c1451e;
  --chili-soft: rgba(193, 69, 30, 0.14);
  --access: #cbb08a;

  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", system-ui, sans-serif;

  --radius: 16px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

/* ===================== HERO ===================== */
.hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 24px 48px;
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.tw-gold { color: var(--gold); }
.tw-chili { color: var(--chili); }

.hero-sub {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 17px;
  color: var(--ink-muted);
}

/* ===================== SECTION 1: PRODUCT TOUR SWIPER ===================== */
.awards-swiper-wrapper {
  width: 100%;
  padding: 24px 0 88px;
}

.awards-swiper {
  width: 100%;
}

.awards-swiper .swiper-slide {
  width: 100%;
  max-width: 900px;
  height: 360px;
  position: relative;
  display: flex;
  justify-content: center;
}

.awards-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0.28;
  filter: blur(3px) saturate(0.7);
  transition: opacity 0.4s ease, filter 0.4s ease;
  box-shadow: var(--shadow);
}

.awards-swiper .swiper-slide-active img {
  opacity: 1;
  filter: blur(0) saturate(1);
}

.awards-swiper .swiper-slide-prev img,
.awards-swiper .swiper-slide-next img {
  opacity: 0.5;
  filter: blur(1.5px) saturate(0.85);
}

.awards-swiper-wrapper .slide-content {
  display: none;
}

.awards-swiper-wrapper .content {
  margin-top: 28px;
  text-align: center;
}

.awards-swiper-wrapper .content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  min-height: 28px;
}

/* ===================== SECTION 2: TOUR SECTIONS ===================== */
main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.tour-section {
  position: relative;
  padding: 56px 0 8px 28px;
  border-left: 2px solid var(--line);
  margin-bottom: 8px;
}

.track-customer { border-left-color: rgba(227, 162, 60, 0.35); }
.track-admin { border-left-color: rgba(193, 69, 30, 0.35); }

.section-head {
  margin-bottom: 32px;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-access { background: var(--access); }
.dot-customer { background: var(--gold); }
.dot-admin { background: var(--chili); }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.01em;
}

.section-desc {
  margin: 10px 0 0;
  max-width: 520px;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ===================== CARDS ===================== */
.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 0 28px;
}

.cards-wrapper.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards-wrapper.single {
  grid-template-columns: 1fr;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  min-width: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 233, 221, 0.22);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 14px 2px 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}

/* Browser-chrome frame around every screenshot */
.screen-frame {
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card-alt);
  border: 1px solid var(--line);
}

.frame-bar {
  display: flex;
  gap: 6px;
  padding: 9px 12px;
  background: var(--bg-card-alt);
}

.frame-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.frame-bar span:nth-child(1) { background: var(--gold); }
.frame-bar span:nth-child(2) { background: var(--chili); }
.frame-bar span:nth-child(3) { background: var(--access); }

.card-img {
  width: 100%;
  display: block;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.report-links a {
  display: inline-block;
  margin-right: 15px;
  font-size: 14px;
  color: var(--gold);
  text-decoration: none;
}

.report-links a:hover {
  text-decoration: underline;
}

/* SLIDER CONTROLS */
.slider-controls {
  display: flex;
  align-items: center;
  margin-top: 14px;
  gap: 15px;
}

.progress-track {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 33%;
  background: var(--gold);
  transition: width 0.3s ease;
}

.track-admin .progress-fill {
  background: var(--chili);
}

.nav-buttons {
  display: flex;
  gap: 8px;
}

.nav-buttons button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.nav-buttons button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.track-admin .nav-buttons button:hover {
  border-color: var(--chili);
  color: var(--chili);
}

.nav-buttons button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Scroll-reveal (progressive enhancement, JS adds .is-visible) */
.card {
  opacity: 0;
  transform: translateY(16px);
}

.card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== FOOTER ===================== */
.site-footer {
  max-width: 1120px;
  margin: 40px auto 0;
  padding: 32px 24px 64px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .awards-swiper .swiper-slide {
    height: 260px;
  }

  .cards-wrapper,
  .cards-wrapper.three {
    grid-template-columns: 1fr;
  }

  .tour-section {
    padding-left: 18px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 64px 20px 36px;
  }

  .awards-swiper .swiper-slide {
    height: 200px;
  }
}

/* ===================== MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card,
  .card:hover,
  .awards-swiper .swiper-slide img,
  .progress-fill,
  .nav-buttons button {
    transition: none !important;
    transform: none !important;
  }

  .card {
    opacity: 1;
  }
}