/*
 * Landing page styles — Welday Strategy Group.
 *
 * Loaded after style.css (the untouched _s base). Design source: the PM's
 * Claude artifact "Design – WSG, one-page site" (1200px content column inside
 * 64px gutters, desktop only; every breakpoint below 1100px is ours).
 *
 * Both faces are Google Fonts under the SIL Open Font License, self-hosted as
 * variable latin subsets: Instrument Sans for UI and body copy, Newsreader for
 * the display headings and the pull-quote's italic.
 */

/* --------------------------------------------------------------------------
 * Fonts + tokens
 * ------------------------------------------------------------------------ */

@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans-var-latin.woff2") format("woff2-variations");
	font-weight: 400 700;
	font-stretch: 100%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-var-latin.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-italic-var-latin.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--c-blue: #004aad;
	--c-blue-hover: #00337a;
	--c-blue-12: rgba(0, 74, 173, 0.12);
	--c-ink: #14171f;
	--c-ink-2: #2a2f3a;
	--c-body: #3a404c;
	--c-muted: #4a5060;
	--c-muted-2: #5a6070;
	--c-line: #e4e2da;
	--c-line-strong: #c9c6bc;
	--c-ring: #a9a69c;
	--c-bg: #fafaf7;
	--c-white: #fff;
	--c-panel: #f3f2ed;
	--font-body: "Instrument Sans", "Helvetica Neue", helvetica, arial, sans-serif;
	--font-display: "Newsreader", georgia, "Times New Roman", serif;
	/* 64px gutters at 1440 → the design's 1200px content column. */
	--pad-x: clamp(20px, 4.45vw, 64px);
	--content: 1200px;
	--radius-card: 4px;
	--radius-pill: 999px;
	--header-h: 76px;
	--header-offset: 100px;
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html,
	.testimonials__track {
		scroll-behavior: auto;
	}
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-ink);
	background: var(--c-bg);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
 * Shared
 * ------------------------------------------------------------------------ */

/*
 * Link colors. The _s base sets royalblue / purple-when-visited, and its
 * `a:visited` selector (type + pseudo-class) outranks any single class, so
 * every branded link and button declares :visited explicitly.
 */
a,
a:visited {
	color: var(--c-blue);
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: var(--c-blue-hover);
}

/*
 * The design's sections are `max-width: 1200px; padding: 0 64px` with no
 * border-box reset, so 1200px is the CONTENT width and the gutters sit
 * outside it. _s sets border-box globally, so the cap has to include the
 * padding or every column comes out 128px narrow.
 */
.wrap {
	max-width: calc(var(--content) + var(--pad-x) * 2);
	margin: 0 auto;
	padding-left: var(--pad-x);
	padding-right: var(--pad-x);
}

/*
 * `.page` and `.post` are body_class() names as well as post_class() names,
 * so the _s base rule `.post, .page { margin: 0 0 1.5em }` lands on the BODY
 * of every page and leaves 24px of dead ground under the footer. Re-scope it
 * to the article it was written for.
 */
body.page,
body.post {
	margin-bottom: 0;
}

/* Display headings share one recipe; size is set per element. */
.display {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0;
}

/* Eyebrow: 13px semibold, tracked, uppercase, blue. */
.eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--c-blue);
}

.section-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 56px;
}

.section-head__hint {
	margin: 0;
	font-size: 16px;
	color: var(--c-muted);
}

/* Pill buttons. */
.button,
a.button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border-radius: var(--radius-pill);
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button--blue,
a.button--blue:visited {
	background: var(--c-blue);
	color: var(--c-white);
}

.button--blue:hover,
.button--blue:focus,
.button--blue:active {
	background: var(--c-blue-hover);
	color: var(--c-white);
}

.button--outline,
a.button--outline:visited {
	/* 1px border each side; keep the same outer height as the solid button. */
	padding: 0 27px;
	border: 1px solid var(--c-line-strong);
	color: var(--c-ink);
	font-weight: 500;
}

.button--outline:hover,
.button--outline:focus,
.button--outline:active {
	border-color: var(--c-ink);
	color: var(--c-ink);
	background: rgba(20, 23, 31, 0.04);
}

.button--outline-blue,
a.button--outline-blue:visited {
	/*
	 * The _s scaffold styles .donate-button red, uppercase and square-ish;
	 * this button carries both classes, so every one of those has to be
	 * answered here rather than just the ones the design adds.
	 */
	background: transparent;
	text-transform: none;
	min-height: 44px;
	padding: 0 21px;
	border: 1px solid var(--c-blue);
	color: var(--c-blue);
	font-size: 15px;
	font-weight: 600;
}

/* a.-prefixed selectors match a.button--outline-blue:visited (0,2,1) and come later, so a
   visited link still gets its hover colors (2026-11-24; was hidden text). */
.button--outline-blue:hover,
.button--outline-blue:focus,
.button--outline-blue:active,
a.button--outline-blue:hover,
a.button--outline-blue:focus,
a.button--outline-blue:active {
	background: var(--c-blue);
	color: var(--c-white);
}

.button:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 3px;
}

.ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ctas--center {
	justify-content: center;
}

/* --------------------------------------------------------------------------
 * Announcement bar (Site Settings; off by default on this site)
 * ------------------------------------------------------------------------ */

.announcement-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 24px;
	background: var(--c-blue);
	color: var(--c-white);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

a.announcement-bar:visited {
	color: var(--c-white);
}

a.announcement-bar:hover,
a.announcement-bar:focus {
	background: var(--c-blue-hover);
	color: var(--c-white);
}

/* --------------------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------------------ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 250, 247, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--c-line);
}

/* Sit below the WP admin bar when logged in (32px, 46px under 783px). */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: calc(var(--content) + var(--pad-x) * 2);
	min-height: var(--header-h);
	margin: 0 auto;
	/* The band is full-bleed; this row carries the gutters. */
	padding: 0 var(--pad-x);
}

/*
 * The design groups the links and the Contact pill together at the right,
 * against the lock-up on the left. With three flex children, space-between
 * would instead strand the menu in the middle, so the nav takes the slack.
 */
.main-navigation {
	/* The _s base gives this width: 100%, which would eat the whole row. */
	display: flex;
	align-items: center;
	width: auto;
	margin-left: auto;
}

/* In-page anchors stop clear of the pinned header. */
#top,
#advisory,
#about,
#network,
#flintlock,
#experience,
#boards,
#contact,
.role {
	scroll-margin-top: var(--header-offset);
}

.site-branding {
	flex-shrink: 0;
}

.site-title {
	margin: 0;
	font-size: inherit;
	line-height: 0;
}

.site-branding .custom-logo-link,
.site-branding .custom-logo-link:visited {
	display: block;
	color: var(--c-ink);
	line-height: 0;
}

/*
 * The horizontal lock-up is 2.486:1, so only the height is set: a fixed width
 * would squash it, and `auto` keeps it honest whether the source is the
 * bundled SVG or a PNG uploaded to Site Settings.
 */
.site-branding .custom-logo {
	display: block;
	width: auto;
	height: 44px;
	flex-shrink: 0;
}

/*
 * Left over from the mark + site-name lock-up the design shipped with; kept
 * so that treatment is one template line away if the client wants it back.
 */
.site-title__text {
	font-family: var(--font-display);
	font-size: 21px;
	font-weight: 500;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation a,
.main-navigation a:visited {
	font-size: 15px;
	font-weight: 500;
	color: var(--c-ink);
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--c-blue);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-pill);
	color: var(--c-ink);
	cursor: pointer;
}

.menu-toggle__icon {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

.menu-toggle__icon span {
	display: block;
	height: 1.5px;
	background: currentColor;
	border-radius: 2px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */

.hero__row {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: 64px;
	align-items: center;
	padding-top: 120px;
	padding-bottom: 96px;
}

.hero__copy {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.hero__title {
	font-size: clamp(42px, 4.2vw, 60px);
	line-height: 1.02;
	letter-spacing: -0.025em;
}

.hero__lede {
	margin: 0;
	max-width: 580px;
	font-size: 20px;
	line-height: 1.6;
	color: var(--c-body);
}

.hero__emblem {
	display: flex;
	justify-content: center;
}

.emblem {
	position: relative;
	width: 340px;
	max-width: 100%;
	aspect-ratio: 1;
	color: var(--c-blue);
}

.emblem__rings {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.emblem__mark {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 70.6%;
	height: 70.6%;
	transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
 * Stats
 * ------------------------------------------------------------------------ */

.stats {
	background: var(--c-white);
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

.stats__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	padding-top: 48px;
	padding-bottom: 48px;
}

.stat {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.stat__value {
	font-family: var(--font-display);
	font-size: clamp(38px, 3.9vw, 56px);
	font-weight: 400;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--c-blue);
	/* Counting swaps the text; keep the row from twitching as digits change. */
	font-variant-numeric: tabular-nums;
}

.stat__label {
	font-size: 15px;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
 * Advisory
 * ------------------------------------------------------------------------ */

.advisory__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 64px;
	padding-top: 128px;
	padding-bottom: 96px;
}

.advisory__intro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.advisory__title {
	font-size: clamp(32px, 3.1vw, 44px);
	line-height: 1.1;
}

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

.practice {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--c-ink);
}

.practice__number {
	font-family: var(--font-display);
	font-size: 16px;
	color: var(--c-blue);
}

.practice__title {
	margin: 0;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--c-ink);
}

.practice__body {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-body);
}

/* --------------------------------------------------------------------------
 * Current roles
 * ------------------------------------------------------------------------ */

.roles .wrap {
	padding-bottom: 128px;
}

.roles__card {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 48px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-card);
}

/* Up to three titled columns (Advisor/Board, Advisor/Investor, Community),
   each a stack of roles under a ruled heading in the Boards column style. */
.roles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	align-items: start;
}

.roles__col {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.roles__col-title {
	margin: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--c-line);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--c-muted);
}

.role-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.role-item__org {
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 1.25;
	color: var(--c-ink);
}

.role-item__detail {
	font-size: 15px;
	line-height: 1.5;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
 * About
 * ------------------------------------------------------------------------ */

.about {
	background: var(--c-white);
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

.about__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
	gap: 80px;
	align-items: start;
	padding-top: 128px;
	padding-bottom: 128px;
}

.about__figure {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

.about__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: #0b0b0b;
}

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

.about__copy {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.about__copy--full {
	grid-column: 1 / -1;
	max-width: 760px;
}

.about__title {
	font-size: clamp(34px, 3.4vw, 48px);
}

.about__lede {
	margin: 0;
	font-family: var(--font-display);
	font-size: 24px;
	line-height: 1.5;
	color: var(--c-ink);
}

.about__body {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.about__body p {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--c-body);
}

.about__footnote {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid var(--c-line);
	font-size: 15px;
	color: var(--c-muted);
}

/* --------------------------------------------------------------------------
 * Rick's Network
 *
 * On the page ground under About's white band, ruled at the foot. White
 * cards two to a row: a black-and-white headshot circle (the grayscale lets
 * a colour photo sit beside an engraved portrait) with the name and role,
 * then the quote in the testimonials' serif italic.
 * ------------------------------------------------------------------------ */

.network {
	border-bottom: 1px solid var(--c-line);
}

.network__inner {
	padding-top: 112px;
	padding-bottom: 104px;
}

.network__title {
	font-size: clamp(34px, 3.4vw, 48px);
}

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

.network-card {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin: 0;
	padding: 40px;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-card);
}

.network-card__person {
	display: flex;
	align-items: center;
	gap: 20px;
}

.network-card__photo {
	display: block;
	flex: 0 0 auto;
	width: 88px;
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 30%;
	background: var(--c-panel);
	filter: grayscale(1);
}

.network-card__who {
	display: flex;
	flex-direction: column;
	gap: 4px;
	line-height: 1.45;
}

.network-card__name {
	font-size: 17px;
	font-weight: 600;
	color: var(--c-ink);
}

.network-card__role {
	font-size: 15px;
	color: var(--c-muted);
}

.network-card__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.network-card__quote p {
	margin: 0;
	font-family: var(--font-display);
	font-size: 22px;
	font-style: italic;
	line-height: 1.5;
	color: var(--c-ink);
}

/* Pinned to the card foot so links line up across a row of unequal quotes. */
.network-card__more {
	margin: auto 0 0;
}

.network-card__link,
a.network-card__link:visited {
	font-size: 16px;
	font-weight: 600;
	color: var(--c-blue);
}

.network-card__link:hover,
.network-card__link:focus,
a.network-card__link:hover,
a.network-card__link:focus {
	color: var(--c-blue-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* --------------------------------------------------------------------------
 * Testimonials
 *
 * On the page ground between About's white band and Flintlock, ruled at the
 * foot. A horizontal scroll-snap track, one quote per slide; the slides
 * stretch to the tallest, so the controls never move. The scrollbar is only
 * hidden once landing.js has shown the arrows and dots (.is-ready).
 * ------------------------------------------------------------------------ */

.testimonials {
	border-bottom: 1px solid var(--c-line);
}

.testimonials__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding-top: 112px;
	padding-bottom: 104px;
	text-align: center;
}

.testimonials__inner > .eyebrow {
	margin-bottom: -8px;
}

.testimonials__track {
	display: flex;
	width: 100%;
	max-width: 920px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
}

.testimonials__track.is-ready {
	scrollbar-width: none;
}

.testimonials__track.is-ready::-webkit-scrollbar {
	display: none;
}

.testimonials__track:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 8px;
}

.testimonial {
	display: flex;
	flex: 0 0 100%;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
	margin: 0;
	padding: 0 8px;
	scroll-snap-align: center;
}

.testimonial__quote {
	margin: 0;
	padding: 0;
	border: 0;
}

.testimonial__quote p {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(22px, 2.3vw, 30px);
	font-style: italic;
	line-height: 1.45;
	letter-spacing: -0.005em;
	color: var(--c-ink);
}

.testimonial__cite {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 15px;
	line-height: 1.45;
}

.testimonial__name {
	font-weight: 600;
	color: var(--c-ink);
}

.testimonial__role {
	color: var(--c-muted);
}

.testimonials__controls {
	display: flex;
	align-items: center;
	gap: 24px;
}

.testimonials__controls[hidden] {
	display: none;
}

.testimonials__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-pill);
	background: transparent;
	color: var(--c-blue);
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.testimonials__arrow:hover,
.testimonials__arrow:focus-visible {
	background: var(--c-blue);
	border-color: var(--c-blue);
	color: var(--c-white);
}

.testimonials__arrow:focus-visible,
.testimonials__dot:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 3px;
}

.testimonials__dots {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.testimonials__dots li {
	display: flex;
}

/* 24px hit area around an 8px dot. */
.testimonials__dot {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	border-radius: var(--radius-pill);
	background: transparent;
	cursor: pointer;
}

.testimonials__dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: var(--radius-pill);
	background: var(--c-line-strong);
	transform: translate(-50%, -50%);
	transition: background-color 0.2s ease, width 0.2s ease;
}

.testimonials__dot:hover::before {
	background: var(--c-ring);
}

.testimonials__dot[aria-current="true"]::before {
	width: 20px;
	background: var(--c-blue);
}

/* --------------------------------------------------------------------------
 * Flintlock
 *
 * On the page ground between About's white band and Experience, ruled at
 * the foot. The watermark is Flintlock's own hero mark (assets/img/
 * flintlock-watermark.svg, 5% opacity baked into the SVG), centred behind
 * the copy column and clipped by the section.
 * ------------------------------------------------------------------------ */

.flintlock {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--c-line);
}

.flintlock__row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 80px;
	align-items: center;
	padding-top: 128px;
	padding-bottom: 128px;
}

.flintlock__row--full {
	grid-template-columns: minmax(0, 1fr);
}

.flintlock__copy {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 600px;
}

.flintlock__copy > :not(.flintlock__watermark) {
	position: relative;
}

.flintlock__watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 480px;
	max-width: none;
	height: auto;
	transform: translate(-50%, -50%);
	pointer-events: none;
	user-select: none;
}

.flintlock__title {
	font-size: clamp(34px, 3.4vw, 48px);
}

.flintlock__body p {
	margin: 0;
	font-size: 17px;
	line-height: 1.7;
	color: var(--c-body);
}

.flintlock__body a,
.flintlock__body a:visited {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.flintlock__more {
	margin: 4px 0 0;
}

.flintlock__link,
a.flintlock__link:visited {
	font-size: 16px;
	font-weight: 600;
	color: var(--c-blue);
}

.flintlock__link:hover,
.flintlock__link:focus,
a.flintlock__link:hover,
a.flintlock__link:focus {
	color: var(--c-blue-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.flintlock__figure {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
}

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

.flintlock__photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	border-radius: var(--radius-card);
	background: var(--c-panel);
}

/* --------------------------------------------------------------------------
 * Experience
 * ------------------------------------------------------------------------ */

.experience .wrap {
	padding-top: 128px;
	padding-bottom: 96px;
}

.experience__title {
	font-size: clamp(36px, 3.9vw, 56px);
	line-height: 1.05;
}

.experience__row {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.rail {
	position: sticky;
	top: calc(var(--header-h) + 32px);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.admin-bar .rail {
	top: calc(var(--header-h) + 64px);
}

.rail__item,
.rail__item:visited {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 40px;
	color: var(--c-muted);
	transition: color 0.15s ease;
}

.rail__item:hover,
.rail__item:focus {
	color: var(--c-blue);
}

.rail__dot {
	flex-shrink: 0;
	box-sizing: border-box;
	width: 8px;
	height: 8px;
	border: 1.5px solid var(--c-ring);
	border-radius: var(--radius-pill);
	background: transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rail__labels {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.rail__label {
	font-size: 15px;
	font-weight: 500;
}

.rail__span {
	font-size: 13px;
	color: var(--c-muted-2);
}

/* The active group's years unfold under it (0fr -> 1fr animates the height). */
.rail__sub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.25s ease;
}

.rail__group.is-open .rail__sub {
	grid-template-rows: 1fr;
}

/* Once the years are showing, the span above them only repeats them. */
.rail__group.has-years.is-open .rail__span {
	display: none;
}

.rail__years {
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
	margin-left: 3.5px;
	padding-left: 16px;
	border-left: 1px solid var(--c-line);
}

.rail__group.is-open .rail__years {
	margin-top: 4px;
}

.rail__year,
.rail__year:visited {
	padding: 4px 0;
	font-size: 13px;
	line-height: 1.3;
	color: var(--c-muted-2);
	transition: color 0.15s ease;
}

.rail__year:hover,
.rail__year:focus {
	color: var(--c-blue);
}

.rail__year.is-active,
.rail__year.is-active:visited {
	font-weight: 600;
	color: var(--c-blue);
}

.rail__item.is-active,
.rail__item.is-active:visited {
	color: var(--c-blue);
}

.rail__item.is-active .rail__label {
	font-weight: 600;
}

.rail__item.is-active .rail__dot {
	background: var(--c-blue);
	border-color: var(--c-blue);
}

.experience__list {
	display: flex;
	flex-direction: column;
}

.xp-group + .xp-group {
	margin-top: 56px;
}

.xp-group__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin: 0 0 16px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--c-blue);
}

.xp-group__span {
	font-weight: 500;
	color: var(--c-muted-2);
}

.role {
	border-top: 1px solid var(--c-line);
}

.role:last-child {
	border-bottom: 1px solid var(--c-line);
}

.role__summary {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 32px 0;
	cursor: pointer;
	list-style: none;
}

.role__summary::-webkit-details-marker {
	display: none;
}

.role__summary:focus-visible {
	outline: 2px solid var(--c-blue);
	outline-offset: 4px;
}

.role__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
	min-width: 0;
}

.role__meta {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--c-muted-2);
}

.role__title {
	font-family: var(--font-display);
	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--c-ink);
	transition: color 0.15s ease;
}

.role__summary:hover .role__title {
	color: var(--c-blue);
}

.chev {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid var(--c-line-strong);
	border-radius: var(--radius-pill);
	color: var(--c-blue);
	transition: transform 0.35s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chev svg {
	transition: transform 0.35s ease;
}

.role[open] .chev {
	background: var(--c-blue);
	border-color: var(--c-blue);
	color: var(--c-white);
}

.role[open] .chev svg {
	transform: rotate(180deg);
}

.role__panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 0 76px 40px 0;
}

.role__lede {
	margin: 0;
	max-width: 760px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-body);
}

.role__bullets {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding-left: 20px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--c-ink-2);
}

.role__bullets li::marker {
	color: var(--c-blue);
}

.role__positions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 40px;
	font-size: 16px;
	line-height: 1.5;
	color: var(--c-ink-2);
}

.position__title {
	display: block;
	font-weight: 600;
}

.position__org {
	color: var(--c-muted);
}

@media (prefers-reduced-motion: reduce) {
	.chev,
	.chev svg,
	.rail__sub {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
 * Boards & recognition
 * ------------------------------------------------------------------------ */

.boards {
	background: var(--c-white);
	border-top: 1px solid var(--c-line);
	border-bottom: 1px solid var(--c-line);
}

.boards .wrap {
	padding-top: 128px;
	padding-bottom: 128px;
}

.boards__title {
	font-size: clamp(36px, 3.9vw, 56px);
	line-height: 1.05;
}

.boards__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px;
}

.boards__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.boards__col-title {
	margin: 0;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--c-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--c-ink);
}

.boards__items {
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-size: 15px;
	line-height: 1.45;
}

.boards__item-name {
	font-weight: 600;
}

.boards__item-detail {
	color: var(--c-muted);
}

.pullquote {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 24px 0 0;
	padding: 28px;
	background: var(--c-panel);
}

.pullquote__text {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--font-display);
	font-size: 22px;
	font-style: italic;
	line-height: 1.4;
	color: var(--c-ink-2);
}

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

/* --------------------------------------------------------------------------
 * Contact
 * ------------------------------------------------------------------------ */

.contact__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 28px;
	padding-top: 136px;
	padding-bottom: 120px;
	text-align: center;
}

.contact__mark {
	width: 72px;
	height: 72px;
}

.contact__title {
	max-width: 820px;
	font-size: clamp(36px, 4.2vw, 60px);
	line-height: 1.05;
}

.contact__body {
	margin: 0;
	max-width: 560px;
	font-size: 18px;
	line-height: 1.6;
	color: var(--c-body);
}

/* --------------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------------ */

.error-404__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding-top: 136px;
	padding-bottom: 136px;
	text-align: center;
}

.error-404__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: 72px;
	line-height: 1;
	color: var(--c-blue);
}

.error-404__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.error-404__message {
	margin: 0 0 8px;
	font-size: 18px;
	color: var(--c-body);
}

/* --------------------------------------------------------------------------
 * Motion: hero rise, ring rotation, scroll-reveal
 *
 * The rise runs on load for the hero only. [data-reveal] elements are visible
 * by default and only hidden once landing.js proves it can reveal them
 * (html.has-reveal), so nothing disappears with scripts off.
 * ------------------------------------------------------------------------ */

.rise {
	opacity: 0;
	transform: translateY(14px);
	animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--rise-delay, 0s) forwards;
}

@keyframes rise {
	to {
		opacity: 1;
		transform: none;
	}
}

.emblem__arc {
	stroke-dasharray: 640;
	stroke-dashoffset: 640;
	animation: arc-draw 2.2s cubic-bezier(0.5, 0, 0.2, 1) 0.4s forwards;
}

@keyframes arc-draw {
	to {
		stroke-dashoffset: 0;
	}
}

.emblem__spin {
	transform-origin: 170px 170px;
	animation: spin 48s linear infinite;
}

.emblem__spin--slow {
	animation: spin 72s linear infinite reverse;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.has-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.has-reveal [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.rise,
	.emblem__arc,
	.emblem__spin,
	.emblem__spin--slow {
		animation: none;
	}

	.rise {
		opacity: 1;
		transform: none;
	}

	.emblem__arc {
		stroke-dashoffset: 0;
	}

	.has-reveal [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* --------------------------------------------------------------------------
 * Interior content pages (Privacy Policy, etc.)
 *
 * Scoped with :not(.landing) so the front page's full-bleed sections are
 * untouched.
 * ------------------------------------------------------------------------ */

.site-main:not(.landing) {
	max-width: calc(var(--content) + var(--pad-x) * 2);
	margin: 0 auto;
	padding: 96px var(--pad-x) 120px;
}

.site-main:not(.landing) .entry-header {
	margin-bottom: 32px;
}

.site-main:not(.landing) .entry-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(34px, 3.4vw, 48px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.site-main:not(.landing) .entry-content {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--c-body);
}

.site-main:not(.landing) .entry-content h2,
.site-main:not(.landing) .entry-content h3 {
	margin: 40px 0 12px;
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--c-ink);
}

.site-main:not(.landing) .entry-content h2 {
	font-size: 28px;
}

.site-main:not(.landing) .entry-content h3 {
	font-size: 22px;
}

.site-main:not(.landing) .entry-content p,
.site-main:not(.landing) .entry-content ul,
.site-main:not(.landing) .entry-content ol {
	margin: 0 0 20px;
}

.site-main:not(.landing) .entry-content li {
	margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */

.site-footer {
	border-top: 1px solid var(--c-line);
	text-align: left;
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	max-width: calc(var(--content) + var(--pad-x) * 2);
	margin: 0 auto;
	padding: 32px var(--pad-x);
	font-size: 14px;
	color: var(--c-muted);
}

.site-footer .site-info {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: inherit;
}

.site-footer__logo,
.site-footer__logo:visited {
	display: block;
	line-height: 0;
	flex-shrink: 0;
}

.site-footer__mark {
	display: block;
	width: auto;
	height: 26px;
}

.site-footer__meta {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.footer-legal-links a,
.footer-legal-links a:visited {
	color: var(--c-muted);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
	color: var(--c-blue);
}

.site-footer .footer-social-links {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer .footer-social-links a,
.site-footer .footer-social-links a:visited {
	display: block;
	color: var(--c-muted);
	line-height: 0;
}

.site-footer .footer-social-links a:hover,
.site-footer .footer-social-links a:focus {
	color: var(--c-blue);
}

.site-footer .footer-social-links svg {
	width: 20px;
	height: 20px;
}

/* --------------------------------------------------------------------------
 * Responsive
 *
 * The design is desktop-only, so everything below 1100px is ours: the grids
 * collapse in place, the year rail turns into a horizontal scroller above the
 * timeline, and the nav folds behind the toggle at 900px.
 * ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.hero__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		padding-top: 88px;
		padding-bottom: 72px;
	}

	.hero__emblem {
		order: -1;
		justify-content: flex-start;
	}

	.emblem {
		width: 240px;
	}

	.advisory__row,
	.about__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}

	.advisory__row {
		padding-top: 96px;
		padding-bottom: 72px;
	}

	.about__row {
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.about__figure {
		max-width: 420px;
	}

	.flintlock__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
		padding-top: 96px;
		padding-bottom: 96px;
	}

	.flintlock__figure {
		max-width: 640px;
	}

	.flintlock__watermark {
		width: 400px;
	}

	.network__inner,
	.testimonials__inner {
		padding-top: 88px;
		padding-bottom: 80px;
	}

	.roles .wrap {
		padding-bottom: 96px;
	}

	.roles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.experience .wrap,
	.boards .wrap {
		padding-top: 96px;
	}

	.boards .wrap {
		padding-bottom: 96px;
	}

	.experience__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	/* The rail becomes a horizontal strip pinned under the header. */
	.rail {
		position: sticky;
		top: var(--header-h);
		z-index: 10;
		flex-direction: row;
		gap: 20px;
		margin: 0 calc(var(--pad-x) * -1);
		padding: 12px var(--pad-x);
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-line);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.admin-bar .rail {
		top: calc(var(--header-h) + 32px);
	}

	.rail::-webkit-scrollbar {
		display: none;
	}

	.rail__item {
		flex-shrink: 0;
	}

	.rail__span {
		display: none;
	}

	.rail__sub {
		display: none;
	}

	.role__panel {
		padding-right: 0;
	}

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

	.contact__inner {
		padding-top: 96px;
		padding-bottom: 96px;
	}
}

@media (max-width: 900px) {
	.menu-toggle {
		display: flex;
	}

	.main-navigation ul {
		display: none;
	}

	.main-navigation.toggled ul {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 8px var(--pad-x) 20px;
		background: var(--c-bg);
		border-bottom: 1px solid var(--c-line);
		box-shadow: 0 12px 24px rgba(20, 23, 31, 0.06);
	}

	.main-navigation.toggled li {
		width: 100%;
	}

	.main-navigation.toggled a {
		display: block;
		padding: 12px 0;
		font-size: 17px;
	}

	.site-header {
		position: sticky;
	}

	.site-header__inner {
		position: static;
	}

	.stats__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.advisory__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}

	.roles__card {
		padding: 32px;
	}

	.role__positions {
		grid-template-columns: minmax(0, 1fr);
	}

	/*
	 * Rick's Network turns into a swipe row: cards snap to the gutter and the
	 * next one peeks in from the right edge, which is the cue to swipe. The
	 * track bleeds to the viewport edges so cards slide off-screen, not into
	 * the gutter. Cards keep equal heights (flex stretch).
	 */
	.network__grid {
		display: flex;
		gap: 16px;
		margin: 0 calc(var(--pad-x) * -1);
		padding: 0 var(--pad-x);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--pad-x);
		scrollbar-width: none;
	}

	.network__grid::-webkit-scrollbar {
		display: none;
	}

	.network-card {
		flex: 0 0 min(84%, 560px);
		scroll-snap-align: start;
	}
}

@media (max-width: 640px) {
	/*
	 * The lock-up, the toggle and the Contact pill share one line at 390px.
	 * It fits with room to spare now that the branding is a single 2.486:1
	 * image (~85px here) rather than the mark plus a nowrap site name, which
	 * used to push the document wider than the viewport.
	 */
	.site-header__inner {
		gap: 12px;
	}

	.site-branding .custom-logo {
		height: 34px;
	}

	.site-title__text {
		font-size: 16px;
		line-height: 1.2;
		white-space: normal;
	}

	.site-header__actions {
		gap: 10px;
	}

	.button--outline-blue,
	a.button--outline-blue:visited {
		padding: 0 16px;
	}

	.hero__lede {
		font-size: 18px;
	}

	.ctas .button {
		flex: 1 1 100%;
	}

	.roles__grid,
	.boards__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.roles__card {
		padding: 28px 24px;
	}

	.about__lede {
		font-size: 21px;
	}

	.network-card {
		gap: 24px;
		padding: 28px 24px;
	}

	.network-card__person {
		gap: 16px;
	}

	.network-card__photo {
		width: 72px;
	}

	.network-card__quote p {
		font-size: 20px;
	}

	.role__summary {
		gap: 20px;
		padding: 24px 0;
	}

	.role__panel {
		padding-bottom: 32px;
	}

	.site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}
