/* ==========================================================================
   THE KINGSMEN — Compact Editorial Home Page Stylesheet (home.css)
   Streamlined narrative cadence:
   1. Full-Width Sunlit Royal Hero Slider
   2. About The House (Heritage & Mahal Atelier)
   3. Signature Collections (4 Compact Arches)
   4. Gentlemen's Testimonials Showcase
   5. Sole Flagship Store Invitation
   ========================================================================== */

/* 1. FULL-WIDTH SUNLIT ROYAL HERO SLIDER */
.tk-hero {
  --tk-slide-duration: 5000ms;
  position: relative;
  width: 100%;
  min-height: clamp(560px, 76vh, 760px);
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #F8ECD4;
  isolation: isolate;
}

.tk-hero-track {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.tk-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 850ms var(--ease-luxury),
    visibility 850ms var(--ease-luxury);
}

.tk-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.tk-hero-media {
  position: absolute;
  inset: 0;
}

.tk-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.055);
  transition: transform 7200ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.tk-hero-slide.is-active .tk-hero-media img {
  transform: scale(1);
}

.tk-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255, 250, 238, 0.14) 0%,
      rgba(255, 250, 238, 0) 18%,
      rgba(255, 250, 238, 0) 68%,
      rgba(254, 250, 241, 0.42) 84%,
      rgba(254, 250, 241, 0.9) 94%,
      #FEFAF1 100%
    );
}

.tk-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(254, 250, 241, 0) 0%,
    rgba(254, 250, 241, 0.65) 56%,
    #FEFAF1 96%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  mask-image: linear-gradient(180deg, transparent 0%, #000 54%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 54%, #000 100%);
}

/* Editorial Copy Floating Directly Over Open Sunlit Slide Space */
.tk-hero-copy-stack {
  position: relative;
  display: grid;
  z-index: 3;
}

.tk-slide-copy {
  grid-area: 1 / 1;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 520ms var(--ease-luxury),
    visibility 520ms var(--ease-luxury);
}

.tk-slide-copy.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tk-slide-copy .tk-hero-kicker,
.tk-slide-copy .tk-hero-headline,
.tk-slide-copy .tk-hero-subtitle,
.tk-slide-copy .tk-hero-actions {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 600ms var(--ease-luxury),
    transform 660ms var(--ease-luxury);
}

.tk-slide-copy.is-active .tk-hero-kicker {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 80ms;
}

.tk-slide-copy.is-active .tk-hero-headline {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 150ms;
}

.tk-slide-copy.is-active .tk-hero-subtitle {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 220ms;
}

.tk-slide-copy.is-active .tk-hero-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 300ms;
}

.tk-hero-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 0.88vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--tk-gold-deep);
}

.tk-hero-headline {
  margin: 0.65rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.85rem, 5.1vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #7A4814 0%, #522C08 56%, #8F5818 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #542E08;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
  filter: drop-shadow(0 2px 16px rgba(255, 252, 242, 0.9));
}

.tk-hero-subtitle {
  margin: 0 auto 1.85rem;
  max-width: 26ch;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.32rem, 1.9vw, 1.68rem);
  line-height: 1.32;
  color: #6B3F12;
  text-shadow: 0 1px 14px rgba(255, 252, 244, 0.92);
  text-wrap: balance;
}

.tk-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slider Controls Pill */
.tk-slider-nav {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 15;
}

.tk-slider-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.55rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 253, 248, 0.74) 0%, rgba(251, 242, 222, 0.56) 100%);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  border: 1px solid rgba(255, 252, 242, 0.84);
  box-shadow:
    0 12px 28px -12px rgba(138, 90, 22, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.tk-slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.25rem;
}

.tk-slider-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.1rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.tk-slider-dot-track {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: rgba(186, 123, 20, 0.26);
  overflow: hidden;
  transition: width 460ms var(--ease-luxury), background-color 360ms var(--ease-luxury), transform 360ms var(--ease-luxury);
}

.tk-slider-dot:hover .tk-slider-dot-track {
  background-color: rgba(186, 123, 20, 0.52);
  transform: scale(1.1);
}

.tk-slider-dot.is-active .tk-slider-dot-track {
  width: 30px;
  height: 7px;
  background-color: rgba(186, 123, 20, 0.2);
  transform: none;
}

.tk-slider-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--tk-logo-light) 0%, var(--tk-logo-dark) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

.tk-slider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  border: none;
  background: rgba(255, 253, 248, 0.62);
  color: var(--tk-espresso-deep);
  cursor: pointer;
  transition: background 420ms var(--ease-luxury), color 420ms var(--ease-luxury), transform 420ms var(--ease-luxury);
}

.tk-slider-icon-pause {
  width: 24px;
  height: 24px;
  background: transparent;
  color: var(--tk-espresso-muted);
}

.tk-slider-icon:hover {
  background: linear-gradient(90deg, var(--tk-royal-fill-light) 0%, var(--tk-royal-fill-dark) 100%);
  color: #FFFDF8;
  transform: scale(1.06);
}

/* Shared Section Crest Header */
.tk-collections-crest {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.tk-collections-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.tk-collections-label h2 {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--tk-espresso-deep);
}

.tk-collections-sub {
  margin-top: 0.35rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.32rem, 1.9vw, 1.66rem);
  font-weight: 600;
  color: #825016;
}

/* ==========================================================================
   2. ABOUT THE HOUSE SECTION
   ========================================================================== */
.tk-home-about {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4.25rem) 0;
  background:
    radial-gradient(circle 480px at 14% 28%, rgba(252, 235, 168, 0.24) 0%, transparent 72%),
    linear-gradient(180deg, #FEFAF1 0%, #FDF6E6 100%);
}

.tk-about-portrait {
  position: relative;
  max-width: 390px;
  margin-inline: auto;
  padding: 0.5rem;
  border-radius: 210px 210px 1.25rem 1.25rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.92) 0%, rgba(248, 234, 202, 0.7) 100%);
  border: 1px solid rgba(221, 162, 43, 0.4);
  box-shadow: 0 22px 46px -28px rgba(74, 41, 9, 0.28);
}

.tk-about-portrait-inner {
  overflow: hidden;
  aspect-ratio: 4 / 4.75;
  border-radius: 200px 200px 0.95rem 0.95rem;
  background: #F6E8CA;
}

.tk-about-portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
  display: block;
}

.tk-home-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  line-height: 1.09;
  letter-spacing: -0.015em;
  color: #4A2909;
  text-wrap: balance;
}

.tk-home-lead {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.22rem, 1.85vw, 1.48rem);
  line-height: 1.42;
  color: #7A4B14;
}

.tk-home-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(221, 162, 43, 0.24);
}

/* ==========================================================================
   3. COMPACT SIGNATURE COLLECTIONS STRIP (4 ARCHES)
   ========================================================================== */
.tk-home-collections {
  position: relative;
  padding: clamp(2.4rem, 4.5vw, 3.75rem) 0;
  background:
    radial-gradient(circle 420px at 84% 34%, rgba(252, 235, 168, 0.28) 0%, transparent 72%),
    linear-gradient(180deg, #FDF6E6 0%, #FAF0DA 55%, #FEFAF1 100%);
  border-top: 1px solid rgba(221, 162, 43, 0.16);
  border-bottom: 1px solid rgba(221, 162, 43, 0.16);
}

.tk-mini-arch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.55rem;
  border-radius: 170px 170px 1.25rem 1.25rem;
  background: linear-gradient(160deg, rgba(255, 253, 248, 0.9) 0%, rgba(251, 242, 222, 0.6) 100%);
  border: 1px solid rgba(221, 162, 43, 0.34);
  box-shadow: 0 18px 36px -24px rgba(107, 63, 18, 0.24);
  text-decoration: none;
  transition: transform 420ms var(--ease-luxury), border-color 420ms var(--ease-luxury), box-shadow 420ms var(--ease-luxury);
}

.tk-mini-arch-card:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 162, 43, 0.8);
  box-shadow: 0 24px 42px -22px rgba(107, 63, 18, 0.3);
}

.tk-mini-arch-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 3.7;
  border-radius: 160px 160px 0.9rem 0.9rem;
  padding: 1.75px;
  background: linear-gradient(180deg, var(--tk-logo-light) 0%, var(--tk-logo-dark) 100%);
}

.tk-mini-arch-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 158px 158px 0.8rem 0.8rem;
  overflow: hidden;
  background: #F6E9CE;
}

.tk-mini-arch-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  display: block;
  transition: transform 620ms var(--ease-luxury);
}

.tk-mini-arch-card:hover .tk-mini-arch-inner img {
  transform: scale(1.045);
}

.tk-mini-arch-scrim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 36%;
  background: linear-gradient(180deg, rgba(44, 24, 7, 0) 0%, rgba(44, 24, 7, 0.42) 100%);
  pointer-events: none;
}

.tk-mini-arch-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.72rem 0.55rem 0.25rem;
  color: #4A2909;
}

.tk-mini-arch-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
  font-weight: 400;
  line-height: 1.25;
}

.tk-mini-arch-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--tk-royal-btn-light) 0%, var(--tk-royal-btn-dark) 100%);
  color: #4A2909;
  font-size: 0.82rem;
  flex-shrink: 0;
  transition: transform 320ms var(--ease-luxury);
}

.tk-mini-arch-card:hover .tk-mini-arch-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   4. GENTLEMEN'S TESTIMONIALS SECTION
   ========================================================================== */
.tk-home-testimonials {
  position: relative;
  padding: clamp(2.5rem, 4.8vw, 4rem) 0;
  background:
    radial-gradient(circle 460px at 18% 60%, rgba(252, 235, 168, 0.24) 0%, transparent 72%),
    linear-gradient(180deg, #FEFAF1 0%, #FDF7EA 100%);
}

.tk-quote-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.55rem 1.5rem;
  border-radius: 1.35rem;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(221, 162, 43, 0.26);
  box-shadow: 0 18px 38px -28px rgba(74, 41, 9, 0.22);
  transition: border-color 320ms var(--ease-luxury), transform 320ms var(--ease-luxury);
}

.tk-quote-card:hover {
  transform: translateY(-3px);
  border-color: rgba(221, 162, 43, 0.56);
}

.tk-quote-mark {
  color: #C98C20;
  opacity: 0.82;
}

.tk-quote-text {
  margin-top: 0.75rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.16rem, 1.55vw, 1.32rem);
  line-height: 1.48;
  color: #4A2909;
}

.tk-quote-footer {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(221, 162, 43, 0.22);
}

.tk-testi-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 9999px;
  border: 0;
  background: rgba(186, 123, 20, 0.28);
  cursor: pointer;
  transition: width 260ms var(--ease-luxury), background-color 260ms var(--ease-luxury);
}

.tk-testi-dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--tk-logo-light) 0%, var(--tk-logo-dark) 100%);
}

/* ==========================================================================
   5. COMPACT SOLE FLAGSHIP INVITATION BAND
   ========================================================================== */
.tk-home-invite {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.6rem, 4.5vw, 3.8rem);
  background: linear-gradient(180deg, #FDF7EA 0%, #FEFAF1 100%);
}

.tk-home-invite-card {
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3.2vw, 2.35rem) clamp(1.4rem, 3.5vw, 2.75rem);
  background:
    radial-gradient(circle 360px at 88% 20%, rgba(252, 235, 168, 0.42) 0%, transparent 72%),
    linear-gradient(145deg, #FFFDF8 0%, #FAF0DA 65%, #F6E6C2 100%);
  border: 1px solid rgba(221, 162, 43, 0.34);
  box-shadow: 0 20px 44px -28px rgba(74, 41, 9, 0.24);
}

/* ==========================================================================
   RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 1023px) {
  .tk-hero {
    min-height: 620px;
    padding-top: 6.75rem;
    padding-bottom: 5.5rem;
    align-items: flex-end;
  }

  .tk-hero-media img {
    object-position: 28% 18%;
  }

  .tk-hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(255, 250, 238, 0.22) 0%,
        rgba(255, 250, 238, 0) 24%,
        rgba(255, 250, 238, 0.08) 46%,
        rgba(254, 249, 238, 0.74) 76%,
        #FEFAF1 100%
      );
  }
}

@media (max-width: 639px) {
  .tk-hero {
    min-height: 560px;
    padding-top: 6rem;
    padding-bottom: 4.2rem;
  }

  .tk-hero-media img {
    object-position: 30% 16%;
  }

  .tk-slider-nav {
    bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tk-hero-media img {
    transform: none !important;
  }
  .tk-slider-dot.is-active .tk-slider-progress-fill {
    transform: scaleX(1) !important;
  }
}
