/*
Theme Name: Alpha Lead
Description: Custom homepage for The Alpha Lead.
Author: The Alpha Lead
Version: 1.0.9
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: alpha-lead
*/

@font-face {
  font-family: "Alpha Lead Display";
  src: url("assets/Syncopate-V2.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Alpha Lead Body";
  src: url("assets/EncodeSans-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

/* A live color blend lets the theme transition reverse without blocking clicks. */
@property --theme-lightness {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 0%;
}

:root {
  color-scheme: dark light;
  --theme-lightness: 0%;
  --theme-blend: clamp(0%, var(--theme-lightness), 100%);
  --black: #0A0909;
  --grey: #141414;
  --white: #FFFFFF;
  --grey-text: #797C7F;
  --background: color-mix(in srgb, var(--white) var(--theme-blend), var(--black));
  --surface: color-mix(in srgb, var(--white) var(--theme-blend), var(--grey));
  --foreground: color-mix(in srgb, var(--black) var(--theme-blend), var(--white));
  --muted: var(--grey-text);
  --line: color-mix(in srgb, var(--muted) 68%, transparent);
  --display: "Alpha Lead Display", sans-serif;
  --body: "Alpha Lead Body", sans-serif;
  --gutter: 8.75rem;
  --anchor-offset: 9.5rem;
  --action-circle-size: 2.8em;
  font-size: clamp(8px, 0.833333vw, 20px);
}

:root.is-switching-theme { transition: --theme-lightness 1s ease; }

:root[data-theme="dark"] { color-scheme: dark; }
:root[data-theme="light"] {
  color-scheme: light;
  --theme-lightness: 100%;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) { --theme-lightness: 100%; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--anchor-offset); }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 300 1.5rem/1.26 var(--body);
}

h1, h2, h3, p, blockquote, ol { margin: 0; }
h1, h2, h3, .badge, .number, .button, .hero-framework, .founder__experience strong {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
}

h1, h2 { font-size: 3rem; line-height: 1.045; }
h3 { font-size: 1.5rem; line-height: 1.22; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--grey-text); outline-offset: 4px; }
#smooth-content [tabindex="-1"]:focus { outline: none; }

.page-width { width: min(calc(100% - 2 * var(--gutter)), 102.5rem); margin-inline: auto; }
.muted, .number { color: var(--muted); }
.lead { font-size: 2.625rem; line-height: 1.31; }
.number { display: block; font-size: 1.5rem; line-height: 1; }

.badge {
  display: block;
  width: fit-content;
  padding: .5rem .95rem .44rem;
  border-radius: 4rem;
  box-shadow: inset 0 0 0 1px light-dark(var(--line), transparent);
  background: var(--surface);
  color: var(--foreground);
  font-size: .9375rem;
  line-height: 1;
}

.button {
  --button-unit: 1rem;
  --button-reveal: 0;
  --button-label-theme-progress: clamp(0%, calc((var(--theme-blend) - 31%) * 4.5), 100%);
  /* Interpolate toward the opposite text color as the hover fill covers the button. */
  --button-label-progress: calc(
    var(--button-label-theme-progress) * (1 - var(--button-reveal)) +
    (100% - var(--button-label-theme-progress)) * var(--button-reveal)
  );
  position: relative;
  isolation: isolate;
  display: inline-flex;
  overflow: hidden;
  background: var(--button-surface);
  color: var(--button-ink);
  width: fit-content;
  min-height: calc(3.375 * var(--button-unit));
  align-items: center;
  justify-content: center;
  gap: var(--button-unit);
  padding-block: calc(.25 * var(--button-unit));
  padding-inline: calc(1.9 * var(--button-unit)) calc(.3 * var(--button-unit));
  border: 0;
  border-radius: 4rem;
  font-size: var(--button-unit);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.button--primary {
  --button-ink: var(--background);
  --button-surface: var(--foreground);
  color: color-mix(in srgb, var(--white) var(--button-label-progress), var(--black));
}

.button--secondary, .button.theme-toggle {
  --button-ink: var(--foreground);
  --button-surface: var(--surface);
  color: color-mix(in srgb, var(--black) var(--button-label-progress), var(--white));
}

.button--secondary { box-shadow: inset 0 0 0 1px light-dark(var(--line), transparent); }

.button__wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: scale(0);
  transform-origin: 0 0;
  pointer-events: none;
}

.button__wash::before {
  position: absolute;
  top: 0;
  left: 0;
  width: max(225%, 8rem);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--button-ink);
  content: "";
}

.arrow {
  position: relative;
  display: inline-grid;
  flex: none;
  width: 1em;
  height: 1em;
  place-items: center;
  font-size: 1rem;
}

.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  width: .68em;
  height: 1px;
  background: currentColor;
}

.arrow::after {
  width: .5em;
  height: .5em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  background: none;
  transform: translateX(.1em) rotate(45deg);
}

.arrow--diagonal {
  width: var(--action-circle-size);
  height: var(--action-circle-size);
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: rotate(-45deg);
  background: var(--black);
  color: var(--white);
}

.photo-panel {
  color-scheme: dark;
  --background: var(--black);
  --surface: var(--grey);
  --foreground: var(--white);
  color: var(--foreground);
}

.hero {
  position: relative;
  isolation: isolate;
  height: 62.375rem;
  padding-top: 7.3125rem;
  overflow: hidden;
  border-radius: 1.75rem 1.75rem 0 0;
  background: var(--background);
}

.photo-layer {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Use the theme blend to invert the hero clouds as the palette changes. */
.hero__clouds {
  filter: invert(var(--theme-blend));
}

/* Lift the shadows in light mode while preserving the landscapes' tonal order. */
:is(.belief__landscape, .founder__mountains)::before {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--white) calc(var(--theme-blend) * .72), transparent);
  content: "";
}

.hero__clouds {
  bottom: -16%;
  background: url("assets/image-hero-4.png") center top / cover no-repeat;
}

.pointer-effects {
  position: fixed;
  z-index: 11;
  inset: 0;
  overflow: clip;
  pointer-events: none;
}

.pointer-light, .pointer-reticle {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.pointer-light {
  width: min(48vw, 52rem);
  aspect-ratio: 1;
  background: radial-gradient(circle, color-mix(in srgb, var(--foreground) 24%, transparent), transparent 68%);
}

.pointer-reticle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--foreground);
  color: var(--foreground);
  outline: 1px solid color-mix(in srgb, var(--background) 70%, transparent);
}

.pointer-reticle__drag { width: 1.65rem; opacity: 0; }

.hero__wolf-frame { display: contents; }

.hero__wolf {
  position: absolute;
  z-index: -1;
  top: 2.2rem;
  left: calc(50% - 43.125rem);
  width: 129rem;
  max-width: none;
}

.site-header, .site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.site-header {
  --header-background-opacity: 0;
  position: fixed;
  z-index: 10;
  top: 2.375rem;
  inset-inline: 0;
  width: min(calc(100% - 2 * var(--gutter) + 3rem), 105.5rem);
  margin-inline: auto;
  padding: 1.125rem 1.5rem;
  border-radius: 5rem;
  color: var(--foreground);
}

.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: color-mix(in srgb, var(--white) calc(var(--theme-blend) * .5), transparent);
  box-shadow: inset 0 0 30px 1px color-mix(in srgb, var(--white) 15%, transparent);
  backdrop-filter: blur(15px);
  opacity: var(--header-background-opacity);
  pointer-events: none;
  content: "";
}

.site-header .navigation { transform: translateX(-.65rem); }
.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: .7rem;
}

.menu-toggle, .header-contact__icon { display: none; }

.button.theme-toggle {
  width: var(--action-circle-size);
  height: var(--action-circle-size);
  min-height: 0;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.theme-toggle[hidden] { display: none; }
.theme-toggle svg { width: 48%; height: 48%; }
.theme-toggle[aria-pressed="true"] .theme-toggle__moon,
.theme-toggle[aria-pressed="false"] .theme-toggle__sun { display: none; }

.wordmark { width: 13.5rem; }
.wordmark img { width: 100%; }

.navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  font-size: 1rem;
}

.site-footer .navigation a:hover { text-decoration: underline; text-underline-offset: .22em; }

.site-header .navigation a { position: relative; white-space: nowrap; }
.site-header .navigation a::after {
  position: absolute;
  inset: auto 0 -.38em;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.site-header .navigation a:is(:hover, :focus-visible, [aria-current="location"])::after { transform: scaleX(1); }
[data-reveal] { font-kerning: none; }

.hero__layout { position: relative; height: 100%; }
.hero__copy {
  position: relative;
  z-index: 1;
  padding-top: 14rem;
}

.hero__copy .badge {
  margin-bottom: 3rem;
  background: color-mix(in srgb, var(--grey-text) 28%, transparent);
  font-size: .75rem;
}

.hero__copy > p:not(.badge) { margin-top: 1.75rem; font-size: 1.75rem; line-height: 1.48; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.5rem; }

.hero-framework {
  position: absolute;
  inset: 14.6rem 0 0 42.6%;
  display: grid;
  grid-template-columns: .97fr 1.08fr 1.045fr;
  color: var(--white);
  font-size: 2.25rem;
}

.hero-framework a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 1.1rem;
  padding-bottom: 6.6rem;
  border-left: 1px solid;
  border-image: linear-gradient(transparent 0%, var(--grey-text) 65%, var(--white)) 1;
}

.hero-framework a:last-child { border-right: 1px solid; }
.hero-framework a:hover .arrow { transform: translateX(.3rem); }

.intro { display: grid; grid-template-columns: 40.73% 1fr; min-height: 47.3rem; padding-top: 13.5rem; }
.intro h2 { padding-top: .6rem; color: var(--muted); font-size: 1.375rem; }
.intro h2::after { content: ""; display: block; width: 8.9rem; height: 2px; margin-top: 1.8rem; background: var(--muted); }
.intro__detail { max-width: 55rem; margin-top: .25rem; font-size: 1.125rem; line-height: 1.48; }

.section-heading { display: grid; grid-template-columns: 40.73% 1fr; align-items: end; }
.section-heading h2 { margin-top: 2.1rem; }
.section-heading > p { max-width: 51rem; }
.lens .section-heading > p { max-width: 47rem; line-height: 1.5; }

.lens-grid {
  display: grid;
  grid-template-columns: 41.38% 1fr;
  grid-template-rows: 16.8rem 19rem;
  margin-top: 11.65rem;
  margin-right: 1.6rem;
}

.lens-item { position: relative; overflow: hidden; }
.lens-item .number, .lens-item h3 { font-size: 2.375rem; }

.lens-item--people { grid-row: span 2; border-right: 1px solid var(--line); }
.lens-item--people h3 { margin-top: 8.2rem; }
.lens-item--people p { max-width: 28.5rem; margin-top: 2.2rem; }

.lens-item--process, .lens-item--results {
  display: grid;
  grid-template-columns: 10.8rem 1fr;
  margin-left: 3.35rem;
}

.lens-item--results { padding-top: 2.9rem; border-top: 1px solid var(--line); overflow: visible; }
.lens-item--process p, .lens-item--results p { max-width: 29.5rem; margin-top: 1.25rem; }
.lens-item--process p { max-width: 32rem; }
.lens-item--results p { margin-top: 2.7rem; }
.lens-item p { font-size: 1.625rem; line-height: 1.47; }

.lens-icon {
  --lens-icon-stroke: calc(1px / var(--lens-icon-scale, 1));
  position: absolute;
  color: var(--line);
  pointer-events: none;
}
.people-icon { display: flex; align-items: end; right: -4.3rem; bottom: -4.4rem; }
.people-icon span { position: relative; width: 9rem; height: 8.8rem; border: var(--lens-icon-stroke) solid; border-radius: 50%; }
.people-icon span:nth-child(2) { z-index: 1; width: 11rem; height: 9.6rem; margin-inline: -2.3rem; background: var(--background); }
.people-icon span::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: calc(100% + .7rem);
  width: 50%;
  aspect-ratio: 1;
  border: var(--lens-icon-stroke) solid;
  border-radius: 50%;
  transform: translateX(-50%);
}

.process-icon {
  --gear: polygon(38% 0, 62% 0, 65% 13%, 75% 19%, 88% 15%, 100% 36%, 90% 45%, 90% 55%, 100% 64%, 88% 85%, 75% 81%, 65% 87%, 62% 100%, 38% 100%, 35% 87%, 25% 81%, 12% 85%, 0 64%, 10% 55%, 10% 45%, 0 36%, 12% 15%, 25% 19%, 35% 13%);
  top: 0;
  right: -4rem;
  width: 13rem;
  height: 13.65rem;
  background: currentColor;
  clip-path: var(--gear);
}

.process-icon::before { content: ""; position: absolute; inset: var(--lens-icon-stroke); background: var(--background); clip-path: var(--gear); }
.process-icon::after { content: ""; position: absolute; inset: 33%; border: var(--lens-icon-stroke) solid; border-radius: 50%; }
.results-icon { inset: auto 0 0 auto; display: flex; gap: 2.15rem; align-items: end; }
.results-icon span { width: 2.7rem; height: 2.4rem; border: var(--lens-icon-stroke) solid; border-bottom: 0; }
.results-icon span:nth-child(2) { width: 3.35rem; height: 7.25rem; }
.results-icon span:nth-child(3) { height: 12.9rem; border-right: 0; }

.services { margin-top: 21rem; }
.services .section-heading { grid-template-columns: 54.4% 1fr; }
.services .section-heading h2, .ideas .section-heading h2 { margin-top: 2.9rem; }
.services .section-heading > p { line-height: 1.5; }
.card-carousel {
  --grid-content-width: min(calc(100cqw - 2 * var(--gutter)), 102.5rem);
  container-type: inline-size;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
}

.card-track {
  display: flex;
  flex: none;
  gap: var(--card-gap, 0rem);
  padding-inline-end: var(--card-gap, 0rem);
}

.card-track > article {
  flex: 0 0 auto;
  width: calc((var(--grid-content-width) + var(--grid-extension, 0rem) - (var(--card-columns) - 1) * var(--card-gap, 0rem)) / var(--card-columns));
}
.card-carousel.is-looping { scrollbar-width: none; }
.card-carousel.is-draggable { cursor: grab; }
.card-carousel.is-dragging { cursor: grabbing; user-select: none; }

.service-grid { --card-columns: 5; --grid-extension: 2rem; margin-top: 8.65rem; }
.service-card {
  min-height: 21.5rem;
  --service-inset: 3rem;
  --service-arrow-bottom: 2.25rem;
  padding: 2.5rem 1.25rem 6.5rem var(--service-inset);
  border-left: 1px solid var(--line);
}

.service-card h3 { margin-top: 4.2rem; font-size: 1.25rem; line-height: 1.5; }
.service-card .arrow { position: absolute; bottom: var(--service-arrow-bottom); left: var(--service-inset); }

.belief {
  position: relative;
  min-height: 46.53rem;
  margin-top: 6.75rem;
  isolation: isolate;
  overflow: clip;
  background: var(--background);
}

.belief__landscape {
  background: url("assets/Howling-Wolf-Amid-Stormy-Peaks 1.png") center bottom / cover no-repeat;
}

.belief__layout { display: grid; grid-template-columns: 1fr 1fr; padding-top: 10.7rem; }
.belief__layout > div { grid-column: 2; }
.belief .lead { margin-top: 4.2rem; max-width: 45rem; }
.belief .lead + p { max-width: 45rem; margin-top: 5.35rem; }

.ideas { margin-top: 14.25rem; }
.ideas-grid { --card-columns: 4; --card-gap: 1.25rem; margin-top: 5.95rem; }
.idea-card { padding-bottom: 1.5rem; border-radius: .75rem; }
.idea-card__art { position: relative; overflow: hidden; border-radius: inherit; }
.idea-card__art img { width: 100%; }
.idea-card__art .number { position: absolute; top: 1.9rem; left: 1.65rem; }
.idea-card h3 { min-height: 4.6rem; margin-top: 3rem; line-height: 1.5; }
.idea-card p { max-width: 20.5rem; margin-top: 1.4rem; }
.idea-card :is(h3, p) { margin-inline: 2rem; }

.quote { margin-top: 21.3rem; text-align: center; }
.quote__detail { margin-top: 5.25rem; }

.conversations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 15.2rem; }
.conversations__intro {
  display: flex;
  min-height: 51.6rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.75rem 1.8rem 3.6rem 3.125rem;
  box-shadow: inset 0 0 0 1px light-dark(var(--line), transparent);
  background: var(--surface);
}

.conversations__intro p { margin-bottom: 3.6rem; }
.conversations__visual {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: clip;
  background: var(--background);
}

.conversations__landscape {
  background: url("assets/Monochrome Peaks in Swirling Mist 1.png") center / cover no-repeat;
}

.conversation-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 12.875rem) 1fr;
  column-gap: 7.2rem;
  margin: 0;
  padding: 4rem 2.75rem 0;
  list-style: none;
}

.conversation-list li:first-child { grid-column: 1 / -1; width: calc((100% - 7.2rem) / 2); }
.conversation-list li:last-child { grid-column: 2; }
.conversation-list .number { margin-bottom: 1rem; }
.conversation-list li > span:last-child { display: block; border-top: 1px solid var(--muted); padding-top: .85rem; white-space: nowrap; }

.founder { position: relative; isolation: isolate; margin-top: 19.8rem; padding:10rem 0; background: var(--background); }
.founder__layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 24.5rem; }
.founder__identity { display: flex; align-items: center; gap: 1.625rem; padding-top: .4rem; }
.founder__identity img { width: 11.875rem; flex: none; border-radius: 1.125rem; }
.founder__identity h2 { margin-bottom: .85rem; font-size: 2.125rem; }
.founder__identity p { font-size: 1.625rem; line-height: 1.5; }
.founder__experience { margin-top: 2.65rem; }
.founder__experience strong { display: inline-block; margin-bottom: .65rem; font-size: .9375rem; }
.founder__statement { padding-left: 5.25rem; border-left: 1px solid var(--line); }
.founder__statement blockquote { margin-top: 3.1rem; }
.founder__statement > p:last-child { max-width: 38rem; margin-top: 4.5rem; }

.founder__caption { display: grid; align-items: end; min-height: 17.85rem; padding-bottom: 2.4rem; text-align: center; }
.founder__landscape {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: clip;
  background: var(--background);
}

.founder__mountains {
  z-index: auto;
  background: url("assets/Stormy Monochrome Mountain Panorama 1.png") center bottom / cover no-repeat;
}

.field-notes { margin-top: 12.45rem; }
.field-notes .section-heading { grid-template-columns: 39.4% 1fr; }
.field-notes .section-heading h2 { margin-top: 2.55rem; }
.notes-grid {
  --card-columns: 3;
  --grid-extension: 1rem;
  margin-top: 9.1rem;
}

.notes-grid article {
  min-height: 9rem;
  --note-padding: 2.35rem;
  padding: var(--note-padding);
  border-left: 1px solid var(--line);
}
.notes-grid p { max-width: 21.5rem; margin-top: 2.3rem; font-size: 2rem; line-height: 1.29; }

:is(.service-card, .idea-card, .notes-grid article) {
  --card-wash-radius: 0%;
  position: relative;
  isolation: isolate;
  overflow-wrap: anywhere;
}

:is(.service-card, .idea-card, .notes-grid article)::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background-color: color-mix(in srgb, var(--background), var(--grey-text) 16%);
  clip-path: circle(var(--card-wash-radius) at var(--card-wash-x, 50%) var(--card-wash-y, 50%));
  pointer-events: none;
  content: "";
}

.card-details-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: pointer;
}

.card-carousel.is-dragging .card-details-trigger { cursor: grabbing; }
.card-details-trigger:focus-visible { outline-offset: -4px; }

html:has(.card-dialog[open]) { overflow: hidden; }

.card-dialog {
  width: min(calc(100% - 2rem), 48rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  color: var(--foreground);
  font: 300 max(16px, 1.125rem)/1.55 var(--body);
}

.card-dialog::backdrop {
  background: color-mix(in srgb, var(--black) 62%, transparent);
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: no-preference) {
  .card-dialog[open] { animation: card-dialog-in .32s cubic-bezier(.2, .7, .3, 1) both; }
  .card-dialog[open]::backdrop { animation: card-dialog-fade .32s ease-out both; }
  .card-dialog[open].is-closing { animation: card-dialog-out .22s ease-in both; }
  .card-dialog[open].is-closing::backdrop { animation: card-dialog-backdrop-out .22s ease-in both; }
}

@keyframes card-dialog-in {
  from { opacity: 0; transform: translateY(.7rem) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes card-dialog-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(.45rem) scale(.99); }
}

@keyframes card-dialog-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes card-dialog-backdrop-out { from { opacity: 1; } to { opacity: 0; } }

.card-dialog__panel {
  max-height: calc(100dvh - 2rem - 2px);
  padding: clamp(1rem, 4vw, 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.card-dialog__controls { display: flex; justify-content: end; margin-bottom: .65rem; }
.card-dialog__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
}
.card-dialog__close svg { width: 1.25rem; }
.card-dialog__content, .card-dialog__body:not([hidden]) { display: grid; gap: 1.15rem; }
.card-dialog__content h2 { font-size: clamp(1.4rem, 4vw, 2.6rem); line-height: 1.15; overflow-wrap: anywhere; }
.card-dialog__body ul { margin: 0; padding-inline-start: 1.3em; }
.card-dialog__body blockquote {
  padding-inline-start: 1em;
  border-inline-start: 1px solid var(--line);
  font-size: 1.2em;
}
.card-dialog__sequence { font-family: var(--display); line-height: 1.65; }
.card-dialog__cta { max-width: 100%; margin-top: .65rem; text-align: center; white-space: normal; }

.contact { display: grid; grid-template-columns: 47.56% 1fr; align-items: start; margin-top: 10.3rem; }
.contact__copy { padding-top: 8.25rem; }
.contact__copy h2 { margin-top: 2.65rem; }
.contact__copy > p:last-child { margin-top: 2.2rem; }

.contact-form {
  display: grid;
  gap: 1.3rem;
  padding: 2.4rem 2.25rem 2.3rem;
  border: 1px solid light-dark(var(--line), color-mix(in srgb, var(--grey-text) 16%, transparent));
  border-radius: 1rem;
  background: var(--surface);
}

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.contact-form label { display: block; min-width: 0; color: var(--muted); font-size: 1rem; line-height: 1.3; }
.contact-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  margin-top: .5rem;
  padding: .55rem .9rem;
  border: 1px solid color-mix(in srgb, var(--muted) 23%, transparent);
  border-radius: .3rem;
  background: var(--background);
  color: var(--foreground);
  font-size: .875rem;
}

.contact-form :is(input, textarea)::placeholder { color: var(--muted); opacity: 1; }
.contact-form textarea { min-height: 6.5rem; resize: vertical; }
.contact-form .button { width: 100%; min-height: 2.7rem; margin-top: .35rem; padding-inline: 1rem; gap: .6rem; font-size: .7rem; }
.contact-form .arrow { font-size: .5rem; }
.form-status { font-size: 1rem; }

.site-footer { min-height: 12.7rem; padding: 2.15rem 0 0 1.4rem; gap: 1rem; }
.site-footer .navigation { transform: translateX(-2rem); }
.site-footer p { justify-self: end; font-size: 1rem; transform: translateX(1.25rem); }

@media (max-width: 959px) {
  :root { --gutter: 2rem; --anchor-offset: 8rem; font-size: clamp(12px, 2vw, 16px); }
  body { font-size: 1.125rem; }
  h1, h2 { font-size: clamp(1.65rem, 4.4vw, 2.75rem); }
  .lead { font-size: 1.75rem; }
  .desktop-break { display: none; }
  .badge { font-size: .7rem; }
  .number { font-size: 1.05rem; }
  .hero { height: auto; min-height: 37rem; padding-top: 6.3rem; }
  .hero__wolf { width: 70rem; left: calc(50% - 32rem); top: 4rem; }
  .site-header {
    top: .8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .8rem 1rem;
    width: calc(100% - 2 * var(--gutter) + 1.5rem);
    padding: .75rem;
    border-radius: 1.6rem;
  }
  .wordmark { width: 8rem; }
  .site-header .navigation { order: 1; width: 100%; justify-content: space-between; column-gap: .5rem; transform: none; }
  .navigation { gap: .55rem 1rem; font-size: .9rem; }
  .hero__layout { height: auto; }
  .hero__copy { padding-top: 6.75rem; }
  .hero__copy::before {
    position: absolute;
    z-index: -1;
    inset: 2.5rem calc(-1 * var(--gutter)) -3.3rem;
    background: linear-gradient(90deg,
      color-mix(in srgb, var(--white) var(--theme-blend), transparent),
      color-mix(in srgb, var(--white) calc(var(--theme-blend) * .67), transparent)
    );
    mask-image: linear-gradient(transparent, var(--black) 25%, var(--black) 68%, transparent);
    pointer-events: none;
    content: "";
  }
  .hero__copy .badge { margin-bottom: 1.45rem; font-size: .65rem; }
  .hero__copy > p:not(.badge) { max-width: 19rem; margin-top: 1.15rem; font-size: 1.15rem; }
  .hero__actions { margin-top: 1.6rem; }
  .hero-framework { position: static; inset: auto; grid-template-columns: repeat(3, 1fr); margin-top: 3rem; font-size: clamp(.93rem, 3.2vw, 1.6rem); }
  .hero-framework a { gap: .55rem; padding-block: 1.5rem; }
  .intro { min-height: 0; grid-template-columns: 1fr; gap: 2rem; padding-top: 5.5rem; }
  .intro h2 { font-size: 1rem; }
  .intro h2::after { width: 4rem; margin-top: 1rem; }
  .intro__detail, .form-status { margin-top: 1rem; }
  .lens, .services, .ideas, .quote, .conversations, .founder, .field-notes, .contact { margin-top: 6rem; }
  .section-heading, .services .section-heading, .field-notes .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-heading h2, .services .section-heading h2, .ideas .section-heading h2, .field-notes .section-heading h2 { margin-top: 1.4rem; }
  .lens-grid { grid-template-columns: 1fr; grid-template-rows: none; margin: 2.75rem 0 0; }
  .lens-item, .lens-item--people {
    display: grid;
    grid-template-columns: 3.3rem minmax(0, 1fr);
    grid-row: auto;
    margin: 0;
    padding: 1.6rem min(15vw, 5rem) 1.6rem 0;
    border: 0;
    border-top: 1px solid var(--line);
    overflow: hidden;
  }

  .lens-item .number, .lens-item h3 { margin-top: 0; font-size: 1.3rem; }
  .lens-item p, .lens-item--process p, .lens-item--results p { margin-top: .7rem; font-size: 1.05rem; }
  .lens-item { --lens-icon-scale: .44; }
  .lens-icon { scale: var(--lens-icon-scale); transform-origin: right bottom; }
  .process-icon { inset: auto -1.5rem .5rem auto; }
  .people-icon { right: -1rem; bottom: -2rem; }

  .service-grid { --card-columns: 3; --grid-extension: 0rem; margin-top: 2.5rem; }
  .service-card {
    min-height: 11rem;
    --service-inset: 1rem;
    --service-arrow-bottom: .6rem;
    padding: 1rem .75rem 3.25rem var(--service-inset);
  }
  .service-card h3 { margin-top: 1.7rem; font-size: clamp(.7rem, 2.4vw, 1rem); }
  .service-card .arrow { font-size: .73rem; }

  .belief { min-height: 0; margin-top: 4.5rem; }
  .belief__landscape {
    --belief-image-height: 58%;
    background-size: auto var(--belief-image-height);
    background-position: left top;
    /* Fade into the section background before the mobile image ends. */
    mask-image: linear-gradient(
      var(--black) 34%,
      transparent calc(var(--belief-image-height) - 1%)
    );
  }
  .belief__layout { display: block; padding-top: 17rem; padding-bottom: 3rem; }
  .belief .lead, .belief .lead + p { margin-top: 1.35rem; }
  .ideas-grid { --card-columns: 2; --card-gap: .85rem; margin-top: 2.5rem; }
  .idea-card__art .number { top: .8rem; left: .8rem; }
  .idea-card h3 { min-height: 2.7rem; margin-top: .9rem; font-size: .9rem; }
  .idea-card p { margin-top: .5rem; font-size: 1rem; }
  .quote__detail { margin-top: 1.75rem; }
  .conversations { grid-template-columns: 1fr; }
  .conversations__intro { min-height: 0; gap: 2.25rem; padding: 2rem 1.25rem; }
  .conversations__intro p { margin-bottom: 1.45rem; }
  .conversation-list { min-height: 26rem; grid-template-rows: repeat(4, 1fr); column-gap: 1.25rem; padding: 1.75rem 1.25rem 0; }
  .conversation-list li:first-child { width: calc((100% - 1.25rem) / 2); }
  .conversation-list li > span:last-child { white-space: normal; font-size: 1rem; }
  .founder__layout { grid-template-columns: 1fr; gap: 2rem; }
  .founder__identity img { width: 7.5rem; }
  .founder__identity h2 { font-size: 1.5rem; }
  .founder__identity p { font-size: 1.05rem; }
  .founder__statement { padding-left: 0; border: 0; }
  .founder__statement blockquote, .founder__statement > p:last-child { margin-top: 1.15rem; }
  .founder__caption { min-height: 13rem; }
  .founder__caption { padding-top: 4rem; padding-bottom: 1rem; }
  .founder__mountains { background-position: 42% bottom; }
  .notes-grid { --card-columns: 2; --card-gap: .6rem; --grid-extension: 0rem; margin-top: 2.5rem; }
  .notes-grid article {
    min-height: 6rem;
    --note-padding: .85rem;
  }
  .notes-grid p { margin-top: .8rem; font-size: 1.25rem; }
  .contact { grid-template-columns: 1fr; gap: 2rem; }
  .contact__copy { padding-top: 0; }
  .contact__copy h2 { margin-top: 1.45rem; }
  .contact__copy > p:last-child { margin-top: 1rem; }
  .contact-form { padding: 1.25rem; gap: 1rem; }
  .contact-form :is(input, select, textarea) { font-size: max(16px, 1rem); }
  .form-row { gap: .75rem; }
  .site-footer .navigation, .site-footer p { transform: none; }
  .site-footer { display: flex; flex-direction: column; gap: 1.6rem; padding: 3rem 0 2rem; text-align: center; }
}

@media (640px < width <= 959px) {
  .button { padding-left: 1.1rem; min-height: 2.6rem; gap: .65rem; font-size: .77rem; }
  .button .arrow, .theme-toggle { font-size: .73rem; }
}

@media (max-width: 640px) {
  :root {
    --gutter: clamp(1rem, 6vw, 2.5rem);
    --anchor-offset: 6.25rem;
    --mobile-section-gap: clamp(6rem, 17vw, 8rem);
    font-size: 14px;
  }
  body, .intro__detail, .lens-item p, .idea-card p { font-size: 1.125rem; line-height: 1.6; }
  h1, h2 { font-size: clamp(1.45rem, 5.4vw, 2.1rem); }
  .lead { font-size: clamp(1.35rem, 4.6vw, 1.65rem); line-height: 1.45; }

  .site-header {
    top: clamp(.8rem, 3svh, 1.75rem);
    width: calc(100% - 2 * var(--gutter));
    gap: .35rem .5rem;
    padding: .375rem 0;
    border-radius: 2rem;
  }
  .site-header:has(.menu-toggle:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "menu logo call";
    padding: .375rem;
  }
  .site-header .wordmark { grid-area: logo; width: clamp(7.25rem, 27vw, 11rem); }
  .site-header__actions { grid-area: call; }
  .button.header-contact {
    flex: none;
    width: 44px;
    height: 44px;
    min-height: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .header-contact > :is(.header-contact__label, .arrow) { display: none; }
  .header-contact__icon { display: block; width: 57%; height: 57%; }
  .site-header .theme-toggle {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
  .menu-toggle:not([hidden]) {
    grid-area: menu;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--foreground);
    cursor: pointer;
  }
  .menu-toggle svg { width: 1.35rem; }
  .menu-toggle[aria-expanded="false"] .menu-toggle__close,
  .menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
  .site-header:has(.menu-toggle:not([hidden])) .navigation {
    position: absolute;
    inset: calc(100% + .35rem) 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: .2rem;
    max-height: calc(100dvh - var(--anchor-offset));
    overflow: auto;
    padding: .55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
    font-size: 1rem;
    opacity: 1;
    visibility: visible;
    translate: 0 0;
    transition: translate .32s ease, opacity .32s ease, visibility 0s;
  }
  .site-header:has(.menu-toggle:not([hidden])[aria-expanded="false"]) .navigation {
    opacity: 0;
    visibility: hidden;
    translate: 0 -1.25rem;
    pointer-events: none;
    transition-delay: 0s, 0s, .32s;
  }
  .site-header .navigation a { display: grid; place-items: center; min-height: 44px; }
  .site-header .navigation a::after { inset-block-end: .35rem; }

  .hero {
    display: grid;
    grid-template-rows: auto minmax(11.5rem, 1fr);
    min-height: 100svh;
    padding-top: max(var(--anchor-offset), 13svh);
  }
  .hero__layout { display: contents; }
  .hero__copy {
    grid-area: 1 / 1;
    width: calc(100% - 2 * var(--gutter));
    margin-inline: auto;
    padding-top: 0;
    padding-bottom: 1rem;
  }
  .hero__copy::before { inset-block: -.75rem 0; }
  .hero__copy h1 { font-size: clamp(1.35rem, 7.9vw, 3.4rem); line-height: 1.12; }
  .hero__copy h1 span { display: block; }
  .hero__copy h1 br { display: none; }
  .hero__copy .badge {
    margin-bottom: clamp(1.45rem, 3.5svh, 2.75rem);
    font-size: clamp(.55rem, 2.35vw, 1rem);
  }
  .hero__copy > p:not(.badge) {
    max-width: none;
    margin-top: clamp(1rem, 2.8svh, 2.25rem);
    font-size: clamp(1rem, 4.5vw, 1.85rem);
    line-height: 1.4;
  }
  .hero__actions { gap: .55rem 2.3vw; margin-top: clamp(1.25rem, 3.1svh, 2.5rem); }
  .hero__actions .button {
    --button-unit: clamp(.6rem, 2.74vw, 1.13rem);
    min-height: max(44px, calc(3.375 * var(--button-unit)));
  }
  .hero__actions .arrow { font-size: var(--button-unit); }
  .hero__wolf-frame {
    position: relative;
    display: block;
    grid-area: 2 / 1;
    height: 100%;
    overflow: hidden;
  }
  .hero__wolf {
    z-index: auto;
    top: 0;
    left: 50%;
    width: auto;
    height: max(22rem, 150%);
    translate: -50% 0;
  }
  .hero-framework {
    position: relative;
    isolation: isolate;
    grid-area: 2 / 1;
    width: calc(100% - var(--gutter));
    margin: 0 auto;
    padding-top: 18%;
    font-size: clamp(.75rem, 3.5vw, 1.55rem);
  }
  .hero-framework::before {
    position: absolute;
    z-index: -1;
    inset: 44% calc(-.5 * var(--gutter)) 0;
    background: linear-gradient(transparent, color-mix(in srgb, var(--black) 76%, transparent));
    content: "";
    pointer-events: none;
  }
  .hero-framework a { padding-block: 0 clamp(1.65rem, 4.5svh, 3.5rem); }

  .intro { gap: 1.85rem; padding-top: 5rem; }
  .intro__detail { margin-top: 1.5rem; }
  .lens, .services, .belief, .ideas, .quote, .conversations, .founder, .field-notes, .contact {
    margin-top: var(--mobile-section-gap);
  }
  .section-heading, .services .section-heading, .field-notes .section-heading { gap: 1.9rem; }
  .lens-grid { margin-top: 3.25rem; }
  .lens-item, .lens-item--people {
    --lens-icon-width: 13.05rem;
    --lens-icon-overhang: 0rem;
    grid-template-columns: 2.7rem minmax(0, 1fr);
    padding: 2.15rem 0;
  }
  .lens-item--people { --lens-icon-width: 24.4rem; --lens-icon-overhang: 1rem; }
  .lens-item--process { --lens-icon-width: 13rem; --lens-icon-overhang: 1.5rem; }
  .lens-item > div:not(.lens-icon) {
    padding-inline-end: calc(var(--lens-icon-width) * var(--lens-icon-scale) - var(--lens-icon-overhang) + .75rem);
  }
  .lens-item p, .lens-item--process p, .lens-item--results p { margin-top: 1rem; }

  .service-grid, .ideas-grid, .notes-grid { margin-top: 3.25rem; }
  .service-grid { --card-columns: 2; }
  .service-card {
    --service-arrow-bottom: 1.1rem;
    min-height: 14.5rem;
    padding-block: 1.5rem 4rem;
  }
  .service-card h3 { margin-top: 2.15rem; font-size: clamp(.8rem, 2.45vw, 1rem); }
  .belief__layout { padding-block: clamp(11.5rem, 55vw, 17.5rem) 4rem; }
  .belief .lead, .belief .lead + p { margin-top: 1.85rem; }
  .idea-card { min-height: 16rem; padding-bottom: 1.8rem; }
  .idea-card h3 { min-height: 0; margin-top: 1.25rem; }
  .idea-card p { margin-top: .85rem; }
  .quote blockquote { margin-top: 1.65rem; }
  .quote__detail { margin-top: 2.25rem; }
  .conversations__intro { gap: 3.5rem; padding-block: 2.6rem; }
  .conversations__intro p { margin-bottom: 1.85rem; }
  .conversation-list { grid-template-rows: repeat(4, auto); gap: 2rem 1.25rem; padding-block: 2.25rem; }
  .founder { padding-block: 4.75rem 2.75rem; }
  .founder__layout { gap: 2.65rem; }
  .founder__identity { gap: 1rem; }
  .founder__identity img { width: clamp(5.75rem, 27vw, 7.5rem); }
  .founder__statement blockquote, .founder__statement > p:last-child { margin-top: 1.6rem; }
  .founder__caption { min-height: 12rem; padding-top: 3.5rem; }
  .notes-grid article { min-height: 9.5rem; padding-block: 1.35rem; }
  .notes-grid p { margin-top: 1.1rem; }
  .contact { gap: 2.6rem; }
  .contact__copy > p:last-child { margin-top: 1.45rem; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .contact-form { min-width: 0; padding-block: 1.65rem; gap: 1.35rem; }
  .contact-form :is(input, select) { min-height: 44px; }
  .contact-form select { text-overflow: ellipsis; }
  .site-footer { gap: 2rem; padding-block: 4rem 5rem; }
  .site-footer .navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .5rem; width: 100%; }
  .site-footer .navigation a { display: grid; min-height: 44px; place-items: center; }
}

@media (max-width: 400px) {
  .lens-item { --lens-icon-scale: .34; }
}

@media (max-width: 450px) and (max-height: 600px) {
  .hero__copy { padding-bottom: .4rem; }
  .hero__copy .badge { margin-bottom: .85rem; }
  .hero__copy > p:not(.badge) { margin-top: .85rem; line-height: 1.35; }
  .hero__actions { margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root.is-switching-theme, .site-header .navigation a::after { transition: none; }
  .site-header:has(.menu-toggle:not([hidden])) .navigation { transition: none; }
}

/* Match the fixed site header to the WordPress toolbar in signed-in previews. */
body.admin-bar .site-header {
  margin-top: var(--wp-admin--admin-bar--height, 32px);
}

body.admin-bar .site-header + #smooth-wrapper :is(main section, main article)[id] {
  scroll-margin-top: var(--wp-admin--admin-bar--height, 32px);
}

.alpha-lead-content {
  max-width: 72ch;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-size: max(16px, 1.125rem);
}

.alpha-lead-content > a, .alpha-lead-content article a { text-decoration: underline; }
.alpha-lead-content article { margin-block: 2rem; }
.alpha-lead-content p { margin-block: 1rem; }
.alpha-lead-content nav { margin-top: 2rem; }

/* Keep the custom homepage typography independent of the previous page builder. */
body.alpha-lead-home { font-family: var(--body); }

/* Keep the homepage canvas independent of the existing Elementor kit colors. */
body.alpha-lead-home.home {
  background-color: var(--background);
  color: var(--foreground);
}

body.alpha-lead-home #smooth-content {
  background-color: var(--background);
  color: var(--foreground);
}
body.alpha-lead-home :is(h1, h2, h3, .badge, .number, .button, .hero-framework, .founder__experience strong) {
  font-family: var(--display);
  font-weight: 400;
}
