/* ==========================================================================
   Taanka Studio - Stylesheet
   Typography:
     Heading: 'Playfair Display', Georgia, serif
     Body: 'Cormorant Garamond', Garamond, serif
   ========================================================================== */

:root {
  --primary: #284462;
  --primary-dark: #1b3046;
  --primary-light: #3b5a7d;
  --primary-rgb: 40, 68, 98;
  --bg-main: #F4ECE8;
  --bg-card: #FCF8F6;
  --bg-alt: #EAE0DA;
  --text-dark: #1F334A;
  --text-muted: #52677D;
  --border-dash: rgba(40, 68, 98, 0.25);
  --shadow-subtle: 0 10px 30px rgba(40, 68, 98, 0.06);
  --shadow-hover: 0 18px 40px rgba(40, 68, 98, 0.12);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Cormorant Garamond', Garamond, Georgia, serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  font-size: 17px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  padding-top: 85px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-title,
.hero-title,
.section-title,
.quote-text,
.custom-banner-content h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--primary);
}

/* Needlework & Stitch Motifs */
.stitch-line {
  border: none;
  border-top: 2px dashed var(--border-dash);
  margin: 3.5rem 0;
  width: 100%;
}

.stitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 0.4rem 1.1rem;
  border: 1px dashed var(--primary);
  background-color: rgba(255, 255, 255, 0.45);
  border-radius: 2px;
}

/* CTA Buttons */
.cta-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  background-color: var(--primary);
  color: var(--bg-main);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(40, 68, 98, 0.15);
}

.cta-placeholder:hover {
  background-color: transparent;
  color: var(--primary);
  box-shadow: 0 6px 20px rgba(40, 68, 98, 0.2);
  transform: translateY(-2px);
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  background-color: rgba(244, 236, 232, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px dashed var(--border-dash);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: rgba(244, 236, 232, 0.98);
  box-shadow: 0 4px 20px rgba(40, 68, 98, 0.08);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--primary);
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.9;
}

.brand-link img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

/* Header Actions (Instagram + CTA) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.header-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(40, 68, 98, 0.22);
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.header-insta-link:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.header-insta-link svg {
  flex-shrink: 0;
}

.mobile-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.4rem 0;
}

.mobile-insta-link svg {
  flex-shrink: 0;
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px dashed var(--primary);
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  z-index: 600;
  transition: var(--transition-smooth);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
}

/* Hero Section - Fullscreen Artistic Banner */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 5rem 4rem;
  min-height: calc(100vh - 85px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-image: url('assets/images/hero-desktop.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(20, 34, 49, 0.85) 0%,
      rgba(20, 34, 49, 0.40) 40%,
      rgba(20, 34, 49, 0.12) 75%,
      rgba(20, 34, 49, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg-main);
  padding: 0.4rem 1.1rem;
  border: 1px dashed rgba(244, 236, 232, 0.6);
  background-color: rgba(27, 48, 70, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  line-height: 1.1;
  color: var(--bg-main);
  font-weight: 500;
  margin: 0 0 2rem;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-link {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bg-main);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 0.2rem;
  border-bottom: 1.5px solid rgba(244, 236, 232, 0.6);
  transition: all 0.3s ease;
}

.hero-link:hover {
  border-bottom-color: var(--bg-main);
  transform: translateY(-2px);
}

.hero-cta {
  background-color: var(--bg-main);
  color: var(--primary);
  border-color: var(--bg-main);
}

.hero-cta:hover {
  background-color: transparent;
  color: var(--bg-main);
  border-color: var(--bg-main);
}

/* Common Section Layout */
section {
  padding: 5.5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  color: var(--primary);
  font-weight: 500;
  margin-top: 1rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-card);
  padding: 2.8rem 2.2rem;
  border: 1px dashed var(--border-dash);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.value-number {
  font-size: 1rem;
  color: var(--primary-light);
  font-style: italic;
  margin-bottom: 1.1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.55rem;
  color: var(--primary);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.value-card p {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* Story Quote Banner */
.quote-banner {
  background-color: var(--bg-main);
  color: var(--text-dark);
  padding: 5.5rem 2rem 5rem;
  margin: 0;
  text-align: center;
  position: relative;
  box-shadow: none;
  border-top: 1px dashed var(--border-dash);
}

.quote-container {
  max-width: 900px;
  margin: 0 auto;
}

.quote-text {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-weight: 400;
  color: var(--primary);
}

.quote-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.9;
}

/* ==========================================================================
   Signature Customisations - Full-View Luxury Canvas Slider & Multi-Image Showcase
   Theme: Taanka Studio Prussian Blue / Midnight Indigo (#284462 / #112133)
   ========================================================================== */
section.customisations-section {
  max-width: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

/* Full View - Edge to edge across viewport */
.custom-card-container {
  width: 100%;
  max-width: 100%;
  margin: 0 0 3.5rem;
  padding: 0;
}

.luxury-product-card {
  position: relative;
  width: 100%;
  border-radius: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 36%, #284462 0%, #1c3249 45%, #112133 80%, #09131d 100%);
  box-shadow: 0 25px 60px rgba(9, 19, 29, 0.45);
  padding: 4.5rem 4rem 3.5rem;
  color: #FDF7F5;
  overflow: hidden;
  position: relative;
}

/* Section Header Inside Blue View */
.card-header-inside {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.2rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 5;
}

.card-header-inside .stitch-badge {
  color: #E5C39E;
  border-color: rgba(229, 195, 158, 0.45);
  background: rgba(0, 0, 0, 0.28);
}

.card-header-inside .section-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 500;
  margin-top: 1.1rem;
  letter-spacing: -0.01em;
}

.card-header-inside .section-subtitle {
  color: #EAE0DA;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-top: 0.85rem;
  opacity: 0.9;
}

/* Background Ambient Petals (translucent organic leaf silhouettes) */
.ambient-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.ambient-petals .petal {
  position: absolute;
  background: radial-gradient(ellipse at center, rgba(6, 14, 23, 0.65) 0%, rgba(6, 14, 23, 0) 72%);
  border-radius: 50% 0 50% 0;
  opacity: 0.4;
  filter: blur(16px);
  transform-origin: center;
}

.ambient-petals .petal-tl {
  top: 15%;
  left: 27%;
  width: 160px;
  height: 230px;
  transform: rotate(-32deg);
}

.ambient-petals .petal-tr {
  top: 18%;
  right: 25%;
  width: 170px;
  height: 240px;
  transform: rotate(38deg);
}

.ambient-petals .petal-bl {
  bottom: 22%;
  left: 31%;
  width: 180px;
  height: 260px;
  transform: rotate(-62deg);
}

.ambient-petals .petal-br {
  bottom: 18%;
  right: 28%;
  width: 170px;
  height: 240px;
  transform: rotate(62deg);
}

/* Card Top Navigation Bar */
.card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  gap: 1.2rem;
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-glyph {
  font-size: 1.25rem;
  color: #E5C39E;
  line-height: 1;
}

.brand-label {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
}

/* Card Tabs (Product Switcher Pills) */
.card-tabs {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card-tab-btn {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-tab-btn:hover {
  color: #ffffff;
}

.card-tab-btn.active {
  background: #ffffff;
  color: #112133;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Top Right Slider Controls */
.card-top-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-arrow-btn:hover {
  background: #ffffff;
  color: #112133;
  border-color: #ffffff;
  transform: scale(1.08);
}

.slide-indicator {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.slide-indicator .sep {
  opacity: 0.5;
}

/* Micro Sub-bar */
.card-sub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.2rem;
  font-size: 0.88rem;
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.sub-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.sub-back-link:hover {
  color: #ffffff;
}

.sub-badges {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.sub-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.badge-dot {
  color: #E5C39E;
}

/* Card Slider Viewport & Track */
.card-slider-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  z-index: 4;
}

.card-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.card-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  position: relative;
  opacity: 0.25;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.card-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide Inner 2-Column Balanced Layout */
.slide-inner-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 3.8rem;
  align-items: center;
  position: relative;
  z-index: 3;
  max-width: 1360px;
  margin: 0 auto;
}

/* Left Column: Title & Craft Story */
.slide-col-left {
  display: flex;
  flex-direction: column;
}

.product-mini-tag {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #E5C39E;
  font-weight: 600;
  margin-bottom: 0.8rem;
  display: block;
}

.product-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  line-height: 1.15;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.product-badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.badge-accent {
  background: rgba(244, 236, 232, 0.15);
  border: 1px solid rgba(244, 236, 232, 0.25);
  color: #F4ECE8;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-spec {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.product-narrative {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.72;
  margin-bottom: 1.8rem;
}

.product-perk-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #EAE0DA;
  font-size: 0.92rem;
  line-height: 1.45;
}

.product-perk-item svg {
  flex-shrink: 0;
  color: #E5C39E;
}

/* Right Column: Horizontal Multi-Image Carousel Strip */
.slide-gallery-col {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

/* Carousel Stage & Center-Floating Arrows */
.gallery-stage-wrap {
  position: relative;
  width: 100%;
  --gal-center: 170px; /* half of 340px image */
}

.gallery-arrow {
  position: absolute;
  top: var(--gal-center);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 33, 51, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.gallery-arrow:hover {
  background: #ffffff;
  color: #112133;
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-arrow.gal-prev {
  left: 10px;
}

.gallery-arrow.gal-next {
  right: 10px;
}

/* Horizontal Multi-Image Viewport & Track */
.gallery-strip-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0 1rem;
  position: relative;
  cursor: grab;
}

.gallery-strip-viewport:active {
  cursor: grabbing;
}

.gallery-strip-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(0.2, 0.9, 0.3, 1);
  will-change: transform;
}

.gal-card {
  flex: 0 0 280px;
  width: 280px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
}

.gal-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.gal-card-media {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
  border-radius: 18px;
  background: #f4ece8;
}

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

.gal-card:hover .gal-card-media img {
  transform: scale(1.06);
}

/* Slide Bottom Bar (Trust Note on left, "Get ur own" button on right) */
.slide-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 2rem;
  position: relative;
  z-index: 5;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.bottom-trust {
  flex: 1;
  max-width: 500px;
}

.bottom-trust p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #EAE0DA;
  opacity: 0.9;
  margin: 0;
}

.bottom-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* "Get ur own" Pill CTA Button */
.card-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #F4ECE8;
  color: #112133;
  padding: 0.9rem 2.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.card-buy-btn svg {
  fill: currentColor;
  flex-shrink: 0;
}

.card-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  background: #ffffff;
  color: #08111a;
}

/* Responsive Customisations Card */
@media (max-width: 1024px) {
  .luxury-product-card {
    padding: 3rem 2.5rem;
  }

  .slide-inner-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .slide-inner-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .gal-card {
    flex: 0 0 250px;
    width: 250px;
  }

  .gal-card-media {
    height: 300px;
  }

  .gallery-stage-wrap {
    --gal-center: 150px;
  }
}

@media (max-width: 768px) {
  .luxury-product-card {
    padding: 2.2rem 1.4rem;
  }

  .card-top-bar {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .card-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .card-tab-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.8rem;
  }

  .card-sub-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
  }

  .product-hero-title {
    font-size: 2.1rem;
  }

  .gal-card {
    flex: 0 0 220px;
    width: 220px;
  }

  .gal-card-media {
    height: 270px;
  }

  .gallery-stage-wrap {
    --gal-center: 135px;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .gallery-arrow.gal-prev {
    left: 6px;
  }

  .gallery-arrow.gal-next {
    right: 6px;
  }

  .slide-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.4rem;
    margin-top: 2rem;
    padding-top: 1.4rem;
  }

  .bottom-actions {
    width: 100%;
  }

  .card-buy-btn {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   How It Works (3-Step Bespoke Journey)
   ========================================================================== */
.how-it-works-section {
  padding: 5rem 2rem 4.5rem;
  max-width: 1320px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  margin-bottom: 3.2rem;
}

.step-card {
  background: #ffffff;
  border: 1px dashed var(--border-dash);
  border-radius: 16px;
  padding: 2.6rem 2.2rem 2.2rem;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(40, 68, 98, 0.08);
}

.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(40, 68, 98, 0.08);
  padding: 0.32rem 0.85rem;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.step-tag {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-muted);
}

.step-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(40, 68, 98, 0.06);
  border: 1px solid rgba(40, 68, 98, 0.14);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon-wrap {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.06);
}

.step-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.9rem;
}

.step-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
  flex-grow: 1;
}

.step-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(40, 68, 98, 0.15);
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

.step-features span {
  background: rgba(244, 236, 232, 0.65);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.how-it-works-action {
  display: flex;
  justify-content: center;
}

.how-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 2.4rem;
  font-size: 1.08rem;
  border-radius: 50px;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ==========================================================================
   Stitches Section & Grid Showcase
   ========================================================================== */
.stitches-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

.stitches-section .section-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 1.1rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.stitches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3.5rem 0 4rem;
}

.stitch-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #ffffff;
  border: 1px dashed var(--border-dash);
  border-radius: 2px;
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.35s ease;
  user-select: none;
}

.stitch-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.stitch-card img {
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Stitches Callout Box */
.stitches-callout {
  margin-top: 3.5rem;
  background-color: var(--bg-card);
  border: 1px dashed var(--border-dash);
  padding: 3rem 3.5rem;
  box-shadow: var(--shadow-subtle);
  position: relative;
}

.stitches-callout-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.stitches-callout-content {
  max-width: 700px;
}

.stitches-callout-content h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 0.8rem 0 0.8rem;
  font-weight: 500;
  color: var(--primary);
}

.stitches-callout-content p {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.stitches-callout-action {
  flex-shrink: 0;
}



/* ==========================================================================
   Instagram Micro-Grid Section
   ========================================================================== */
.insta-section {
  padding: 5rem 2rem 4.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.insta-sub-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.insta-sub-link:hover {
  color: var(--primary-light);
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
  margin-bottom: 2.8rem;
}

.insta-item {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f4ece8;
  border: 1px solid rgba(40, 68, 98, 0.1);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.35s ease;
}

.insta-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(40, 68, 98, 0.18);
}

.insta-media {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

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

.insta-item:hover .insta-media img {
  transform: scale(1.08);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 33, 51, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

.insta-overlay svg {
  color: #ffffff;
}

.insta-overlay span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.insta-footer-action {
  display: flex;
  justify-content: center;
}

.insta-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  font-size: 1.05rem;
  border-radius: 50px;
}

/* Custom Narrative Banner */
.custom-banner {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem;
  margin: 5rem 0 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.custom-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 68, 98, 0.90), rgba(27, 48, 70, 0.94));
  z-index: 1;
}

.custom-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--bg-main);
}

.custom-banner-content h3 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 500;
  margin-bottom: 1.4rem;
  color: var(--bg-main);
}

.custom-banner-content p {
  font-size: 1.25rem;
  opacity: 0.92;
  line-height: 1.8;
  margin-bottom: 2.2rem;
}

.custom-banner-content .cta-placeholder {
  background-color: var(--bg-main);
  color: var(--primary);
  border-color: var(--bg-main);
}

.custom-banner-content .cta-placeholder:hover {
  background-color: transparent;
  color: var(--bg-main);
  border-color: var(--bg-main);
}


/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(27, 48, 70, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px dashed rgba(244, 236, 232, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  background-color: #ffffff;
}

.lightbox-caption {
  color: var(--bg-main);
  font-family: var(--font-body);
  font-size: 1.15rem;
  margin-top: 1rem;
  text-align: center;
  font-style: italic;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: var(--bg-main);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.15);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: var(--bg-main);
  padding: 4.5rem 2rem 2.5rem;
  border-top: 1px solid var(--primary-dark);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
  font-weight: 500;
  color: var(--bg-main);
}

.footer-brand p {
  opacity: 0.85;
  font-size: 1.08rem;
  max-width: 440px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 1.15rem;
  margin-bottom: 1.3rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--bg-main);
  font-family: var(--font-heading);
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-tag {
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(244, 236, 232, 0.35);
  opacity: 0.85;
}

/* Footer Instagram Pill */
.footer-insta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  background: rgba(244, 236, 232, 0.12);
  border: 1px solid rgba(244, 236, 232, 0.3);
  color: var(--bg-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-insta-pill:hover {
  background: var(--bg-main);
  color: var(--primary);
  border-color: var(--bg-main);
  transform: translateY(-2px);
}

.footer-insta-pill svg {
  flex-shrink: 0;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px dashed rgba(244, 236, 232, 0.2);
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    padding: 4rem 3rem;
  }

  .product-layout,
  .craft-layout,
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stitches-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

@media (max-width: 768px) {
  .hero {
    background-image: url('assets/images/hero-mobile.jpg');
    background-position: center center;
    padding: 3.5rem 1.8rem;
    min-height: calc(100vh - 85px);
  }

  .hero-title {
    font-size: clamp(2.3rem, 8vw, 3.2rem);
    margin-bottom: 1.5rem;
  }

  header nav ul {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: rgba(244, 236, 232, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px dashed var(--border-dash);
    padding: 1.5rem 2rem 2rem;
    gap: 1.2rem;
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 490;
    box-shadow: 0 10px 25px rgba(40, 68, 98, 0.1);
  }

  .mobile-nav.open {
    transform: translateY(0);
  }

  .mobile-nav a {
    text-decoration: none;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(40, 68, 98, 0.15);
  }

  .mobile-nav .cta-placeholder {
    margin-top: 0.8rem;
    text-align: center;
  }

  .header-inner .cta-placeholder {
    display: none;
  }

  .header-insta-link .insta-handle {
    display: none;
  }

  .header-insta-link {
    padding: 0.45rem;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }
}

@media (max-width: 640px) {

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .product-section {
    padding: 2.2rem 1.6rem;
  }

  .quote-banner {
    padding: 4rem 1.5rem;
  }

  .quote-text {
    font-size: 1.45rem;
  }

  .stitches-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }

  .stitches-callout {
    padding: 2.2rem 1.5rem;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .insta-section {
    padding: 3.5rem 1.4rem 2.5rem;
  }
}

@media (max-width: 900px) {
  .stitches-callout-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
}

/* ==========================================================================
   Aesthetic Scroll Animations & Progress Thread
   ========================================================================== */

/* 1. Scroll Progress Bar ("Thread" Indicator) */
.scroll-progress-thread {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary) 0%, #c49a6c 50%, #e8cbb0 100%);
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 1px 8px rgba(196, 154, 108, 0.45);
  transition: width 0.08s linear;
}

/* 2. Reveal on Scroll (Smooth Fade + Slide Up) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Staggered Cascades for Grids */
.stagger-group > * {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.stagger-group.is-revealed > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Cascade Stagger Delays */
.stagger-group.is-revealed > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger-group.is-revealed > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger-group.is-revealed > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger-group.is-revealed > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger-group.is-revealed > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger-group.is-revealed > *:nth-child(6)  { transition-delay: 0.40s; }
.stagger-group.is-revealed > *:nth-child(7)  { transition-delay: 0.47s; }
.stagger-group.is-revealed > *:nth-child(8)  { transition-delay: 0.54s; }
.stagger-group.is-revealed > *:nth-child(9)  { transition-delay: 0.61s; }
.stagger-group.is-revealed > *:nth-child(10) { transition-delay: 0.68s; }
.stagger-group.is-revealed > *:nth-child(11) { transition-delay: 0.75s; }
.stagger-group.is-revealed > *:nth-child(12) { transition-delay: 0.82s; }

/* 4. Accessibility: Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-progress-thread {
    display: none;
  }
  .reveal-on-scroll,
  .stagger-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}