/* ==========================================================================
   LuxeAutonomy — master stylesheet
   A SiliconPlans network property. The Autonomous Estate.
   Lives in /includes/ and is linked by every page.
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------- */
/* Fraunces (display serif) + a quiet sans for nav/body/UI.
   Self-host these in /includes/fonts/ for production; CDN links shown for
   convenience. Fraunces optical sizing handled via the 'opsz' axis.        */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500&family=Archivo:wght@400;500&display=swap');

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Surfaces */
  --bone:        #F4F1EA;   /* primary page background — warm, never #fff */
  --bone-deep:   #ECE7DC;   /* recessed surface, alternating sections      */
  --espresso:    #211E1A;   /* the dark punctuation zone (EstateOps)        */
  --espresso-2:  #2A2620;   /* raised surface within dark zones             */

  /* Ink */
  --ink:         #2E2A24;   /* primary text — warm charcoal, never #000     */
  --ink-soft:    #6B6357;   /* secondary text, captions                     */
  --ink-faint:   #9A8E7C;   /* tertiary text, meta                          */
  --ink-onDark:  #F4F1EA;   /* primary text on espresso                      */
  --ink-onDark-soft: #A39A89;

  /* Accent — burnt gold. Used sparingly: rules, labels, hovers.            */
  --gold:        #9A6B2F;   /* gold on light surfaces                        */
  --gold-bright: #B98E4D;   /* gold on dark surfaces                         */

  /* Hairlines */
  --line:        rgba(46, 42, 36, 0.16);
  --line-soft:   rgba(46, 42, 36, 0.10);
  --line-onDark: rgba(244, 241, 234, 0.14);

  /* Type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --measure:     1180px;    /* max content width                            */
  --gutter:      clamp(20px, 5vw, 64px);
}

/* ---- Reset / base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Base font-size is left to the browser default (typically 16px) and NOT
   pinned in px — this is what lets a reader's own browser / OS text-size
   preference scale the whole site. All type below is sized in rem so it
   honors that preference. Size-by-reading-load: continuous prose is set
   comfortably; only short scannable fragments (labels, tags, meta) go small,
   and never below ~0.7rem. The demographic skews ~55, not ~25. */
html { font-size: 100%; }

body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;        /* ~17px base — comfortable, not hip-tiny     */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ---- Shared type primitives -------------------------------------------- */
/* The wide-tracked uppercase gold label — the connective tissue of the site.
   Small is defensible here: short, scannable, not "read"; tracking aids it.
   Floor held at ~0.72rem — never smaller. */
.la-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;          /* ~12px */
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.la-eyebrow--onDark { color: var(--gold-bright); }

/* Serif display headings — Fraunces. opsz makes large sizes high-contrast. */
.la-display {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.16;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.la-display--xl  { font-size: clamp(2.25rem, 5.2vw, 3.4rem); }
.la-display--lg  { font-size: clamp(1.7rem, 3.6vw, 2.35rem); }
.la-display--md  { font-size: clamp(1.4rem, 2.4vw, 1.6rem); }

/* Continuous prose — set comfortably. This is read, so it does not go small. */
.la-prose {
  font-size: 1.0625rem;        /* ~17px */
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 46ch;
}

/* The quiet text link — gold underline that animates on hover */
.la-link {
  font-family: var(--sans);
  font-size: 0.75rem;          /* ~12px — short label, scannable */
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--gold);
  transition: color 0.25s ease;
}
.la-link:hover { color: var(--gold); }

/* Layout container */
.la-wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ==========================================================================
   BLOCK · masthead  — ESPRESSO bar: bare LA monogram + nav + EstateOps
   Dark masthead + dark footer bookend the page; the mid-page EstateOps
   band stays distinct by carrying more vertical mass and the gold CTA.
   ========================================================================== */
.la-header {
  background: var(--espresso);
  border-bottom: 0.5px solid var(--line-onDark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.la-header__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 15px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.la-monogram { width: 34px; height: 34px; flex: none; display: block; }
.la-monogram path { fill: var(--gold-bright); }

.la-nav {
  display: flex;
  gap: clamp(16px, 2.4vw, 30px);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-onDark-soft);
}
.la-nav a { transition: color 0.22s ease; }
.la-nav a:hover { color: var(--gold-bright); }

.la-estateops-tab {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 0.5px solid var(--gold-bright);
  padding: 7px 15px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease;
}
.la-estateops-tab:hover { background: var(--gold-bright); color: var(--espresso); }

/* hamburger toggle — hidden on desktop, shown under 880px */
.la-burger {
  display: none;
  width: 34px; height: 34px;
  border: 0; padding: 0; margin: 0;
  background: transparent; cursor: pointer;
  flex: none;
}
.la-burger span {
  display: block;
  width: 22px; height: 1.5px;
  margin: 5px auto;
  background: var(--ink-onDark);
  transition: transform 0.28s ease, opacity 0.2s ease;
}
.la-header__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

@media (max-width: 880px) {
  .la-burger { display: block; }
  /* nav collapses to a top-down panel under the bar */
  .la-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--espresso-2);
    border-bottom: 0.5px solid var(--line-onDark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .la-nav a {
    padding: 16px var(--gutter);
    border-top: 0.5px solid var(--line-onDark);
    font-size: 12px;
  }
  /* open state — toggled by JS adding .is-open to .la-header */
  .la-header.is-open .la-nav { max-height: 60vh; }
  .la-header.is-open .la-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .la-header.is-open .la-burger span:nth-child(2) { opacity: 0; }
  .la-header.is-open .la-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ==========================================================================
   BLOCK · hero  — eyebrow + serif statement + prose + link, centered
   ========================================================================== */
.la-hero {
  text-align: center;
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px);
}
.la-hero .la-eyebrow { display: block; margin-bottom: 24px; }
.la-hero__statement  { max-width: 620px; margin: 0 auto; }
.la-hero .la-prose   { margin: 22px auto 32px; text-align: center; }

/* ==========================================================================
   BLOCK · pillar-grid  — six tiles in a 2x3 array:
   five systems (Energy first, numbered) + a sixth thesis tile.
   Even-numbered array holds its shape; the sixth tile is not a peer
   system but the entry point to the Autonomous Estate thesis.
   ========================================================================== */
.la-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
}
.la-pillar {
  background: var(--bone);
  padding: clamp(28px, 4vw, 40px) clamp(24px, 3vw, 34px);
  transition: background 0.3s ease;
}
.la-pillar:hover { background: var(--bone-deep); }
.la-pillar__index {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.la-pillar__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.2;
  margin: 0 0 8px;
}
.la-pillar__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
/* the sixth tile — thesis entry, set apart by a faint gold wash */
.la-pillar--thesis {
  background: var(--bone-deep);
}
.la-pillar--thesis:hover { background: #E5DECD; }
.la-pillar--thesis .la-pillar__index { color: var(--gold); }

/* tablet: 3-up keeps the array even (2 rows of 3) */
@media (max-width: 860px) {
  .la-pillars { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .la-pillars { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BLOCK · dark-band  — espresso punctuation zone (EstateOps, etc.)
   ========================================================================== */
.la-band-dark {
  background: var(--espresso);
  color: var(--ink-onDark);
}
.la-band-dark__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) var(--gutter);
}
.la-band-dark .la-eyebrow { color: var(--gold-bright); display: block; margin-bottom: 18px; }
.la-band-dark .la-display { color: var(--ink-onDark); max-width: 540px; }
.la-band-dark__prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-onDark-soft);
  max-width: 48ch;
  margin: 18px 0 28px;
}
.la-cta-solid {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  background: var(--gold-bright);
  padding: 12px 22px;
  border-radius: 4px;
  display: inline-block;
  transition: opacity 0.22s ease;
}
.la-cta-solid:hover { opacity: 0.85; }

/* ==========================================================================
   BLOCK · journal-list  — editorial entries (the Journal pillar)
   ========================================================================== */
.la-journal {
  padding: clamp(48px, 7vw, 80px) 0;
}
.la-journal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 24px;
}
.la-journal__entries {
  display: grid;
  gap: 0.5px;
  background: var(--line);
  border-top: 0.5px solid var(--line);
  border-bottom: 0.5px solid var(--line);
}
.la-entry {
  background: var(--bone);
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: baseline;
  padding: 24px clamp(18px, 2.4vw, 30px);
  transition: background 0.25s ease;
}
.la-entry:hover { background: var(--bone-deep); }
.la-entry__cat {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.la-entry__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
.la-entry__meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .la-entry { grid-template-columns: 1fr; gap: 6px; }
  .la-entry__meta { display: none; }
}

/* ==========================================================================
   BLOCK · footer  — ESPRESSO, compact. Closes the page (masthead opens it).
   Deliberately short and light: a footer signs the page off, it is not a
   destination. Dark + compact reads as a confident close; dark + tall sinks.
   ========================================================================== */
.la-footer {
  background: var(--espresso);
  padding: clamp(30px, 4vw, 42px) 0;
}
.la-footer__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.la-footer__wordmark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-onDark);
}
.la-footer__wordmark span { color: var(--gold-bright); }
/* tagline — sits directly beneath the wordmark, same serif, quieter.
   Italic + gold reads as a signature line, matched to the wordmark above it. */
.la-footer__tagline {
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gold-bright);
  margin-top: 5px;
}
.la-footer__cols {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
}
.la-footer__col h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 10px;
}
.la-footer__col a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-onDark-soft);
  padding: 2.5px 0;
  transition: color 0.2s ease;
}
.la-footer__col a:hover { color: var(--ink-onDark); }
.la-footer__network {
  width: 100%;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 0.5px solid var(--line-onDark);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  /* two-ended row: copyright pinned left, network attribution right.
     The width between them is the separator — no glyph divider needed. */
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.la-footer__network a {
  color: var(--ink-faint);
  transition: color 0.2s ease;
}
.la-footer__network a:hover { color: var(--gold-bright); }

/* The back-to-top control is position:fixed in the bottom-right corner and
   has no awareness of page content — so in the footer, where they are bound
   to meet, the content yields to the floater. Reserve right-side clearance
   (button 46px + offset) on the network row at tablet/mobile widths, where
   the row is tight enough for the right-hand text to reach the corner.
   Desktop needs none: the row is wide and the text ends far from the edge. */
@media (max-width: 880px) {
  .la-footer__network { padding-right: 76px; }
}

/* ---- Page-load reveal (one orchestrated moment, staggered) -------------- */
@media (prefers-reduced-motion: no-preference) {
  .la-reveal {
    opacity: 0;
    transform: translateY(14px);
    animation: la-rise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .la-reveal:nth-child(2) { animation-delay: 0.08s; }
  .la-reveal:nth-child(3) { animation-delay: 0.16s; }
  .la-reveal:nth-child(4) { animation-delay: 0.24s; }
  @keyframes la-rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ==========================================================================
   INTERIOR · breadcrumb  — shared by article + system pages
   ========================================================================== */
.la-crumb {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 18px var(--gutter) 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.la-crumb a { transition: color 0.2s ease; }
.la-crumb a:hover { color: var(--gold); }
.la-crumb__sep { color: var(--line); margin: 0 8px; }

/* ==========================================================================
   ARTICLE · header  — category, serif headline, standfirst, meta hairline
   ========================================================================== */
.la-article {
  max-width: 740px;            /* a tighter measure than the homepage grid   */
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.la-article__header {
  padding: clamp(36px, 5vw, 56px) 0 clamp(28px, 3vw, 36px);
  border-bottom: 0.5px solid var(--line);
}
.la-article__cat { display: block; margin-bottom: 18px; }
.la-article__title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
}
.la-article__standfirst {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 16px 0 0;
}
.la-article__meta {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ARTICLE · body — long-form prose at a real reading measure */
.la-article__body {
  padding: clamp(28px, 4vw, 40px) 0 clamp(36px, 5vw, 56px);
}
.la-article__body p {
  font-size: 1.15rem;
  line-height: 1.78;
  color: var(--ink);
  margin: 0 0 1.3em;
}
.la-article__body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(25px, 3.1vw, 33px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 2.3em 0 0.6em;
}
/* a short gold rule above the heading — a non-size scan signal, so the
   section break registers even in peripheral vision, not just by size */
.la-article__body h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 0.8em;
}
.la-article__body h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.8em 0 0.6em;
}
.la-article__body h3 a {
  color: var(--gold);
  border-bottom: none;
  transition: color 0.2s ease;
}
.la-article__body h3 a:hover { color: var(--gold-bright); }
.la-article__body a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  transition: color 0.2s ease;
}
.la-article__body a:hover { color: var(--gold); }
.la-article__body strong { font-weight: 500; }

/* ARTICLE · pull quote — the one editorial flourish, serif, gold rule */
.la-pullquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold);
  border-radius: 0;
}
.la-pullquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}

/* ARTICLE · inline callout — slim espresso punctuation inside the body */
.la-callout {
  background: var(--espresso);
  color: var(--ink-onDark);
  border-radius: 6px;
  padding: 26px 28px;
  margin: 2em 0;
}
.la-callout .la-eyebrow { color: var(--gold-bright); display: block; margin-bottom: 10px; }
.la-callout p {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-onDark);
  margin: 0 0 16px;
}
.la-callout a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--espresso); background: var(--gold-bright);
  padding: 9px 18px; border-radius: 4px; display: inline-block;
  transition: opacity 0.2s ease;
}
.la-callout a:hover { opacity: 0.85; }

/* ARTICLE · related coverage — pipe-delimited, the network convention */
.la-related {
  border-top: 0.5px solid var(--line);
  padding: 24px 0 8px;
}
.la-related__label { display: block; margin-bottom: 10px; }
.la-related__links {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.la-related__links a { transition: color 0.2s ease; }
.la-related__links a:hover { color: var(--gold); }
.la-related__sep { color: var(--line); margin: 0 10px; }

/* ==========================================================================
   SYSTEM PAGE · header  — large numbered system intro
   ========================================================================== */
.la-system-head {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(32px, 4vw, 48px);
}
.la-system-head__index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.la-system-head__title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 12ch;
}
.la-system-head__intro {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 20px 0 0;
}

/* SYSTEM PAGE · child-topic grid — 3-up cards routing to leaf pages */
/* ==========================================================================
   SYSTEM PAGE · editorial index — the five children as a vertical sequence
   of full-width rows, not a boxed card grid. No frame; hairline rules and
   generous air do the work. Reads like the contents of a finely-made book.
   Respects that the children are a progression, not a flat set.
   ========================================================================== */
.la-index {
  border-top: 0.5px solid var(--line);
}
.la-index__row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 4px;
  border-bottom: 0.5px solid var(--line);
  transition: background 0.3s ease;
}
.la-index__row:hover { background: var(--bone-deep); }
/* the large quiet number in the margin */
.la-index__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1;
  color: var(--gold);
}
.la-index__body { min-width: 0; }
.la-index__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
}
.la-index__desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
  max-width: 54ch;
}
/* the route-in — aligned to the row, gold, appears to lean forward on hover */
.la-index__more {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 0.5em;
  transition: color 0.2s ease;
}
.la-index__row:hover .la-index__more { color: var(--gold-bright); }
.la-index__more span {
  display: inline-block;
  transition: transform 0.25s ease;
}
.la-index__row:hover .la-index__more span { transform: translateX(4px); }

@media (max-width: 640px) {
  .la-index__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .la-index__num { font-size: 1.5rem; }
  .la-index__more { padding-top: 6px; }
}
/* topic grid is flex with a fixed basis — it reflows by available width
   automatically, so no column-count breakpoints are needed. */

/* SYSTEM PAGE · section heading — for stacking content sections */
.la-section-head {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter) clamp(20px, 2.5vw, 28px);
}
.la-section-head .la-eyebrow { display: block; margin-bottom: 12px; }

/* ==========================================================================
   IMAGE BLOCKS  — LuxeAutonomy is the most visual property in the network.
   In production, swap each .la-imgslot for a real <img> (or <picture> with
   responsive sources). The slot styling keeps placeholders on-brand.
   ========================================================================== */

/* edge-to-edge full-bleed image — breaks the content measure entirely.
   On narrow screens the height stays generous (does NOT squash to a sliver);
   for true art direction, serve a tighter-cropped file via <picture> so the
   subject still reads on mobile. The slot never letterboxes — that would
   kill the full-bleed effect — it crops, and the crop should be chosen. */
.la-img-bleed {
  width: 100%;
  margin: 0;
}
.la-img-bleed img,
.la-img-bleed .la-imgslot {
  width: 100%;
  height: clamp(280px, 46vw, 540px);
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  /* keep mobile height tall enough that a cover-crop still reads as a scene */
  .la-img-bleed img,
  .la-img-bleed .la-imgslot { height: clamp(360px, 78vw, 460px); }
}

/* ==========================================================================
   BLOCK · image-hero  — full-bleed image + scrim + overlaid text.
   The opening of a page. A bare full-bleed image is decoration; an
   image-hero carrying the eyebrow + serif tricolon + link IS the page.
   The scrim guarantees text legibility over any photograph.
   ========================================================================== */
.la-imghero {
  position: relative;
  width: 100%;
  min-height: clamp(440px, 64vh, 640px);
  display: flex;
  align-items: flex-end;          /* text sits bottom-left, editorial         */
  overflow: hidden;
}
.la-imghero img,
.la-imghero .la-imgslot {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* when a placeholder slot backs the hero, dim its label so it doesn't
   collide with the overlaid text. Vanishes entirely once a real <img> is in. */
.la-imghero .la-imgslot__ratio { display: none; }
.la-imghero .la-imgslot__note {
  position: absolute;
  top: 14px; right: 16px;
  max-width: 30ch;
  text-align: right;
  opacity: 0.5;
}
/* the scrim — tunable. Bottom-weighted so the photo stays visible up top
   while text gets contrast below. Adjust the stops, not the text color. */
.la-imghero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(20, 18, 15, 0.86) 0%,
    rgba(20, 18, 15, 0.52) 32%,
    rgba(20, 18, 15, 0.12) 62%,
    rgba(20, 18, 15, 0.30) 100%   /* slight top wash keeps the masthead edge clean */
  );
}
.la-imghero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--measure);
  margin: 0 auto;
  width: 100%;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}
.la-imghero .la-eyebrow {
  color: var(--gold-bright);
  display: block;
  margin-bottom: 18px;
}
/* the tricolon headline — serif, on the image, in bone */
.la-imghero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink-onDark);
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.la-imghero__sub {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
  color: var(--ink-onDark-soft);
  max-width: 46ch;
  margin: 16px 0 0;
}
/* inline link inside the hero sub — e.g. the coined term linking to its
   definitional page. Gold underline, light text, legible over the scrim. */
.la-imghero__sub a {
  color: var(--ink-onDark);
  border-bottom: 1px solid var(--gold-bright);
  transition: color 0.2s ease;
}
.la-imghero__sub a:hover { color: var(--gold-bright); }
.la-imghero .la-link {
  color: var(--ink-onDark);
  border-bottom-color: var(--gold-bright);
  margin-top: 26px;
}
.la-imghero .la-link:hover { color: var(--gold-bright); }
@media (max-width: 600px) {
  .la-imghero { min-height: clamp(480px, 86vh, 600px); }
}

/* contained figure — sits within the content measure, with optional caption */
.la-figure {
  margin: clamp(28px, 4vw, 44px) 0;
}
.la-figure img,
.la-figure .la-imgslot {
  width: 100%;
  height: clamp(220px, 32vw, 380px);
  object-fit: cover;
  display: block;
  border-radius: 2px;
}
.la-figure figcaption {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  margin-top: 10px;
  padding-left: 2px;
}

/* placeholder appearance — labeled, on-brand; remove once real images land */
.la-imgslot {
  background:
    repeating-linear-gradient(45deg,
      rgba(46,42,36,0.035) 0 14px,
      rgba(46,42,36,0.06) 14px 28px),
    var(--bone-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
}
.la-imgslot__ratio {
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 30px);
  color: var(--ink-soft);
}
.la-imgslot__note {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  max-width: 38ch;
  line-height: 1.7;
}
.la-imgslot--dark {
  background:
    repeating-linear-gradient(45deg,
      rgba(244,241,234,0.04) 0 14px,
      rgba(244,241,234,0.07) 14px 28px),
    var(--espresso-2);
}
.la-imgslot--dark .la-imgslot__ratio { color: var(--ink-onDark-soft); }
.la-imgslot--dark .la-imgslot__note  { color: var(--gold-bright); }

/* ==========================================================================
   BLOCK · back-to-top  — fixed gold-hairline control, appears on scroll
   ========================================================================== */
.la-totop {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--espresso);
  border: 0.5px solid var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.la-totop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.la-totop:hover { background: var(--espresso-2); }
.la-totop svg { width: 15px; height: 15px; }
.la-totop svg path { stroke: var(--gold-bright); }

/* ==========================================================================
   CATALOG / PROFILE PAGE  — presents one object (a car, a yacht) in full.
   A third archetype, distinct from hub pages (route down) and article pages
   (long-form prose). Full-width beauty hero + gallery + restrained editorial
   spec list + context prose + sibling navigation.
   The spec list is deliberately NOT a dense data table — that register
   belongs to ElectronsX. Few figures, beautifully set, luxury-brochure feel.
   ========================================================================== */

/* PROFILE · hero — full-bleed beauty shot, object name overlaid.
   Reuses .la-imghero structure; this is the one scrutinized image on the
   page and wants real reworked photography, not AI ambience. */
.la-profile-hero { /* applied alongside .la-imghero */ }
.la-profile-hero .la-imghero__title { max-width: 20ch; }
.la-profile-eyebrow { /* the class/segment line above the model name */ }

/* PROFILE · the at-a-glance spec strip — a few headline figures, serif,
   set wide and airy. Sits directly under the hero. */
.la-spec-strip {
  background: var(--bone);
}
.la-spec-strip__inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) var(--gutter);
}
.la-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
}
.la-spec {
  background: var(--bone);
  padding: clamp(20px, 2.6vw, 28px) clamp(16px, 2vw, 24px);
  text-align: center;
}
.la-spec__value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
}
.la-spec__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
}
@media (max-width: 760px) { .la-spec-grid { grid-template-columns: repeat(2, 1fr); } }

/* PROFILE · body wrap — a measured column for context prose + detail list */
.la-profile {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* PROFILE · gallery — labeled thumbnail grid (Side / Front / Rear / Interior).
   Static placeholder grid for now; lightbox is a future enhancement. */
.la-gallery {
  padding: clamp(36px, 5vw, 56px) 0 clamp(20px, 3vw, 32px);
}
.la-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5px;
  background: var(--line);
  border: 0.5px solid var(--line);
}
.la-gallery__item {
  background: var(--bone);
  position: relative;
  cursor: pointer;                 /* future: opens lightbox */
}
.la-gallery__item img,
.la-gallery__item .la-imgslot {
  width: 100%;
  height: clamp(200px, 26vw, 320px);
  object-fit: cover;
  display: block;
}
.la-gallery__caption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-onDark);
  background: rgba(20,18,15,0.62);
  padding: 5px 11px;
  border-radius: 3px;
}
@media (max-width: 600px) { .la-gallery__grid { grid-template-columns: 1fr; } }

/* PROFILE · detail list — the fuller spec set, as an editorial definition
   list: hairline-separated rows, label left, value right. NOT a data table. */
.la-detail-list {
  border-top: 0.5px solid var(--line);
  margin: clamp(28px, 4vw, 40px) 0;
}
.la-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 2px;
  border-bottom: 0.5px solid var(--line);
}
.la-detail-row dt {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
.la-detail-row dd {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0;
  text-align: right;
}

/* PROFILE · context prose — short editorial passage, not long-form */
.la-profile__prose {
  padding: clamp(8px, 2vw, 16px) 0 clamp(28px, 4vw, 40px);
}
.la-profile__prose p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.2em;
  max-width: 62ch;
}

/* PROFILE · sibling nav — route sideways to other models in the set */
.la-siblings {
  border-top: 0.5px solid var(--line);
  padding: 26px 0 8px;
}
.la-siblings__label { display: block; margin-bottom: 12px; }
.la-siblings__links {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.la-siblings__links a { transition: color 0.2s ease; }
.la-siblings__links a:hover { color: var(--gold); }
.la-siblings__sep { color: var(--line); margin: 0 10px; }

/* ==========================================================================
   PROFILE · exclusivity block — rarity, not cost.
   For this demographic a number reads as RANK, not price. Production count
   and availability are the status signals; price, if shown at all, is one
   plain fact among facts — never a headline. Generalizes to yachts, eVTOLs,
   villas: anything with a "how rare is this" story.
   ========================================================================== */
.la-exclusivity {
  background: var(--espresso);
  color: var(--ink-onDark);
  border-radius: 6px;
  padding: clamp(26px, 3.5vw, 38px) clamp(24px, 3vw, 36px);
  margin: clamp(28px, 4vw, 40px) 0;
}
.la-exclusivity .la-eyebrow {
  color: var(--gold-bright);
  display: block;
  margin-bottom: 22px;
}
.la-exclusivity__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.la-rarity__value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  color: var(--ink-onDark);
}
.la-rarity__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 10px;
}
/* the positioning line — one sentence of provenance, spans the block */
.la-exclusivity__note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink-onDark-soft);
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 0.5px solid var(--line-onDark);
}
@media (max-width: 600px) {
  .la-exclusivity__grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ==========================================================================
   JOURNAL · filter row — system filters for the Journal index.
   Static visual element for now; live filtering is a later JS enhancement.
   ========================================================================== */
.la-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: clamp(20px, 3vw, 28px) 0 clamp(28px, 4vw, 36px);
}
.la-filter__chip {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 16px;
  border: 0.5px solid var(--line);
  border-radius: 4px;
  background: var(--bone);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.la-filter__chip:hover {
  color: var(--gold);
  border-color: var(--gold);
}
/* the active filter — gold-anchored */
.la-filter__chip--active {
  color: var(--bone);
  background: var(--gold);
  border-color: var(--gold);
}
.la-filter__chip--active:hover {
  color: var(--bone);
}

/* ==========================================================================
   SITEMAP · two-column, pillar-grouped index. Mirrors the site tree:
   each section is a linked parent with its children listed beneath.
   ========================================================================== */
.la-sitemap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(40px, 6vw, 64px);
  columns: 2;
  column-gap: clamp(32px, 6vw, 72px);
}
.la-sitemap__section {
  break-inside: avoid;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.la-sitemap__section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 4px;
}
.la-sitemap__section h2 a {
  color: var(--ink);
  transition: color 0.2s ease;
}
.la-sitemap__section h2 a:hover { color: var(--gold); }
/* short gold rule under each section title */
.la-sitemap__section h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 10px 0 14px;
}
.la-sitemap__links a {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 5px 0;
  transition: color 0.2s ease;
}
.la-sitemap__links a:hover { color: var(--gold); }
@media (max-width: 680px) {
  .la-sitemap { columns: 1; }
}

/* footer utility row — thin line of utility links (Legal, Sitemap, Contact)
   sits between the footer columns and the copyright/network line. */
.la-footer__utility {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.la-footer__utility a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-onDark-soft);
  transition: color 0.2s ease;
}
.la-footer__utility a:hover { color: var(--gold-bright); }

/* ==========================================================================
   SCAN ANCHORS — for the expert skimmer. When a paragraph defines a named
   item (a class, a domain, a list entry) and that term leads the paragraph,
   it must jump out on a 20-second scan: weight + sans + size + ink-strong,
   so the eye catches every item in a set without reading the explanations.

   Usage: wrap the lead term in <span class="la-lead">Term</span> at the
   start of the paragraph. Strong, not faint.
   ========================================================================== */
.la-article__body .la-lead {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.04em;
  letter-spacing: 0.01em;
  color: #1a1714;
}

/* a scan-list — a set of defined items. Each row leads with .la-lead and a
   hairline separates them, so a set of 3–5 reads as a list at a glance while
   still carrying full-sentence explanations (advisor register, not bullets). */
.la-scanlist { margin: 1.6em 0; }
.la-scanlist__item {
  padding: 0.9em 0;
  border-top: 0.5px solid var(--line);
}
.la-scanlist__item:last-child { border-bottom: 0.5px solid var(--line); }
.la-scanlist__item p {
  margin: 0 !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}
/* the lead term inside a scanlist gets a touch more presence + gold tick */
.la-scanlist .la-lead {
  display: inline-block;
  margin-bottom: 0.15em;
}
