/* ============================================================
   LABORA COLLECTIVE — Standard CSS
   lc-standard.css — THE SINGLE SOURCE OF TRUTH
   
   Every page on laboracollective.com links to this file.
   DO NOT duplicate this CSS inline. DO NOT override these values.
   
   Last locked: April 5, 2026
   Nav: 5-link (The Signal / Journals / Intelligence / Viva Voce / Join)
   ============================================================ */


/* ─────────────────────────────────────────────
   DESIGN TOKENS — Do not change without YC approval
   ───────────────────────────────────────────── */

:root {
  /* Brand */
  --espresso:       #362511;
  --espresso-mid:   #4A3218;
  --body-text:      #2C1A0E;
  --muted:          #6B5648;

  /* Copper */
  --copper:         #D48662;
  --copper-text:    #7A4D2E;
  --copper-light:   #E8A882;

  /* Accents */
  --blush:          #EABAB0;
  --blush-light:    #F5DDD9;
  --rose:           #E7817F;
  --rose-light:     #FAEAEA;
  --teal:           #1D6B78;
  --teal-light:     #E0F2F4;
  --forest:         #2E5240;
  --forest-light:   #E4EFE8;
  --gold:           #9E7D0A;
  --gold-light:     #F5EDCC;
  --blue:           #5B8FA8;
  --blue-light:     #E8F1F5;

  /* Backgrounds */
  --bg-warm:        #F7F3EE;
  --bg-open:        #FBF5FF;
  --white:          #FFFFFF;

  /* Typography */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'EB Garamond', Georgia, serif;
  --font-ui:        'DM Sans', Arial, Helvetica, sans-serif;
}


/* ─────────────────────────────────────────────
   RESET & BASE
   ───────────────────────────────────────────── */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light only; }

body {
  font-family: var(--font-ui);
  background: var(--bg-warm);
  color: var(--body-text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}


/* ─────────────────────────────────────────────
   NAV — 5-Link Standard (Locked April 5, 2026)
   The Signal / Journals / Intelligence / Viva Voce / Join
   ───────────────────────────────────────────── */

.lc-nav {
  background: var(--espresso);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.lc-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.lc-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.lc-nav-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bg-open);
}
.lc-nav-mark em { font-style: normal; color: var(--copper); }
.lc-nav-org {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,245,255,0.82);
  border-left: 1px solid rgba(251,245,255,0.1);
  padding-left: 0.65rem;
}
.lc-nav-org a { color: inherit; text-decoration: none; }
.lc-nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
  flex-wrap: nowrap;
}
.lc-nav-links li a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,245,255,0.88);
  text-decoration: none;
  transition: color 0.15s;
  height: 56px;
  line-height: 56px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.lc-nav-links li a:hover { color: var(--copper); }
.lc-nav-links li a.active-nav {
  color: var(--copper);
  border-bottom-color: var(--copper);
}
.lc-nav-cta {
  background: #B56A45;
  color: var(--white) !important;
  padding: 0.4rem 1.1rem !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  border: none !important;
  height: auto !important;
  line-height: 1.4 !important;
}
.lc-nav-cta:hover {
  background: var(--copper-light);
  color: var(--espresso) !important;
}
.lc-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.lc-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(251,245,255,0.88);
  margin: 4px 0;
  transition: 0.3s;
}


/* ─────────────────────────────────────────────
   ARTICLE HEADER — 6-Layer Hybrid (Locked March 29)
   accent stripe → circle initial → journal name → headline → byline → date
   ───────────────────────────────────────────── */

.article-header {
  background: var(--espresso);
  color: var(--white);
  padding: 0;
  position: relative;
}
.article-header::before {
  content: '';
  display: block;
  height: 5px;
  background: var(--accent-color, var(--copper));
}
.article-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 2rem;
}
.article-header .journal-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.article-header .journal-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-color, var(--copper));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  flex-shrink: 0;
}
.article-header .journal-name {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color, var(--copper));
}
.article-header .parent-brand {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,245,255,0.4);
  display: block;
  margin-top: 2px;
}
.article-header .content-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(251,245,255,0.15);
  color: rgba(251,245,255,0.6);
  margin-bottom: 1rem;
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.article-header .subtitle {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(251,245,255,0.75);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.article-header .byline {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: rgba(251,245,255,0.6);
}
.article-header .byline strong {
  color: rgba(251,245,255,0.88);
}


/* ─────────────────────────────────────────────
   ARTICLE BODY — Standard content typography
   ───────────────────────────────────────────── */

.article-body {
  max-width: 1100px; /* Migrated from 720px to wide track */
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
}

/* 3-Column Article Layout */
.article-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px) 220px;
  gap: 3rem;
  align-items: start;
  justify-content: center;
}

@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.article-col-left {
  position: sticky;
  top: 100px;
}

.article-col-right {
  position: sticky;
  top: 100px;
}

.article-col-center {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--espresso);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--espresso);
  margin: 2rem 0 0.75rem;
}
.article-body p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--body-text);
  margin-bottom: 1.25rem;
}
.article-body blockquote {
  border-left: 3px solid var(--copper);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(212,134,98,0.04);
}
.article-body blockquote p {
  font-style: italic;
  color: var(--muted);
}
.article-body ul, .article-body ol {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 1rem 0 1.25rem 1.5rem;
}
.article-body a {
  color: var(--copper-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--copper); }
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 1.5rem 0;
}


/* ─────────────────────────────────────────────
   FOOTER — 5-Column Standard (Locked April 5, 2026)
   Brand / Journals / Products / Intelligence / Organization
   ───────────────────────────────────────────── */

.lc-footer {
  background: var(--espresso);
  border-top: 3px solid var(--copper);
  color: rgba(251,245,255,0.88);
}
.lc-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}
.lc-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.lc-footer-brand-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--bg-open);
  margin-bottom: 0.35rem;
}
.lc-footer-brand-mark em { font-style: normal; color: var(--copper); }
.lc-footer-brand-org {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251,245,255,0.88);
  margin-bottom: 1rem;
}
.lc-footer-brand-org a { color: inherit; text-decoration: none; }
.lc-footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(251,245,255,0.82);
}
.lc-footer-col h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
}
.lc-footer-col ul { list-style: none; padding: 0; }
.lc-footer-col li { margin-bottom: 0.5rem; }
.lc-footer-col a {
  font-size: 0.78rem;
  color: rgba(251,245,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
}
.lc-footer-col a:hover { color: var(--copper); }
.lc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(251,245,255,0.88);
}
.lc-footer-bottom a {
  color: rgba(251,245,255,0.88);
  text-decoration: none;
}
.lc-footer-bottom a:hover { color: var(--copper); }


/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */

@media (max-width: 1440px) {
  .lc-nav-org { display: none; }
  .lc-nav-links { gap: 1rem; }
  .lc-nav-links li a { font-size: 0.75rem; letter-spacing: 0.08em; }
}

@media (max-width: 1024px) {
  .lc-nav-links { display: none; }
  .lc-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--espresso);
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 99;
  }
  .lc-nav-links.open li a { height: auto; line-height: 2.5; }
  .lc-nav-toggle { display: block; }
  .lc-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .lc-footer-top { grid-template-columns: 1fr; }
  .lc-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .article-header-inner { padding: 1.5rem 1.25rem; }
  .article-body { padding: 2rem 1.25rem; }
}


/* ─────────────────────────────────────────────
   MOBILE NAV TOGGLE SCRIPT SUPPORT
   ───────────────────────────────────────────── */

.lc-nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.lc-nav-toggle.active span:nth-child(2) { opacity: 0; }
.lc-nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

/* ─────────────────────────────────────────────
   VISUAL: Logo Banner (Added to Standard)
───────────────────────────────────────────── */
.logo-banner {
  padding: 1.5rem 2rem;
  background: var(--espresso);
  text-align: center;
  border-bottom: 2px solid var(--copper);
}
.logo-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.logo-banner-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(251,245,255,0.82);
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}
.logo-banner-item:hover {
  color: var(--copper);
}
.logo-banner-item em { font-style: normal; color: var(--copper); font-weight: 600; }
.logo-banner-divider {
  width: 1px;
  height: 24px;
  background: rgba(251,245,255,0.12);
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .logo-banner-inner { gap: 1.5rem; justify-content: center; }
  .logo-banner-item { font-size: 0.9rem; }
}
@media (max-width: 600px) {
  .logo-banner-inner { gap: 1rem; }
  .logo-banner-item { font-size: 0.82rem; }
  .logo-banner-divider { height: 18px; }
}

/* ─────────────────────────────────────────────
   PHASE 2: UTILITY & APPLICATION LAYER
   ───────────────────────────────────────────── */

/* Utility Prose Layout (About, Privacy, Terms) */
.utility-prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}
.utility-prose h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--espresso);
  margin-bottom: 2rem;
  line-height: 1.1;
}
.utility-prose h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--espresso);
}
.utility-prose p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 1.5rem;
}

/* Glassmorphic Elevated Card Form Wrapper (Beehiiv/Coda) */
.utility-form-wrapper {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 24px 48px rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 3rem;
  max-width: 600px;
  margin: 4rem auto;
}

/* Applet App-Shell Structures (Packs) */
.app-shell-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}
.applet-bottom-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--espresso);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 100;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.applet-carousel-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.applet-carousel-card {
  flex: 0 0 85%;
  max-width: 400px;
  scroll-snap-align: center;
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.03);
}

@media (max-width: 1024px) {
  /* Hide TOC and Context Columns on Mobile to preserve "Reading App" focus */
  .article-col-left, .article-col-right {
    display: none;
  }
}
