/* ==========================================================================
   FIRKEE ACCESSORIES — Home Page Styles
   Hero, marquee overrides, dashboard, differentiator, categories,
   process teaser, CTA
   ========================================================================== */

/* --- Hero (Full-Bleed) --- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--nav-height);
  box-sizing: border-box;
}

/* Background image with Ken Burns */
.hero__bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://us-central-1.telnyxcloudstorage.com/seafile/Gemini_Generated_Image_86fyjb86fyjb86fy.png');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.12);
  z-index: 0;
  will-change: transform;
}

/* Gradient overlay: dark on left, transparent on right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 14, 10, 0.82) 0%,
    rgba(10, 14, 10, 0.55) 40%,
    rgba(10, 14, 10, 0.18) 70%,
    rgba(10, 14, 10, 0.05) 100%
  );
  z-index: 1;
}

/* Content: left-aligned, vertically centred */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--side-pad) clamp(40px, 8vh, 120px);
  max-width: 700px;
}

/* Headline */
.hero__headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(52px, 9vw, 110px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 28px;
}

.hero__line {
  display: block;
  overflow: hidden;
}

/* Stagger-in animation per word */
.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: wordReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__word--italic {
  font-style: italic;
  font-weight: 400;
}

/* Stagger delays */
.hero__word:nth-child(1) { animation-delay: 0.5s; }
.hero__word:nth-child(2) { animation-delay: 0.7s; }
.hero__line:nth-child(2) .hero__word:nth-child(1) { animation-delay: 0.9s; }
.hero__line:nth-child(2) .hero__word:nth-child(2) { animation-delay: 1.1s; }

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* Subtitle */
.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin: 0 0 36px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.4s;
}

/* CTAs */
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 1.6s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Trusted-by brand strip ── */
.hero-brands {
  background: var(--color-ivory);
  padding: 28px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-brands__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-warm-gray);
  margin: 0;
}
.hero-brands__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.hero-brands__logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.3s;
}
.hero-brands__logo img:hover {
  filter: grayscale(0) opacity(1);
}
@media (max-width: 600px) {
  .hero-brands__logos { gap: 20px; }
  .hero-brands__logo img { height: 22px; }
}

/* Stats bar — bottom full-width */
.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 1.9s;
}

.hero__stat {
  flex: 1;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.hero__stat-plus {
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.6);
}

.hero__stat-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

/* --- Marquee Strip --- */
.marquee-strip {
  background: var(--color-obsidian);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}

.marquee-strip__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
  align-items: center;
}

.marquee-strip__track span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.marquee-strip__dot {
  color: var(--color-gold) !important;
  font-size: 18px !important;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Portfolio Teaser --- */
.portfolio-teaser {
  padding: var(--section-pad) var(--side-pad);
  background: var(--color-cream);
}

.portfolio-teaser__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: var(--max-width-wide);
  margin: 0 auto 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.portfolio-teaser__head-right {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.portfolio-teaser__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 360px 360px;
  gap: 12px;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.pt-item {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-sand);
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.pt-item:hover {
  box-shadow: 0 24px 48px rgba(0,0,0,0.22);
}

.pt-item--tall {
  grid-row: 1 / 3;
}

.pt-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.pt-item--tall img {
  object-fit: cover;
  object-position: center center;
  background: var(--color-cream, #f5f0eb);
  transition: transform 0.7s var(--ease-out-expo);
}

.pt-item:hover img {
  transform: scale(1.04);
}

/* --- Stats Banner --- */
.stats-banner {
  background: var(--color-charcoal);
  padding: 64px var(--side-pad);
}

.stats-banner__inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.stats-banner__item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stats-banner__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
}

.stats-banner__num sup {
  font-size: 0.45em;
  color: var(--color-gold);
  vertical-align: super;
}

.stats-banner__label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
}

.stats-banner__div {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* --- Process Strip --- */
.process-strip {
  padding: var(--section-pad) var(--side-pad);
  background: var(--color-ivory);
}

.process-strip__container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.process-strip__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
}

.process-strip__step {
  flex: 1;
  padding: 0 40px 0 0;
}

.process-strip__arrow {
  font-size: 24px;
  color: var(--color-gold);
  margin-top: 32px;
  flex-shrink: 0;
  opacity: 0.6;
}

.process-strip__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  color: var(--color-gold-faint);
  line-height: 1;
  margin-bottom: 12px;
  -webkit-text-stroke: 1px var(--color-gold);
  color: transparent;
}

.process-strip__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: 12px;
}

.process-strip__desc {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-warm-gray);
  line-height: 1.75;
  max-width: 240px;
}

@media (max-width: 768px) {
  /* Portfolio teaser — 2-col, portrait image stays tall */
  .portfolio-teaser__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 200px;
  }
  .pt-item--tall {
    grid-row: span 2;
  }
  .portfolio-teaser__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .portfolio-teaser__head-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .portfolio-teaser {
    padding: var(--section-pad) 0;
  }
  .portfolio-teaser__header {
    padding: 0 var(--side-pad);
  }

  /* Process strip */
  .process-strip__steps {
    flex-direction: column;
    gap: 32px;
  }
  .process-strip__arrow {
    transform: rotate(90deg);
    margin: -8px 0 -8px 20px;
    align-self: flex-start;
  }
  .process-strip__step {
    padding: 0;
  }
  .process-strip__desc {
    max-width: 100%;
  }

  /* Stats banner */
  .stats-banner__div {
    display: none;
  }
  .stats-banner__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .stats-banner__item {
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Portfolio — same 3-col layout as desktop, shorter rows */
  .portfolio-teaser__grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 140px 140px;
    grid-auto-rows: unset;
  }
  .pt-item--tall {
    grid-row: 1 / 3;
  }

  /* Stats — single column */
  .stats-banner__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .stats-banner__num {
    font-size: clamp(32px, 10vw, 48px);
  }
}

/* --- Marquee Section --- */
.marquee-section {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: var(--color-ivory);
}

/* --- Data Dashboard --- */
.dashboard {
  position: relative;
  padding: var(--section-pad) var(--side-pad);
  background: var(--color-ivory);
}

.dashboard__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: rgba(184, 149, 106, 0.08);
}

.dashboard__grid .stat-card {
  background: var(--color-ivory);
  padding: 48px 24px;
  transition: background 0.4s;
}

.dashboard__grid .stat-card:hover {
  background: var(--color-cream);
}

/* --- Design Differentiator --- */
.differ {
  position: relative;
  background: var(--color-charcoal);
  padding: var(--section-pad) var(--side-pad);
  overflow: hidden;
}

.differ::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(184, 149, 106, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(196, 132, 124, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.differ__container {
  position: relative;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.differ__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.differ__card {
  display: block;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s, background 0.4s;
}

.differ__card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 149, 106, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.differ__visual {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.differ__card:hover .placeholder-shoe svg {
  opacity: 0.25;
  transform: scale(1.05);
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}

.differ__text {
  padding: 28px 24px;
}

.differ__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--color-cream);
  margin-bottom: 8px;
}

.differ__desc {
  font-size: 14px;
  font-style: italic;
  color: var(--color-sand);
  line-height: 1.6;
  opacity: 0.7;
}

.differ__cta {
  text-align: center;
  margin-top: 56px;
}

/* --- Category Preview --- */
.categories {
  position: relative;
  padding: var(--section-pad) 0;
  background: var(--color-ivory);
}

.categories__header {
  padding: 0 var(--side-pad);
  max-width: var(--max-width);
  margin: 0 auto 48px;
}

.category-card {
  display: block;
  background: var(--color-cream);
  border: 1px solid rgba(184, 149, 106, 0.08);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.category-card__visual {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.category-card:hover .placeholder-shoe svg {
  opacity: 0.25;
  transform: scale(1.08);
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}

.category-card__info {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-charcoal);
}

.category-card__count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Override hscroll item width for categories */
.categories .hscroll__item {
  flex: 0 0 55vw;
  max-width: 420px;
}

/* --- Process Teaser --- */
.process-teaser {
  position: relative;
  background: var(--color-graphite);
  padding: var(--section-pad) var(--side-pad);
  overflow: hidden;
}

.process-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 200px;
  opacity: 0.3;
  pointer-events: none;
}

.process-teaser__container {
  position: relative;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.process-teaser__timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.process-teaser__timeline::-webkit-scrollbar {
  display: none;
}

.process-teaser__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s;
  min-width: 100px;
}

.process-teaser__step:hover {
  border-color: rgba(184, 149, 106, 0.25);
  background: rgba(184, 149, 106, 0.06);
}

.process-teaser__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 400;
  color: var(--color-gold);
  opacity: 0.6;
}

.process-teaser__name {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-cream);
  white-space: nowrap;
}

.process-teaser__connector {
  width: 32px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-gold), transparent);
  opacity: 0.3;
  flex-shrink: 0;
}

.process-teaser__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.process-teaser__duration {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-style: italic;
  color: var(--color-gold);
}

/* --- Home CTA --- */
.home-cta {
  position: relative;
  background: var(--color-cream);
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
}

.home-cta__container {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.home-cta__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: 24px;
}

.home-cta__title em {
  color: var(--color-gold);
  font-weight: 400;
}

.home-cta__text {
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--color-warm-gray);
  line-height: 1.8;
  max-width: 540px;
  margin: 0 auto 48px;
}

/* --- Why Partner Section --- */
.why-partner {
  padding: var(--section-pad) var(--side-pad);
  background: var(--color-ivory);
}

.why-partner__container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.why-partner__intro {
  font-size: clamp(14px, 1.6vw, 18px);
  color: var(--color-warm-gray);
  line-height: 1.8;
  max-width: 600px;
  margin-top: 24px;
  margin-bottom: 64px;
}

.why-partner__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.why-partner__col {
  padding: clamp(32px, 5vw, 64px);
  background: var(--color-cream);
}

.why-partner__col--dark {
  background: var(--color-charcoal);
}

.why-partner__col-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(184, 149, 106, 0.2);
}

.why-partner__points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-partner__point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-partner__point-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--color-gold);
  opacity: 0.5;
  flex-shrink: 0;
  padding-top: 2px;
}

.why-partner__point strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-charcoal);
  display: block;
  margin-bottom: 6px;
}

.why-partner__col--dark .why-partner__point strong {
  color: var(--color-cream);
}

.why-partner__point p {
  font-size: 16px;
  color: var(--color-warm-gray);
  line-height: 1.7;
}

.why-partner__col--dark .why-partner__point p {
  color: var(--color-sand);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__stats {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    margin-top: 48px;
  }

  .hero__stat {
    text-align: center;
  }

  .differ__grid {
    grid-template-columns: 1fr 1fr;
  }

  .differ__grid .differ__card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* ── Short viewports: laptop with small screen height or zoomed browser ── */
@media (max-height: 800px) and (min-width: 769px) {
  .hero__headline {
    font-size: clamp(40px, 6vw, 80px);
  }
  .hero__sub {
    font-size: 15px;
    margin-bottom: 20px;
  }
}

/* ── iPad / Tablet (768px – 1024px) ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero {
    padding: 60px var(--side-pad) 60px;
    min-height: calc(100svh - var(--nav-height));
  }

  .hero__title {
    font-size: clamp(40px, 7vw, 80px);
  }

  .hero-image-wrap {
    padding: 0 clamp(16px, 4vw, 60px);
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .hero-image-main {
    max-height: 480px;
  }

  .hero__ctas {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__stats {
    gap: 32px;
  }

  /* Center the orphaned 3rd item when grid is 2-col */
  .why-partner__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-partner__col:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials: collapse to 2 columns on tablet */
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* Portfolio teaser: 2-col on tablet */
  .portfolio-teaser__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 260px;
  }

  .pt-item--tall {
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  .why-partner__grid {
    grid-template-columns: 1fr;
  }

  /* Hero full-bleed mobile */
  .hero__content {
    padding: 0 var(--side-pad) 16px;
    max-width: 100%;
  }

  /* Mobile: switch to vertical gradient so button row stays dark */
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(10, 14, 10, 0.35) 0%,
      rgba(10, 14, 10, 0.65) 50%,
      rgba(10, 14, 10, 0.85) 100%
    );
  }

  .hero__headline {
    font-size: clamp(38px, 10vw, 60px);
  }

  .hero__sub {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .hero__stat {
    padding: 14px 10px;
  }

  .hero__stat-num {
    font-size: clamp(18px, 5vw, 26px);
  }

  .hero__stat-label {
    font-size: 9px;
  }

  .hero {
    padding: 40px var(--side-pad) 40px;
    min-height: auto;
  }

  .hero-image-wrap {
    padding: 0 16px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .hero-image-main {
    max-height: 340px;
  }

  .hero__scroll {
    display: none;
  }

  .hero__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .dashboard__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differ__grid {
    grid-template-columns: 1fr;
  }

  .differ__grid .differ__card:last-child {
    max-width: 100%;
  }

  .differ__card {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
  }

  .categories .hscroll__item {
    flex: 0 0 75vw;
  }

  .process-teaser__step {
    min-width: 80px;
    padding: 12px 14px;
  }

  .process-teaser__name {
    font-size: 10px;
  }

  .process-teaser__connector {
    width: 16px;
  }

  .process-teaser__footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(36px, 12vw, 56px);
  }

  .dashboard__grid {
    grid-template-columns: 1fr;
  }

  .process-teaser__timeline {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .process-teaser__connector {
    display: none;
  }

  .process-teaser__step {
    flex: 0 0 calc(33.333% - 8px);
    min-width: 0;
  }

  .categories .hscroll__item {
    flex: 0 0 85vw;
  }
}

/* Brand Story */
.brand-story {
  padding: var(--section-pad) var(--side-pad);
  text-align: center;
  background: var(--color-ivory);
}
.brand-story__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--color-charcoal);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.brand-story__text em {
  color: var(--color-gold);
  font-style: italic;
  font-weight: 600;
}

/* Photo Placeholders */
.photo-placeholder {
  background: linear-gradient(145deg, var(--color-charcoal) 0%, var(--color-graphite) 50%, #252220 100%);
  border: 1px solid rgba(184, 149, 106, 0.15);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  background-size: 200px;
  opacity: 0.35;
  pointer-events: none;
}
/* Refined camera icon centered in placeholder */
.photo-placeholder::after {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='4' y='12' width='40' height='28' rx='3' stroke='%23b8956a' stroke-width='1' opacity='0.25'/%3E%3Ccircle cx='24' cy='26' r='8' stroke='%23b8956a' stroke-width='1' opacity='0.25'/%3E%3Ccircle cx='24' cy='26' r='4' stroke='%23b8956a' stroke-width='0.75' opacity='0.15'/%3E%3Cpath d='M17 12l2-4h10l2 4' stroke='%23b8956a' stroke-width='1' opacity='0.25'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
  opacity: 0.6;
}
.photo-placeholder--hero {
  min-height: 400px;
  margin-top: 24px;
}
/* Hide developer-only placeholder labels from visitors */
.photo-placeholder__label {
  display: none;
}

/* Testimonials */
.testimonials {
  background: var(--color-charcoal);
  padding: var(--section-pad) var(--side-pad);
}
.testimonials .section__title {
  color: var(--color-cream);
}
.testimonials .section__number {
  color: var(--color-gold);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.testimonial {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(184,149,106,0.15);
  border-radius: 8px;
  padding: 32px;
  margin: 0;
}
.testimonial__text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-style: italic;
  color: var(--color-cream);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial__name {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-gold);
}
.testimonial__company {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(245,240,235,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .photo-placeholder--hero {
    min-height: 250px;
  }
  .photo-placeholder {
    min-height: 180px;
    padding: 16px;
  }
  .brand-story__text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .photo-placeholder--hero {
    min-height: 180px;
  }
  .photo-placeholder {
    min-height: 140px;
  }
}

/* --- Our Clients Section --- */
.clients-section {
  padding: var(--section-pad) var(--side-pad);
  background: var(--color-ivory);
}
.clients__container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}
.clients__logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  align-items: center;
  justify-items: center;
  gap: 24px 32px;
  margin-top: 48px;
}
.clients__divider {
  border: none;
  border-top: 1px solid var(--color-cream);
  margin: 48px 0 0;
}
.clients__subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-top: 32px;
  margin-bottom: -16px;
  text-transform: uppercase;
}
.clients__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  height: 80px;
  background: white;
  border-radius: 8px;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.clients__logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.clients__logo-item img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: opacity 0.3s, filter 0.3s;
}
.clients__logo-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}
.clients__certs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(30, 58, 30, 0.1);
}
.clients__cert-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  height: 80px;
  background: var(--color-ivory);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.clients__cert-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.clients__cert-img {
  max-height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: opacity 0.3s, filter 0.3s;
}
.clients__cert-item:hover .clients__cert-img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Dark theme: show logos on white card so brand colours are preserved ── */
[data-dark-theme] .clients__logo-item {
  background: rgba(255,255,255,0.92);
  border-radius: 8px;
  padding: 10px 16px;
}
[data-dark-theme] .clients__logo-item img {
  filter: grayscale(20%);
  opacity: 0.9;
}
[data-dark-theme] .clients__logo-item:hover {
  background: #fff;
}
[data-dark-theme] .clients__logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
[data-dark-theme] .clients__cert-item {
  background: rgba(255,255,255,0.92);
}
[data-dark-theme] .clients__cert-img {
  filter: grayscale(20%);
  opacity: 0.9;
}
[data-dark-theme] .clients__cert-item:hover .clients__cert-img {
  filter: grayscale(0%);
  opacity: 1;
}
[data-dark-theme] .hero-brands__logo {
  background: rgba(255,255,255,0.88);
  border-radius: 6px;
  padding: 6px 12px;
}
[data-dark-theme] .hero-brands__logo img {
  filter: grayscale(20%) opacity(0.85);
}
[data-dark-theme] .hero-brands__logo:hover img {
  filter: grayscale(0%) opacity(1);
}
@media (max-width: 768px) {
  .clients__logos {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
  }
  .clients__logo-item {
    height: 64px;
    padding: 12px 8px;
  }
  .clients__logo-item img {
    max-height: 36px;
  }
}

/* --- Real Images --- */
.hero__photo {
  margin-top: 24px;
  border-radius: 4px;
  overflow: hidden;
}
.hero__img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 4px;
}
.differ__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.5s var(--ease-out-expo);
}
.differ__card:hover .differ__img {
  transform: scale(1.05);
}
.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}
.category-card:hover .category-card__img {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .hero__img {
    max-height: 300px;
  }
}
@media (max-width: 480px) {
  .hero__img {
    max-height: 220px;
  }
}

/* --- Hero Image Section (Zendesk style) --- */
.hero-image-wrap {
  width: 100%;
  padding: 0 clamp(24px, 6vw, 120px);
  margin-top: 40px;
  margin-bottom: 40px;
}

.hero-image-main {
  display: block;
  width: 100%;
  height: auto;
  max-height: 850px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 24px 80px rgba(30, 46, 30, 0.15);
  border: 1px solid rgba(90, 138, 74, 0.1);
}

/* ── Sandal Sketch Animation ── */
.hero__sketch-wrap {
  width: 100%;
  margin-top: 48px;
  opacity: 0;
  animation: sketchFadeIn 0.6s ease forwards;
  animation-delay: 1.2s;
}

@keyframes sketchFadeIn {
  to { opacity: 1; }
}

.hero__sketch {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* All stroke paths share base style */
.sp {
  fill: none;
  stroke: #2E5D30;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.sp-dot {
  fill: #2E5D30;
  opacity: 0;
  animation: dotAppear 0.3s ease forwards;
}

@keyframes dotAppear {
  to { opacity: 1; }
}

/* Each path draws in sequence */
.sp1  { animation: draw 1s ease forwards; animation-delay: 1.4s; }
.sp2  { animation: draw 0.8s ease forwards; animation-delay: 2.3s; }
.sp3  { animation: draw 1s ease forwards; animation-delay: 3s; stroke-width: 1; opacity: 0.5; }
.sp4  { animation: draw 0.7s ease forwards; animation-delay: 3.8s; }
.sp5  { animation: draw 0.5s ease forwards; animation-delay: 4.4s; }
.sp6  { animation: draw 0.7s ease forwards; animation-delay: 4.8s; }
.sp7  { animation: draw 0.3s ease forwards; animation-delay: 5.4s; stroke-width: 1.2; opacity: 0.6; }
.sp8  { animation: draw 0.4s ease forwards; animation-delay: 5.6s; stroke-width: 1; opacity: 0.45; }
.sp9  { animation-delay: 6s; }
.sp10 { animation: draw 0.5s ease forwards; animation-delay: 6s; stroke-width: 1; opacity: 0.4; }
.sp11 { animation: draw 0.2s ease forwards; animation-delay: 6.4s; stroke-width: 1.2; opacity: 0.5; }
.sp12 { animation: draw 0.2s ease forwards; animation-delay: 6.5s; stroke-width: 1.2; opacity: 0.5; }

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

/* Replay animation on hover */
.hero__sketch-wrap:hover .sp {
  animation: none;
  stroke-dashoffset: 1;
}
.hero__sketch-wrap:hover .sp1  { animation: draw 1s ease forwards 0.1s; }
.hero__sketch-wrap:hover .sp2  { animation: draw 0.8s ease forwards 0.9s; }
.hero__sketch-wrap:hover .sp3  { animation: draw 1s ease forwards 1.6s; }
.hero__sketch-wrap:hover .sp4  { animation: draw 0.7s ease forwards 2.3s; }
.hero__sketch-wrap:hover .sp5  { animation: draw 0.5s ease forwards 2.9s; }
.hero__sketch-wrap:hover .sp6  { animation: draw 0.7s ease forwards 3.3s; }
.hero__sketch-wrap:hover .sp7  { animation: draw 0.3s ease forwards 3.9s; }
.hero__sketch-wrap:hover .sp8  { animation: draw 0.4s ease forwards 4.1s; }
.hero__sketch-wrap:hover .sp10 { animation: draw 0.5s ease forwards 4.4s; }
.hero__sketch-wrap:hover .sp11 { animation: draw 0.2s ease forwards 4.8s; }
.hero__sketch-wrap:hover .sp12 { animation: draw 0.2s ease forwards 4.9s; }

@media (max-width: 768px) {
  .hero__sketch-wrap { margin-top: 32px; }
}

/* ── Hero Brand Lockup ── */
.hero__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.hero__brand-mark {
  height: clamp(24px, 3.5vw, 44px);
  width: auto;
}

.hero__brand-name {
  font-family: var(--font-body);
  font-size: clamp(28px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-logo);
  line-height: 1;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 36px);
  font-style: italic;
  font-weight: 300;
  color: var(--color-warm-gray);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero__brand { gap: 10px; }
  .hero__tagline { margin-bottom: 24px; }
}

/* ==========================================================================
   DARK MODE — Home Page
   Sections with --color-ivory/cream bg auto-darken via token overrides.
   Text using --color-charcoal needs explicit light overrides.
   Intentionally dark sections (charcoal/obsidian bg) are fine as-is.
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  /* General text on light-bg sections */
  .hero-brands__label,
  .clients__subtitle,
  .clients__divider { color: var(--color-warm-gray); }

  /* Section heading text on light sections */
  .pt-section__title,
  .pt-section__subtitle,
  .process-intro__title,
  .why-partner__col-title { color: var(--color-gold); }

  /* Body text in cards/cols that become dark surfaces */
  .why-partner__point,
  .why-partner__point-text { color: rgba(228, 237, 216, 0.8); }

  /* Testimonial cards — slightly more visible on dark */
  .testimonial {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 220, 180, 0.1);
  }
  .testimonial__text,
  .testimonial__author { color: var(--color-cream); }

  /* Stats on charcoal bg — already handles light text, fine */

  /* Client logo card borders on dark bg */
  .clients__logo-item {
    box-shadow: none;
  }

  /* Hero brand bg section */
  .hero-brands {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}
