@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;
  /* Light, blurred elevation (used on buttons and hero mosaic) */
  --shadow-soft: 0 14px 34px rgba(11,11,12,.10);
  --shadow-soft-sm: 0 10px 26px rgba(11,11,12,.08);
}

* {
  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);
  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);
}

/* 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,
.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: -28px 0 90px rgba(0, 0, 0, 0.38);
  }
}
/* 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;
}

[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: 120px 120px;
    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%);
  }
}
.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 {
  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: 18px;
  line-height: 1;
  color: rgba(11, 11, 12, 0.78);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.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: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-4);
}

h1 {
  font-size: clamp(52px, 8vw, 96px); /* cap to prevent overlap */
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-5);
  overflow-wrap: anywhere; /* safety */
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 var(--space-6);
}

@media (min-width: 980px) {
  .lede {
    font-size: 19px;
    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: 112px;
  gap: 1px;
  box-shadow: var(--shadow-soft);
}

@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;
}

/* 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;
}

.tile__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.tile__meta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  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;
}

/* 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;
}

/* 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: currentColor;
}

.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:focus-visible {
  opacity: 1;
  border-bottom-color: currentColor;
  outline: 2px solid rgba(11, 11, 12, 0.32);
  outline-offset: 4px;
}

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

.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);
}

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

/* 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: clamp(28px, 3.6vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.sectionHead__lede {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
  max-width: 60ch;
}

@media (min-width: 980px) {
  .sectionHead__lede {
    font-size: 17px;
  }
}
.leverageGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@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: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(11, 11, 12, 0.12);
  border-radius: var(--radius-2);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: var(--shadow-soft-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
}

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

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

.leverageCard--resume:hover {
  box-shadow: 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: 26px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: rgba(11, 11, 12, 0.55);
}

.leverageCard__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.leverageCard h3 {
  margin: 0 0 var(--space-3);
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

@media (min-width: 980px) {
  .leverageCard h3 {
    font-size: 26px;
  }
}
.leverageCard p {
  margin: 0;
  color: rgba(11, 11, 12, 0.72);
  line-height: 1.6;
  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__kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-3);
}

.card h2 {
  margin: 0 0 var(--space-3);
  font-size: 22px;
  letter-spacing: -0.01em;
}

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

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

.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);
}

/* -----------------------------------------
   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);
}

.focusItem__title {
  margin: 0;
  font-size: clamp(22px, 2.3vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.focusItem__body {
  min-width: 0;
}

.focusItem__lede {
  margin: 0 0 var(--space-5);
  color: rgba(11, 11, 12, 0.78);
  line-height: 1.75;
  font-size: 16px;
  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-9));
  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);
}

/* Prose typography (used on résumé + writings pages) */
.prose h2 {
  margin: var(--space-8) 0 var(--space-4);
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin: var(--space-6) 0 var(--space-2);
  font-size: 16px;
  line-height: 1.35;
  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: 1px solid currentColor;
  width: fit-content;
  padding-bottom: 4px;
  opacity: 0.85;
}

.backLink:hover {
  opacity: 1;
}

.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: 1px solid transparent;
  width: fit-content;
  padding-bottom: 4px;
  opacity: 0.85;
  transition: opacity 0.15s ease, border-bottom-color 0.15s ease;
}

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

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

/* 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: 14px 22px;
  align-items: center;
  min-width: 0;
}

.clientsLogos img {
  width: 100%;
  height: 36px;
  object-fit: contain;
  padding: 0.35rem;
  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: 10px 14px;
}

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

@media (min-width: 980px) {
  .clientsLogos img {
    height: 44px;
  }
  .clientsLogos--inline img {
    height: 34px;
  }
}
/* 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: clamp(22px, 2.4vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.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: clamp(44px, 5vw, 76px);
  line-height: 0.98;
  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);
}

.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: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.18;
  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(--muted-2);
}

.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 {
  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: clamp(52px, 6vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.contactBand__lede {
  grid-area: lede;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
  font-size: 16px;
  max-width: 58ch;
}

@media (min-width: 980px) {
  .contactBand__lede {
    font-size: 17px;
  }
}
/* 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: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  line-height: 1.4;
}

@media (min-width: 980px) {
  .contactBand__metaItem {
    font-size: 17px;
  }
}
.contactBand__metaLabel {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.contactBand__metaValue {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  opacity: 0.92;
  /* 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: rgba(255, 255, 255, 0.72);
}

.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;
}
