@charset "UTF-8";
/* =========================================
   Alessandro L. Piana Bianco — Static prototype
   Sprint 3 — v0.4 (rebuild)
   Notes:
   - Self-hosted fonts: /assets/fonts/
   - No framework, no templates, no build output dependencies
========================================= */
/* ---- Fonts (self-hosted) ----
   Update filenames to match your real font files in /assets/fonts/
   This prototype assumes Switzer variable. Fallbacks are system fonts.
*/
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Switzer";
  src: url("../fonts/Switzer-VariableItalic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --bg: #f4f3ef;
  --bg-2: #efeeea;
  --text: #0b0b0c;
  --muted: #5b5b5f;
  --muted-2:#77777c;
  --line: rgba(11,11,12,.12);
  --line-strong: rgba(11,11,12,.20);
  --tile: #d6d4cf;
  --tile-2: #e7e5e0;
  --tile-dark: #0b0b0c;
  --tile-dark-2: #141416;
  --accent: #e0001b;
  --font-sans: "Switzer", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --radius-1: 14px;
  --radius-2: 22px;
  --container: 1120px;
  /* Typography measures (Tufte-ish line lengths) */
  --measure: 72ch;
  --measure-wide: 92ch;
  --measure-tight: 62ch;
  --topbar-h: 64px;
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --space-8: 64px;
  --space-9: 88px;
  --space-10: 80px;
  /* Type scale + rhythm */
  --fs-display: clamp(52px, 8vw, 96px);
  --fs-page: clamp(44px, 5vw, 72px);
  --fs-section: clamp(28px, 3.6vw, 52px);
  --fs-title: clamp(20px, 2.4vw, 28px);
  --fs-body-lg: clamp(18px, 1.1vw, 19px);
  --fs-body: 16px;
  --fs-body-sm: 14px;
  --fs-body-xs: 12px;
  --lh-display: 1.02;
  --lh-tight: 1.1;
  --lh-body: 1.65;
  --lh-body-lg: 1.6;
  --fw-regular: 420;
  --fw-medium: 520;
  --fw-semibold: 620;
  --fw-bold: 700;
  /* Light, blurred elevation (used on buttons and hero mosaic) */
  --shadow-soft: 0 8px 18px rgba(11,11,12,.07);
  --shadow-soft-sm: 0 4px 12px rgba(11,11,12,.05);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html, body {
  /* Prevent accidental horizontal scrolling on small screens (long URLs, shadows, etc.) */
  overflow-x: hidden;
  /* `clip` prevents a scrollable overflow area in modern browsers (fallback remains `hidden`). */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-regular);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Sticky footer: keep the footer at the bottom on short pages */
  min-height: 100vh;
  height: auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(11, 11, 12, 0.32);
  transition: text-decoration-color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  text-decoration-color: rgba(11, 11, 12, 0.75);
}

/* Usability: enlarge link hit area without visual changes */
a[href] {
  position: relative;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a[href]::after {
  content: "";
  position: absolute;
  inset: -0.25rem;
}

/* Link styling exceptions (navigation + buttons use their own affordances) */
.btn,
.btn:hover,
.tile__link,
.tile__link:hover,
.menu__nav > a,
.menu__nav > a:hover,
.brand__name,
.pill,
.pill:hover,
.menuBtn,
.contactCard__item {
  text-decoration: none;
}

.contactBand a {
  text-decoration-color: rgba(255, 255, 255, 0.38);
}

.contactBand a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.86);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

@media (min-width: 1280px) {
  :root {
    --container: 1280px;
  }
}
/* -----------------------------------------
   Topbar
----------------------------------------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 50;
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand__name {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.brand__tagline {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

/* Desktop: make name more prominent */
@media (min-width: 980px) {
  .brand__name {
    font-size: 15px;
    letter-spacing: 0.13em;
  }
  .brand__tagline {
    font-size: 13px;
  }
}
@media (min-width: 1280px) {
  .brand__name {
    font-size: 16px;
  }
}
.menuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.menuBtn:hover,
.menuBtn:active {
  background: transparent;
}

.menuBtn:focus {
  outline: none;
}

.menuBtn:focus-visible {
  outline: none;
}

.menuBtn__label {
  display: none;
}

.menuBtn__icon {
  width: 18px;
  height: 20px;
  position: relative;
}

.menuBtn__icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
  transform-origin: center;
}

.menuBtn__icon span:nth-child(1) {
  top: 3px;
}

.menuBtn__icon span:nth-child(2) {
  top: 9px;
  opacity: 0.9;
}

.menuBtn__icon span:nth-child(3) {
  bottom: 3px;
  opacity: 0.8;
}

/* Optional: morph burger into an X when menu is open */
html.is-menu-open .menuBtn__icon span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

html.is-menu-open .menuBtn__icon span:nth-child(2) {
  opacity: 0;
}

html.is-menu-open .menuBtn__icon span:nth-child(3) {
  bottom: auto;
  top: 9px;
  transform: rotate(-45deg);
  opacity: 1;
}

/* -----------------------------------------
   Menu overlay
----------------------------------------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none; /* default closed */
  /* Keep the backdrop transparent so the page remains visible on desktop.
     The actual menu panel is fully opaque. */
  background: transparent;
  color: var(--bg);
}

html.is-menu-open .menu {
  display: flex;
  justify-content: flex-end;
}

.menu__panel {
  width: 100%; /* mobile default: full screen */
  height: 100%;
  background: var(--tile-dark);
  border: 0;
  padding: clamp(18px, 3.5vw, 56px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

/* Desktop: slide-in panel covering half the viewport (as per spec). */
@media (min-width: 980px) {
  .menu__panel {
    width: 50vw;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  }
}
/* Subtle slide-in motion when the menu opens */
@keyframes menuPanelIn {
  from {
    transform: translateX(100%);
    opacity: 0.98;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
html.is-menu-open .menu__panel {
  animation: menuPanelIn 260ms cubic-bezier(0.22, 0.8, 0.24, 1) both;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-4);
}

.menu__title {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.68);
}

.menu__close {
  appearance: none;
  border: 1px solid rgba(244, 243, 239, 0.22);
  background: transparent;
  color: rgba(244, 243, 239, 0.92);
  border-radius: 999px;
  padding: 10px 12px;
  cursor: pointer;
}

.menu__close:hover {
  border-color: rgba(11, 11, 12, 0.26);
}

.menu__nav {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 14px;
  align-content: start;
}

.menu__nav > a {
  padding: 0;
  border-bottom: 0;
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 650;
  letter-spacing: -0.02em;
  width: max-content;
  color: rgba(244, 243, 239, 0.96);
  text-decoration: none;
}

/* Active menu item (current page): styled like a menu item, but not a link */
.menu__nav > .menu__active {
  padding: 0;
  border-bottom: 0;
  font-size: clamp(28px, 3.3vw, 44px);
  font-weight: 650;
  letter-spacing: -0.02em;
  width: max-content;
  color: var(--accent);
  text-decoration: none;
}

.menu__nav > a.menu__email {
  margin-top: var(--space-6);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(244, 243, 239, 0.86);
}

.menu__nav > a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

.menu__nav > a:focus-visible {
  outline: 2px solid rgba(244, 243, 239, 0.55);
  outline-offset: 4px;
}

.menu__contact {
  margin-top: var(--space-6);
  font-size: 14px;
  color: rgba(244, 243, 239, 0.72);
  line-height: 1.4;
}

.menu__contactLabel {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.68);
}

.menu__contactSep {
  opacity: 0.55;
  margin: 0 6px;
}

.menu__contactEmail {
  color: rgba(244, 243, 239, 0.92);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu__meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(244, 243, 239, 0.72);
}

.menu__meta a {
  color: rgba(244, 243, 239, 0.92);
  text-decoration: underline;
}

.menu__meta a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* -----------------------------------------
   Client access (menu)
----------------------------------------- */
.menu__client {
  margin-top: var(--space-5);
  width: 100%;
  padding-top: var(--space-5);
  border-top: 1px solid rgba(244, 243, 239, 0.16);
}

.clientAccess {
  width: 100%;
}

.clientAccess > summary {
  list-style: none;
}

.clientAccess > summary::-webkit-details-marker {
  display: none;
}

.clientAccess__summary {
  cursor: pointer;
  width: max-content;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.68);
  user-select: none;
}

.clientAccess[open] .clientAccess__summary {
  color: rgba(244, 243, 239, 0.86);
}

.clientAccess__form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
  width: min(360px, 100%);
}

.clientAccess__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(244, 243, 239, 0.72);
}

.clientAccess__hint + .clientAccess__hint {
  margin-top: 8px;
}

.clientAccess__hint code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(244, 243, 239, 0.9);
}

.clientAccess__label {
  display: grid;
  gap: 6px;
}

.clientAccess__labelText {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 243, 239, 0.6);
}

.clientAccess__input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(244, 243, 239, 0.22);
  background: rgba(244, 243, 239, 0.06);
  color: rgba(244, 243, 239, 0.92);
  outline: none;
}

.clientAccess__input::placeholder {
  color: rgba(244, 243, 239, 0.45);
}

.clientAccess__input:focus {
  box-shadow: 0 0 0 3px rgba(224, 0, 27, 0.22);
  border-color: rgba(224, 0, 27, 0.55);
}

.clientAccess__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.clientAccess__btn {
  appearance: none;
  border: 1px solid rgba(244, 243, 239, 0.22);
  background: transparent;
  color: rgba(244, 243, 239, 0.92);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.clientAccess__btn:hover {
  border-color: rgba(224, 0, 27, 0.65);
  color: rgba(244, 243, 239, 0.96);
}

.clientAccess__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.clientAccess__error {
  margin: 0;
  font-size: 13px;
  color: rgba(244, 243, 239, 0.86);
}

.clientAccess__logoutBtn {
  appearance: none;
  border: 1px solid rgba(224, 0, 27, 0.85);
  background: rgba(224, 0, 27, 0.16);
  color: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  cursor: pointer;
}

.clientAccess__logoutBtn:hover {
  background: rgba(224, 0, 27, 0.26);
}

@media (max-width: 900px) {
  .menu__panel {
    padding: clamp(14px, 4vw, 24px);
    gap: var(--space-5);
  }
  .menu__nav {
    gap: 10px;
  }
  .menu__nav > a {
    font-size: clamp(24px, 8vw, 34px);
  }
  .menu__nav > a.menu__email {
    margin-top: var(--space-4);
  }
  .menu__client {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
  }
  .clientAccess__form {
    margin-top: 10px;
    gap: 10px;
  }
}
[hidden] {
  display: none !important;
}

html.is-menu-open {
  overflow: hidden;
}

/* -----------------------------------------
   Hero
----------------------------------------- */
.hero {
  padding-top: calc(var(--topbar-h) + var(--space-8));
  padding-bottom: var(--space-9);
  position: relative;
}

/* Subtle desktop gridline field (point 3) */
@media (min-width: 980px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image: linear-gradient(to right, rgba(11, 11, 12, 0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(11, 11, 12, 0.06) 1px, transparent 1px);
    background-size: 160px 160px;
    mask-image: radial-gradient(circle at 30% 30%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0.92) 35%, rgba(0, 0, 0, 0) 78%);
  }
}
/* Subtle background pattern (desktop only) — used on Hire / Proof pages */
@media (min-width: 980px) {
  .pagePattern {
    position: relative;
  }
  .pagePattern::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.55;
    background-image: linear-gradient(rgba(11, 11, 12, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 12, 0.035) 1px, transparent 1px);
    background-size: 160px 160px;
    mask-image: radial-gradient(ellipse at 30% 30%, rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 70%);
  }
  .pagePattern > * {
    position: relative;
    z-index: 1;
  }
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
  position: relative;
  z-index: 1;
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 540px);
    gap: var(--space-8);
    align-items: start; /* top align */
  }
}
@media (min-width: 1280px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(520px, 600px); /* point 1 */
    gap: var(--space-9);
  }
}
.hero__copy {
  min-width: 0; /* important to prevent overlap */
}

.hero__mosaic {
  min-width: 0;
}

/* Home: mosaic flip toggle */
.mosaicWrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

.mosaicToggle {
  all: unset;
  box-sizing: border-box;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(11, 11, 12, 0.18);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-soft-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  font-family: inherit;
  font-weight: 700;
  font-variant-emoji: text;
  font-synthesis: none;
  color: rgba(11, 11, 12, 0.78);
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.mosaicToggle__icon {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  text-rendering: geometricPrecision;
  -webkit-text-stroke: 0.2px currentColor;
}

.mosaicToggle:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(11, 11, 12, 0.28);
  color: rgba(11, 11, 12, 0.92);
}

.mosaicToggle:focus-visible {
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

.mosaicFlip {
  width: 100%;
  perspective: 1200px;
}

.mosaicFlip__inner {
  display: grid;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mosaicWrap.is-flipped .mosaicFlip__inner {
  transform: rotateY(180deg);
}

.mosaicFlip__face {
  grid-area: 1/1;
  backface-visibility: hidden;
}

.mosaicFlip__face--back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(180deg);
  pointer-events: none;
}

.mosaicWrap.is-flipped .mosaicFlip__face--front {
  pointer-events: none;
}

.mosaicWrap.is-flipped .mosaicFlip__face--back {
  pointer-events: auto;
}

.mosaicPortrait {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: var(--radius-2);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.mosaicPortrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.kicker {
  font-size: var(--fs-body-xs);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: var(--fs-display); /* cap to prevent overlap */
  line-height: var(--lh-display);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-5);
  overflow-wrap: anywhere; /* safety */
}

.page h1 {
  font-size: var(--fs-page);
  line-height: var(--lh-tight);
}

.backLink + h1 {
  margin-top: var(--space-4);
}

.lede {
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 0 var(--space-6);
}

.hireLede {
  max-width: 78ch;
}

.hireLede--note {
  margin-top: var(--space-5);
}

@media (min-width: 980px) {
  .is-home .lede {
    max-width: 60ch;
  }
}
.hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(11, 11, 12, 0.18);
  box-shadow: var(--shadow-soft-sm);
  font-size: 14px;
  font-weight: 520;
  cursor: pointer;
  gap: 10px;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  filter: brightness(0.96);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: rgba(11, 11, 12, 0.32);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  box-shadow: var(--shadow-soft);
}

/* -----------------------------------------
   Mosaic (signature component)
----------------------------------------- */
.mosaic {
  background: var(--line-strong); /* gridlines via gap */
  border-radius: var(--radius-2);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: 1px;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 520px) {
  .mosaic {
    grid-auto-rows: minmax(110px, auto);
  }
}
@media (min-width: 680px) {
  .mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 980px) {
  .mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    /* Let the last row grow to fit the CTA tile copy */
    grid-template-rows: repeat(6, 118px) minmax(118px, auto);
    grid-auto-rows: unset;
  }
}
.tile {
  background: var(--tile);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
}

@media (max-width: 520px) {
  .tile {
    padding: 16px;
  }
}
/* Metric tiles (top row): keep value top-aligned */
.tile--metric {
  justify-content: flex-start;
}

.tile--metric .tile__value {
  margin-top: 0;
}

.tile--metric .tile__text {
  margin-top: 12px;
}

@media (max-width: 520px) {
  .tile--metric .tile__text {
    margin-top: 8px;
  }
}
.tile--metric .tile__value {
  font-size: clamp(22px, 5vw, 36px);
  line-height: 0.95;
}

.tile--metric .tile__value--sm {
  font-size: clamp(18px, 3.8vw, 26px);
  line-height: 0.95;
}

.tile--metric .tile__text {
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 980px) {
  .tile--metric .tile__text {
    font-size: 14px;
  }
}
.tile__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.tile__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(11, 11, 12, 0.62);
}

.tile--dark .tile__meta {
  color: rgba(255, 255, 255, 0.68);
}

.tile--accent .tile__meta {
  color: rgba(255, 255, 255, 0.76);
}

/* Metric tile “titles” (used when labels are removed) */
.tile__metricTitle {
  margin: 0 0 2px;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 650;
  color: rgba(11, 11, 12, 0.82);
}

.tile__value--sm {
  font-size: 28px;
  letter-spacing: -0.01em;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Focus tiles: body then CTA pinned at bottom */
.tile--focus {
  justify-content: flex-start;
  gap: var(--space-4);
}

.tile--focus .tile__link {
  margin-top: auto;
}

/* CTA tile */
.tile--cta {
  justify-content: flex-start;
  gap: var(--space-3);
}

.tile--cta .tile__link {
  margin-top: auto;
}

.tile--muted {
  background: #b9b7b2;
}

.tile--light {
  background: var(--tile-2);
}

.tile--dark {
  background: var(--tile-dark);
  color: rgba(255, 255, 255, 0.94);
}

.tile--accent {
  background: var(--accent);
  color: #fff;
}

.tile__kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(11, 11, 12, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.tile--dark .tile__kicker {
  color: rgba(255, 255, 255, 0.68);
}

.tile--accent .tile__kicker {
  color: rgba(255, 255, 255, 0.76);
}

.tile__value {
  margin: 0;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tile__value--fit {
  font-size: clamp(16px, 4.2vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: keep-all;
}

@media (min-width: 680px) {
  .tile__value--fit {
    white-space: nowrap;
  }
}
@media (max-width: 420px) {
  .tile__value--fit {
    font-size: 16px;
  }
}
/* Headline used in focus / CTA tiles */
.tile__headline {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 650;
}

/* Improve spacing between headline and body copy on focus tiles */
.tile__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tile__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(11, 11, 12, 0.7);
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.tile--dark .tile__text {
  color: rgba(255, 255, 255, 0.68);
}

.tile--accent .tile__text {
  color: #fff;
}

@media (min-width: 980px) {
  .tile__headline {
    font-size: 22px;
  }
  .tile-ax .tile__headline {
    font-size: 28px;
    line-height: 1.06;
  }
  .tile-ax .tile__text {
    font-size: 15px;
    line-height: 1.55;
  }
  .tile-ax .tile__body {
    gap: var(--space-4);
  }
  .tile__value--sm {
    font-size: 30px;
  }
}
.tile__link {
  margin-top: var(--space-4);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 1px solid transparent;
  width: fit-content;
  padding-bottom: 4px;
  opacity: 0.85;
  transition: opacity 0.15s ease, border-bottom-color 0.15s ease;
}

.tile__link:hover {
  opacity: 1;
  border-bottom-color: transparent;
}

.tile__linkArrow {
  color: inherit;
  transition: color 0.15s ease;
}

.tile__link:hover .tile__linkArrow {
  color: var(--accent);
}

.tile--accent .tile__link:hover .tile__linkArrow {
  color: #fff;
}

.tile__link:focus-visible {
  opacity: 1;
  border-bottom-color: currentColor;
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

.tile--dark .tile__link:focus-visible,
.tile--accent .tile__link:focus-visible {
  outline-color: rgba(255, 255, 255, 0.55);
}

/* Inline variant (e.g., “download now” inside a sentence) */
.tile__link--inline {
  margin-top: 0;
  padding-bottom: 2px;
}

/* Inline text link (normal typography) with the same hover affordance as “Explore” links */
.textLink {
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  opacity: 0.85;
  transition: opacity 0.15s ease, border-bottom-color 0.15s ease;
}

.textLink:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

.textLink--strong {
  font-weight: var(--fw-semibold);
  opacity: 1;
  border-bottom-color: currentColor;
}

.textLink--underline {
  opacity: 1;
  border-bottom-color: currentColor;
}

.textLink--underline:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}

.textLink--resume {
  color: inherit;
}

.textLink--resume:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.textLink:focus-visible {
  opacity: 1;
  border-bottom-color: currentColor;
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

/* Shared callout block (used for Proof / AX links) */
.callout {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
  max-width: var(--measure);
}

.callout__title {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-title);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.callout__text {
  margin: 0;
  color: rgba(11, 11, 12, 0.78);
  line-height: var(--lh-body);
  max-width: 68ch;
}

/* Layout utilities */
.stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

/* Mobile spans */
.tile--metric {
  grid-row: span 1;
}

.tile-ax {
  grid-column: 1/-1;
  grid-row: span 3;
}

.tile-sc {
  grid-column: 1/-1;
  grid-row: span 2;
}

.tile-id {
  grid-column: 1/-1;
  grid-row: span 2;
}

/* CTA tile needs a bit more height on mobile to avoid clipping the link */
.tile-work {
  grid-column: 1/-1;
  grid-row: span 2;
  padding-bottom: calc(var(--space-5) + 0.5rem);
}

@media (min-width: 680px) {
  .tile-ax {
    grid-column: 1/span 2;
  }
  .tile-sc {
    grid-column: 3/span 2;
  }
  .tile-id {
    grid-column: 3/span 2;
  }
  .tile-work {
    grid-column: 1/-1;
  }
}
/* Desktop explicit areas */
@media (min-width: 980px) {
  .tile-exp {
    grid-column: 1;
    grid-row: 1/span 2;
  }
  .tile-mkt {
    grid-column: 2;
    grid-row: 1/span 2;
  }
  .tile-fac {
    grid-column: 3;
    grid-row: 1/span 2;
  }
  .tile-lang {
    grid-column: 4;
    grid-row: 1/span 2;
  }
  .tile-ax {
    grid-column: 1/span 2;
    grid-row: 3/span 4;
  }
  .tile-sc {
    grid-column: 3/span 2;
    grid-row: 3/span 2;
  }
  .tile-id {
    grid-column: 3/span 2;
    grid-row: 5/span 2;
  }
  .tile-work {
    grid-column: 1/-1;
    grid-row: 7;
  }
}
/* -----------------------------------------
   Sections / cards
----------------------------------------- */
.section {
  padding: var(--space-9) 0;
  border-top: 1px solid rgba(11, 11, 12, 0.1);
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.section__title {
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-6);
}

.section__title--strong {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
}

.section__title--tight {
  margin-bottom: var(--space-1);
}

.section--flush {
  border-top: 0;
  padding-top: 0;
}

.section--compact {
  border-top: 0;
  padding-top: var(--space-6);
}

.section--tight {
  border-top: 0;
  padding-top: var(--space-7);
}

.section--spaced {
  border-top: 0;
  padding-top: var(--space-10);
}

.section--compactPad {
  border-top: 0;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
}

/* Home: executive section heading */
.sectionHead {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin: 0 0 var(--space-7);
}

@media (min-width: 860px) {
  .sectionHead {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
/* Force title + lede to stack (used for “How I create leverage” on desktop) */
.sectionHead--stack {
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 860px) {
  .sectionHead--stack {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
.sectionHead__title {
  margin: 0;
  font-size: var(--fs-section);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.03em;
}

.sectionHead__lede {
  margin: 0;
  color: var(--muted);
  line-height: var(--lh-body-lg);
  font-size: var(--fs-body);
  max-width: 60ch;
}

@media (min-width: 980px) {
  .sectionHead__lede {
    font-size: calc(var(--fs-body) + 1px);
  }
}
.leverageGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}

@media (min-width: 860px) {
  .leverageGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Desktop: 3-up for the 01–03 model, with résumé spanning the full row */
@media (min-width: 980px) {
  .leverageGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .leverageCard--resume {
    grid-column: 1/-1;
  }
}
.leverageCard {
  background: linear-gradient(155deg, rgba(11, 11, 12, 0.98) 0%, rgba(19, 19, 22, 0.95) 55%, rgba(28, 28, 32, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2);
  padding: clamp(24px, 2.8vw, 36px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 240px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.leverageCard::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(224, 0, 27, 0.35), rgba(224, 0, 27, 0) 70%);
  opacity: 0.8;
  pointer-events: none;
}

.leverageCard:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

/* Home: résumé block should feel like content, not a card */
.leverageCard--resume {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: inherit;
}

.leverageCard--resume:hover {
  box-shadow: none;
}

.leverageCard--resume::before,
.leverageCard--resume::after {
  content: none;
}

.leverageCard__kicker {
  margin: 0 0 var(--space-5);
  display: flex;
  gap: 12px;
  align-items: baseline;
  /* Prevent long labels from forcing horizontal scrolling on small screens */
  flex-wrap: wrap;
  min-width: 0;
}

.leverageCard__num {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.leverageCard__label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  min-width: 0;
  overflow-wrap: anywhere;
}

.leverageCard h3 {
  margin: 0 0 var(--space-3);
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.leverageCard p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  font-size: 15px;
}

.leverageCard--resume .keyPoints {
  margin-top: var(--space-5);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.card {
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: var(--radius-2);
  padding: var(--space-6);
}

.card--leverage {
  background: linear-gradient(155deg, rgba(11, 11, 12, 0.98) 0%, rgba(19, 19, 22, 0.95) 55%, rgba(28, 28, 32, 0.92) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2);
  padding: clamp(24px, 2.8vw, 36px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 240px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card--leverage::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(224, 0, 27, 0.35), rgba(224, 0, 27, 0) 70%);
  opacity: 0.8;
  pointer-events: none;
}

.card--leverage:hover {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.card--leverage .card__kicker {
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.7);
}

.card--leverage .card__title {
  color: #fff;
  font-weight: 650;
}

.card--leverage .card__lede,
.card--leverage .card__list,
.card--leverage .card__list li {
  color: rgba(255, 255, 255, 0.78);
}

.card--leverage .card__list {
  margin: var(--space-4) 0 0;
  padding-left: 18px;
}

.card--leverage a {
  color: rgba(255, 255, 255, 0.92);
}

.card__kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-3);
}

/* Hire-fit stack (shared on Hire + résumé) */
.hireFit {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  overflow: hidden;
}

.hireFit__head {
  background: var(--accent);
  color: #fff;
  padding: 14px 16px;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hireFit__item {
  background: var(--tile-dark);
  color: #fff;
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hireFit__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 650;
}

.hireFit__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.card h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-title);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 var(--space-5);
  color: var(--muted);
  line-height: 1.5;
}

/* -----------------------------------------
   Role pages + proof micro-utilities
----------------------------------------- */
.rpWrap {
  padding-top: calc(var(--topbar-h) + var(--space-8));
  padding-bottom: var(--space-9);
}

.rpHeader {
  display: flex;
  gap: var(--space-6);
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.rpHeader h1 {
  font-size: var(--fs-page);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  margin: 0 0 var(--space-4) 0;
}

.rpLede {
  max-width: var(--measure-wide);
}

.rpHeader .rpLede {
  margin-top: 0;
}

.rpGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-7);
}

@media (min-width: 980px) {
  .rpGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.rpCard {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  min-width: 0;
}

.rpKicker {
  font-size: var(--fs-body-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 11, 12, 0.55);
  font-weight: var(--fw-semibold);
}

.rpKicker--accent {
  color: var(--accent);
}

.rpCase {
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(11, 11, 12, 0.1);
}

.rpCase:first-child {
  border-top: 0;
  padding-top: 0;
}

[id^=cs-] {
  scroll-margin-top: calc(var(--topbar-h) + 2rem);
}

.pmCard {
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-5);
}

.pmCard h3 {
  margin: 8px 0 0;
  font-size: var(--fs-title);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
}

.pmKicker {
  font-size: var(--fs-body-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 11, 12, 0.55);
  font-weight: var(--fw-medium);
}

.pmList {
  margin: 0;
  padding-left: 16px;
}

.pmList li {
  margin: 6px 0;
}

.pmMuted {
  color: rgba(11, 11, 12, 0.62);
}

.pmSmall {
  font-size: var(--fs-body-sm);
  line-height: 1.35;
}

.pmNote {
  margin: 0 0 var(--space-4);
  max-width: 84ch;
}

.pmNote--spaced {
  margin: var(--space-5) 0 var(--space-4);
}

.pmNote--loose {
  margin: 0 0 var(--space-6);
}

.pmBtnSmall {
  padding: 10px 12px;
  font-size: var(--fs-body-sm);
}

.pmHireBlock {
  margin-top: var(--space-6);
}

/* Hire page — dark highlight card */
.hireCard--dark {
  background: var(--tile-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.hireCard--dark .card__kicker {
  color: rgba(255, 255, 255, 0.7);
}

.hireCard--dark h2 {
  color: rgba(255, 255, 255, 0.96);
}

.hireCard--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.hireFitList {
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hireFitList li {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pills--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.pills--spaced {
  margin-top: 14px;
  margin-bottom: var(--space-6);
}

.pills--top {
  margin-top: 14px;
}

.pills--top-sm {
  margin-top: 12px;
}

.pills--bottom {
  margin-bottom: var(--space-5);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0; /* spacing handled by strong margin */
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(11, 11, 12, 0.14);
  background: rgba(255, 255, 255, 0.3);
  font-size: 13px;
  color: rgba(11, 11, 12, 0.8);
}

.pill strong {
  font-weight: 650;
  display: inline-block;
  margin-right: 0.35em;
}

.pill span {
  color: rgba(11, 11, 12, 0.7);
}

/* Pills as links: no underline + accent hover */
a.pill {
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

a.pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft-sm);
}

a.pill:hover span {
  color: rgba(255, 255, 255, 0.82);
}

a.pill:hover strong {
  color: #fff;
}

a.pill:focus-visible {
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

/* -----------------------------------------
   Focus page: clean sections (no cards)
----------------------------------------- */
.focusList {
  margin-top: var(--space-7);
}

.focusItem {
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
  scroll-margin-top: calc(var(--topbar-h) + var(--space-6));
}

.focusItem:first-child {
  border-top: 0;
  padding-top: 0;
}

.focusItem__grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 860px) {
  .focusItem__grid {
    grid-template-columns: minmax(18ch, 24ch) minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }
}
.focusItem__kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-3);
}

.page--focus .focusItem__kicker {
  color: var(--accent);
}

.textLink--no-underline {
  border-bottom-color: transparent;
}

.textLink--no-underline:hover {
  border-bottom-color: transparent;
}

.textLink--arrow-hover .textLink__arrow {
  color: inherit;
}

.textLink--arrow-hover:hover .textLink__arrow {
  color: var(--accent);
}

.focusItem__title {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

.focusItem__body {
  min-width: 0;
}

.focusItem__lede {
  margin: 0 0 var(--space-5);
  color: rgba(11, 11, 12, 0.78);
  line-height: var(--lh-body);
  font-size: var(--fs-body);
  max-width: var(--measure);
}

.focusItem__list {
  margin: 0 0 var(--space-6);
  padding-left: 1.1em;
  max-width: var(--measure);
}

.focusItem__list li {
  margin: 0 0 0.65em;
  line-height: 1.65;
  color: rgba(11, 11, 12, 0.82);
}

.focusItem__list strong {
  font-weight: 650;
}

.focusMeta {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: var(--measure);
}

.focusMeta__item {
  padding-top: 10px;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
}

.focusMeta__item:first-child {
  border-top: 0;
  padding-top: 0;
}

.focusMeta dt {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 4px;
}

.focusMeta dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: rgba(11, 11, 12, 0.8);
  font-weight: 600;
}

@media (min-width: 680px) {
  .focusMeta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .focusMeta__item {
    border-top: 0;
    padding-top: 0;
    border-left: 1px solid rgba(11, 11, 12, 0.12);
    padding-left: 12px;
  }
  .focusMeta__item:first-child {
    border-left: 0;
    padding-left: 0;
  }
}
/* -----------------------------------------
   Page scaffolding + case studies (desktop first)
----------------------------------------- */
.page {
  padding-top: calc(var(--topbar-h) + var(--space-8));
  padding-bottom: var(--space-9);
}

/* readable text column */
.prose {
  max-width: var(--measure);
}

.prose--wide {
  max-width: var(--measure-wide);
}

/* wider lede when needed */
.lede--wide {
  max-width: var(--measure);
}

/* Résumé layout */
.resumeLayout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: start;
}

.resumeContent {
  min-width: 0;
}

.resumeAside {
  min-width: 0;
}

.resumeAside__link {
  margin-top: var(--space-5);
}

@media (min-width: 980px) {
  .resumeLayout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  }
  .resumeAside {
    position: sticky;
    top: calc(var(--topbar-h) + var(--space-6));
  }
}
@media (max-width: 979px) {
  .page--resume .resumeAside {
    display: none !important;
  }
}
@media (max-width: 720px) {
  .page--resume .prose {
    display: flex;
    flex-direction: column;
  }
  .page--resume .resumeHireBlock {
    order: 999;
    margin-top: var(--space-7);
  }
}
/* Prose typography (used on résumé + writings pages) */
.prose h2 {
  margin: var(--space-8) 0 var(--space-4);
  font-size: var(--fs-title);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: var(--space-6) 0 var(--space-2);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body-lg);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.prose p:not(.lede) {
  margin: 0 0 var(--space-4);
  line-height: 1.7;
  color: rgba(11, 11, 12, 0.86);
}

.prose ul,
.prose ol {
  margin: 0 0 var(--space-5);
  padding-left: 1.1em;
}

.prose li {
  margin: 0 0 0.55em;
  line-height: 1.65;
}

.prose hr {
  border: 0;
  border-top: 1px solid rgba(11, 11, 12, 0.1);
  margin: var(--space-7) 0;
}

.prose blockquote {
  margin: 0 0 var(--space-6);
  padding-left: var(--space-4);
  border-left: 3px solid rgba(11, 11, 12, 0.18);
  color: rgba(11, 11, 12, 0.82);
}

.prose blockquote p {
  margin: 0;
  color: inherit;
}

.prose small {
  color: var(--muted);
}

/* Writings feed */
.writingFeed {
  margin-top: var(--space-7);
}

.writingList {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(11, 11, 12, 0.1);
}

.writingItem {
  padding: 18px 0;
  border-bottom: 1px solid rgba(11, 11, 12, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.writingItem__title {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  width: fit-content;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.writingItem__title:hover {
  border-bottom-color: currentColor;
  opacity: 0.88;
}

.writingItem__meta {
  font-size: 13px;
  color: var(--muted);
}

.writingFeed p.writingStatus {
  margin: var(--space-5) 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Back links and small “editorial” CTAs */
.backLink {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 0;
  width: fit-content;
  padding-bottom: 0;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.backLink::before {
  content: "←";
  color: currentColor;
  transition: color 0.15s ease;
}

.backLink:hover {
  opacity: 1;
}

.backLink:hover::before,
.backLink:focus-visible::before {
  color: var(--accent);
}

.backLink:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

.backLink {
  margin-bottom: var(--space-6);
}

/* “Explore” links in the case-studies index should behave like the homepage “Explore” links */
.caseIndex__link {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 0;
  width: fit-content;
  padding-bottom: 0;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.caseIndex__link:hover {
  opacity: 1;
}

.caseIndex__link:focus-visible {
  opacity: 1;
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

.caseIndex__link span[aria-hidden=true] {
  color: currentColor;
  transition: color 0.15s ease;
}

.caseIndex__link:hover span[aria-hidden=true],
.caseIndex__link:focus-visible span[aria-hidden=true] {
  color: var(--accent);
}

/* Key points (no pills) */
.keyPoints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 22px;
  margin-top: var(--space-6);
  max-width: var(--measure-wide);
}

.keyPoint {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0; /* allow content to wrap instead of forcing overflow */
}

.keyPoint strong {
  font-weight: 650;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.keyPoint span {
  color: var(--muted);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (min-width: 980px) {
  .keyPoints {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* Mobile: keep key points to a single column to avoid edge-case horizontal overflow */
@media (max-width: 520px) {
  .keyPoints {
    grid-template-columns: 1fr;
  }
}
.keyPoints--index {
  margin-top: var(--space-5);
}

.keyPoints--case {
  margin-top: var(--space-7);
}

/* Selected clients (logos strip on the work index) */
.clientsBlock {
  margin-bottom: 3.5rem;
  max-width: var(--measure-wide);
}

.clientsBlock--case {
  margin-top: 2rem;
}

/* tighter spacing when logos are used inside prose (e.g. résumé) */
.clientsBlock--resume {
  margin: var(--space-6) 0 var(--space-7);
  max-width: var(--measure);
}

.clientsBlock__title {
  margin: 0 0 var(--space-5);
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.clientsLogos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px 24px;
  align-items: center;
  min-width: 0;
}

.clientsLogos img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  padding: 0.5rem;
  opacity: 0.9;
}

/* Clickable logo wrapper (used when a logo links out, e.g. Google Scholar) */
.clientsLogoLink {
  display: block;
  text-decoration: none;
}

.clientsLogoLink:hover img {
  opacity: 1;
}

.clientsLogoLink:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Inline logos inside each work index row */
.clientsInline {
  margin-top: var(--space-5);
  max-width: var(--measure-wide);
}

.clientsLogos--inline {
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 12px 16px;
}

.clientsLogos--inline img {
  height: 35px;
}

/* Case studies index: make client logos ~10% larger */
.caseIndex .clientsLogos--inline img {
  height: 38px;
}

/* Case-studies index: logos-only row stays horizontal, right after title */
.caseIndex__item--logosOnly > :first-child {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.caseIndex__item--logosOnly .caseIndex__title {
  margin: 0;
  white-space: nowrap;
  flex: 0 0 auto;
}

.caseIndex__item--logosOnly .clientsInline {
  margin-top: 0;
  max-width: none;
  min-width: 0;
  flex: 1 1 auto;
}

.caseIndex__item--logosOnly .clientsLogos--inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 16px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 4px;
}

.caseIndex__item--logosOnly .clientsLogos--inline img {
  width: auto;
  height: 36px;
  flex: 0 0 auto;
}

@media (min-width: 980px) {
  .clientsLogos img {
    height: 52px;
  }
  .clientsLogos--inline img {
    height: 39px;
  }
  .caseIndex .clientsLogos--inline img {
    height: 43px;
  }
  /* Case-studies index: distribute logos top-to-bottom in the right column */
  .caseIndex__item:not(.caseIndex__item--logosOnly) > :first-child {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    column-gap: var(--space-6);
    align-items: stretch;
  }
  .caseIndex__item:not(.caseIndex__item--logosOnly) > :first-child > * {
    grid-column: 1;
    min-width: 0;
  }
  .caseIndex__item:not(.caseIndex__item--logosOnly) > :first-child .clientsInline {
    grid-column: 2;
    grid-row: 1/span 3;
    margin-top: 0;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
  }
  .caseIndex__item:not(.caseIndex__item--logosOnly) > :first-child .clientsLogos--inline {
    display: grid;
    grid-template-columns: repeat(3, minmax(64px, 1fr));
    align-content: center;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 320px;
    column-gap: 14px;
    row-gap: 14px;
  }
  .caseIndex__item:not(.caseIndex__item--logosOnly) > :first-child .clientsLogos--inline img {
    width: auto;
    max-width: 100%;
    height: clamp(30px, 2.65vw, 43px);
    object-fit: contain;
  }
}
/* Work index (dividing lines, no cards) */
.caseIndex {
  margin-top: var(--space-7);
  border-top: 1px solid rgba(11, 11, 12, 0.12);
}

.caseIndex__item {
  padding: var(--space-6) 0;
  border-bottom: 1px solid rgba(11, 11, 12, 0.12);
  display: grid;
  /* keep “Explore” at the bottom, like mobile */
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}

/* Grid children must be allowed to shrink, otherwise long strings can force overflow on mobile */
.caseIndex__item > * {
  min-width: 0;
}

.caseIndex__title {
  margin: 0;
  font-size: var(--fs-title);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

.caseIndex__desc {
  margin: var(--space-2) 0 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: var(--measure);
  overflow-wrap: anywhere;
}

.caseIndex__title a {
  text-decoration: none;
}

.caseIndex__title a:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(11, 11, 12, 0.55);
}

/* Case pages */
.page--case h1 {
  font-size: var(--fs-page);
  line-height: var(--lh-tight);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.03em;
}

/* Keep case-study pages tighter (Tufte-ish line length on desktop) */
.page--case .prose {
  max-width: var(--measure-tight);
}

.caseSection {
  padding-top: var(--space-8);
}

.case-card {
  scroll-margin-top: calc(var(--topbar-h) + 0.35rem);
}

.caseGrid {
  margin-top: var(--space-7);
  /* label column + comfortable text measure */
  max-width: calc(var(--measure-tight) + 22ch);
}

.case-card {
  padding: var(--space-7) 0;
  border-top: 1px solid rgba(11, 11, 12, 0.12);
}

.case-card:first-child {
  /* remove the “rule” directly under the key points */
  border-top: 0;
}

.case-card__title {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-title);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
  max-width: var(--measure);
}

.case-card__focus {
  margin: 0 0 var(--space-4);
  /* Make the “Focus:” line read like a strong sub-lede */
  color: rgba(11, 11, 12, 0.78);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  max-width: var(--measure-tight);
}

.case-card__summary {
  margin: 0 0 var(--space-5);
  color: rgba(11, 11, 12, 0.76);
  line-height: 1.65;
  max-width: var(--measure-tight);
}

.case-card__dl {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(10ch, 14ch) minmax(0, var(--measure-tight));
  column-gap: 3ch;
  row-gap: var(--space-4);
  justify-content: start;
}

.case-card__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-card__value {
  margin: 0;
  color: rgba(11, 11, 12, 0.8);
}

.case-card__value p {
  margin: 0;
  line-height: 1.65;
  max-width: var(--measure-tight);
}

.case-card__value ul {
  margin: 0;
  padding-left: 18px;
}

.case-card__value li {
  margin: 0 0 10px;
}

.case-card__value li:last-child {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .case-card__dl {
    grid-template-columns: 1fr;
    row-gap: var(--space-3);
  }
  .case-card__label {
    margin-top: var(--space-4);
  }
  .case-card__label:first-child {
    margin-top: 0;
  }
}
/* -----------------------------------------
   Contact band
----------------------------------------- */
.contactBand {
  margin-top: 10rem;
  position: relative;
  background: #050506;
  color: rgba(255, 255, 255, 0.92);
  padding: var(--space-9) 0;
  overflow: hidden;
}

/* Subtle grid + vignette (desktop-first polish, stays light on mobile) */
.contactBand::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 500px at 20% 0%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%), radial-gradient(900px 600px at 90% 60%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 65%), linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
  opacity: 0.45;
}

.contactBand .container {
  position: relative;
}

.contactBand__grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Explicit areas to avoid overlap on small screens */
  grid-template-areas: "title" "lede" "meta";
  row-gap: var(--space-4);
}

@media (min-width: 980px) {
  .contactBand__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "title ." "lede meta";
    column-gap: clamp(36px, 4vw, 84px);
    row-gap: var(--space-4);
    align-items: start;
  }
}
.contactBand__kicker {
  margin: 0 0 var(--space-3);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.contactBand__title {
  grid-area: title;
  margin: 0;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.03em;
}

.contactBand__lede {
  grid-area: lede;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: var(--lh-body);
  font-size: var(--fs-body);
  max-width: 58ch;
}

@media (min-width: 980px) {
  .contactBand__lede {
    font-size: calc(var(--fs-body) + 1px);
  }
}
/* Contact lines (no card — aligns with the paragraph) */
.contactBand__meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
  min-width: 0;
}

/* Mobile: tighten the vertical rhythm between contact lines */
@media (max-width: 520px) {
  .contactBand__meta {
    gap: 6px;
  }
}
.contactBand__metaItem {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.4;
}

.contactBand__metaItem:first-child {
  border-top: 0;
  padding-top: 0;
}

.contactBand__metaLabel {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.contactBand__metaValue {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(18px, 2vw, 20px);
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  opacity: 0.94;
  /* Long URLs can otherwise force horizontal scrolling on mobile */
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  transition: opacity 0.15s ease, border-bottom-color 0.15s ease;
}

.contactBand__metaValue:hover {
  opacity: 1;
  border-bottom-color: var(--accent);
}

.contactBand__metaValue:focus-visible {
  opacity: 1;
  border-bottom-color: rgba(255, 255, 255, 0.86);
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 6px;
}

/* -----------------------------------------
   Footer (minimal — no links on Home)
----------------------------------------- */
.footer {
  padding: var(--space-7) 0;
  color: var(--muted);
  font-size: 13px;
}

.footer__row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copyright {
  letter-spacing: 0.01em;
}

/* --- Hire page: Best fit (dark card) --- */
.hireAside--dark {
  background: var(--tile-dark) !important;
  color: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.hireAside--dark h2 {
  color: var(--accent) !important;
}

.hireAside--dark p,
.hireAside--dark li {
  color: rgba(255, 255, 255, 0.78) !important;
}

.hireAside--dark strong {
  color: rgba(255, 255, 255, 0.92) !important;
}

.hireBestList {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hireBestList li {
  margin: 0;
}

/* ------------------------------ */
/* Governance OS structured blocks */
/* ------------------------------ */
.osGrid {
  display: grid;
  gap: var(--space-5);
  margin: var(--space-6) 0;
}

@media (min-width: 920px) {
  .osGrid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-7);
  }
  .osGrid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-7);
  }
}
.osCell {
  border-top: 1px solid rgba(11, 11, 12, 0.12);
  padding-top: 14px;
  min-width: 0;
}

.osCell__kicker {
  margin: 0 0 6px 0;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
}

.osCell__kicker--num {
  font-size: clamp(76px, 11vw, 148px);
  letter-spacing: 0;
  line-height: 0.82;
  font-weight: 900;
  color: var(--accent) !important;
}

.osCell__kicker--loop {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--accent) !important;
}

.osCell__kicker--red {
  color: var(--accent) !important;
  font-weight: 800;
}

.osCell__title {
  margin: 0 0 var(--space-2) 0;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.osCell__meta {
  margin: 0 0 var(--space-3) 0;
  color: rgba(11, 11, 12, 0.72);
}

.osGrid .osCell p,
.osGrid .osCell li,
.osGrid .osCell__meta {
  font-size: 14px;
  line-height: 1.6;
}

.osIntroGrid,
.osPrinciplesGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  margin: var(--space-6) 0;
}

@media (min-width: 980px) {
  .osIntroGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .osPrinciplesGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.osIntro h2,
.osPrinciple h3 {
  margin-top: 0;
}

.osPrinciple ul {
  padding-left: 1.1em;
}

.osIntro p,
.osIntro li,
.osPrinciple p,
.osPrinciple li {
  font-size: 14px;
  line-height: 1.6;
}

.osRefsBlock h2,
.osRefsBlock p,
.osRefsBlock li {
  color: rgba(11, 11, 12, 0.56);
}

.osCell__note {
  margin: var(--space-3) 0 0 0;
  color: rgba(11, 11, 12, 0.72);
}

.osList {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.osList li {
  margin: 0;
  padding-left: 1.1em;
  position: relative;
}

.osList li + li {
  margin-top: 0;
}

.osList li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: rgba(11, 11, 12, 0.55);
}

.osRefsList {
  margin-bottom: 5rem;
}

.contactBand--spaced {
  margin-top: var(--space-10);
}

/* --- Glossary index grid --- */
.glossaryGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}

.glossaryCard h2 {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-title);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
}

.glossaryCard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

/* Glossary cards: hide the “Defined term” kicker */
.page--glossary .glossaryCard .card__kicker {
  display: none;
}

/* -----------------------------------------
   Private portfolio area (login + luxury + dashboard)
----------------------------------------- */
.privateWrap {
  padding-top: calc(var(--topbar-h) + var(--space-8));
  padding-bottom: var(--space-9);
}

.portfolioLoginLayout {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

@media (min-width: 980px) {
  .portfolioLoginLayout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-8);
  }
}
.portfolioLanding {
  max-width: var(--measure);
  margin-bottom: var(--space-6);
}

.portfolioLandingNotice {
  max-width: var(--measure-tight);
  margin-bottom: var(--space-7);
}

.portfolioLandingNotice p {
  margin: 0 0 var(--space-3) 0;
}

.portfolioLandingAreas {
  max-width: var(--measure-tight);
}

.portfolioLandingAreas ul {
  margin: 0;
  padding-left: 1.1em;
}

.portfolioLoginIntro {
  max-width: var(--measure);
}

.portfolioLoginIntro p {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

.portfolioLoginMeta {
  margin-top: var(--space-5);
  display: grid;
  gap: 10px;
}

.portfolioLoginMeta__item {
  font-size: 14px;
  color: var(--muted);
}

.portfolioLoginMeta__item code {
  font-family: var(--font-mono);
  font-size: 12px;
}

.portfolioLoginMeta__label {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(11, 11, 12, 0.58);
}

.portfolioLoginCard {
  border: 1px solid rgba(11, 11, 12, 0.14);
  background: rgba(255, 255, 255, 0.42);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 12px 24px rgba(11, 11, 12, 0.06);
}

.portfolioForm {
  width: 100%;
  display: grid;
  gap: 12px;
}

.portfolioField {
  display: grid;
  gap: 6px;
}

.portfolioLabel {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolioInput {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(11, 11, 12, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  outline: none;
}

.portfolioInput[readonly] {
  color: rgba(11, 11, 12, 0.72);
  background: rgba(11, 11, 12, 0.04);
}

.portfolioInput::placeholder {
  color: rgba(11, 11, 12, 0.45);
}

.portfolioInput:focus {
  box-shadow: 0 0 0 3px rgba(224, 0, 27, 0.16);
  border-color: rgba(224, 0, 27, 0.55);
}

.portfolioAux {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
}

.pwToggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 13px;
  color: rgba(11, 11, 12, 0.72);
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.pwToggle:hover,
.pwToggle:focus-visible {
  color: var(--accent);
}

.pwToggle:focus-visible {
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
  border-radius: 6px;
}

.portfolioActions {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.portfolioError {
  margin: 4px 0 0;
  color: rgba(11, 11, 12, 0.82);
}

.portfolioSupport {
  margin-top: var(--space-6);
  max-width: var(--measure-tight);
}

.privateKicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.luxuryHero {
  max-width: var(--measure-wide);
  margin-bottom: var(--space-7);
}

.luxuryHero h1 {
  margin-bottom: var(--space-4);
}

.luxuryHero .lede {
  margin-bottom: var(--space-4);
}

.luxuryLayout {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 1120px) {
  .luxuryLayout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: var(--space-8);
    align-items: start;
  }
}
.luxuryMain {
  min-width: 0;
}

.luxuryRail {
  min-width: 0;
}

@media (min-width: 1120px) {
  .luxuryRail {
    position: sticky;
    top: calc(var(--topbar-h) + var(--space-5));
  }
}
.luxurySection {
  margin-top: var(--space-7);
}

.luxurySection h2 {
  margin-top: 0;
}

.luxurySection h3 {
  margin-top: var(--space-5);
}

.luxuryRailCard {
  border: 1px solid rgba(11, 11, 12, 0.14);
  border-radius: 14px;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-4);
}

.luxuryRailCard h3 {
  margin-top: 0;
}

.luxuryRailCard--plain {
  background: transparent;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.luxLegendTable {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0.25rem 0;
  font-size: 12px;
  line-height: 1.25;
}

.luxLegendTable thead th {
  text-align: left;
  padding: 0 0 0.5rem;
  font-weight: var(--fw-semibold);
  border-bottom: 0.35rem solid transparent;
}

.luxLegendTable thead th:nth-child(1) {
  border-bottom-color: #90F5C7;
}

.luxLegendTable thead th:nth-child(2) {
  border-bottom-color: #EFDB5A;
}

.luxLegendTable thead th:nth-child(3) {
  border-bottom-color: #ABEF5F;
}

.luxLegendTable td {
  vertical-align: top;
  padding: 0.55rem 0 0;
}

.luxLegendCols {
  margin: 0;
  padding-left: 1.1em;
}

.luxLegendCols li {
  margin: 0.15rem 0;
}

.luxuryTileGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.luxuryTileGrid .guardedMedia {
  margin: 0;
}

.guardedMedia {
  position: relative;
  margin: var(--space-4) 0;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 12, 0.1);
  border-radius: 12px;
  background: #f1f0eb;
}

.guardedMedia::after {
  content: attr(data-watermark);
  position: absolute;
  inset: auto 12px 10px auto;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(11, 11, 12, 0.46);
  pointer-events: none;
}

.guardedMedia img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.luxuryConfidential {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.dashboardWrap {
  padding-top: calc(var(--topbar-h) + var(--space-8));
  padding-bottom: var(--space-9);
}

.dashboardIntro {
  max-width: var(--measure);
  margin-bottom: var(--space-6);
}

.dashboardStatGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: var(--space-6);
}

.dashboardStat {
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.45);
}

.dashboardStat__label {
  margin: 0 0 2px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(11, 11, 12, 0.58);
}

.dashboardStat__value {
  margin: 0;
  font-size: 26px;
  font-weight: var(--fw-bold);
  line-height: 1.1;
}

.dashboardSection {
  margin-top: var(--space-6);
}

.dashboardSection h2 {
  margin-bottom: var(--space-3);
}

.dashboardTableWrap {
  overflow: auto;
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.dashboardTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.dashboardTable th,
.dashboardTable td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(11, 11, 12, 0.1);
  font-size: 14px;
}

.dashboardTable th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(11, 11, 12, 0.64);
  font-weight: var(--fw-semibold);
}

.dashboardTable tbody tr:last-child td {
  border-bottom: 0;
}

.dashboardTable code {
  font-family: var(--font-mono);
  font-size: 12px;
}

.dashboardMuted {
  color: var(--muted);
}

.dashboardUserBtn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.dashboardUserBtn:hover {
  color: var(--accent);
}

.dashboardActionBtn {
  appearance: none;
  border: 1px solid rgba(11, 11, 12, 0.22);
  background: transparent;
  color: var(--fg);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.dashboardActionBtn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dashboardActionBtn:disabled {
  opacity: 0.6;
  cursor: default;
}

.dashboardActionBtn--danger {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.dashboardActionBtn--danger:hover {
  color: #fff;
  border-color: #c42020;
  background: #c42020;
}

.dashboardPageAccessForm {
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  padding: 12px;
}

.dashboardField {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.dashboardField__label {
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: rgba(11, 11, 12, 0.74);
}

.dashboardField__input {
  width: 100%;
  max-width: 280px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(11, 11, 12, 0.16);
  background: #fff;
  color: var(--fg);
  font: inherit;
}

.dashboardField__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(213, 37, 37, 0.14);
}

.dashboardPageAccessGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.dashboardPageOption {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 6px 10px;
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.5);
}

.dashboardPageOption input {
  margin-top: 3px;
}

.dashboardPageOption__title {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
}

.dashboardPageOption code {
  grid-column: 2;
  font-size: 12px;
  color: var(--muted);
}

.dashboardPageAccessActions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.dashboardPageAccessActions .dashboardMuted {
  margin: 0;
}

@media print {
  .page--client-protected {
    display: none !important;
  }
}
