/**
 * ========================================================
 * TEERA LIVING - CORE DESIGN SYSTEM CSS
 * Source of Truth: DESIGN.md & Google Stitch "Teera V2"
 * Aesthetic: Warm. Architectural. Refined. Editorial.
 * ========================================================
 */
/* ========================================================
 * LOCAL SELF-HOSTED TYPOGRAPHY
 * ======================================================== */

/* Manrope (Variable font covering 200..800, preserving weights 300, 400, 500, 600, 700) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff2') format('woff2');
}

/* Averia Serif Libre (400, 400 italic, 700, 700 italic) */
@font-face {
  font-family: 'Averia Serif Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/averia-serif-libre-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Averia Serif Libre';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/averia-serif-libre-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Averia Serif Libre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/averia-serif-libre-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Averia Serif Libre';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/averia-serif-libre-700-italic.woff2') format('woff2');
}

/* Libre Caslon Text (400, 400 italic, 700) */
@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/libre-caslon-text-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Caslon Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/libre-caslon-text-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/libre-caslon-text-700.woff2') format('woff2');
}

/* Felipa (400) */
@font-face {
  font-family: 'Felipa';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/felipa-400.woff2') format('woff2');
}

/* Cormorant Garamond (Variable normal & italic covering 300..700, including 400, 600, 700) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-variable.woff2') format('woff2');
}


:root {
  /* Color Palette */
  --color-ink: #111111;
  --color-ink-dark: #1C1C18;
  --color-paper: #F5F2EC;
  --color-warm-white: #FAF9F6;
  --color-sand: #E6DED2;
  --color-taupe: #B7AA9B;
  --color-timber: #8A6A4A;
  --color-timber-dark: #5C4633;
  --color-muted: #6E6962;
  --color-line: #D8D1C7;
  --color-surface: #FCF9F3;

  /* Typography */
  --font-display: 'Averia Serif Libre', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-literary: 'Libre Caslon Text', Georgia, serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-script: 'Felipa', cursive;

  /* Spacing Scale (8px baseline) */
  --space-unit: 8px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 80px;
  --space-3xl: 120px;
  --space-section: 160px;

  /* Layout Containers */
  --container-max: 1440px;
  --gutter-desktop: 80px;
  --gutter-tablet: 40px;
  --gutter-mobile: 24px;

  /* Header & Viewport Layout Variables */
  --header-height: 85px; /* Default desktop >= 1280px (84px inner + 1px border) */

  /* Transition & Motion */
  --ease-editorial: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-editorial);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Typography Hierarchy & Font Family Helpers */
h1, h2, h3, .font-serif {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.font-averia {
  font-family: var(--font-display) !important;
}

.font-cormorant {
  font-family: var(--font-editorial) !important;
}

.font-caslon {
  font-family: var(--font-literary) !important;
}

.font-manrope {
  font-family: var(--font-sans) !important;
}

.font-felipa {
  font-family: var(--font-script) !important;
}

.display-title,
.display-editorial {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 400;
}

.page-title,
.headline-lg {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--color-ink);
}

.section-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--color-ink);
}

.headline-md {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.eyebrow,
.label-caps {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  display: block;
  line-height: 1.2;
}

.body-lead,
.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-ink);
}

.body-sm {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.body-muted {
  color: var(--color-muted);
}


/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
}

@media (max-width: 1024px) {
  .container {
    padding-left: var(--gutter-tablet);
    padding-right: var(--gutter-tablet);
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }
}

.section-gap {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section-gap-sm {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

/* Media Coverage Utilities (Stitch Composition) */
.media-aspect {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Editorial Split Grids */
.split-grid-5-7,
.split-grid-7-5,
.split-grid-6-6,
.split-grid-2-1,
.split-grid-8-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .split-grid-5-7 {
    grid-template-columns: 5fr 7fr;
    gap: var(--space-2xl);
  }
  .split-grid-7-5 {
    grid-template-columns: 7fr 5fr;
    gap: var(--space-2xl);
  }
  .split-grid-6-6 {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
  .split-grid-2-1 {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
  }
  .split-grid-8-4 {
    grid-template-columns: 8fr 4fr;
    gap: var(--space-xl);
  }
}

.grid-metrics-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

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

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-editorial);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-ink);
  color: var(--color-warm-white);
}

.btn-primary:hover {
  background-color: #262626;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}

.btn-outline:hover {
  background-color: var(--color-ink);
  color: var(--color-warm-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
}

/* ========================================================
   HEADER & SYNCHRONIZED NAVIGATION (Stitch Teera V2)
   Consolidated & Responsive: 1440px -> 375px
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 242, 236, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-line);
  transition: background-color var(--duration-normal), height var(--duration-fast);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  transition: height var(--duration-fast);
}

/* Brand Identification */
.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.site-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-ink);
  line-height: 1;
}

.site-brand-tagline {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
  margin-top: 4px;
  line-height: 1;
  white-space: nowrap;
}

/* Desktop Navigation (>= 1024px) */
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-ink);
  transition: color var(--duration-fast);
}

.nav-link:hover {
  color: var(--color-muted);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-ink);
  transition: width var(--duration-fast) var(--ease-editorial);
}

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

.nav-item-dropdown {
  position: relative;
}

.dropdown-chevron {
  transition: transform var(--duration-fast) ease;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  min-width: 200px;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--duration-normal) var(--ease-editorial);
  z-index: 120;
}

.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-item-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel::before {
  content: '';
  display: block;
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

.nav-dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  transition: background-color var(--duration-fast);
  margin-top: -8px;
  background-color: var(--color-warm-white);
  border-left: 1px solid var(--color-line);
  border-right: 1px solid var(--color-line);
}

.nav-dropdown-panel a:last-child {
  border-bottom: 1px solid var(--color-line);
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
  background-color: var(--color-sand);
}

.nav-cta-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  color: var(--color-ink);
  transition: background-color var(--duration-fast), color var(--duration-fast);
}

.nav-cta-btn:hover,
.nav-cta-btn.active {
  background-color: var(--color-ink);
  color: var(--color-paper);
}

/* Hamburger Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
  transition: background-color var(--duration-fast);
}

.mobile-menu-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Breakpoint: Desktop Tightening at 1024px-1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  :root {
    --header-height: 81px; /* 80px inner + 1px border */
  }
  .site-header-inner {
    height: 80px;
  }
  .site-brand-name {
    font-size: 1.4rem;
  }
  .site-brand-tagline {
    font-size: 0.5625rem;
  }
  .site-nav {
    gap: 20px;
  }
  .nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .nav-cta-btn {
    padding: 0.45rem 1rem;
    font-size: 0.6875rem;
  }
}

/* Breakpoint: Mobile Navigation Transition (< 1024px: 834px, 768px, 430px, 390px, 375px) */
@media (max-width: 1023px) {
  :root {
    --header-height: 69px; /* 68px inner + 1px border */
  }
  .site-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .site-header-inner {
    height: 68px;
  }
  .site-brand-name {
    font-size: 1.35rem;
  }
  .site-brand-tagline {
    font-size: 0.5625rem;
  }
}

@media (max-width: 767px) {
  .site-logo-img {
    height: 24px;
  }
}

/* Breakpoint: Mobile Devices (<= 480px: 430px, 390px, 375px) */
@media (max-width: 480px) {
  :root {
    --header-height: 61px; /* 60px inner + 1px border */
  }
  .site-header-inner {
    height: 60px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-brand {
    min-width: 0;
    max-width: calc(100% - 52px);
  }
  .site-brand-name {
    font-size: 1.25rem;
    white-space: nowrap;
  }
  .site-brand-tagline {
    display: none; /* Prevent horizontal header blowout on mobile */
  }
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
    flex-shrink: 0;
  }
}

/* Breakpoint: Small Mobile (375px) */
@media (max-width: 375px) {
  :root {
    --header-height: 57px; /* 56px inner + 1px border */
  }
  .site-header-inner {
    height: 56px;
  }
  .site-brand-name {
    font-size: 1.15rem;
  }
  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
}

/* ========================================================
   MOBILE SLIDE-OUT DRAWER MENU
   Accessible, Scrollable, and Fully Responsive (1023px down to 375px)
   ======================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--color-paper);
  z-index: 200;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transition: right 0.35s var(--ease-editorial);
  box-sizing: border-box;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 16px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.875rem;
  cursor: pointer;
  color: var(--color-ink);
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background-color var(--duration-fast);
}

.drawer-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
  margin-top: 8px;
  margin-bottom: 16px;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
}

.mobile-accordion {
  border-bottom: 1px solid rgba(216, 209, 199, 0.5);
}

.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: color var(--duration-fast);
}

.mobile-accordion-toggle:hover {
  color: var(--color-muted);
}

.mobile-accordion-toggle .accordion-icon {
  transition: transform 0.3s ease;
}

.mobile-accordion-toggle.active .accordion-icon {
  transform: rotate(180deg);
}

.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 16px;
}

.mobile-accordion-content.open {
  max-height: 200px;
  padding-bottom: 14px;
}

.mobile-accordion-content a {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
  padding: 6px 0;
  transition: color var(--duration-fast);
}

.mobile-accordion-content a.active,
.mobile-accordion-content a:hover {
  color: var(--color-ink);
  font-weight: 700;
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  border-bottom: 1px solid rgba(216, 209, 199, 0.5);
  transition: color var(--duration-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-timber);
}

.mobile-cta-wrap {
  padding-top: 24px;
  padding-bottom: 8px;
}

.drawer-footer {
  font-size: 0.75rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-line);
  padding-top: 16px;
  margin-top: auto;
  line-height: 1.5;
  text-align: center;
  flex-shrink: 0;
}

.drawer-footer strong {
  color: var(--color-ink);
}

/* Drawer mobile widths (<= 430px) */
@media (max-width: 430px) {
  .mobile-drawer {
    max-width: 100%;
    padding: 20px 24px;
  }
}

@media (max-width: 375px) {
  .mobile-drawer {
    padding: 18px 20px;
  }
  .mobile-accordion-toggle,
  .mobile-nav-link {
    font-size: 0.9375rem;
    padding: 14px 0;
  }
}

/* ========================================================
   HOMEPAGE HERO SECTION (Stitch Screen 01 Architecture)
   Full-viewport, Absolute Background Slideshow, Vignette Overlay,
   Centrally Positioned Text Over Hero, Slow Zoom-out Animation
   ======================================================== */
/* ========================================================
   HOMEPAGE STYLES (Source of Truth: Stitch Screen 01)
   ======================================================== */

/* 01 Hero Section */
.home-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height, 85px));
  height: calc(100dvh - var(--header-height, 85px));
  max-height: calc(100vh - var(--header-height, 85px));
  max-height: calc(100dvh - var(--header-height, 85px));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 64px;
  color: #ffffff;
  background-color: #111111;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-hero {
    padding-bottom: 96px;
  }
}

.home-hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  pointer-events: none;
}

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

.home-hero-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: transform 9.5s linear;
  display: block;
}

.home-hero-slide.animating .home-hero-img {
  transform: scale(1.0);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-img {
    transform: scale(1.0) !important;
    transition: none !important;
  }
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
  text-align: left;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .home-hero-content {
    padding-left: var(--gutter-tablet);
    padding-right: var(--gutter-tablet);
  }
}

@media (max-width: 768px) {
  .home-hero-content {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }
}


.home-hero-inner {
  max-width: 100%;
}

@media (min-width: 1024px) {
  .home-hero-inner {
    max-width: 700px;
  }
}

@media (min-width: 1280px) {
  .home-hero-inner {
    max-width: 786px;
  }
}

.home-hero-title {
  font-family: 'Felipa', cursive;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: normal;
}

.home-hero-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #FAF9F6;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 28rem;
}

.home-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 639px) {
  .home-hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 16px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

@media (max-width: 639px) {
  .home-hero-btn {
    width: 100%;
    text-align: center;
  }
}

.home-hero-btn-primary {
  background-color: #F5F2EC;
  color: #111111;
  border: 1px solid #F5F2EC;
}

.home-hero-btn-primary:hover {
  background-color: #E6DED2;
  border-color: #E6DED2;
}

.home-hero-btn-outline {
  background-color: transparent;
  color: #F5F2EC;
  border: 1px solid #F5F2EC;
}

.home-hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Common Section & Container in Stitch */
.home-section {
  width: 100%;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-section {
    padding-top: 96px;
    padding-bottom: 96px;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  .home-section {
    padding-top: 128px;
    padding-bottom: 128px;
  }
}

.home-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-container {
    padding-left: clamp(24px, 8vw, 115.2px);
    padding-right: clamp(24px, 8vw, 115.2px);
  }
}

/* Align homepage sections (Collections, Products, Exhibitions) with Header content boundaries */
.home-container:has(.home-collections-grid),
.home-container:has(.home-products-grid),
.home-container:has(.home-exhibitions-grid) {
  max-width: var(--container-max);
  padding-left: var(--gutter-desktop);
  padding-right: var(--gutter-desktop);
}

@media (max-width: 1024px) {
  .home-container:has(.home-collections-grid),
  .home-container:has(.home-products-grid),
  .home-container:has(.home-exhibitions-grid) {
    padding-left: var(--gutter-tablet);
    padding-right: var(--gutter-tablet);
  }
}

@media (max-width: 768px) {
  .home-container:has(.home-collections-grid),
  .home-container:has(.home-products-grid),
  .home-container:has(.home-exhibitions-grid) {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
  }
}


.home-container-bleed {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-container-bleed {
    padding-left: clamp(24px, 8vw, 115.2px);
    padding-right: clamp(24px, 8vw, 115.2px);
  }
}

.text-center {
  text-align: center !important;
}

.home-section-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #E6DED2;
  padding-bottom: 16px;
  margin-bottom: clamp(40px, 5vw, 64px);
  gap: 16px;
}

@media (min-width: 768px) {
  .home-section-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.home-section-tag {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666666;
  margin: 0;
  line-height: 1;
}

.home-section-link {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111111;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.home-section-link:hover {
  color: #666666;
}

.home-section-link svg,
.home-section-link-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
}

/* 02 Brand Intro / Craftsmanship Asymmetric Right-Bleed Section */
.home-craftsmanship-split-section {
  width: 100%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .home-craftsmanship-split-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

@media (min-width: 1024px) {
  .home-craftsmanship-split-section {
    padding-top: 128px;
    padding-bottom: 128px;
  }
}

.home-craftsmanship-split-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .home-craftsmanship-split-wrap {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
}

.home-craftsmanship-split-wrap .home-intro-text-col {
  box-sizing: border-box;
  padding-left: var(--gutter-mobile);
  padding-right: var(--gutter-mobile);
  width: 100%;
}

@media (min-width: 768px) {
  .home-craftsmanship-split-wrap .home-intro-text-col {
    flex: 0 0 auto;
    padding-left: var(--gutter-mobile);
    padding-right: 24px;
    width: calc(var(--gutter-mobile) + clamp(260px, 32vw, 360px));
  }
}

@media (min-width: 769px) {
  .home-craftsmanship-split-wrap .home-intro-text-col {
    padding-left: var(--gutter-tablet);
    padding-right: 32px;
    width: calc(var(--gutter-tablet) + clamp(280px, 32vw, 380px));
  }
}

@media (min-width: 1025px) {
  .home-craftsmanship-split-wrap .home-intro-text-col {
    padding-left: max(var(--gutter-desktop), calc((100% - var(--container-max)) / 2 + var(--gutter-desktop)));
    padding-right: clamp(40px, 4vw, 64px);
    width: calc(max(var(--gutter-desktop), calc((100% - var(--container-max)) / 2 + var(--gutter-desktop))) + clamp(380px, 28vw, 480px));
  }
}

.home-intro-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: clamp(20px, 3vw, 32px);
  color: #111111;
}

.home-intro-desc {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
  color: #666666;
  font-weight: 400;
}

.home-craftsmanship-split-wrap .home-intro-gallery-col {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 767.98px) {
  .home-craftsmanship-split-wrap .home-intro-gallery-col {
    padding-left: var(--gutter-mobile);
    padding-right: var(--gutter-mobile);
    box-sizing: border-box;
  }
}

.home-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.home-gallery-slider-wrap {
  --gallery-gap: 16px;
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-gallery-slider-wrap {
    --gallery-gap: 24px;
  }
}

.home-gallery-track {
  display: flex;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
}

.home-gallery-slide {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding-left: calc(var(--gallery-gap) / 2);
  padding-right: calc(var(--gallery-gap) / 2);
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gallery-gap);
  width: 100%;
}

@media (min-width: 768px) {
  .home-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #E6DED2;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .home-gallery-item {
    aspect-ratio: 5 / 4;
  }
}

.home-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.home-gallery-item:hover .home-gallery-img {
  transform: scale(1.03);
}

.home-gallery-dots {
  position: absolute;
  bottom: clamp(16px, 3vw, 32px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 8px 16px;
  border-radius: 9999px;
  background-color: rgba(245, 242, 236, 0.5);
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  .home-gallery-dots {
    background-color: transparent;
    backdrop-filter: none;
  }
}

.home-gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(17, 17, 17, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s;
}

.home-gallery-dot.active,
.home-gallery-dot:hover {
  background-color: #111111;
}

.home-gallery-nav-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(245, 242, 236, 0.8);
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  z-index: 15;
  transition: opacity 0.3s;
}

@media (min-width: 768px) {
  .home-gallery-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.home-gallery-prev {
  left: 16px;
}

.home-gallery-next {
  right: 16px;
}

/* ========================================================
   CRAFTSMANSHIP SLIDESHOW LIGHTBOX MODAL
   Full-size, uncropped image preview with contain fitting
   ======================================================== */
.craftsmanship-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-editorial), visibility 0.3s var(--ease-editorial);
}

.craftsmanship-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.craftsmanship-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.craftsmanship-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
  pointer-events: none;
}

.craftsmanship-lightbox-close {
  position: absolute;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(245, 242, 236, 0.92);
  color: var(--color-ink);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.craftsmanship-lightbox-close:hover {
  background-color: #FAF9F6;
  transform: scale(1.08);
}

.craftsmanship-lightbox-close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.craftsmanship-lightbox-stage {
  max-width: min(92vw, 1280px);
  max-height: min(88vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.craftsmanship-lightbox-img {
  max-width: 100%;
  max-height: min(88vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  transform: scale(0.96);
  transition: transform 0.3s var(--ease-editorial);
}

.craftsmanship-lightbox.active .craftsmanship-lightbox-img {
  transform: scale(1);
}

/* 04 Featured Collections */
.home-collections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .home-collections-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .home-col-stagger-1 {
    margin-top: 64px;
  }
  .home-col-stagger-2 {
    margin-top: 128px;
  }
}

@media (min-width: 1024px) {
  .home-col-stagger-1 {
    margin-top: 128px;
  }
  .home-col-stagger-2 {
    margin-top: 256px;
  }
}

.home-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.home-collection-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #E6DED2;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .home-collection-img-wrap {
    margin-bottom: 24px;
  }
}

.home-collection-img-wrap .home-img-cover {
  transition: transform 0.7s;
}

.home-card-link:hover .home-collection-img-wrap .home-img-cover {
  transform: scale(1.03);
}

.home-collection-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-collection-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: #111111;
  margin: 0;
}

.home-collection-subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #666666;
}

/* 05 Featured Products */
.home-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 768px) {
  .home-products-grid {
    gap: 32px;
  }
}

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

.home-product-card {
  display: flex;
  flex-direction: column;
}

.home-product-img-wrap {
  aspect-ratio: 1 / 1;
  background-color: #E6DED2;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 1rem;
}

@media (min-width: 768px) {
  .home-product-img-wrap {
    border-radius: 1.5rem;
    margin-bottom: 24px;
  }
}

.home-product-img-wrap .home-img-cover {
  transition: transform 0.7s ease-out;
}

.home-card-link:hover .home-product-img-wrap .home-img-cover {
  transform: scale(1.1);
}

.home-product-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #111111;
  margin-top: 4px;
  margin-bottom: 4px;
}

.home-product-meta {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #666666;
  margin: 0;
}

/* 06 Material Banner */
.home-material-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 64px !important;
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {
  .home-material-section {
    padding-top: 96px !important;
    padding-bottom: 0 !important;
  }
}

@media (min-width: 1024px) {
  .home-material-section {
    padding-top: 128px !important;
    padding-bottom: 0 !important;
  }
}

.home-material-wrap {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .home-material-wrap {
    height: 716px;
  }
}

.home-material-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-material-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.home-material-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FAF9F6;
  padding: 0 24px;
}

.home-material-inner {
  max-width: 48rem;
}

.home-material-title {
  font-family: 'Felipa', cursive;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.home-material-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 36rem;
  margin: 0 auto;
}



/* 08 Bespoke */
.home-bespoke-section {
  background-color: rgba(230, 222, 210, 0.3);
}

.home-bespoke-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .home-bespoke-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.home-bespoke-img-col {
  order: 2;
}

@media (min-width: 768px) {
  .home-bespoke-img-col {
    order: 1;
  }
}

.home-bespoke-text-col {
  order: 1;
}

@media (min-width: 768px) {
  .home-bespoke-text-col {
    order: 2;
    padding-left: 32px;
  }
}

@media (min-width: 1024px) {
  .home-bespoke-text-col {
    padding-left: 48px;
  }
}

.home-bespoke-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.home-bespoke-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(40px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: #111111;
}

.home-bespoke-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #666666;
  margin-bottom: 32px;
}

.home-bespoke-link {
  display: inline-block;
  border-bottom: 1px solid #111111;
  padding-bottom: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #111111;
  text-decoration: none;
  transition: color 0.3s, border-color 0.3s;
}

.home-bespoke-link:hover {
  color: #666666;
  border-color: #666666;
}



/* 10 Exhibitions & Talks */
.home-exhibitions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .home-exhibitions-grid {
    grid-template-columns: repeat(12, 1fr);
  }
}

.home-exhibition-main {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .home-exhibition-main {
    display: block;
  }
}

@media (min-width: 1024px) {
  .home-exhibition-main {
    grid-column: span 8;
  }
}

.home-exhibition-main-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: #E6DED2;
  width: 100%;
}

@media (min-width: 768px) {
  .home-exhibition-main-img-wrap {
    aspect-ratio: 3 / 2;
  }
}

.home-exhibition-main-text {
  order: -1;
  margin-top: 0;
  margin-bottom: 24px;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .home-exhibition-main-text {
    order: 0;
    margin-top: 32px;
    margin-bottom: 0;
  }
}

.home-exhibition-main-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #111111;
}

.home-exhibition-main-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #666666;
}

.home-exhibition-side {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  gap: 24px;
}

@media (min-width: 768px) {
  .home-exhibition-side {
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .home-exhibition-side {
    grid-column: span 4;
    flex-direction: column;
    gap: 32px;
  }
}

.home-exhibition-side-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #E6DED2;
  width: 50%;
}

@media (min-width: 1024px) {
  .home-exhibition-side-item {
    width: 100%;
  }
}

/* 11 Export Flags */
.home-export-section {
  background-color: rgba(230, 222, 210, 0.45);
  border-bottom: 1px solid #E6DED2;
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .home-export-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

@media (min-width: 1024px) {
  .home-export-section {
    padding-top: 128px;
    padding-bottom: 128px;
  }
}

.home-flags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 16px;
}

@media (min-width: 768px) {
  .home-flags-grid {
    gap: 20px 24px;
  }
}

.home-flag-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.home-flag-img {
  height: 18px;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .home-flag-img {
    height: 22px;
  }
}

.home-flag-item:hover .home-flag-img {
  transform: scale(1.1);
}

.home-flag-tooltip {
  position: absolute;
  bottom: 100%;
  margin-bottom: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  background-color: #FAF9F6;
  border: 1px solid #E6DED2;
  padding: 4px 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: #111111;
  letter-spacing: 0.15em;
  border-radius: 4px;
  white-space: nowrap;
  transform: scale(0.8);
  z-index: 10;
}

.home-flag-item:hover .home-flag-tooltip {
  opacity: 1;
  transform: scale(1);
}

/* 12 Closing CTA */
.home-closing-title {
  font-family: 'Manrope', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: clamp(24px, 4vw, 32px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #111111;
}

.home-closing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #111111;
  color: #F5F2EC;
  padding: 16px 32px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .home-closing-btn {
    width: auto;
    padding: 20px 40px;
    height: 52px;
  }
}

.home-closing-btn:hover {
  background-color: #666666;
}

/* Product Card Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-xl);
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-line);
  transition: transform var(--duration-normal) var(--ease-editorial), box-shadow var(--duration-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.product-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #ece8e1;
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-editorial);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-card-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.product-card-meta {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.product-card-dimensions {
  font-size: 0.8125rem;
  color: var(--color-ink);
  margin-top: var(--space-xs);
  font-weight: 500;
}

/* Product Catalog Grid & Filter Bar (Stitch Screen 04) */
.products-filter-bar {
  position: sticky;
  top: calc(var(--header-height) - 1px);
  z-index: 30;
  background-color: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
  margin-bottom: var(--space-2xl);
}

.filter-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E6962' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  padding: 6px 20px 6px 0;
  cursor: pointer;
  transition: color var(--duration-fast);
}

.filter-select:hover,
.filter-select:focus {
  color: var(--color-ink);
  outline: none;
}

.product-catalog-card {
  display: flex;
  flex-direction: column;
}

.product-catalog-card:hover .media-cover {
  transform: scale(1.03);
}

.product-collection-card {
  display: flex;
  flex-direction: column;
}

.product-collection-card h3 {
  font-family: var(--font-sans);
}

.product-collection-card:hover .media-cover {
  transform: scale(1.03);
}

/* ========================================================
   EDITORIAL FOOTER (FRD §24 & Stitch Teera V2)
   Consolidated & Responsive: 1440px -> 375px
   ======================================================== */
.site-footer {
  background-color: #9E8475;
  color: #111111;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-top: none;
}

.footer-main,
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 2.2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.footer-brand-col {
  max-width: 480px;
}

.footer-brand-logo {
  display: inline-block;
  margin-bottom: var(--space-xs);
  text-decoration: none;
}

.footer-brand-title {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #111111;
  line-height: 1;
}

.footer-tagline {
  font-family: var(--font-averia), 'Averia Serif Libre', serif;
  font-size: clamp(20px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 700;
  color: #111111;
  line-height: 1.3;
  margin-bottom: var(--space-md);
  margin-top: var(--space-sm);
}

.footer-legal-company {
  font-size: 0.8125rem;
  color: rgba(17, 17, 17, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer-legal-company strong {
  color: #111111;
}

.footer-social-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.footer-social-link {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #111111;
  transition: opacity var(--duration-fast);
}

.footer-social-link:hover {
  opacity: 0.7;
}

.footer-nav-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #111111;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(17, 17, 17, 0.9);
  transition: color var(--duration-fast);
  line-height: 1.4;
  display: inline-block;
  padding: 2px 0;
  text-decoration: none;
}

.footer-links a:hover {
  color: #000000;
  text-decoration: underline;
}

.footer-link-highlight {
  color: #111111 !important;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #111111;
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(17, 17, 17, 0.85);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-bottom a {
  color: rgba(17, 17, 17, 0.85);
  transition: color var(--duration-fast);
}

.footer-bottom a:hover {
  color: #000000;
}

.footer-bottom-sep {
  color: rgba(17, 17, 17, 0.5);
  margin: 0 4px;
}

.footer-admin-link {
  color: rgba(17, 17, 17, 0.6) !important;
}

.footer-admin-link:hover {
  color: #000000 !important;
}

/* Footer Breakpoint: 1024px - 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
  .footer-main,
  .footer-grid {
    grid-template-columns: 1.6fr 2.4fr;
    gap: 40px;
    margin-bottom: var(--space-2xl);
  }
  .footer-nav-groups {
    gap: 24px;
  }
}

/* Footer Breakpoint: Tablet Layout (768px to 1023px, including 834px & 768px) */
@media (max-width: 1023px) {
  .site-footer {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
  }
  .footer-main,
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-bottom: var(--space-2xl);
  }
  .footer-brand-col {
    max-width: 620px;
  }
  .footer-nav-groups {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* Footer Breakpoint: Mobile (<= 640px, including 430px, 390px, 375px) */
@media (max-width: 640px) {
  .footer-brand-title {
    font-size: 1.75rem;
  }
  .footer-tagline {
    font-size: 1.125rem;
  }
  .footer-nav-groups {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-bottom-copy,
  .footer-bottom-location,
  .footer-bottom-legal {
    width: 100%;
    text-align: left;
  }
}

/* Footer Breakpoint: Small Mobile (<= 375px) */
@media (max-width: 375px) {
  .site-footer {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-lg);
  }
  .footer-brand-title {
    font-size: 1.6rem;
  }
  .footer-tagline {
    font-size: 1.05rem;
  }
  .footer-links a {
    padding: 5px 0;
  }
}

/* ========================================================
   SCREEN 01: HOMEPAGE COMPONENTS
   ======================================================== */
.brand-intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .brand-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ========================================================
   HOMEPAGE HORIZONTAL GALLERY CAROUSEL (Stitch Screen 01)
   Horizontal Slider Track, 6-col Square Items per Slide,
   Dot Indicators, Zero Horizontal Page Overflow
   ======================================================== */
.gallery-slider-wrap,
.horizontal-gallery {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: var(--space-2xl) 0;
}

.gallery-slider {
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 var(--gutter-desktop);
}

@media (max-width: 1024px) {
  .gallery-slide {
    padding: 0 var(--gutter-tablet);
  }
}

@media (max-width: 768px) {
  .gallery-slide {
    padding: 0 var(--gutter-mobile);
  }
}

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

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

.gallery-item,
.gallery-thumb-card {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--color-sand);
  position: relative;
}

.gallery-img,
.gallery-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-editorial);
}

.gallery-item:hover .gallery-img,
.gallery-thumb-card:hover img {
  transform: scale(1.05);
}

.gallery-nav-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-xl);
}

.gallery-dot {
  width: 36px;
  height: 2px;
  background-color: var(--color-line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--duration-fast), height var(--duration-fast);
}

.gallery-dot.active {
  background-color: var(--color-ink);
  height: 3px;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-2xl);
  gap: var(--space-md);
}

.view-all-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--duration-fast);
}

.view-all-link:hover {
  color: var(--color-timber);
}

/* Staggered Collections Grid */
.collections-stagger-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

@media (max-width: 1024px) {
  .collections-stagger-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.collections-stagger-grid .collection-item:nth-child(2) {
  margin-top: 60px;
}

.collections-stagger-grid .collection-item:nth-child(3) {
  margin-top: 120px;
}

@media (max-width: 1024px) {
  .collections-stagger-grid .collection-item:nth-child(2),
  .collections-stagger-grid .collection-item:nth-child(3) {
    margin-top: 0;
  }
}

.collection-card-link {
  display: block;
}

.collection-card-media {
  aspect-ratio: 4 / 5;
  background-color: var(--color-sand);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.collection-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-editorial);
}

.collection-card-link:hover .collection-card-media img {
  transform: scale(1.04);
}

.collection-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.collection-card-subtitle {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Full-width Material Quote Banner */
.material-quote-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-ink);
  color: var(--color-warm-white);
  text-align: center;
  overflow: hidden;
  padding: var(--space-3xl) var(--gutter-mobile);
}

.material-quote-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.material-quote-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.material-quote-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.material-quote-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: #E6DED2;
}

/* Process Icons Flow */
.process-flow-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.process-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 100px;
}

.process-step-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.process-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
}

.process-step-arrow {
  color: var(--color-line);
}

@media (max-width: 768px) {
  .process-step-arrow {
    display: none;
  }
}

/* Bespoke Promo Split */
.bespoke-split-section {
  background-color: #F0EAE1;
  padding: var(--space-3xl) 0;
}

.bespoke-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .bespoke-split-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* 14 Export Countries Flag Grid */
.export-countries-section {
  padding: var(--space-3xl) 0;
  text-align: center;
  border-bottom: 1px solid var(--color-line);
}

.countries-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
  margin-top: var(--space-xl);
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-line);
  padding: 8px 18px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  transition: transform var(--duration-fast), border-color var(--duration-fast);
}

.country-pill:hover {
  transform: translateY(-2px);
  border-color: var(--color-timber);
}

/* Closing Inquiry Banner */
.inquiry-cta-banner {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.inquiry-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: var(--space-xl);
}

/* ========================================================
   SCREEN 02 & 03: COLLECTIONS INDEX & DETAIL
   ======================================================== */
.collection-hero-wide {
  aspect-ratio: 21 / 9;
  background-color: var(--color-sand);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
  .collection-hero-wide {
    aspect-ratio: 16 / 9;
  }
}

.collection-hero-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-intro-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-3xl);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
  .collection-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.collection-quote {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--color-ink);
}

.collection-keywords {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: var(--space-md);
}

/* ========================================================
   SCREEN 04: PRODUCTS CATALOG INDEX & FILTER BAR
   ======================================================== */
.catalog-filter-bar {
  position: sticky;
  top: 84px;
  z-index: 80;
  background-color: var(--color-paper);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 14px 0;
  margin-bottom: var(--space-2xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.filter-controls-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-select {
  background-color: transparent;
  border: 1px solid var(--color-line);
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color var(--duration-fast);
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--color-ink);
  outline: none;
}

.filter-count {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.filter-reset-btn {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
}

/* 4-column Product Grid */
.product-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl) var(--space-md);
}

@media (max-width: 1280px) {
  .product-grid-4col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 834px) {
  .product-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) var(--space-sm);
  }
}

@media (max-width: 480px) {
  .product-grid-4col {
    grid-template-columns: 1fr;
  }
}

.catalog-card {
  display: flex;
  flex-direction: column;
}

.catalog-card-media {
  aspect-ratio: 4 / 5;
  background-color: #EAE5DC;
  overflow: hidden;
  margin-bottom: var(--space-sm);
  position: relative;
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-editorial);
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.04);
}

.catalog-card-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 2px;
}

.catalog-card-sub {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.catalog-card-material {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-timber);
  margin-top: 6px;
  border-top: 1px solid var(--color-line);
  padding-top: 6px;
}

/* ========================================================
   SCREEN 05: PRODUCT DETAIL (PDP)
   ======================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-xl);
}

.breadcrumbs a:hover {
  color: var(--color-ink);
}

.pdp-layout-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .pdp-layout-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.pdp-gallery-main {
  aspect-ratio: 4 / 3;
  background-color: var(--color-sand);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.pdp-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.pdp-thumb-item {
  aspect-ratio: 1 / 1;
  background-color: var(--color-sand);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color var(--duration-fast);
}

.pdp-thumb-item.active,
.pdp-thumb-item:hover {
  border-color: var(--color-ink);
}

.pdp-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
}

.pdp-spec-row {
  border-bottom: 1px solid var(--color-line);
}

.pdp-spec-label {
  padding: 12px 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  width: 35%;
}

.pdp-spec-value {
  padding: 12px 0;
  font-size: 0.9375rem;
  color: var(--color-ink);
}

.pdp-action-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: var(--space-xl);
}

.spec-sheet-download-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-timber);
  margin-top: var(--space-md);
}

.spec-sheet-download-link:hover {
  text-decoration: underline;
}

/* ========================================================
   SCREEN 06: MATERIALS NARRATIVE
   ======================================================== */
.material-feature-block {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-line);
}

.material-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .material-feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.material-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-muted);
  margin-bottom: var(--space-xs);
}

.bento-grid-materials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

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

.material-variation-card {
  background-color: #ECE7DF;
  padding: var(--space-2xl);
  text-align: center;
  max-width: 800px;
  margin: var(--space-3xl) auto;
}

.material-variation-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  color: var(--color-ink);
}

/* ========================================================
   SCREEN 07 & 08: CRAFTSMANSHIP & ABOUT
   ======================================================== */
.craftsmanship-world-title {
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
}

.craftsmanship-process-desc {
  font-size: 18px !important;
}

.craft-step-section {
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-line);
}

.craft-step-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .craft-step-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.facility-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

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

.stat-item {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-md);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.svlk-cert-card {
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-line);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
}

.svlk-badge {
  display: inline-block;
  border: 1px solid var(--color-ink);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: var(--space-md);
}

/* ========================================================
   SCREENS 09, 10, 11: INQUIRY & CONTACT FORMS
   ======================================================== */
.form-wrapper-editorial {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-warm-white);
  border: 1px solid var(--color-line);
  padding: var(--space-2xl);
}

@media (max-width: 768px) {
  .form-wrapper-editorial {
    padding: var(--space-lg);
  }
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl) var(--space-md);
}

@media (max-width: 640px) {
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-line);
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-ink);
  border-radius: 0;
  transition: border-color var(--duration-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-bottom-color: var(--color-ink);
}

.form-textarea {
  min-height: 100px;
  resize: none;
}

.form-textarea--clean-bottom,
#catalogue-request-form #message {
  border-bottom: none;
}

.form-textarea--clean-bottom:focus,
#catalogue-request-form #message:focus {
  border-bottom: none;
}

.form-product-context-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-sand);
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: var(--space-xl);
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--color-muted);
  line-height: 1.5;
}

/* ========================================================
   GLOBAL FOOTER (Stitch Teera V2 #9E8475 Architectural Earth Tone)
   ======================================================== */
.site-footer {
  background-color: #9E8475 !important;
  color: #111111 !important;
  border-top: none;
  padding-top: 48px;
  padding-bottom: 48px;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .site-footer {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: clamp(24px, 8vw, 115.2px);
    padding-right: clamp(24px, 8vw, 115.2px);
  }
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.footer-container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

@media (min-width: 768px) {
  .footer-grid-12 {
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
  }
}

.footer-col-brand {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .footer-col-brand {
    grid-column: span 4;
    margin-bottom: 0;
  }
}

.footer-brand-logo-wrap {
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .footer-brand-logo-wrap {
    margin-bottom: 32px;
  }
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .footer-logo-img {
    height: 40px;
  }
}

.footer-tagline {
  font-family: 'Averia Serif Libre', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 20px;
  color: #000000;
  line-height: 1.3;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .footer-tagline {
    font-size: 24px;
  }
}

.footer-social-links {
  display: flex;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-social-links {
    gap: 24px;
  }
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111111;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-social-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-social-link:hover {
  opacity: 0.7;
}

.footer-col-nav {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .footer-col-collections {
    grid-column: 6 / span 2;
  }
  .footer-col-company {
    grid-column: 8 / span 2;
  }
  .footer-col-contact {
    grid-column: 10 / span 2;
  }
}

.footer-col-title {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .footer-col-title {
    margin-bottom: 24px;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .footer-links {
    gap: 16px;
  }
}

.footer-links li a {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #332B25;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-links li a:hover {
  opacity: 0.7;
}

.footer-bottom-bar {
  grid-column: 1 / -1;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #000000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #4A3F37;
}

@media (min-width: 768px) {
  .footer-bottom-bar {
    margin-top: 64px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   CRAFTSMANSHIP & MATERIALS PAGES (Stitch Fidelity Calibration)
   ========================================================================== */

/* Spacing & Layout */
.max-w-\[1440px\] {
  max-width: 1440px;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-md {
  max-width: 28rem;
}

.w-full {
  width: 100%;
}

.w-12 {
  width: 48px;
}

.h-\[1px\] {
  height: 1px;
}

.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-margin-mobile {
  padding-left: 24px;
  padding-right: 24px;
}

.-mx-margin-mobile {
  margin-left: -24px;
  margin-right: -24px;
}

.w-\[calc\(100\%\+48px\)\] {
  width: calc(100% + 48px);
}

.py-12 {
  padding-top: 48px;
  padding-bottom: 48px;
}

.py-16 {
  padding-top: 64px;
  padding-bottom: 64px;
}

.pb-16 {
  padding-bottom: 64px;
}

.pt-\[72px\] {
  padding-top: 72px;
}

.pt-\[100px\] {
  padding-top: 100px;
}

.px-4 {
  padding-left: 16px;
  padding-right: 16px;
}

.px-8 {
  padding-left: 32px;
  padding-right: 32px;
}

.py-4 {
  padding-top: 16px;
  padding-bottom: 16px;
}

.pt-4 {
  padding-top: 16px;
}

.pt-6 {
  padding-top: 24px;
}

.mt-12 {
  margin-top: 48px;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mb-12 {
  margin-bottom: 48px;
}

.h-\[50vh\] {
  height: 50vh;
}

.py-section-v-sm {
  padding-top: 48px;
  padding-bottom: 48px;
}

.py-section-v-lg {
  padding-top: 64px;
  padding-bottom: 64px;
}

.mb-section-v-lg {
  margin-bottom: 48px;
}

.pb-section-v-lg {
  padding-bottom: 64px;
}

/* Aspect ratios & Image stages */
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.aspect-\[21\/9\] {
  aspect-ratio: 21 / 9;
}

.aspect-\[3\/2\] {
  aspect-ratio: 3 / 2;
}

.aspect-\[4\/5\] {
  aspect-ratio: 4 / 5;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.overflow-hidden {
  overflow: hidden;
}

.object-cover {
  object-fit: cover;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Grid, Flex & Gaps */
.grid {
  display: grid;
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.col-span-12 {
  grid-column: span 12 / span 12;
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-5 {
  grid-column: span 5 / span 5;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.gap-gutter {
  gap: 32px;
}

.gap-x-gutter {
  column-gap: 32px;
}

.gap-y-8 {
  row-gap: 32px;
}

.gap-y-12 {
  row-gap: 48px;
}

.gap-4 {
  gap: 16px;
}

.gap-6 {
  gap: 24px;
}

.gap-8 {
  gap: 32px;
}

.gap-3 {
  gap: 12px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

/* Borders & Dividers */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-b {
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.border-y {
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
}

.border-line {
  border-color: #D8D1C7;
}

.border-primary {
  border-color: #000000;
}

/* Colors & Surfaces */
.bg-warm-white {
  background-color: #FAF9F6;
}

.bg-surface-container-lowest {
  background-color: #ffffff;
}

.bg-surface-container-low {
  background-color: #f6f3ed;
}

.bg-surface-container {
  background-color: #f0eee8;
}

.bg-surface-container-high {
  background-color: #ebe8e2;
}

.bg-surface-container-highest {
  background-color: #e5e2dc;
}

.bg-surface {
  background-color: #fcf9f3;
}

.bg-primary {
  background-color: #000000;
}

.text-primary {
  color: #000000;
}

.text-on-primary {
  color: #ffffff;
}

.text-muted-text {
  color: #6E6962;
}

.text-on-surface-variant {
  color: #444748;
}

/* Typography tokens */
.font-headline-lg {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.text-headline-lg {
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.text-headline-lg-mobile {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
}

.font-headline-md,
.text-headline-md {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 600;
}

.font-display-editorial,
.text-display-editorial {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 80px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 400;
}

.text-display-editorial-mobile {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 400;
}

.font-content-serif {
  font-family: 'Averia Serif Libre', Georgia, serif !important;
  font-weight: 400;
}

.font-label-caps,
.text-label-caps {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  line-height: 1.0;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-transform: uppercase;
}

.font-body-lg,
.text-body-lg {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.font-body-sm,
.text-body-sm {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-\[32px\] {
  font-size: 32px;
}

.leading-snug {
  line-height: 1.375;
}

.font-bold {
  font-weight: 700;
}

.tracking-\[0\.15em\] {
  letter-spacing: 0.15em;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.hover\:bg-\[\#B7AA9B\]:hover {
  background-color: #B7AA9B;
}

.hover\:bg-muted-text:hover {
  background-color: #6E6962;
}

.hover\:bg-surface-container-low:hover {
  background-color: #f6f3ed;
}

/* Small screens (640px and up) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:w-auto {
    width: auto;
  }
}

/* Tablet & Desktop Breakpoints (768px and up) */
@media (min-width: 768px) {
  .md\:px-margin-desktop {
    padding-left: 80px;
    padding-right: 80px;
  }

  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }

  .md\:w-full {
    width: 100%;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:pt-\[104px\] {
    padding-top: 104px;
  }

  .md\:py-24 {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .md\:py-section-v-lg {
    padding-top: 160px;
    padding-bottom: 160px;
  }

  .md\:py-section-v-sm {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .md\:mb-section-v-lg {
    margin-bottom: 160px;
  }

  .md\:pb-section-v-lg {
    padding-bottom: 160px;
  }

  .md\:pt-24 {
    padding-top: 96px;
  }

  .md\:h-\[70vh\] {
    height: 70vh;
  }

  .md\:h-\[600px\] {
    height: 600px;
  }

  .md\:aspect-video {
    aspect-ratio: 16 / 9;
  }

  .md\:aspect-\[21\/9\] {
    aspect-ratio: 21 / 9;
  }

  .md\:aspect-auto {
    aspect-ratio: auto;
  }

  .md\:gap-gutter {
    gap: 32px;
  }

  .md\:gap-6 {
    gap: 24px;
  }

  .md\:gap-8 {
    gap: 32px;
  }

  .md\:text-headline-lg {
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
  }

  .md\:font-headline-lg {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 64px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
  }

  .md\:text-display-editorial {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 80px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 400;
  }

  .md\:text-body-lg {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
  }

  .md\:font-body-lg {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
  }

  .md\:text-\[14px\] {
    font-size: 14px;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:text-\[48px\] {
    font-size: 48px;
  }

  /* Grid layout & column positions on desktop */
  .md\:grid {
    display: grid;
  }

  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }

  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }

  .md\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .md\:col-span-6 {
    grid-column: span 6 / span 6;
  }

  .md\:col-span-8 {
    grid-column: span 8 / span 8;
  }

  .md\:col-span-10 {
    grid-column: span 10 / span 10;
  }

  .md\:col-start-1 {
    grid-column-start: 1;
  }

  .md\:col-start-2 {
    grid-column-start: 2;
  }

  .md\:col-start-3 {
    grid-column-start: 3;
  }

  .md\:col-start-7 {
    grid-column-start: 7;
  }

  .md\:col-start-8 {
    grid-column-start: 8;
  }

  .md\:order-1 {
    order: 1;
  }

  .md\:order-2 {
    order: 2;
  }

  .md\:sticky {
    position: sticky;
  }

  .md\:top-32 {
    top: 128px;
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:mb-4 {
    margin-bottom: 16px;
  }

  .md\:mb-6 {
    margin-bottom: 24px;
  }

  .md\:mb-8 {
    margin-bottom: 32px;
  }

  .md\:mb-10 {
    margin-bottom: 40px;
  }

  .md\:mb-12 {
    margin-bottom: 48px;
  }

  .md\:mb-16 {
    margin-bottom: 64px;
  }

  .md\:px-0 {
    padding-left: 0;
    padding-right: 0;
  }

  .md\:border-t-0 {
    border-top-width: 0;
  }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
  .lg\:py-32 {
    padding-top: 128px;
    padding-bottom: 128px;
  }

  .lg\:col-start-8 {
    grid-column-start: 8;
  }

  .lg\:col-span-5 {
    grid-column: span 5 / span 5;
  }
}

/* ==========================================================================
   Bespoke & Custom Inquiry Page (/inquire/bespoke) - Stitch Screen 09
   ========================================================================== */

/* Layout & Structure */
.max-w-xl { max-width: 36rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-full { max-width: 100%; }
.aspect-square { aspect-ratio: 1 / 1; }

.mt-2 { margin-top: 8px; }
.mt-8 { margin-top: 32px; }
.mb-10 { margin-bottom: 40px; }
.pt-20 { padding-top: 80px; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.gap-2 { gap: 8px; }

.border-0 { border-width: 0 !important; }
.border-b { border-bottom-width: 1px !important; border-bottom-style: solid; }
.border-line { border-color: #D8D1C7 !important; }
.border-opacity-50 { border-color: rgba(216, 209, 199, 0.5) !important; }
.bg-transparent { background-color: transparent !important; }
.resize-none { resize: none !important; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-ellipsis { text-overflow: ellipsis; }

/* Orders */
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }

/* Typography Tokens */
.font-headline-lg-mobile {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
}
.text-headline-lg-mobile {
  font-size: 40px;
  line-height: 1.1;
}
.text-\[14px\] { font-size: 14px; }
.text-\[16px\] { font-size: 16px; }
.text-\[32px\] { font-size: 32px; }

/* Form Focus & Inputs */
.focus\:ring-0:focus {
  outline: none !important;
  box-shadow: none !important;
}
.focus\:border-primary:focus {
  border-color: #000000 !important;
}
.placeholder\:text-muted-text::placeholder {
  color: #6E6962;
}

/* Custom File Selector */
input[type="file"]::file-selector-button {
  margin-right: 16px;
  padding: 8px 16px;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  background-color: #f0eee8;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.2s;
}
input[type="file"]::file-selector-button:hover {
  background-color: #e5e2dc;
}

/* Small Screens (640px and up) */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Medium Screens (768px and up) */
@media (min-width: 768px) {
  .md\:pt-0 { padding-top: 0 !important; }
  .md\:pt-8 { padding-top: 32px; }
  .md\:mt-16 { margin-top: 64px; }
  .md\:-mt-32 { margin-top: -128px; }
  .md\:-mr-6 { margin-right: -24px; }
  .md\:z-10 { z-index: 10; }
  .md\:p-6 { padding: 24px; }

  .md\:mb-0 { margin-bottom: 0 !important; }
  .md\:mb-6 { margin-bottom: 24px; }
  .md\:mb-12 { margin-bottom: 48px; }
  .md\:mb-16 { margin-bottom: 64px; }

  .md\:gap-4 { gap: 16px; }
  .md\:gap-8 { gap: 32px; }
  .md\:items-end { align-items: flex-end; }

  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:col-start-2 { grid-column-start: 2; }
  .md\:col-start-9 { grid-column-start: 9; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:order-none { order: 0; }

  .md\:font-headline-lg {
    font-size: 64px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
  }
  .md\:text-headline-lg {
    font-size: 64px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
  }

  .md\:w-auto { width: auto !important; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
}

/* ========================================================
 * PRODUCTS & COLLECTIONS INDEX - CARD TITLES
 * Specific typography: Manrope, Weight 500 (Medium)
 * ======================================================== */
.product-catalog-card h3,
.product-card-title,
.product-card-title a,
.collection-card-item h2,
.collection-card-title,
.collection-card-title a {
  font-family: var(--font-sans);
  font-weight: 500;
}

/* ========================================================
 * PRODUCT DETAIL (Stitch Screen 05) - FULL-VIEWPORT EDITORIAL
 * ======================================================== */
.product-detail-hero {
  min-height: calc(100vh - var(--header-height, 85px));
  min-height: calc(100dvh - var(--header-height, 85px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding-top: clamp(16px, 2.5vh, 32px);
  padding-bottom: clamp(16px, 2.5vh, 32px);
}

.product-detail-hero .product-detail-container {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
  margin-bottom: 0;
}

.product-thumb-btn:hover {
  border-color: var(--color-ink) !important;
}

/* ========================================================
 * REQUEST CUSTOMIZATION BUTTON HOVER (SUBTLE TEERA SAND)
 * ======================================================== */
.btn-customization {
  background-color: transparent !important;
  color: var(--color-ink) !important;
  border: 1px solid var(--color-ink) !important;
  transition: background-color var(--duration-fast) var(--ease-editorial), color var(--duration-fast) var(--ease-editorial), border-color var(--duration-fast) var(--ease-editorial) !important;
}

.btn-customization:hover {
  background-color: var(--color-sand) !important;
  color: var(--color-ink) !important;
  border-color: var(--color-ink) !important;
  transform: none !important;
}

/* ========================================================
 * PRODUCTS LOAD MORE BUTTON (SUBTLE HOVER TREATMENT)
 * Prevents solid black hover override from .btn-outline:hover
 * ======================================================== */
#product-load-more-btn,
.product-load-more-btn,
.load-more {
  background-color: transparent !important;
  color: var(--color-ink) !important;
  border-color: var(--color-ink) !important;
  transition: opacity var(--duration-fast) var(--ease-editorial), background-color var(--duration-fast) var(--ease-editorial), border-color var(--duration-fast) var(--ease-editorial), color var(--duration-fast) var(--ease-editorial) !important;
}

#product-load-more-btn:hover,
.product-load-more-btn:hover,
.load-more:hover {
  background-color: rgba(17, 17, 17, 0.03) !important;
  color: var(--color-ink) !important;
  border-color: var(--color-ink) !important;
  opacity: 0.72 !important;
  transform: none !important;
}

#product-load-more-btn:active,
.product-load-more-btn:active,
.load-more:active {
  opacity: 0.55 !important;
}

/* ========================================================
 * RELATED DESIGNS (EDITORIAL 4-COLUMN DESKTOP GRID)
 * ======================================================== */
.product-related-section {
  border-top: none;
  padding-top: 0;
  padding-bottom: clamp(60px, 7vw, 96px);
  margin-top: 0;
  background-color: transparent;
}

.related-designs-divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-line);
  border: none;
  margin: 0 0 clamp(36px, 4.5vw, 56px) 0;
}

.related-designs-header {
  margin-bottom: clamp(20px, 2.5vw, 32px);
}

.related-designs-header .label-caps {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* 4-column desktop grid with products occupying first 1, 2, or 3 columns */
.related-designs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.2vw, 32px);
  width: 100%;
}

.related-design-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.related-design-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.related-design-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--color-warm-white);
  border: none;
  box-shadow: none;
  margin-bottom: 12px;
}

.related-design-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-editorial);
}

.related-design-link:hover .related-design-img {
  transform: scale(1.03);
}

.related-design-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.related-design-title {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  margin: 0;
  transition: color var(--duration-fast) var(--ease-editorial);
}

.related-design-link:hover .related-design-title {
  color: var(--color-muted);
}

.related-design-meta {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--color-muted);
  letter-spacing: 0.01em;
  margin: 0;
}

/* Tablet: scale naturally without forcing 4 columns */
@media (max-width: 1024px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .product-related-section {
    padding-top: 0;
    padding-bottom: clamp(48px, 6vw, 72px);
  }
  .related-designs-divider {
    margin-bottom: clamp(32px, 4vw, 44px);
  }
  .related-designs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .related-designs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile: single column full width */
@media (max-width: 767px) {
  .product-detail-hero {
    min-height: auto;
    display: block;
    padding-top: var(--space-md);
    padding-bottom: var(--space-xl);
  }
  .product-detail-hero .product-detail-container {
    margin: 0;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .product-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) var(--space-sm);
  }
  .product-related-section {
    padding-top: 0;
    padding-bottom: 52px;
    margin-top: 0;
  }
  .related-designs-divider {
    margin-bottom: 28px;
  }
  .related-designs-header {
    margin-bottom: 16px;
  }
  .related-designs-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .related-design-img-wrap {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .product-specs-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
}

/* ========================================================
 * COLLECTION DETAIL HORIZONTAL CAROUSEL
 * Continuous editorial showcase directly below collection title.
 * Stable, fixed-height viewport with uniform 4:5 slide frames.
 * Moving between images NEVER alters carousel height or page layout.
 * Desktop: Consistent slide dimensions, 4:5 ratio, 1-slide arrow jumps.
 * Mobile: Native touch scroll with momentum, scroll-snap-type: x mandatory.
 * ======================================================== */
.collection-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: var(--space-md, 24px);
  margin-bottom: var(--space-2xl, 80px);
  --carousel-gap: 24px;
  --slide-width: calc((100% - 3 * var(--carousel-gap)) / 3.5);
}

.collection-detail-gallery {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: var(--carousel-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Completely remove visible scrollbar across all browsers */
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.collection-detail-gallery::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.collection-detail-gallery .gallery-item {
  display: block;
  flex: 0 0 var(--slide-width);
  width: var(--slide-width);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: var(--radius-sm, 2px);
  background-color: var(--color-sand, #E6DED2);
  box-sizing: border-box;
}

.collection-detail-gallery .gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform var(--duration-slow, 0.6s) var(--ease-editorial, cubic-bezier(0.25, 1, 0.5, 1));
}

.collection-detail-gallery .gallery-img:hover {
  transform: scale(1.03);
}

/* Single image display (maintains stable 4:5 frame) */
.collection-detail-gallery.is-single {
  overflow-x: hidden;
  justify-content: flex-start;
}

.collection-detail-gallery.is-single .gallery-item {
  flex: 0 0 auto;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 5;
}

.collection-detail-gallery.is-single .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Desktop Carousel Arrow Controls */
.collection-carousel-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  z-index: 10;
}

.carousel-arrow {
  pointer-events: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(22, 20, 18, 0.14);
  color: var(--color-ink, #161412);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: opacity 0.3s ease, transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: #FFFFFF;
  border-color: var(--color-ink, #161412);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.carousel-arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.carousel-arrow:focus-visible {
  outline: 2px solid var(--color-ink, #161412);
  outline-offset: 2px;
}

.carousel-arrow:disabled {
  opacity: 0;
  pointer-events: none;
  cursor: default;
}

/* Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .collection-carousel-wrapper {
    margin-bottom: var(--space-xl, 60px);
    --carousel-gap: 20px;
    --slide-width: calc((100% - var(--carousel-gap)) / 2.3);
  }
  .carousel-arrow {
    width: 46px;
    height: 46px;
  }
}

/* Tablet Portrait (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
  .collection-carousel-wrapper {
    margin-top: var(--space-sm, 16px);
    margin-bottom: var(--space-xl, 48px);
    --carousel-gap: 16px;
    --slide-width: calc((100% - var(--carousel-gap)) / 1.7);
  }
  .carousel-arrow {
    width: 42px;
    height: 42px;
  }
}

/* Mobile (<= 480px / 375px): Full slide + partial peek, native swipe momentum */
@media (max-width: 480px) {
  .collection-carousel-wrapper {
    margin-top: var(--space-sm, 16px);
    margin-bottom: var(--space-xl, 48px);
    --carousel-gap: 16px;
    --slide-width: calc(100% - 56px);
  }
  .collection-detail-gallery {
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 16px !important;
    padding: 0 !important;
  }
  .collection-detail-gallery .gallery-item {
    display: block !important;
    flex: 0 0 calc(100% - 56px) !important;
    width: calc(100% - 56px) !important;
    aspect-ratio: 4 / 5 !important;
    scroll-snap-align: start !important;
  }
  .collection-detail-gallery.is-single .gallery-item {
    max-width: 100% !important;
    width: 100% !important;
  }
  /* On mobile touch devices, hide desktop arrow buttons for unobstructed natural swipe gestures */
  .collection-carousel-controls {
    display: none !important;
  }
}




