/**
 * ====================================================================================================
 * TOUT EST LÀ (TEL-OS) — MAISON CORE DESIGN SYSTEM & DIPTYCH ENGINE
 * File: assets/css/tel-main.css
 * ====================================================================================================
 * 
 * DESIGN TOKENS & SYSTEM CONTRACT:
 * - Palette: Bone (#F2EDE4), Card Surface (#FAF8F5), Espresso (#2A2420),
 *            Editorial Taupe (#6E655C), Utility Taupe (#8C7B6B), Curator Red (#D32F2F)
 * - Typography: Fraunces (Serif Display), Plus Jakarta Sans (UI), IBM Plex Mono (Utility)
 * - Layout: Architectural Diptych (50/50 Split on Desktop, Stacked Portrait on Mobile)
 * 
 * ====================================================================================================
 */

/* ==========================================================================
   1. BRAND DESIGN SYSTEM TOKENS
   ========================================================================== */
:root {
  --bg-bone: #F2EDE4;             /* Signature warm unbleached canvas base */
  --card-bg: #FAF8F5;             /* Elevated pristine portrait card face */
  --espresso: #2A2420;            /* Primary dark brand charcoal espresso */
  --body-taupe: #6E655C;          /* Soft editorial body tone */
  --utility-taupe: #8C7B6B;       /* Muted utility and metadata tone */
  --curator-red: #D32F2F;         /* Curator's signature red accent dot */
  --border-hairline: rgba(42, 36, 32, 0.12); /* Subtle structure border line */
  --border-input: #D5CCC1;        /* Refined input field border */
  --border-dark: #2A2420;         /* High-contrast CTA action border */
  --radius-card: 2px;
  --radius-button: 2px;
}

/* Universal Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-bone);
  color: var(--espresso);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 48px 24px 36px 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Ambient Subtle Matrix Grain Background */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(42, 36, 32, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   2. ARCHITECTURAL DIPTYCH GRID CONTAINER
   ========================================================================== */
.diptych-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* ==========================================================================
   3. LEFT FRAME: MATERIAL MEDITATION VIDEO STAGE
   ========================================================================== */
.video-frame-container {
  background: var(--card-bg);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(42, 36, 32, 0.03);
  min-height: 520px;
}

.video-frame-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: var(--bg-bone);
}

/* ==========================================================================
   4. RIGHT FRAME: EDITORIAL HOLDING CANVAS
   ========================================================================== */
.mockup-card {
  background: var(--card-bg);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 48px 42px 40px 42px;
  box-shadow: 0 12px 36px rgba(42, 36, 32, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Header & Composite Logo Mount */
.brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
  width: 100%;
}

.brand-logo-stage {
  width: 100%;
  max-width: 230px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: transparent !important;
}

.brand-logo-stage svg {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent !important;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

.brand-logo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  background: transparent !important;
}

/* Tagline with Curator Red Dot */
.brand-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--utility-taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tagline-bullet {
  color: var(--curator-red);
  font-size: 7px;
  line-height: 1;
}

/* Status Badge: OPENING SOON */
.status-container {
  margin-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.status-text {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--utility-taupe);
  padding-bottom: 4px;
  position: relative;
}

.status-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-hairline);
}

/* Headline */
.headline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(23px, 3vw, 29px);
  font-weight: 350;
  line-height: 1.32;
  color: var(--espresso);
  letter-spacing: 0.015em;
  margin-bottom: 18px;
}

/* Narrative Body */
.body-copy {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--body-taupe);
  letter-spacing: 0.012em;
  max-width: 420px;
  margin: 0 auto 22px auto;
}

.body-line {
  display: block;
}

/* Waitlist Form */
.newsletter-form {
  width: 100%;
  max-width: 390px;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  background-color: transparent;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-button);
  padding: 11px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: var(--espresso);
  outline: none;
  transition: border-color 0.2s ease;
}

.email-input::placeholder {
  color: #A39B91;
  font-weight: 300;
  opacity: 0.85;
}

.email-input:focus {
  border-color: var(--espresso);
}

.submit-button {
  background-color: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-button);
  padding: 11px 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.submit-button:hover {
  background-color: var(--espresso);
  color: var(--bg-bone);
}

.submit-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Form Notice Banner */
.form-notice {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: var(--espresso);
  padding: 10px 14px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-card);
  background: #FFFFFF;
  margin-bottom: 12px;
  display: none;
  max-width: 390px;
  width: 100%;
}

/* Scarcity Note */
.micro-note {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: var(--utility-taupe);
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

/* Inquiries Action Link */
.inquiries-container {
  display: inline-block;
}

.inquiries-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--body-taupe);
  text-decoration: none;
  padding-bottom: 2px;
  position: relative;
  transition: color 0.2s ease;
}

.inquiries-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--border-hairline);
  transition: background-color 0.2s ease;
}

.inquiries-link:hover {
  color: var(--espresso);
}

.inquiries-link:hover::after {
  background-color: var(--espresso);
}

/* Baseline Footer */
.footer {
  position: relative;
  z-index: 1;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9.5px;
  color: var(--utility-taupe);
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin-top: 28px;
  text-align: center;
}

/* ==========================================================================
   5. RESPONSIVE MOBILE & TABLET DIPTYCH STACKING
   ========================================================================== */
@media (max-width: 860px) {
  body {
    padding: 32px 16px 24px 16px;
  }
  
  .diptych-wrapper {
    grid-template-columns: 1fr;
    max-width: 480px;
    gap: 16px;
  }
  
  .video-frame-container {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }
  
  .mockup-card {
    padding: 36px 20px 28px 20px;
  }
  
  .brand-logo-stage {
    max-width: 190px;
    height: 85px;
  }
  
  .brand-tagline {
    font-size: 9px;
    letter-spacing: 0.2em;
    gap: 8px;
  }
  
  .headline {
    font-size: 21px;
    margin-bottom: 16px;
  }
  
  .body-copy {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .body-line {
    display: inline;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 8px;
  }
  
  .submit-button {
    padding: 12px;
  }
  
  .micro-note {
    margin-bottom: 20px;
  }
}

/* Reduced Motion Preference Safety */
@media (prefers-reduced-motion: reduce) {
  .video-frame-container video {
    display: none;
  }
  .video-frame-container {
    background-image: url('../video/tel-teaser-material-v1-poster.jpg');
    background-size: cover;
    background-position: center;
  }
}