/* Aurelius Design System — component classes
   Copied from the ground-truth styleguide (uploads/aurelius-styleguide.html,
   extracted from "Template - Aurelius Overview - 0.2.pptx").
   Use these .au-* classes directly in any page that links styles.css. */

/* ==========================================================================
   TYPOGRAPHY COMPONENTS
   ========================================================================== */

/* Cover wordmark — oversized, tightest tracking */
.au-display {
  font-size: var(--au-text-display);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-display);
  line-height: 1.0;
  color: var(--au-black);
}

/* Page title — always the "Product—Descriptor" em-dash pattern */
.au-title {
  font-size: var(--au-text-title);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-display);
  line-height: var(--au-leading-title);
  color: var(--au-black);
}

/* Slash title — "Aurelius  //  Identity" divider slides */
.au-title-slash {
  font-size: var(--au-text-title);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-display);
  color: var(--au-black);
}
.au-title-slash .au-slash { color: var(--au-red); padding: 0 0.35em; font-weight: var(--au-w-regular); }

/* Standfirst / lead paragraph */
.au-lead {
  font-size: var(--au-text-subtitle);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-tight);
  line-height: 1.4;
  color: var(--au-black);
}

/* Uppercase section label — "INTRODUCTION", "CAPABILITY CORES" (bold) */
.au-label {
  font-size: var(--au-text-label);
  font-weight: 700;
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
}

/* Kicker — "AURELIUS — COMPANY OVERVIEW" (em-dash separated, regular weight) */
.au-kicker {
  font-size: var(--au-text-label);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
  display: flex; align-items: center; gap: var(--au-s3);
}
.au-kicker .sep { color: var(--au-carbon); font-weight: var(--au-w-regular); }

/* ==========================================================================
   PAGE CHROME — header + footer bars
   ========================================================================== */
.au-pagehead {
  border-top: var(--au-rule);
  padding-top: var(--au-s2);
  display: flex; justify-content: space-between; align-items: center;
}
.au-pagefoot {
  border-top: var(--au-rule);
  padding-top: var(--au-s2);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--au-text-micro);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
}
/* "//" separators are black in the deck — red is reserved for signal accents */
.au-pagefoot .sep { padding: 0 var(--au-s2); }

/* Brand glyph — "()" broken-circle mark, set heavy and tight */
.au-glyph { font-weight: 700; font-size: 1.05rem; color: var(--au-black); letter-spacing: -0.18em; }

/* ==========================================================================
   PILLS & CHIPS
   ========================================================================== */

/* Solid pill badge — header right slot: "AURELIUS", "OPTIONS", "EST—2021" */
.au-pill {
  display: inline-block;
  background: var(--au-carbon);
  color: var(--au-white);
  font-size: var(--au-text-micro);
  font-weight: var(--au-w-medium);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
}
.au-dark .au-pill { background: var(--au-white); color: var(--au-ink); }
.au-pill--red { background: var(--au-red); color: var(--au-white); }

/* Outline chip — capability tags. Gray stroke, near-black text, regular weight */
.au-chip {
  display: inline-block;
  border: 1px solid #595959;
  color: var(--au-black);
  font-size: var(--au-text-label);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 999px;
  background: transparent;
}
.au-dark .au-chip { border-color: #8A8D93; }
.au-chipset { display: flex; flex-wrap: wrap; gap: var(--au-s2) var(--au-s2); }

/* ==========================================================================
   DEFINITION TABLE — term left, bold heading + description right
   ========================================================================== */
.au-def { width: 100%; }
.au-def .au-def-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--au-s4);
  border-top: var(--au-rule);
  padding: var(--au-s2) 0 var(--au-s4);
}
.au-def .au-def-term {
  font-size: var(--au-text-label);
  font-weight: var(--au-w-semibold);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
  padding-top: 2px;
}
.au-def .au-def-head {
  font-size: var(--au-text-small);
  font-weight: var(--au-w-semibold);
  color: var(--au-black);
  margin-bottom: 2px;
}
.au-def .au-def-body {
  font-size: var(--au-text-small);
  color: var(--au-carbon);
  line-height: 1.45;
}

/* ==========================================================================
   TABLE OF CONTENTS — numbered rows with hairlines
   ========================================================================== */
.au-toc { list-style: none; margin: 0; padding: 0; }
.au-toc li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--au-s4);
  border-top: var(--au-rule-hair);
  padding: var(--au-s2) 0;
  font-size: var(--au-text-small);
  color: var(--au-black);
}
.au-toc li:last-child { border-bottom: var(--au-rule-hair); }
.au-toc .num { font-weight: var(--au-w-medium); color: var(--au-carbon); }
.au-toc .sub { color: var(--au-carbon); }
.au-toc .sub::before { content: "—"; padding: 0 0.4em 0 0.15em; }

/* ==========================================================================
   CONTEXT LABEL — bold caps title + em-dash sub-line, hairline beneath
   ========================================================================== */
.au-context { border-bottom: 1px solid var(--au-carbon); padding-bottom: var(--au-s2); }
.au-context-title {
  font-size: var(--au-text-label);
  font-weight: 700;
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
}
.au-context-sub {
  font-size: var(--au-text-label);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-carbon);
  margin-top: 2px;
}

/* ==========================================================================
   STAT LIST — compact rows: bold value inline with regular label
   ========================================================================== */
.au-statlist .au-statlist-head {
  font-size: var(--au-text-label);
  font-weight: 700;
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
  border-bottom: 1px solid var(--au-carbon);
  padding-bottom: var(--au-s2);
}
.au-statlist .au-stat-row {
  font-size: var(--au-text-small);
  color: var(--au-carbon);
  border-bottom: var(--au-rule-hair);
  padding: var(--au-s2) 0;
}
.au-statlist .au-stat-row b {
  font-weight: 700;
  color: var(--au-black);
}
.au-statgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--au-s6); }

/* ==========================================================================
   EFFECT CARD — notched top-right corner, ghost layers stacked right.
   Geometry from deck XML: snip1Rect 85×56.7px, 9.45px corner snip,
   ghost layers stepped (+2.35, −1.5)px. Inline SVG paths; vector-effect
   keeps strokes 1px at any size.
   ========================================================================== */
.au-fx {
  position: relative;
  display: inline-block;
  width: 180px; /* 2× deck scale; change freely — strokes stay 1px */
}
.au-fx svg { display: block; width: 100%; height: auto; }
.au-fx path {
  fill: var(--au-paper);
  stroke: var(--au-carbon);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.au-fx-body {
  position: absolute;
  left: 0; top: 5.03%;
  width: 94.76%; height: 94.97%;
  padding: 9% 8%;
  display: flex; flex-direction: column; justify-content: space-between;
}
.au-card-title {
  font-size: var(--au-text-label);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
}
.au-card-link {
  font-size: var(--au-text-small);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-tight);
  color: var(--au-black);
  text-decoration: none;
}
.au-card-link .arrow { padding-left: 0.4em; }
.au-card-link:hover .arrow { color: var(--au-red); }

/* ==========================================================================
   SLIDE TEMPLATE — pixel-exact, extracted from the deck XML.
   Page: A4 landscape = 1122.2 × 793.0 px @96dpi.
   Two columns: left x=37.5, right x=598.6, each 484.8 wide (gutter 76.3).
   Header rule y=32 (per column) · kicker y=42.1 · pill 62.2×16.8 y=40.2
   Footer rule y=746.4 · footer text y=760.2
   Body 9pt=12px · titles 27.2px · chips h=16.8, 0.75pt stroke
   ========================================================================== */
.au-slide {
  position: relative;
  width: 1122.2px; height: 793px;
  background: var(--au-paper);
  font-family: var(--au-font);
  font-size: 12px;              /* 9pt body at true scale */
  line-height: 1.45;
  letter-spacing: var(--au-track-tight);
  color: var(--au-carbon);
  overflow: hidden;
}
.au-slide .au-col { position: absolute; width: 484.8px; top: 0; height: 793px; }
.au-slide .au-col-l { left: 37.5px; }
.au-slide .au-col-r { left: 598.6px; }
/* Full-width column variant (spans both columns) */
.au-slide .au-col-full { left: 37.5px; width: 1045.9px; }
/* Chrome — exact y positions */
.au-slide .au-shead { position: absolute; top: 32px; left: 0; right: 0; border-top: 1px solid var(--au-black); }
.au-slide .au-shead .au-kicker { position: absolute; top: 10.1px; left: 0; font-size: 10.7px; }
.au-slide .au-shead .au-pill   { position: absolute; top: 8.2px; right: 0; height: 16.8px; line-height: 16.8px; padding: 0 12px; font-size: 8.6px; }
.au-slide .au-shead .au-glyph  { position: absolute; top: 10.1px; right: 0; font-size: 13px; }
.au-slide .au-sfoot { position: absolute; top: 746.4px; left: 0; right: 0; border-top: 1px solid var(--au-black); }
.au-slide .au-sfoot .au-sfoot-row {
  position: absolute; top: 13.8px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  font-size: 10.7px; letter-spacing: var(--au-track-caps); text-transform: uppercase; color: var(--au-black);
}
.au-slide .au-scontent { position: absolute; top: 71px; left: 0; right: 0; }
.au-slide .au-title { font-size: 27.2px; }
.au-slide .au-label { font-size: 10.7px; }
.au-slide .au-chip  { font-size: 8.7px; height: 16.8px; line-height: 14.8px; padding: 0 10px; }
.au-slide p + p { margin-top: 0.9em; }

/* ==========================================================================
   PHOTO FEATURE CARDS — slide 7 geometry: three cards 337×388.6,
   18.1px gap, 14px radius, fill #E1E1E1; photo tops the card.
   ========================================================================== */
.au-photocards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.au-photocard {
  background: #E1E1E1;
  border-radius: 14px;
  padding-bottom: 28px;
}
.au-dark .au-photocard { background: #2A2D31; }
.au-photocard img { display: block; width: 100%; height: auto; margin-top: -4px; }
.au-photocard .au-photocard-body { padding: 10px 24px 0; }
.au-photocard .au-label { margin-bottom: 12px; }
.au-photocard p { font-size: 1rem; line-height: 1.4; color: var(--au-black); letter-spacing: var(--au-track-tight); }

/* ==========================================================================
   DIAGRAM KIT — architecture-slide language (slide 6)
   ========================================================================== */
.au-diagram {
  position: relative; z-index: 0;
  background: #C1C2BC;
  border-radius: 16px;
  padding: 24px;
}
.au-diagram .au-label { margin-bottom: 14px; }
.au-dgroup {
  border: 1px dashed #83847E;
  border-radius: 10px;
  padding: 18px 16px;
}
.au-node {
  position: relative;
  display: inline-block;
  background: #D6D7D2;
  border: 1px solid var(--au-carbon);
  font-size: var(--au-text-micro);
  font-weight: var(--au-w-regular);
  letter-spacing: var(--au-track-caps);
  text-transform: uppercase;
  color: var(--au-black);
  padding: 7px 18px;
  margin-right: 5px;
}
.au-node::before, .au-node::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--au-carbon);
  background: #D6D7D2;
  border-radius: inherit;
  z-index: -1;
}
.au-node::before { transform: translateX(5px); }
.au-node::after  { transform: translateX(2.5px); }
.au-node--pill { border-radius: 999px; }
.au-node--rect { border-radius: 2px; }
.au-dflow { text-align: center; }
.au-dflow .au-dflow-rows { color: #96978F; font-size: 11px; letter-spacing: 4px; line-height: 1.9; white-space: nowrap; }
.au-dflow .au-dflow-label { font-size: var(--au-text-micro); letter-spacing: var(--au-track-caps); text-transform: uppercase; color: var(--au-black); margin: 6px 0; }
.au-dstack {
  position: relative;
  background: #EBECE7;
  border: 1px solid var(--au-carbon);
  padding: 16px 18px;
  margin: 8px 8px 0 0;
}
.au-dstack::before, .au-dstack::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--au-carbon);
  background: #EBECE7;
  z-index: -1;
}
.au-dstack::before { transform: translate(8px, -8px); }
.au-dstack::after  { transform: translate(4px, -4px); }
.au-dstack .au-dstack-title { font-size: var(--au-text-label); font-weight: 700; letter-spacing: var(--au-track-caps); text-transform: uppercase; color: var(--au-black); margin-bottom: 10px; }
.au-dstack .au-dstack-row { font-size: var(--au-text-small); color: var(--au-black); padding: 4px 0; }
.au-dstack .au-dstack-arrow { margin-top: 10px; font-size: var(--au-text-small); }
