/* ==========================================================================
   THE FAITHFUL COMPANY INC. // $5 BILLION STANDALONE LUXURY ARCHITECTURE
   OFF-WHITE™ TRANSITIONAL SERIF & NEUTRAL EDITORIAL // ZERO EM DASHES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Libre+Baskerville:ital,wght@0,700;1,400&family=Cinzel:wght@600;700;800&family=Inter:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&family=UnifrakturMaguntia&display=swap');

:root {
  --bg-pure: #ffffff;
  --bg-subtle: #f9f9f9;
  --text-main: #111111;
  --text-muted: #555555;
  --text-light: var(--text-muted);
  --neutral-border: #e0e0e0;
  --bg-blur: var(--bg-blur);
  --bg-btn-blur: var(--bg-btn-blur);
  
  --font-offwhite: 'Libre Baskerville', 'Cormorant Garamond', 'Didot', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-gothic: 'UnifrakturMaguntia', cursive; /* kept strictly for the Old English tee quote */
  
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-pure: #111111;
    --bg-subtle: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --text-light: #666666;
    --neutral-border: #333333;
    --bg-blur: rgba(17, 17, 17, 0.96);
    --bg-btn-blur: rgba(17, 17, 17, 0.94);
  }
  .brand-logo-graphic img {
    filter: invert(1);
  }
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-pure);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth Scroll Revelations */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   HEADER WITH EXACT OFF-WHITE™ BOLD SERIF LOGO & L/AB TECH STENCIL
   ========================================================================== */
.site-header {
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: var(--bg-blur);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid var(--neutral-border);
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-graphic {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo-graphic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.15);
}

.brand-text-stack {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-main {
  font-family: var(--font-offwhite);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-main);
  line-height: 1;
}

.logo-sub-box {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  border-left: 2px solid var(--neutral-border);
  padding-left: 14px;
}

.logo-lab {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 2px;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.currency-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  letter-spacing: 1.5px;
}

.bag-btn {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 1.5px;
  white-space: nowrap;
  transition: all var(--transition);
}

.bag-btn:hover {
  background: var(--text-main);
  color: var(--bg-pure);
}

/* ==========================================================================
   HOMEPAGE // DUAL DIE-CUT SILHOUETTE SHOWCASE (`index.html`)
   ========================================================================== */
.home-showcase-section {
  padding: 40px 60px 32px;
  max-width: 1320px;
  margin: 0 auto;
}

.home-showcase-header {
  border-top: 1px solid var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 36px; /* Tightened from 50px */
}

.home-headline-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start; /* Aligns TOKYO STUDIO ARCHIVE and Worn by the most faithful men to the exact same top horizontal baseline */
  margin-bottom: 36px;
}

.product-code-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
  line-height: 1.4;
}

.home-headline-box h1 {
  font-family: var(--font-offwhite);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.25;
  color: var(--text-main);
}

.home-headline-box .bio-summary {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-left: 2px solid var(--text-main);
  padding-left: 20px;
  margin-top: 0; /* Exact baseline height alignment */
}

/* Dual Silhouette Floating Grid */
.dual-cutout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 24px; /* Tightened so explore bar isn't far down */
}

.die-cut-preview {
  width: 100%;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 2px;
  border: 1px solid var(--neutral-border) !important;
  transition: all var(--transition);
}

.die-cut-preview:hover {
  border-color: var(--text-main) !important;
  background: var(--bg-subtle) !important;
}

.die-cut-img {
  width: 100%;
  height: 380px; /* Refined proportion so both looks + action bar stay in view without being far down */
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.12));
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.die-cut-preview:hover .die-cut-img {
  transform: translateY(-8px) scale(1.03);
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.18));
}

.preview-tag {
  margin-top: 16px;
  background: transparent;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid var(--text-main);
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all var(--transition);
}

.die-cut-preview:hover .preview-tag {
  color: var(--text-main);
  border-color: var(--text-main);
}

/* Bottom Action & Quote Bar (`Tightened right up below cutouts`) */
.home-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--neutral-border);
  padding-top: 20px;
}

.gothic-statement-quote {
  font-family: var(--font-gothic);
  font-size: 2.4rem;
  color: var(--text-muted);
}

.btn-explore-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: var(--text-main);
  color: var(--bg-pure);
  text-decoration: none;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-explore-main:hover {
  background: #333333; /* Pure neutral dark charcoal, zero blue */
  color: var(--bg-pure);
  transform: translateY(-2px);
}

/* ==========================================================================
   PRODUCT PAGE // STANDALONE ENGINE (`product.html`)
   ========================================================================== */
.hero-product-section {
  padding: 40px 60px 32px;
  max-width: 1360px;
  margin: 0 auto;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px; /* Reduced from 80px */
  align-items: center;
}

.hero-visual-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.main-image-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-subtle);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--neutral-border);
}

.main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-image-box:hover img {
  transform: scale(1.03);
}

.item-top-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-main);
  background: var(--bg-btn-blur);
  padding: 6px 14px;
  border-radius: 2px;
  backdrop-filter: blur(8px);
  letter-spacing: 1px;
}

.item-heart-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--bg-btn-blur);
  border: none;
  font-size: 16px;
  color: var(--text-main);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition);
}

.item-heart-btn:hover {
  color: var(--accent-red);
}

.thumbs-row {
  display: flex;
  gap: 12px;
}

.thumb-circle {
  width: 68px;
  height: 68px;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: all var(--transition);
  background: var(--bg-subtle);
}

.thumb-circle.active,
.thumb-circle:hover {
  opacity: 1;
  border-color: var(--text-main); /* Pure neutral black border */
  transform: translateY(-2px);
}

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

.hero-product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-product-details h1 {
  font-family: var(--font-offwhite);
  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.25;
  color: var(--text-main); /* Pure neutral black title, zero blue */
  margin-bottom: 12px;
}

.price-display {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-main); /* Pure neutral black price, zero blue */
  margin-bottom: 24px;
}

.product-bio {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
}

.size-selector-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: block;
}

.size-options {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
}

.size-btn {
  width: 48px;
  height: 48px;
  border: 1px solid #cccccc;
  border-radius: 2px;
  background: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
}

.size-btn:hover,
.size-btn.active {
  background: var(--text-main);
  color: var(--bg-pure);
  border-color: var(--text-main);
}

.btn-add-bag-main {
  width: 100%;
  padding: 18px;
  background: var(--text-main);
  color: var(--bg-pure);
  border: none;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-add-bag-main:hover {
  background: #333333;
  transform: translateY(-2px);
}

/* ==========================================================================
   STORY PAGE // NEWSPAPER EDITORIAL SPREAD (`brotherhood.html`)
   ========================================================================== */
.newspaper-editorial-section {
  padding: 40px 60px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.newspaper-bar {
  border-top: 1px solid var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 36px; /* Standardized tightened spacing */
}

.newspaper-title {
  font-family: var(--font-offwhite);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  text-align: left;
}

.newspaper-lead {
  font-family: var(--font-offwhite);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--neutral-border);
  padding-bottom: 28px;
  max-width: 980px;
}

.newspaper-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; /* Standardized tightened spacing */
  align-items: start;
}

.editorial-photo-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.editorial-photo-box {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--neutral-border);
}

.editorial-photo-box img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  display: block;
}

.photo-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  line-height: 1.6;
  border-top: 1px solid var(--neutral-border);
  padding-top: 12px;
  text-transform: uppercase;
}

.editorial-text-col {
  display: flex;
  flex-direction: column;
}

.editorial-text-col h3 {
  font-family: var(--font-offwhite);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.3;
  color: var(--text-main);
  margin-bottom: 16px;
  margin-top: 0;
}

.editorial-text-col p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 22px;
  text-align: justify;
}

.newspaper-pullquote {
  border-top: 1px solid var(--text-main);
  border-bottom: 1px solid var(--text-main);
  padding: 24px 0;
  margin: 28px 0 34px;
  font-family: var(--font-offwhite);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   COMING SOON & FOOTER
   ========================================================================== */
.coming-soon-clean {
  padding: 36px 48px 36px;
  border-top: 1px solid var(--neutral-border);
  text-align: center;
}

.coming-soon-clean h3 {
  font-family: var(--font-offwhite);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.coming-soon-clean p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 28px;
}

.subscribe-form-minimal {
  display: flex;
  max-width: 420px;
  margin: 0 auto;
  border-bottom: 1px solid var(--text-main);
}

.subscribe-input {
  flex: 1;
  padding: 12px 0;
  border: none;
  background: none;
  font-family: var(--font-mono);
  font-size: 12px;
}

.subscribe-input:focus {
  outline: none;
}

.subscribe-btn {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
}

/* Bag Drawer */
.bag-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-pure);
  border-left: 1px solid var(--neutral-border);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}

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

.drawer-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--neutral-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}

.drawer-body {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

.bag-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--neutral-border);
}

.bag-item img {
  width: 76px;
  height: 96px;
  object-fit: cover;
  border-radius: 2px;
  background: var(--bg-subtle);
}

.drawer-footer {
  padding: 32px;
  border-top: 1px solid var(--neutral-border);
  font-family: var(--font-mono);
}

.btn-checkout {
  width: 100%;
  padding: 18px;
  background: var(--text-main);
  color: var(--bg-pure);
  border: none;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  margin-top: 16px;
  transition: opacity var(--transition);
}

.btn-checkout:hover {
  opacity: 0.85;
}

.site-footer {
  padding: 20px 48px 32px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .home-headline-box,
  .dual-cutout-grid,
  .hero-product-grid,
  .newspaper-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-header { padding: 18px 24px; }
  .brand-area { gap: 12px; }
  .logo-main { font-size: 1.5rem; }
  .logo-sub-box { display: none; }
  .nav-links { gap: 18px; }
  .header-controls { gap: 14px; }
  .home-showcase-section,
  .hero-product-section,
  .newspaper-editorial-section { padding: 32px 24px 60px; }
  .home-headline-box h1,
  .newspaper-title { font-size: 2.3rem; }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Header Fixes */
  .site-header {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  
  /* Hide the text part of the logo to save space, keep the iconic circle */
  .brand-text-stack {
    display: none;
  }
  
  /* Drop navigation links to a new row and space them evenly */
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.75rem;
  }

  /* Keep controls on top right and prevent wrapping */
  .header-controls {
    flex: 1;
    justify-content: flex-end;
    gap: 16px;
  }
  .currency-btn, .bag-btn {
    white-space: nowrap;
    font-size: 0.75rem;
  }
  
  /* Stack the bottom action bar */
  .home-action-bar {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    align-items: stretch;
  }
  
  /* Shrink the gothic quote */
  .gothic-statement-quote {
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: center;
  }
  
  .btn-explore-main {
    width: 100%;
  }

  /* Fix the showcase header overlapping */
  .home-showcase-header {
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
  }

  /* Make hero product grid text smaller */
  .hero-product-details h1, .home-headline-box h1 {
    font-size: 1.6rem;
  }

  /* Fix dual cutout grid layout if needed */
  .dual-cutout-grid {
    gap: 24px;
  }
}
