:root {
  --bg-white: #ffffff;
  --text-dark: #111111;
  --text-muted: #666666;
  --border-light: #eeeeee;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --branded-shadow-box: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fbf8f3;
  
  /* 🏔️ IMAGE OPACITY CONTROLLER 
     We layer a cream tint overlay directly on top of 'Tray.jpg'.
     CHANGE THE '0.30' VALUES:
     - Make it HIGHER (e.g., 0.50) to fade/wash out the image more.
     - Make it LOWER (e.g., 0.10) to make the background photo louder and more intense. */
  background-image: 
    linear-gradient(rgba(251, 248, 243, 0.30), rgba(251, 248, 243, 0.30)), 
    url('../images/Tray.jpg'); 
    
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  
  color: var(--text-dark);
  font-family: var(--font-base);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* THE EDITORIAL VERTICAL COLUMN */
body::before {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 860px;   
  background-color: #fbf8f3; 
  z-index: -1;         
  
  /* 🎛️ INCREASED OPACITY
     Shifted from 0.92 up to 0.97. This makes the cream canvas much more solid 
     and heavy, while leaving just a microscopic whisper of the background tones. */
  opacity: 0.94; 
}
/* Sticky Navigation Bar Engine */
.sub-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center; 
  padding: 1rem 4rem; 
  z-index: 100;
}

.nav-logo-link { display: flex; align-items: center; }
.nav-logo {
  height: 28px;
  width: auto;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s ease;
  padding-bottom: 4px;
}
.nav-links a:hover { opacity: 0.5; }
.nav-links a.active { border-bottom: 2px solid var(--text-dark); }

/* Master Scroll Page Blueprint */
.promo-layout {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 6rem 1.5rem; /* Pushed top/bottom padding out for extra air */
  display: flex;
  flex-direction: column;
  align-items: center;
  
  /* 🚀 THE AIR ENGINE
     Cranked from 10rem to 13rem to push the blocks further apart down the spine */
  gap: 13rem; 
}

.section-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3rem;
}

/* 🪐 THE MAIN LOGO POSITIONING (ADD EXTRA BOTTOM AIR) */
.main-logo-wrapper {
  width: 100%;
  max-width: 400px;    
  margin-top: 2.5rem;    
  
  /* 🚀 EXPANDED: Increased from 4.5rem to 5.5rem to isolate the two top logos */
  margin-bottom: 5.5rem; 
  
  text-align: center;
}
.branded-logo {
  width: 100%;
  max-width: 300px;    /* 🚀 Upgraded from 240px to give it a massive, commanding presence */
  height: auto;
  filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}
/* 🪐 THE ALBUM META BLOCK (NEW)
   This acts as the master container box for your text logo and subtitle */
.album-meta {
  width: 100%;
  text-align: center;
  margin-bottom: 5.5rem; /* Creates the clean breathing gap before the album cover hits */
}
.branded-logo:hover { transform: translateY(-6px); }

.hero-album-art { width: 100%; max-width: 450px; }
.hero-album-art img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: var(--branded-shadow-box);
}

.album-text-logo {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 0 2.5rem 0;  /* 🔄 SHIFTED: Removed top margin, added clean spacing below the letters */
  display: inline-block;
  filter: drop-shadow(0px 25px 25px rgba(0, 0, 0, 0.35));
  transition: transform 0.3s ease;
}
.album-text-logo:hover {
  transform: translateY(-6px);
}
.album-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-wrapper {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  margin: 4.5rem auto; /* 🔄 Increased from 3.5rem to isolate the video beautifully */
  box-shadow: var(--branded-shadow-box);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: block;
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.dsp-router {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 2.5rem 2rem; /* 🔄 Added extra top/bottom internal breathing room */
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  margin-top: 1.5rem;   /* Pushes it cleanly down from the video frame */
}
.router-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}
.stream-links { display: flex; gap: 2rem; }
.stream-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid var(--text-dark);
  padding-bottom: 2px;
}

/* --- FIXED DATA BOX --- */
.data-box {
  width: 100%;
  max-width: 500px;
  padding: 3.5rem 2.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.04);
  text-align: center;
  margin: 0 auto;       /* Centering safety lock */
  align-self: center;   /* Parent wrapper grid lock */
}
.data-box h3 { margin-bottom: 0.5rem; font-size: 1.4rem; font-weight: 800; }
.data-box p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.capture-form { display: flex; flex-direction: column; gap: 0.75rem; }
.capture-form input {
  width: 100%; padding: 1rem; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 1rem; text-align: center;
}
.capture-form button {
  background: var(--text-dark); color: var(--bg-white); border: none; padding: 1rem; border-radius: 4px; font-size: 1rem; font-weight: 700; text-transform: uppercase; cursor: pointer;
}

/* --- MINIMALIST SOCIAL LOGO BUTTONS --- */
.social-buttons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;          /* Spacious horizontal breathing room between logos */
  width: 100%;
  margin-top: 0.5rem;
}

.social-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 50%;   /* Fluid high-end circular silhouettes */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  
  /* Precision cubic transition creates a snappy, luxury mechanical feel */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s ease, 
              background-color 0.3s ease, 
              color 0.3s ease;
}

.social-btn svg {
  width: 22px;
  height: 22px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- LOGO INTERACTIVE HOVER ALTERATIONS --- */
.social-btn:hover {
  transform: translateY(-6px) scale(1.05); /* Lifts cleanly to match logo height */
  background: var(--text-dark);           /* Sharp inverted switch */
  color: #fbf8f3;                         /* Logo icon flips directly to your cream tone */
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.18);
  border-color: var(--text-dark);
}

.social-btn:hover svg {
  transform: scale(1.08); /* Subtle internal icon emphasis */
}
/* ==================== PREMIUM BIO EDITORIAL STYLES ==================== */

/* --- THE MANIFESTO CALLOUT --- */
.manifesto-callout {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 680px;
  margin: 1rem auto 0 auto;
  text-align: center;
  color: var(--text-dark);
}

/* --- THE ASYMMETRIC SPLIT SYSTEM --- */
.bio-split {
  display: flex;
  flex-direction: column; /* Mobile fallback layout */
  gap: 3.5rem;
  width: 100%;
  align-items: center;
}

.bio-text-pane {
  flex: 1;
  text-align: left;
}

.bio-text-pane h2 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  position: relative;
}

.bio-text-pane p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.bio-image-pane {
  flex: 1;
  width: 100%;
  max-width: 420px;
}

.bio-portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4; /* Editorial portrait ratio */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--branded-shadow-box);
}

/* --- THE PILLARS SYSTEM --- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile layout stacking */
  gap: 2rem;
  width: 100%;
  margin-top: 1rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  padding: 2.5rem;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--text-muted);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.pillar-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- PILLAR INTERACTIONS (Matches home page hover logic) --- */
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.12);
}

/* --- DESKTOP SCALE BREAKPOINTS --- */
@media (min-width: 768px) {
  .bio-split {
    flex-direction: row; /* Snaps beautifully to an asymmetric split-screen row on desktops */
    align-items: center;
    gap: 4rem;
  }
  
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr); /* Splits into three clean interactive modules side-by-side */
    gap: 1.5rem;
  }
}
/* ==================== ASYMMETRIC LOOKBOOK GRID STYLES ==================== */

.gallery-container {
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr; /* Default mobile single vertical stack */
  gap: 4.5rem;               /* Deep editorial vertical space between items */
  width: 100%;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Precision Outer Image Frame Wrapper */
.gallery-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: var(--branded-shadow-box);
}

/* Image Core with Inner Hover Scaling */
.gallery-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.4s ease;
}

/* High-End Minimalist Label Details */
.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0.25rem 0 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.item-id {
  color: var(--text-dark);
  font-weight: 900;
}

.item-desc {
  color: var(--text-muted);
}

/* --- INTERACTIVE GRAPHIC HOVERS --- */
.gallery-item:hover .gallery-frame img {
  transform: scale(1.04); /* Ultra-clean internal zoom lens animation */
  filter: brightness(0.95);
}

/* --- DESKTOP ASYMMETRY BREAKPOINTS --- */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* Splits the canvas into a dual-lane matrix */
    gap: 5rem 3rem;                        /* Broad custom horizontal/vertical spacing */
  }
  
  /* Widescreen and Full-Bleed assets span across both lanes for visual contrast */
  .gallery-item.widescreen,
  .gallery-item.full-bleed {
    grid-column: span 2;
  }
  
  /* Forces portrait layouts to keep their tight proportions side-by-side */
  .gallery-item.portrait .gallery-frame {
    aspect-ratio: 3 / 4;
  }
  
  .gallery-item.widescreen .gallery-frame {
    aspect-ratio: 16 / 9;
  }
}
/* ==================== SECURE CONTACT ENGINE STYLES ==================== */

.contact-container {
  width: 100%;
  max-width: 550px; /* Constrains the form width to look incredibly sharp on the cream canvas */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Generous breathing room between input slots */
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

/* Luxury Industrial Input Labels */
.form-group label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Premium Minimalist Input Plates */
.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.45); /* Soft glass undertone */
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-dark);
  font-family: var(--font-base);
  
  /* Smooth focus transitions */
  transition: border-color 0.3s ease, 
              background-color 0.3s ease;
}

/* Sharp Contrast Focus Toggles */
.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--text-dark); /* Border snaps sharp onyx black on click */
  background: rgba(255, 255, 255, 0.9);
}

/* Textarea Layout Lock */
.form-group textarea {
  resize: vertical; /* Stops users from expanding the text area horizontally and busting the column */
}

/* The Flagship Submit Button */
.contact-submit {
  background: var(--text-dark);
  color: #fbf8f3; /* Snaps text straight to your signature cream shade */
  border: none;
  padding: 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s ease;
}

.contact-submit:hover {
  transform: translateY(-4px);
  box-shadow: var(--branded-shadow-box);
}

/* --- THE FLAGSHIP PHILOSOPHY MODULE --- */
.philosophy-quote-box {
  width: 100%;
  max-width: 650px;
  margin-top: 1rem;
  padding: 3.5rem 3rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.02);
  text-align: center;
  
  /* Coordinates with all other custom cards on the network */
  transition: transform 0.3s ease, 
              box-shadow 0.3s ease;
}

.quote-text {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.quote-signature {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Matches home page and bio page physics */
.philosophy-quote-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--branded-shadow-box);
}
/* --- MOBILE SOCIAL MATRIX SAFEDOCK --- */
@media (max-width: 500px) {
  .social-buttons-row {
    gap: 1rem; /* Condenses the spacing between the 5 buttons on small phones */
  }
  
  .social-btn {
    width: 54px;  /* Micro-scales the circles slightly so they fit across compact mobile glass */
    height: 54px;
  }
  
  .social-btn svg {
    width: 18px;
    height: 18px;
  }
}
/* --- THE STAMP HOVER DYNAMICS --- */
.gallery-stamp-logo:hover {
  transform: scale(1.05) translateY(-6px); /* Clean internal magnification and physics lift */
  opacity: 1;                              /* Full structural illumination */
  filter: drop-shadow(0px 35px 45px rgba(0, 0, 0, 0.32));
  cursor: pointer;
} /* ✅ FIXED: Closing bracket secured */
/* ==========================================================================
   🪐 GALLERY INTERACTIVE BRAND STAMP - DETACHED EDITION
   ========================================================================== */
.gallery-stamp-wrapper {
  width: 100%;
  text-align: center;
  margin-top: -11rem;       /* Retains your precision negative gravity lockup */
  margin-bottom: -6rem;    
}

.gallery-stamp-logo {
  width: 100%;
  max-width: 280px;        /* 🔒 LOCKED: Keeps the gallery logo perfectly sized */
  height: auto;
  opacity: 0.8;            
  filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.12));
  
  /* Precision mechanical glide curve */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease,
              filter 0.4s ease;
}

/* --- GALLERY STAMP HOVER DYNAMICS --- */
.gallery-stamp-logo:hover {
  transform: scale(1.05) translateY(-6px); 
  opacity: 1;                              
  filter: drop-shadow(0px 35px 45px rgba(0, 0, 0, 0.32));
  cursor: pointer;
}

/* ==========================================================================
   🪐 BIO PAGE INTERACTIVE BRAND STAMP
   ========================================================================== */
.bio-stamp-wrapper {
  width: 100%;
  text-align: center;
  margin-top: -5rem;    /* Clean breathing room below your split bio text */
  margin-bottom: -5rem;   /* Balanced air right above the CORE CODES title */
}

.bio-stamp-logo {
  width: 100%;
  
  /* 🚀 CLAMPED: Keeps the bio instance elegantly scaled to match the text layout */
  max-width: 700px;       
  
  height: auto;
  opacity: 0.75;          /* Signature matte opacity blending into the column background */
  filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.12));
  
  /* Precision mechanical glide physics curve */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.4s ease,
              filter 0.4s ease;
}

/* --- BIO STAMP INTERACTIVE TACTILE HOVERS --- */
.bio-stamp-logo:hover {
  transform: scale(1.06) translateY(-5px); /* Smooth magnification and vertical lift */
  opacity: 1;                              /* Snaps to full structural intensity */
  filter: drop-shadow(0px 30px 40px rgba(0, 0, 0, 0.3));
  cursor: pointer;
}
/* ==========================================================================
   🪐 UNIVERSAL MOBILE NAVIGATION MATRIX SPECIFICATION
   ========================================================================== */
@media (max-width: 768px) {
  
  /* 1. Force the wrapper to lock flat to the screen edges */
  .nav-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important; /* Anchors logo far LEFT, links far RIGHT */
    align-items: center !important;
    padding: 0 1rem !important; /* Sleek structural border gap from the glass edge */
  }

  /* 2. Scale down the logo lockup slightly so it doesn't hog the row */
  .nav-brand {
    transform: scale(0.82) !important; /* Precision micro-downsize */
    transform-origin: left center !important; /* Keeps anchor pinned hard left during scale */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 3. Tighten the layout container holding BIO, GALLERY, CONTACT */
  .nav-links, .nav-menu, .nav-container ul, .nav-container div:last-of-type {
    display: flex !important;
    gap: 0.9rem !important; /* Squeezes the dead space between the menu options */
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 4. Shrink the link text footprints so they don't bleed into the logo */
  .nav-links a, .nav-menu a, .nav-container a:not(.nav-brand) {
    font-size: 0.72rem !important; /* Elegant, highly scannable mobile sizing */
    letter-spacing: 0.05em !important; /* Tucks the tracking in slightly */
    padding: 0.4rem 0.1rem !important; /* Shaves off horizontal click-box bloat */
  }
}