/* =========================================================
   Obidos Consulting — main stylesheet
   Brand: #1D1D1B dark / #EAEAEA light / #FFFFFF white
   Type:  Poppins 500 (headings, buttons) / Esteban 400 (body)
   ========================================================= */

/* ---- Fonts (self-hosted) ---- */
@font-face {
	font-family: 'Poppins';
	src: url('../fonts/poppins-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Poppins';
	src: url('../fonts/poppins-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Esteban';
	src: url('../fonts/esteban-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ---- Tokens ---- */
:root {
	--c-dark: #1d1d1b;
	--c-light: #eaeaea;
	--c-white: #fff;
	--c-black: #000;
	--f-heading: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--f-body: 'Esteban', Georgia, serif;
	--container: 1560px;
	--container-narrow: 1080px;
	--gutter: clamp(1.25rem, 4vw, 3.75rem);
	--section-pad: clamp(2.75rem, 5.5vw, 4.75rem);
}

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

/* ---- Motion: scroll reveals + smooth anchors ---- */
/* Elements start hidden only when JS is present, so no-JS users see content. */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition:
		opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}
[id] {
	scroll-margin-top: 2rem;
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
@media (prefers-reduced-motion: reduce) {
	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.hero__bg {
		transform: none !important;
	}
}
body {
	margin: 0;
	background: var(--c-dark);
	color: var(--c-white);
	font-family: var(--f-body);
	font-size: 1.108rem; /* ~17.7px */
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: inherit;
	text-underline-offset: 3px;
}
figure,
blockquote {
	margin: 0;
}
ul {
	padding-left: 1.2em;
}
/* Squarespace-imported lists wrap each item's text in a <p> */
li > p {
	display: inline;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-heading);
	font-weight: 500;
	line-height: 1.2;
	margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.16rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.62rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.864rem); }
h4 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	background: var(--c-white);
	color: var(--c-black);
	padding: 0.6em 1em;
}

/* ---- Layout helpers ---- */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding-left: var(--gutter);
	padding-right: var(--gutter);
}
.container--narrow {
	max-width: var(--container-narrow);
}
.section {
	padding-top: var(--section-pad);
	padding-bottom: var(--section-pad);
}
.section--dark {
	background: var(--c-dark);
	color: var(--c-white);
}
.section--light {
	background: var(--c-light);
	color: var(--c-dark);
}
.section--white {
	background: var(--c-white);
	color: var(--c-dark);
}
.section--center {
	text-align: center;
}
/* Lists inside centered sections: the block centers, items stay left-aligned.
   Excludes component lists (marquee, carousel) which manage their own layout. */
.section--center ul:not(.marquee__track):not(.carousel__track) {
	display: inline-block;
	text-align: left;
	padding-left: 1.2em;
	margin-left: auto;
	margin-right: auto;
}
.section--page-top {
	padding-top: clamp(3.5rem, 7vw, 6rem);
}
.lead {
	font-size: clamp(1.3rem, 2.3vw, 1.864rem);
	font-family: var(--f-heading);
	font-weight: 500;
	line-height: 1.3;
	margin: 0 0 1em;
}

.cols {
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
}
.cols--3 { grid-template-columns: repeat(3, 1fr); }
.cols--2 { grid-template-columns: repeat(2, 1fr); }

.rule {
	border: 0;
	border-top: 1px solid currentColor;
	opacity: 0.4;
	margin: clamp(2rem, 5vw, 4rem) auto;
	max-width: 640px;
}

/* ---- Buttons ---- */
.btn {
	display: inline-block;
	font-family: var(--f-heading);
	font-weight: 500;
	font-size: 0.89rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	padding: 1.2em 2.25em;
	border: 0;
	border-radius: 0;
	transition: opacity 0.2s ease;
}
.btn:hover {
	opacity: 0.8;
}
.btn--dark {
	background: var(--c-dark);
	color: var(--c-white);
}
.btn--light {
	background: var(--c-white);
	color: var(--c-black);
}

/* ---- Social icons ---- */
.social-links {
	list-style: none;
	display: flex;
	gap: 0.9rem;
	padding: 0;
	margin: 1rem 0 0;
}
.social-links a {
	display: inline-flex;
	width: 1.35rem;
	height: 1.35rem;
	color: currentColor;
}
.social-links svg {
	width: 100%;
	height: 100%;
}
.social-links--header {
	margin: 0;
}

/* ---- Header ----
   Thin bar; the (unchanged-size) logo is absolutely placed so it overhangs
   the bar into the hero below, without forcing the bar taller. */
.site-header {
	position: relative;
	z-index: 20;
	background: var(--c-dark);
	color: var(--c-white);
}
.site-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	min-height: 3.5rem;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2rem;
}
.site-logo {
	position: absolute;
	left: var(--gutter);
	top: 0.4rem;
	line-height: 0;
	z-index: 2;
}
.site-logo img {
	width: clamp(76px, 8vw, 100px);
	height: auto;
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}
.site-nav__list {
	list-style: none;
	display: flex;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	text-decoration: none;
	opacity: 0.95;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	text-decoration: underline;
	text-underline-offset: 6px;
}
/* Anchor links to home sections shouldn't read as "current page" */
.site-nav__list .menu-item-type-custom.current-menu-item > a:not(:hover) {
	text-decoration: none;
}
.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}
.nav-toggle__bar {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--c-white);
	margin: 6px 0;
	transition: transform 0.2s ease;
}
.nav-open .nav-toggle__bar:first-child {
	transform: translateY(4px) rotate(45deg);
}
.nav-open .nav-toggle__bar:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

/* ---- Hero ---- */
.section--hero {
	position: relative;
	min-height: 74vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
}
/* Subtle depth: a faint radial wash that drifts on scroll (parallax). */
.hero__bg {
	position: absolute;
	inset: -20% -10% -10% -10%;
	background:
		radial-gradient(60% 55% at 78% 18%, rgba(255, 255, 255, 0.06), transparent 60%),
		radial-gradient(50% 50% at 12% 92%, rgba(255, 255, 255, 0.05), transparent 60%);
	pointer-events: none;
	z-index: 0;
}
.section--hero .container {
	width: 100%;
	position: relative;
	z-index: 1;
}
/* Content left, stats/awards bottom-right (facilitator-style). */
.hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(2rem, 5vw, 5rem);
}
.hero__content {
	max-width: 44rem;
}
.hero-heading {
	max-width: 14em;
	margin: 0;
	font-size: clamp(2.6rem, 6vw, 4.6rem);
	line-height: 1.03;
	letter-spacing: -0.01em;
}
.hero__subline {
	max-width: 30em;
	margin: 1.75rem 0 0;
	font-family: var(--f-heading);
	font-weight: 400;
	font-size: clamp(1.15rem, 1.9vw, 1.5rem);
	line-height: 1.4;
	opacity: 0.9;
}
.hero__cta {
	margin-top: 2.25rem;
}
.hero__aside {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	gap: 1.75rem;
	padding-bottom: 0.25rem;
}
.hero__award {
	margin: 0;
}
.badge {
	display: inline-block;
	font-family: var(--f-heading);
	font-weight: 500;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 0.55em 1.1em;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 100px;
}
.hero-stats {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1.6rem;
}
.hero-stat__value {
	display: block;
	font-family: var(--f-heading);
	font-weight: 500;
	font-size: clamp(1.9rem, 3vw, 2.9rem);
	line-height: 1;
	letter-spacing: -0.01em;
}
.hero-stat__affix {
	font-size: 0.6em;
	vertical-align: text-top;
	opacity: 0.85;
}
.hero-stat__label {
	display: block;
	margin-top: 0.4rem;
	font-family: var(--f-heading);
	font-weight: 400;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.68;
}
/* Thin scroll cue line under the hero content. */
.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 1.75rem;
	width: 1px;
	height: 3rem;
	background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
	z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
	.hero__scroll.is-visible {
		animation: heroScroll 2.4s ease-in-out infinite;
	}
}
@keyframes heroScroll {
	0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
	50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ---- Section intro line ---- */
.section-intro {
	max-width: 46em;
	font-family: var(--f-heading);
	font-weight: 400;
	font-size: clamp(1.1rem, 1.7vw, 1.4rem);
	line-height: 1.45;
	margin: 0 0 clamp(2rem, 4vw, 3.5rem);
	opacity: 0.92;
}
.section--center .section-intro {
	margin-left: auto;
	margin-right: auto;
}

/* ---- Home: intro ---- */
.intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.intro-grid .lead {
	max-width: 24em;
}
.intro-grid__contact-title {
	font-size: 1.1rem;
	margin-bottom: 0.75em;
}
/* Managing Director card (intro aside) */
.director-card__photo {
	width: 104px;
	height: 104px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 1.25rem;
}
.director-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
}
.director-card__role {
	font-family: var(--f-heading);
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.65;
	margin: 0 0 0.25rem;
}
.director-card__name {
	font-family: var(--f-heading);
	font-weight: 500;
	font-size: 1.4rem;
	margin: 0 0 0.75rem;
}
.director-card__email {
	margin: 0;
}

/* ---- Home: capabilities ---- */
.capabilities {
	margin-top: clamp(3rem, 6.5vw, 6rem);
}
.capability__head {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}
.capability__num {
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	font-family: var(--f-heading);
	font-weight: 500;
	font-size: 1.4rem;
	line-height: 1;
}
.capability__head h3 {
	margin: 0;
	font-size: clamp(1.25rem, 1.9vw, 1.55rem);
}
.capability__list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.capability__list li {
	position: relative;
	padding-left: 1.4em;
	margin-bottom: 0.7em;
	line-height: 1.5;
	font-size: 1rem;
}
.capability__list li::before {
	content: '';
	position: absolute;
	left: 0.1em;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.5;
}

/* ---- Home: core offerings (diagonal split) ---- */
.offerings {
	background: var(--c-white);
	color: var(--c-dark);
	padding-top: var(--section-pad);
	padding-bottom: var(--section-pad);
	overflow: hidden;
}
.offerings__head {
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.offerings__panels {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	background: var(--c-light);
}
.offering {
	display: flex;
	align-items: center;
	padding: clamp(2.5rem, 5vw, 5rem) 0;
}
.offering__inner {
	max-width: 30rem;
	padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
	margin: 0 auto;
}
.offering--light {
	background: var(--c-light);
	color: var(--c-dark);
}
/* The dark panel overlaps the seam and is clipped on a diagonal, so the
   divide reads as a slanted line echoing the logo's stroke. */
.offering--dark {
	position: relative;
	z-index: 1;
	background: var(--c-dark);
	color: var(--c-white);
	margin-left: -12%;
	padding-left: 12%;
	clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
}
.offering--dark .offering__inner {
	padding-left: clamp(2rem, 4vw, 4rem);
}
.offering__icon {
	display: block;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.5rem;
	opacity: 0.9;
}
.offering__icon svg {
	width: 100%;
	height: 100%;
	transform-origin: 50% 50%;
}
/* Clock-tick: snap 45deg, hold ~1s, repeat around the full circle. */
@media (prefers-reduced-motion: no-preference) {
	.offering__icon svg {
		animation: icon-tick 8s infinite;
	}
	.offering--dark .offering__icon svg {
		animation-delay: 0.4s;
	}
}
@keyframes icon-tick {
	0%    { transform: rotate(0deg); }
	1.5%  { transform: rotate(45deg); }
	12.5% { transform: rotate(45deg); }
	14%   { transform: rotate(90deg); }
	25%   { transform: rotate(90deg); }
	26.5% { transform: rotate(135deg); }
	37.5% { transform: rotate(135deg); }
	39%   { transform: rotate(180deg); }
	50%   { transform: rotate(180deg); }
	51.5% { transform: rotate(225deg); }
	62.5% { transform: rotate(225deg); }
	64%   { transform: rotate(270deg); }
	75%   { transform: rotate(270deg); }
	76.5% { transform: rotate(315deg); }
	87.5% { transform: rotate(315deg); }
	89%   { transform: rotate(360deg); }
	100%  { transform: rotate(360deg); }
}
.offering__title {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	margin-bottom: 1rem;
}
.offering__body {
	font-size: 1.05rem;
}
.offering__body ul {
	margin: 0;
}
.offering__body li {
	margin-bottom: 0.55em;
}
.offerings__foot {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}
.sectors-footnote {
	max-width: 640px;
	margin: 0 auto;
}

/* ---- Experience marquee ---- */
.marquee {
	margin: clamp(2rem, 4vw, 3.5rem) 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
	display: flex;
	align-items: flex-start;
	gap: clamp(2.5rem, 5vw, 5rem);
	width: max-content;
	list-style: none;
	margin: 0;
	padding: 0;
}
@media (prefers-reduced-motion: no-preference) {
	.marquee__track {
		animation: marquee 42s linear infinite;
	}
}
@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}
.marquee__item {
	flex: 0 0 190px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.marquee__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 88px;
}
.marquee__logo img {
	max-height: 78px;
	width: auto;
	max-width: 175px;
	object-fit: contain;
}
.marquee__caption {
	margin-top: 1rem;
	font-size: 0.82rem;
	line-height: 1.35;
	opacity: 0.8;
}
@media (prefers-reduced-motion: reduce) {
	.marquee {
		overflow-x: auto;
	}
}

/* ---- Testimonials carousel ---- */
.carousel {
	position: relative;
	max-width: 1120px;
	margin: clamp(2.5rem, 5vw, 4rem) auto clamp(2.5rem, 5vw, 4rem);
	padding: 0 clamp(2.5rem, 6vw, 4.5rem);
}
.carousel__viewport {
	position: relative;
}
/* All slides occupy the same grid cell, so the track auto-sizes to the
   tallest slide — no JS height measurement and no layout jump on change. */
.carousel__track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
}
.carousel__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}
.carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.testimonial-slide {
	margin: 0;
	max-width: 62rem;
}
.testimonial-slide__quote {
	font-family: var(--f-heading);
	font-weight: 400;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	line-height: 1.35;
	margin: 0;
}
.testimonial-slide__quote::before {
	content: '\201C';
}
.testimonial-slide__quote::after {
	content: '\201D';
}
.testimonial-slide__cite {
	margin-top: 1.5rem;
	font-family: var(--f-heading);
	font-size: 0.95rem;
	opacity: 0.7;
}
.carousel__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: inherit;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.carousel__nav:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}
.carousel__nav svg {
	width: 1.25rem;
	height: 1.25rem;
}
.carousel__nav--prev { left: 0; }
.carousel__nav--next { right: 0; }
.carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0.6rem;
	margin-top: 2.25rem;
}
.carousel__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}
.carousel__dot.is-active {
	background: var(--c-white);
	transform: scale(1.15);
}

/* ---- Home: collaboration ---- */
.collab .lead {
	max-width: 30em;
	margin-left: auto;
	margin-right: auto;
}
.collab__body {
	max-width: 44em;
	margin: 0 auto 1.5em;
}

/* ---- Logo grid (experience) ---- */
.logo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.5rem, 3vw, 3rem);
	margin: clamp(2rem, 4vw, 3.5rem) 0;
	align-items: start;
}
.logo-grid__item img {
	margin: 0 auto;
	max-height: 90px;
	width: auto;
	max-width: 70%;
}
.logo-grid__item figcaption {
	margin-top: 1rem;
	font-size: 0.95rem;
}

/* ---- Get in touch ---- */
.get-in-touch__body {
	max-width: 36em;
}
.get-in-touch__body a {
	color: inherit;
}

/* ---- Team page ---- */
.team-intro .section-intro {
	margin-left: auto;
	margin-right: auto;
}
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem);
	text-align: left;
}
.team-member__photo {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin-bottom: 1.25rem;
	background: var(--c-light);
}
.team-member__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: filter 0.5s ease, transform 0.6s ease;
}
.js .team-member:hover .team-member__photo img {
	filter: grayscale(0);
	transform: scale(1.03);
}
.team-member__photo--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(29, 29, 27, 0.3);
	font-family: var(--f-heading);
	font-size: 3rem;
}
.team-member__name {
	margin: 0 0 0.5rem;
	font-size: clamp(1.2rem, 1.6vw, 1.4rem);
}
.team-member__bio {
	font-size: 1rem;
	line-height: 1.55;
}

/* ---- Experience: hero with background image ---- */
.experience-intro {
	position: relative;
	min-height: 44vh;
	display: flex;
	align-items: center;
	background-image:
		linear-gradient(rgba(29, 29, 27, 0.68), rgba(29, 29, 27, 0.86)),
		var(--hero-bg, url('../img/obidos-bg.avif'));
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.experience-intro .container {
	width: 100%;
}

/* ---- Experience: scrolling timeline ---- */
.timeline {
	position: relative;
}
.timeline__rail {
	position: absolute;
	left: 12px;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 2px;
	background: rgba(29, 29, 27, 0.14);
	overflow: hidden;
}
.timeline__progress {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	background: var(--c-dark);
}
.timeline__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.timeline__item {
	position: relative;
	padding-left: 3.5rem;
	padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.timeline__item:last-child {
	padding-bottom: 0;
}
.timeline__dot {
	position: absolute;
	left: 3px;
	top: 0.3rem;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--c-white);
	border: 2px solid rgba(29, 29, 27, 0.3);
	z-index: 1;
	transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.timeline__item.is-active .timeline__dot {
	background: var(--c-dark);
	border-color: var(--c-dark);
	transform: scale(1.15);
}
.timeline__year {
	display: block;
	font-family: var(--f-heading);
	font-weight: 500;
	font-size: 1.05rem;
	letter-spacing: 0.02em;
	opacity: 0.55;
}
.timeline__title {
	margin: 0.15rem 0 0.7rem;
	font-size: clamp(1.4rem, 2.3vw, 2rem);
}
.timeline__body {
	max-width: 40em;
}
.timeline__image {
	margin-top: 1.5rem;
	max-width: 340px;
}

/* ---- Experience: testimonials grid ---- */
.quote-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.75rem, 3vw, 3rem);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	text-align: left;
}
.quote-card {
	margin: 0;
	padding: clamp(1.75rem, 3vw, 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.16);
	display: flex;
	flex-direction: column;
}
.quote-card__mark {
	font-family: var(--f-heading);
	font-size: 3rem;
	line-height: 0.5;
	opacity: 0.35;
	margin-bottom: 0.75rem;
}
.quote-card__text {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.55;
}
.quote-card__cite {
	margin-top: 1.25rem;
	font-family: var(--f-heading);
	font-size: 0.9rem;
	opacity: 0.7;
}

/* ---- Insight (home blog highlights) ---- */
.insight h2 {
	text-align: center;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.insight-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.insight-card {
	display: flex;
	flex-direction: column;
	padding-top: 1.75rem;
	border-top: 2px solid var(--c-dark);
	transition: transform 0.3s ease;
}
.insight-card__title {
	margin: 0.25rem 0 0.75rem;
	font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}
.insight-card__title a {
	text-decoration: none;
}
.insight-card__title a:hover {
	text-decoration: underline;
}
.insight-card__excerpt {
	margin: 0 0 1.25rem;
	font-size: 1rem;
}
.js .insight-card:hover {
	transform: translateY(-4px);
}
.insight {
	text-align: center;
}
.insight .btn {
	margin-top: 0;
}

/* ---- Community page ---- */
.community-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 6vw, 6rem);
	align-items: start;
}
.community__afc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-top: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}
.community__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 2.5rem;
	align-items: center;
	margin: 2.5rem 0 3rem;
}
.community__logos img {
	max-height: 48px;
	width: auto;
}

/* ---- Contact page ---- */
.contact__body {
	max-width: 34em;
}
.contact__email {
	font-size: 1.05em;
}

/* ---- Blog (light, insight-style cards) ---- */
.blog-archive .archive-header {
	text-align: center;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2.5rem, 4vw, 3.5rem);
	text-align: left;
}
.post-card {
	display: flex;
	flex-direction: column;
	padding-top: 1.75rem;
	border-top: 2px solid var(--c-dark);
	transition: transform 0.3s ease;
}
.js .post-card:hover {
	transform: translateY(-4px);
}
.post-card__categories {
	font-family: var(--f-heading);
	font-size: 0.9rem;
	margin: 0 0 0.5rem;
}
.post-card__categories a {
	text-decoration: none;
	opacity: 0.9;
}
.post-card__title {
	margin: 0.25rem 0 0.75rem;
	font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}
.post-card__title a {
	text-decoration: none;
}
.post-card__title a:hover {
	text-decoration: underline;
}
.post-card__excerpt {
	margin: 0 0 1.25rem;
	font-size: 1rem;
}
.post-card__more {
	font-size: 0.95rem;
	white-space: nowrap;
}
.pagination {
	margin-top: clamp(3rem, 6vw, 5rem);
	text-align: center;
	font-family: var(--f-heading);
}
.pagination .nav-links {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}

/* ---- Audio player: play symbol + waveform + timer pill ---- */
.audio-player {
	display: inline-flex;
}
.audio-player__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.85rem 0.35rem 0.6rem;
	border: 1px solid rgba(128, 128, 128, 0.4);
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	border-radius: 100px;
	background: none;
	color: inherit;
	cursor: pointer;
	line-height: 1;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.audio-player__toggle:hover {
	border-color: color-mix(in srgb, currentColor 60%, transparent);
	background: color-mix(in srgb, currentColor 8%, transparent);
}
.audio-player__play {
	display: inline-flex;
}
.audio-player__icon {
	width: 0.8rem;
	height: 0.8rem;
	display: block;
}
.audio-player__icon--pause,
.audio-player.is-playing .audio-player__icon--play {
	display: none;
}
.audio-player.is-playing .audio-player__icon--pause {
	display: block;
}
.audio-player__label {
	font-family: var(--f-heading);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}
.audio-player__wave {
	display: inline-flex;
	align-items: center;
	gap: 2.5px;
	height: 14px;
}
.audio-player__wave i {
	display: block;
	width: 3px;
	background: currentColor;
	border-radius: 1px;
}
.audio-player__wave i:nth-child(1) { height: 35%; }
.audio-player__wave i:nth-child(2) { height: 70%; }
.audio-player__wave i:nth-child(3) { height: 100%; }
.audio-player__wave i:nth-child(4) { height: 55%; }
.audio-player__wave i:nth-child(5) { height: 80%; }
.audio-player.is-playing .audio-player__wave i {
	animation: audio-wave 0.9s ease-in-out infinite;
}
.audio-player.is-playing .audio-player__wave i:nth-child(2) { animation-delay: 0.1s; }
.audio-player.is-playing .audio-player__wave i:nth-child(3) { animation-delay: 0.25s; }
.audio-player.is-playing .audio-player__wave i:nth-child(4) { animation-delay: 0.35s; }
.audio-player.is-playing .audio-player__wave i:nth-child(5) { animation-delay: 0.15s; }
@keyframes audio-wave {
	0%, 100% { height: 30%; }
	50% { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.audio-player.is-playing .audio-player__wave i {
		animation: none;
	}
}
.audio-player__time {
	font-family: var(--f-heading);
	font-size: 0.76rem;
	opacity: 0.7;
	font-variant-numeric: tabular-nums;
}
/* Card footer: Read More + listen pill on one row */
.post-card__footer {
	margin-top: auto;
	padding-top: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
/* Single post: centred pill under the meta */
.single-post .audio-player {
	display: flex;
	width: fit-content;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
}

/* ---- Single post ---- */
.single-post__header {
	text-align: center;
	margin-bottom: clamp(2rem, 5vw, 4rem);
}
.single-post__meta {
	font-family: var(--f-heading);
	font-size: 0.95rem;
	opacity: 0.8;
	display: flex;
	gap: 1.5rem;
	justify-content: center;
}
.entry-content h2,
.entry-content h3 {
	margin-top: 1.6em;
}
.entry-content img {
	margin: 2rem auto;
}
.entry-content a {
	color: inherit;
}
.single-post__footer {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}

/* ---- Footer ---- */
.site-footer {
	background: var(--c-light);
	color: var(--c-dark);
	padding: var(--section-pad) 0;
}
.site-footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.site-footer__title {
	margin-bottom: 1rem;
}
.site-footer__subtitle {
	margin-bottom: 1.25rem;
}
.site-footer__menu {
	list-style: none;
	padding: 0;
	margin: 1.25rem 0 0;
}
.site-footer__menu li {
	margin-bottom: 0.4em;
}
.site-footer__logos {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
}
.site-footer__logos img {
	max-height: 64px;
	width: auto;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.logo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.intro-grid,
	.community-grid,
	.cols--3,
	.cols--2 {
		grid-template-columns: 1fr;
	}
	.community__afc {
		grid-template-columns: 1fr;
	}
	.community__afc-image img {
		max-width: 320px;
	}
	.post-grid {
		grid-template-columns: 1fr;
	}
	.quote-grid {
		grid-template-columns: 1fr;
	}
	.insight-grid {
		grid-template-columns: 1fr;
	}
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	/* Hero stacks: content, then stats/awards below (left-aligned). */
	.hero__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 2.5rem;
	}
	.hero__aside {
		align-items: flex-start;
		text-align: left;
	}
	.hero-stats {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 1.5rem 2.5rem;
	}

	/* Core offerings stack; the dark panel gets a diagonal TOP edge instead. */
	.offerings__panels {
		grid-template-columns: 1fr;
	}
	.offering {
		padding: clamp(2.5rem, 8vw, 3.5rem) 0;
	}
	.offering__inner {
		max-width: 34rem;
	}
	.offering--dark {
		margin-left: 0;
		padding-left: 0;
		margin-top: -8%;
		padding-top: 10%;
		clip-path: polygon(0 8%, 100% 0, 100% 100%, 0% 100%);
	}
	.offering--dark .offering__inner {
		padding-left: clamp(1.5rem, 3.5vw, 3.5rem);
	}

	/* Mobile nav */
	.nav-toggle {
		display: block;
	}
	.site-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--c-dark);
		padding: 1.5rem var(--gutter) 2.5rem;
		flex-direction: column;
		align-items: flex-start;
		z-index: 99;
	}
	.site-header {
		position: relative;
	}
	.nav-open .site-nav {
		display: flex;
	}
	.site-nav__list {
		flex-direction: column;
		gap: 1.1rem;
		font-size: 1.15rem;
	}
}

@media (max-width: 600px) {
	.team-grid,
	.logo-grid {
		grid-template-columns: 1fr;
	}
	.logo-grid__item img {
		max-width: 55%;
	}
	.section--hero {
		min-height: 66vh;
	}
	.single-post__meta {
		flex-direction: column;
		gap: 0.25rem;
	}
	.carousel {
		padding: 0;
	}
	.carousel__nav {
		display: none;
	}
}
