/**
 * Lawi — main stylesheet (design system + sections).
 *
 * Token-driven so the visual language can be tuned from one place. Values are
 * derived from the Figma "Lawi" design. Refine exact hex/spacing against the
 * Figma variables once asset export is available.
 */

/* --------------------------------------------------------------------------
 * 1. Design tokens
 * ----------------------------------------------------------------------- */
:root {
	/* Brand palette (exact values from Figma "Lawi") */
	--c-ink: #27211b;          /* warm near-black text */
	--c-ink-soft: #4a4139;
	--c-muted: #7a7268;
	--c-cream: #eeeedb;        /* warm off-white background */
	--c-cream-2: #e5e4cf;
	--c-paper: #ffffff;
	--c-line: #dddcc7;         /* hairline borders on cream */

	--c-accent: #ff7052;       /* coral accent (white text) */
	--c-accent-2: #e77958;     /* muted coral (dark text) */
	--c-accent-ink: #27211b;
	--c-periwinkle: #b5d0ed;   /* soft blue */
	--c-periwinkle-2: #c8ddf3;
	--c-periwinkle-ink: #27211b;

	--c-dark: #1b1712;         /* dark sections */
	--c-dark-2: #26201a;
	--c-on-dark: #eeeedb;
	--c-on-dark-muted: #a9a396;

	/* Typography */
	--font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-display: "Cal Sans", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Cal Sans", Georgia, "Times New Roman", serif;

	--fs-hero: clamp(2.75rem, 1.6rem + 5vw, 4rem);
	--fs-h2: clamp(2rem, 1.2rem + 3vw, 3.25rem);
	--fs-h3: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
	--fs-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem);
	--fs-body: 1rem;
	--fs-sm: 0.875rem;
	--fs-xs: 0.75rem;

	--lh-tight: 1.05;
	--lh-snug: 1.2;
	--lh-body: 1.6;

	/* Layout */
	--container: 1200px;
	--container-wide: 1320px;
	--gutter: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
	--section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
	--radius: 14px;
	--radius-lg: 28px;
	--radius-pill: 999px;

	/* Effects */
	--shadow-sm: 0 1px 2px rgba(16, 16, 14, 0.06), 0 4px 16px rgba(16, 16, 14, 0.05);
	--shadow-md: 0 12px 40px rgba(16, 16, 14, 0.12);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
 * 2. Base
 * ----------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Full-bleed carousels use width:100vw, which includes the scrollbar and
	   would create a page-level horizontal scrollbar. Clip it at the root (this
	   is not a scroll container, so sticky headers + inner carousels still work). */
	overflow-x: clip;
}

/* Underscores ships `.post, .page { margin: 0 0 1.5em }`, and WordPress also
   puts a `page` class on <body>, so that rule leaks a 24px margin onto the body
   (creating a gap under the footer). `body[class]` matches its specificity and,
   loading later, neutralises it. */
body[class] {
	margin: 0;
}

body {
	margin: 0;
	background: var(--c-cream);
	color: var(--c-ink);
	font-family: var(--font-body);
	font-size: var(--fs-body);
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a,
a:link,
a:visited,
a:hover,
a:active {
	color: inherit; /* a:link/a:visited override the UA purple visited colour */
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400; /* Cal Sans is a single-weight display face */
	letter-spacing: -0.01em;
	line-height: var(--lh-snug);
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--c-ink);
	color: var(--c-cream);
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--radius) 0;
	z-index: 1000;
}
.skip-link:focus {
	left: 0;
}

/* --------------------------------------------------------------------------
 * 3. Layout helpers
 * ----------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--wide {
	max-width: var(--container-wide);
}

.section {
	padding-block: var(--section-y);
}

.eyebrow {
	font-size: var(--fs-xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--c-muted);
	margin: 0 0 1rem;
}

.section__title {
	font-size: var(--fs-h2);
	max-width: 20ch;
}
.section__lead {
	font-size: var(--fs-lead);
	color: var(--c-ink-soft);
	max-width: 60ch;
}

/* --------------------------------------------------------------------------
 * 4. Buttons
 * ----------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-size: var(--fs-sm);
	font-weight: 500;
	line-height: 1;
	padding: 0.9rem 1.5rem;
	border-radius: var(--radius-pill);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
	white-space: nowrap;
}
.btn:hover {
	transform: translateY(-1px);
}
.btn--primary {
	background: var(--c-periwinkle);
	color: var(--c-periwinkle-ink);
}
.btn--primary:hover {
	background: var(--c-periwinkle-2);
}
.btn--accent {
	background: var(--c-accent);
	color: #fff;
}
.btn--dark {
	background: var(--c-ink);
	color: var(--c-cream);
}
.btn--coral {
	background: var(--c-accent-2);
	color: var(--c-ink);
	font-size: 1.0625rem;
	padding: 1rem 1.5rem;
}
.btn--coral:hover { filter: brightness(1.04); }
.btn--ghost {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}
.btn--ghost-light {
	background: rgba(244, 239, 230, 0.12);
	border-color: rgba(244, 239, 230, 0.5);
	color: var(--c-on-dark);
	backdrop-filter: blur(6px);
}
.btn--block {
	width: 100%;
}

/* --------------------------------------------------------------------------
 * 5. Site header / navigation
 * ----------------------------------------------------------------------- */
/* Frosted full-width header over the hero (Figma "Menu" 1:9243). */
.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 100;
	color: var(--c-on-dark);
}
/* The "pequeño blur": a translucent dark-slate tint + backdrop blur while the
   header floats over the hero. Sampled from the Figma render (≈rgba 26,46,60). */
.site-header:not(.site-header--solid):not(.is-sticky) {
	background: rgba(26, 46, 60, 0.42);
	-webkit-backdrop-filter: blur(10px) saturate(125%);
	backdrop-filter: blur(10px) saturate(125%);
}
.site-header.is-sticky {
	position: fixed;
	background: var(--c-cream);
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-line);
	box-shadow: var(--shadow-sm);
	animation: header-drop 0.35s var(--ease);
}
@keyframes header-drop {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}
/* Inner pages: solid cream header with dark text. */
.site-header--solid {
	position: sticky;
	top: 0;
	background: var(--c-cream);
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-line);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1.5rem;
	min-height: 80px;
}

.site-header .primary-nav { justify-self: start; }
.site-header__brand { justify-self: center; display: inline-flex; }
.site-header .header-actions { justify-self: end; }

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: inherit;
}
.site-brand__img {
	display: block;
	width: auto;
	height: 28px;
}
/* Logo is dark artwork: keep it white while the header is transparent over the
   hero, and dark once the header turns solid (inner pages / on scroll). */
.site-header .site-brand__img { filter: brightness(0) invert(1); }
.site-header--solid .site-brand__img,
.site-header.is-sticky .site-brand__img { filter: none; }
.site-brand__text {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.4rem;
	letter-spacing: -0.02em;
}
.site-brand__mark {
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}
.primary-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin: 0;
	padding: 0;
}
.primary-nav a {
	font-size: var(--fs-sm);
	font-weight: 500;
	opacity: 0.92;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	white-space: nowrap;
	transition: opacity 0.2s var(--ease);
}
.primary-nav a:hover {
	opacity: 1;
}
.primary-nav .menu-item-has-children > a::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.7;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

/* Language switcher pill */
.lawi-lang-switcher {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0.5rem 0.9rem;
	border: 1px solid currentColor;
	border-radius: var(--radius-pill);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
}
.lawi-lang-switcher li { line-height: 1; }
.lawi-lang-switcher .is-current a { opacity: 1; }
.lawi-lang-switcher a { opacity: 0.55; }
/* ESP pill follows the header text colour: white outline over the hero,
   dark outline on solid headers. (border uses currentColor) */

/* Header CTA — periwinkle "Agenda con un lawi" pill (Figma "Menu" 1:9243,
   sampled #b5d0ed with ink text, same as the hero primary button). */
.header-actions .btn--primary {
	background: var(--c-periwinkle);
	color: var(--c-ink);
	border: 1px solid var(--c-periwinkle);
	border-radius: var(--radius-pill);
	padding: 0.7rem 1.4rem;
}
.header-actions .btn--primary:hover {
	background: #a3c6ea;
	border-color: #a3c6ea;
	color: var(--c-ink);
}

/* Mobile menu chrome — only shown inside the fullscreen menu on mobile. */
.primary-nav__head,
.primary-nav__foot,
.nav-close { display: none; }

/* Mobile nav toggle */
.nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: inherit;
}
.nav-toggle span {
	width: 22px;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
 * 6. Hero
 * ----------------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	color: var(--c-on-dark);
	overflow: hidden;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(16, 16, 14, 0.15) 0%, rgba(16, 16, 14, 0) 55%);
}
.hero__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	width: 100%;
	padding-top: 120px;
	padding-bottom: 60px;
}
.hero__content {
	grid-column: 2;
}
.hero__title {
	font-size: var(--fs-hero);
	line-height: 0.99;
	letter-spacing: -0.01em;
	margin: 0 0 1.25rem;
}
.hero__lead {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.44;
	letter-spacing: -0.03em;
	max-width: 26rem;
	margin: 0 0 2rem;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* --------------------------------------------------------------------------
 * 7. Generic section building blocks (cards, grids)
 * ----------------------------------------------------------------------- */
.grid {
	display: grid;
	gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
	background: var(--c-paper);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.card__title {
	font-size: var(--fs-h3);
}
.card__text {
	color: var(--c-ink-soft);
	margin: 0;
}

.section--dark {
	background: var(--c-dark);
	color: var(--c-on-dark);
}
.section--dark .section__lead { color: var(--c-on-dark-muted); }
.section--periwinkle {
	background: var(--c-periwinkle);
	color: var(--c-periwinkle-ink);
}

/* --------------------------------------------------------------------------
 * 8. Site footer
 * ----------------------------------------------------------------------- */
.site-footer { color: var(--c-ink); }

/* Contact block */
.footer-contact {
	background: #e4e2d5;
	padding-block: clamp(3.5rem, 2rem + 5vw, 7.5rem);
}
/* Figma 1:8676: [mark 42px] [info 774] [form 366], 53px column gaps. */
.footer-contact__grid {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) 366px;
	column-gap: 53px;
	align-items: stretch;
}
.footer-contact__info { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.footer-contact__mark { width: 42px; height: 42px; color: var(--c-accent-2); display: block; flex: 0 0 auto; }
.footer-contact__mark svg { width: 100%; height: 100%; }
.footer-contact__head { display: flex; flex-direction: column; gap: 19px; }
.footer-contact__label { font-weight: 500; font-size: 1rem; letter-spacing: -0.06em; color: var(--c-ink); margin: 0; }
.footer-contact__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2rem, 1.4rem + 2vw, 2.5rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--c-ink);
	margin: 0;
}
.footer-contact__text { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.375rem); line-height: 1.36; letter-spacing: -0.01em; color: #7f7f7f; margin: 0; max-width: 550px; }
.footer-contact__email { display: flex; flex-direction: column; gap: 2px; font-size: 0.875rem; }
.footer-contact__email-label { color: var(--c-ink); }
.footer-contact__mail { color: var(--c-accent-2); font-weight: 600; }
.footer-offices {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 43px;
	color: #9b8c86;
	margin-top: auto; /* push offices to the bottom of the column (Figma) */
}
.footer-office { display: flex; flex-direction: column; gap: 2px; }
.footer-office__country { font-weight: 600; font-size: 12px; line-height: 16px; }
.footer-office__address { font-weight: 600; font-size: 10px; line-height: 16px; }

/* Contact form (underline inputs) */
.footer-form { width: min(366px, 100%); display: flex; flex-direction: column; gap: 22px; }
.footer-field { display: block; margin: 0; }
.footer-field input,
.footer-field textarea {
	width: 100%;
	background: transparent;
	border: 0;
	border-bottom: 1px solid #9b8c86;
	padding: 14px 0 15px;
	font: inherit;
	color: var(--c-ink);
}
.footer-field textarea { resize: vertical; min-height: 96px; }
.footer-field input::placeholder,
.footer-field textarea::placeholder { color: #9b8c86; }
.footer-field input:focus,
.footer-field textarea:focus { outline: none; border-color: var(--c-accent-2); }
.footer-form__submit { align-self: flex-start; color: #fff; background: var(--c-accent-2); }
.footer-form__submit:hover { filter: brightness(1.05); color: #fff; }

/* Bottom bar */
.footer-bottom {
	position: relative;
	background: var(--c-accent-2);
	overflow: hidden;
	padding: clamp(2rem, 1rem + 3vw, 3.25rem) clamp(1.25rem, 5vw, 75px);
}
.footer-bottom__texture {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: var(--c-periwinkle) url("../img/footer-soundwave.svg") center / 100% auto no-repeat;
}
.footer-bottom__bar {
	position: relative;
	z-index: 1;
	background: var(--c-cream);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	padding: 23px clamp(1.25rem, 1rem + 1.5vw, 35px);
	flex-wrap: wrap;
}
.footer-bottom__brand { display: flex; flex-direction: column; gap: 15px; }
.footer-bottom__tagline {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.4rem;
	letter-spacing: -0.01em;
	color: var(--c-ink);
	margin: 0;
}
.footer-social { list-style: none; display: flex; gap: 5px; margin: 0; padding: 0; }
.footer-social a {
	width: 53px;
	height: 53px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #d3d0ba;
	border-radius: 6px;
	color: var(--c-ink);
	transition: background 0.2s var(--ease);
}
.footer-social a:hover { background: rgba(39,33,27,0.06); }
.footer-bottom__nav ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom__nav a { font-weight: 500; font-size: 14px; line-height: 29.9px; color: var(--c-ink); }
.footer-bottom__logo { display: inline-flex; align-items: center; }
.footer-bottom__logo img { width: 96px; height: auto; aspect-ratio: 95.93 / 29.84; display: block; }

/* --------------------------------------------------------------------------
 * 9. Responsive
 * ----------------------------------------------------------------------- */
@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__content { grid-column: 1; }
	.hero__media::after { background: linear-gradient(180deg, rgba(16,16,14,0.1), rgba(16,16,14,0.55)); }
	.grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
	.feature-grid { grid-template-columns: 1fr 1fr; }
	.footer-contact__grid { grid-template-columns: 1fr; }
	.docs-grid { flex-wrap: wrap; }
	.docs-col { flex: 1 1 45%; border-left: 0; padding-left: 0; }
	.team-row { grid-template-columns: 1fr 1fr; }
	.blog-grid { grid-template-columns: 1fr 1fr; }
	.ebooks-card { flex-direction: column; align-items: flex-start; }
	.ebooks-card__media { width: 100%; opacity: 0.5; }
	.messaging-grid { grid-template-columns: 1fr; }
	.testimonial { flex-direction: column; }
	.testimonial__logo { max-width: 138px; }

}

/* Header collapses to logo + hamburger up to tablet landscape (1100px):
   the full nav, language pill and CTA do not fit beside a centred logo. */
@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }

	/* Fullscreen mobile menu */
	.primary-nav {
		position: fixed;
		inset: 0;
		width: 100%;
		height: 100dvh;
		background: var(--c-dark);
		color: var(--c-on-dark);
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		padding: clamp(1.25rem, 4vw, 2rem);
		transform: translateX(100%);
		transition: transform 0.35s var(--ease);
		z-index: 200;
		overflow-y: auto;
	}
	.nav-open .primary-nav { transform: translateX(0); }

	.primary-nav__head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 1rem;
		padding-bottom: 1.5rem;
		border-bottom: 1px solid rgba(244, 239, 230, 0.12);
	}
	.primary-nav__head .site-brand { color: var(--c-on-dark); font-size: 1.5rem; }
	/* Dark single-colour logo → white inside the dark drawer. */
	.primary-nav__head .site-brand__img { height: 30px; filter: brightness(0) invert(1); }
	.nav-close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border: 0;
		background: transparent;
		color: var(--c-on-dark);
		cursor: pointer;
	}

	.primary-nav > ul {
		flex: 1 1 auto;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 0.5rem;
		width: 100%;
	}
	.primary-nav > ul a {
		font-family: var(--font-display);
		font-weight: 400;
		font-size: clamp(1.75rem, 1.2rem + 4vw, 2.5rem);
		letter-spacing: -0.01em;
		opacity: 1;
		padding: 0.4rem 0;
	}
	.primary-nav .menu-item-has-children > a::after { width: 10px; height: 10px; }

	/* Submenus stack as an indented list inside the drawer. */
	.primary-nav .sub-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.1rem;
		width: 100%;
		margin: 0.1rem 0 0.6rem 0.9rem;
		padding: 0;
	}
	.primary-nav .sub-menu a {
		font-family: var(--font-body);
		font-size: 1.05rem;
		font-weight: 500;
		opacity: 0.85;
		padding: 0.3rem 0;
	}

	.primary-nav__foot {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
		padding-top: 1.5rem;
		border-top: 1px solid rgba(244, 239, 230, 0.12);
	}
	.primary-nav__foot .lawi-lang-switcher { align-self: flex-start; color: var(--c-on-dark); }
}

@media (max-width: 560px) {
	.grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
	.feature-grid { grid-template-columns: 1fr; }
	.team-row { grid-template-columns: 1fr; }
	.blog-grid { grid-template-columns: 1fr; }
	.blog-card { min-height: 0; }
	.footer-offices { gap: 24px; }
	.footer-bottom__bar { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
	.hero__actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
 * 10. Section chrome
 * ----------------------------------------------------------------------- */
.section__head {
	max-width: var(--container);
	margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
	display: grid;
	gap: 0.5rem;
}
.section__head--center {
	text-align: center;
	justify-items: center;
	margin-inline: auto;
}

.section__title--center { max-width: 24ch; margin-inline: auto; text-align: center; }

/* Features / Solutions */
.section--features { padding-block: clamp(4rem, 2rem + 7vw, 9.4rem); }
/* Heading matches Figma 1:7801: Cal Sans 40px, line-height 0.99, single line. */
.section--features .section__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; max-width: none; }
.section--features .section__head { gap: 1.75rem; }
.eyebrow--plain {
	text-transform: none;
	letter-spacing: -0.05em;
	font-size: 1rem;
	font-weight: 500;
	color: #7f7f7f; /* Figma eyebrow grey (node 1:7800) */
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.feature-card {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #d3cfb9; /* Figma card sage (sampled from node 1:7798) */
	aspect-ratio: 324.5 / 434; /* match the Figma card + the 1080×1440 (3:4) illustration */
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	isolation: isolate;
}
.feature-card__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
}
/* The illustration videos are 1080×1440 with empty sage on top and the staircase
   at the bottom. Anchor to the bottom so any crop eats the empty top, never the art. */
.feature-card__bg img,
.feature-card__bg video { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; }
.feature-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}
.feature-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem); /* ≤30px (Figma card title) */
	line-height: 1.02;
	letter-spacing: -0.01em;
	margin: 0;
}
.feature-card__desc {
	font-size: 0.875rem; /* 14px (Figma) */
	line-height: 1.4;
	letter-spacing: -0.01em;
	color: var(--c-ink);
	margin: 0;
}
.feature-card__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--c-accent);
	color: #fff;
	font-weight: 500;
	font-size: 0.9375rem; /* 15px (Figma) */
	letter-spacing: -0.02em;
	padding: 0.65rem 1.2rem;
	border-radius: var(--radius-pill);
	transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.feature-card__cta:hover { transform: translateY(-1px); filter: brightness(1.05); }

/* Feature / service cards */
.card__media {
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin: -0.5rem -0.5rem 0.5rem;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__tag {
	display: inline-flex;
	align-self: flex-start;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-muted);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-pill);
	padding: 0.3rem 0.7rem;
}
.card__link {
	font-weight: 600;
	color: var(--c-ink);
	border-bottom: 1.5px solid var(--c-accent);
	align-self: flex-start;
	padding-bottom: 2px;
}

/* Billboard */
.billboard {
	position: relative;
	width: 100%;
	aspect-ratio: 1440 / 810;
	overflow: hidden;
	background: #2a2a24;
}
.billboard__photo { position: absolute; inset: 0; }
.billboard__photo img { width: 100%; height: 100%; object-fit: cover; }
.billboard__panel {
	position: absolute;
	left: 21.3%;
	top: 14.2%;
	width: 57.2%;
	height: 57.2%;
	background: var(--c-cream);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2%;
	padding: 3% 4%;
}
.billboard__tagline {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(0.85rem, 1.7vw, 1.5rem);
	line-height: 0.99;
	letter-spacing: -0.01em;
	color: var(--c-ink);
	margin: 0;
	flex: 0 0 auto;
	max-width: 40%;
}
.billboard__cities {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(0.15rem, 0.6vw, 0.5rem);
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.1rem, 3.1vw, 2.8rem);
	line-height: 0.8;
	letter-spacing: -0.01em;
	color: #d3d0ba;
	height: 130%;
	margin-top: -15%;
}
.billboard__city { white-space: nowrap; opacity: 0.35; }
.billboard__city:nth-child(3) { opacity: 0.5; }
.billboard__city:nth-child(4) { opacity: 0.7; }
.billboard__city:nth-child(5) { opacity: 1; }
.billboard__city.is-highlight {
	opacity: 1;
	color: var(--c-accent);
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
}
.billboard__mark { width: 0.7em; height: 0.7em; }
.billboard__mark svg { width: 100%; height: 100%; }

@media (max-width: 700px) {
	.billboard { aspect-ratio: 3 / 4; }
	.billboard__panel {
		left: 8%; right: 8%; width: auto; top: 12%; height: 76%;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 6%;
	}
	.billboard__tagline { max-width: 100%; font-size: 1.25rem; }
	.billboard__cities { height: auto; margin-top: 0; font-size: 1.6rem; }
}

/* Dark image CTA card */
.cta-band { padding-block: clamp(3rem, 2rem + 5vw, 9.4rem); }
.cta-card {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	min-height: 450px;
	max-width: 1104px; /* Figma 1:7848 — 168px page inset */
	margin-inline: auto;
	display: flex;
	align-items: center;
	padding: clamp(1.75rem, 1rem + 3vw, 3.1rem);
	isolation: isolate;
	background: var(--c-dark);
}
.cta-card__media { position: absolute; inset: 0; z-index: -2; }
.cta-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.cta-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(249deg, rgba(0,0,0,0) 48%, rgba(0,0,0,0.56) 82%);
}
.cta-card__content {
	max-width: 32rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	color: var(--c-on-dark);
}
.cta-card__eyebrow {
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: -0.03em;
	margin: 0;
}
.cta-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.9rem, 1.3rem + 2vw, 2.5rem);
	line-height: 0.99;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--c-on-dark);
}
.cta-card__text {
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: -0.03em;
	margin: 0;
	max-width: 23.5rem;
}
.cta-card__actions { margin-top: 0.5rem; }

/* Documents catalogue */
.section--docs { padding-block: clamp(4rem, 2rem + 8vw, 11rem); }
/* Header matches Figma 1:7856: Cal Sans 40px title, 30px gap, 16px #7f7f7f subtitle. */
.section--docs .section__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; max-width: none; }
.section--docs .section__head { gap: 1.875rem; }
.docs__subtitle {
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: -0.05em;
	color: #7f7f7f;
	margin: 0;
}
.docs-grid {
	display: flex;
	gap: 0;
	align-items: flex-start;
	justify-content: center;
}
.docs-col {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
}
/* 1px divider centred in a ~42px gap (Figma 1:7879 etc.). */
.docs-col + .docs-col {
	margin-left: clamp(12px, 1.2vw, 18px);
	padding-left: clamp(12px, 1.2vw, 18px);
	border-left: 1px solid rgba(197, 188, 185, 0.4);
}
.docs-col__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.25rem;
	letter-spacing: -0.01em;
	margin: 0;
}
.docs-col__tags {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 11px;
	width: 100%;
}
.docs-tag {
	max-width: 100%;
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 40px;
	padding: 12px 15px;
	font-weight: 600;
	font-size: 0.59rem; /* ~9.4px — Figma spec is 10px but the browser renders Plus Jakarta wider; keeps pills single-line */
	line-height: 1.12;
	letter-spacing: -0.05em;
	color: var(--c-ink);
	cursor: default;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.docs-tag:hover {
	background: var(--c-accent-2); /* #e77958 */
}
/* Below the full content width the single-line pills no longer fit; let the
   columns share the space and the pills wrap so nothing overflows/clips. */
@media (min-width: 701px) and (max-width: 1200px) {
	.docs-grid { justify-content: flex-start; }
	.docs-col { flex: 1 1 0; }
	.docs-tag { white-space: normal; }
}
.docs__cta { margin-top: clamp(2.5rem, 1.5rem + 3vw, 5.3rem); text-align: center; }
.docs__cta .btn { font-size: 1.0625rem; padding: 1rem 1.5rem; }

/* Team */
.section--team {
	background: var(--c-periwinkle);
	color: var(--c-ink);
	padding-block: clamp(4rem, 2rem + 7vw, 9.4rem);
}
.team__eyebrow {
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: -0.03em;
	color: var(--c-ink);
	margin: 0;
}
/* Heading matches Figma 1:7942 (Cal Sans 40px). */
.section--team .section__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; max-width: none; }
/* Horizontal carousel: 4 cards of 320×424 visible, 5th peeking, bleeding to the
   right edge; first card aligned to the content margin (Figma 1:7943). */
.team-row {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	padding-left: max(var(--gutter), calc((100vw - var(--container-wide)) / 2 + var(--gutter)));
	padding-right: var(--gutter);
	scroll-padding-left: max(var(--gutter), calc((100vw - var(--container-wide)) / 2 + var(--gutter)));
	box-sizing: border-box;
}
.team-row::-webkit-scrollbar { display: none; }
.team-member {
	position: relative;
	margin: 0;
	flex: 0 0 320px;
	scroll-snap-align: start;
	height: 424px;
	border-radius: 9px;
	overflow: hidden;
	background: var(--c-cream);
	isolation: isolate;
}
/* Scroll-progress bar (Figma 1:8127): cream thumb over a light-blue track. */
.team-progress {
	position: relative;
	width: 428px;
	max-width: 100%;
	height: 3px;
	margin: 50px auto 0; /* Figma: 50px below the 424px cards */
}
.team-progress[hidden] { display: none; }
/* Pale segments either side of the thumb, each kept 8px clear of it (Figma 1:8127). */
.team-progress__track {
	position: absolute;
	top: 0;
	height: 3px;
	background: #d1e2f4;
	border-radius: 23px;
}
.team-progress__track--before { left: 0; width: 0; }
.team-progress__track--after { left: 88px; right: 0; }
.team-progress__thumb {
	position: absolute;
	top: 0;
	left: 0;
	width: 80px;
	max-width: 100%;
	height: 3px;
	background: #eeeedb;
	border-radius: 23px;
}
.team-member__photo { position: absolute; inset: 0; z-index: -2; }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(195deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.67) 93%);
}
/* Hover ring on the gradient layer, above the photo: drawn on the card itself it
   sat under the image, so only cut-out portraits (transparent edges) showed it. */
.team-member::after { transition: box-shadow 0.25s var(--ease); }
.team-member:hover::after,
.team-member:focus-within::after { box-shadow: inset 0 0 0 3px var(--c-accent-2); }
.team-member__caption {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	padding: 24px 36px;
	color: var(--c-periwinkle);
}
.team-member__name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 0.99;
	letter-spacing: -0.24px;
	display: flex;
	flex-direction: column;
}
.team-member__role { color: var(--c-periwinkle); opacity: 0.9; }
.team-member__linkedin {
	flex: 0 0 auto;
	color: var(--c-periwinkle);
	opacity: 0.9;
	transition: opacity 0.2s var(--ease);
}
.team-member__linkedin:hover { opacity: 1; }

/* Blog teaser */
.section--blog { padding-block: clamp(4rem, 2rem + 6vw, 8.1rem); }
.blog__eyebrow { font-weight: 600; font-size: 1rem; letter-spacing: -0.03em; color: var(--c-ink); margin: 0; }
.blog-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.blog-card {
	padding: 20px 22px;
	min-height: 424px;
	display: flex;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
/* Real striped textures exported from Figma (one per card colour). */
.blog-card.is-periwinkle { background-image: url("../img/1216887b2a7c5937d8c3127a636f91d89de989a4.png"); }
.blog-card.is-coral { background-image: url("../img/0635318af53389a2152afe4d2d8da9fd1dcdc7b5.png"); }
.blog-card.is-dark { background-image: url("../img/b83852f270107dde031a476abedde767123c787e.png"); }
.blog-card.is-mix { background-image: url("../img/c855d58966e49172c5e7bdfe4219c8ce05bc0b12.png"); }
.blog-card__inner {
	background: var(--c-cream);
	padding: 23px 25px;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	color: var(--c-ink);
}
.blog-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.4rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0;
}
.blog-card__excerpt {
	font-weight: 500;
	font-size: 0.8125rem;
	line-height: 1.44;
	color: var(--c-ink-soft);
	margin: 0;
	flex: 1 1 auto;
}
.blog-card__more { font-weight: 600; font-size: 1rem; letter-spacing: -0.03em; color: var(--c-accent); }
.blog__cta { margin-top: clamp(2.5rem, 1.5rem + 3vw, 5.6rem); text-align: center; }
.blog__cta .btn { font-size: 1.0625rem; padding: 1rem 1.5rem; }
/* Desktop: 4 cards of 320×424 across the full content width (Figma 1:8134). */
@media (min-width: 901px) {
	.blog-grid {
		display: flex;
		gap: 20px;
		overflow-x: auto;
		scrollbar-width: none;
		width: 100vw;
		margin-left: 50%;
		transform: translateX(-50%);
		padding-left: max(var(--gutter), calc((100vw - var(--container-wide)) / 2 + var(--gutter)));
		padding-right: var(--gutter);
		box-sizing: border-box;
	}
	.blog-grid::-webkit-scrollbar { display: none; }
	.blog-card { flex: 0 0 320px; }
}

/* E-books banner */
.section--ebooks { padding-block: 0 clamp(4rem, 2rem + 6vw, 8rem); }
.ebooks-card {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	min-height: 219px;
	background: #d3cfb9; /* Figma Lens banner sage (1:8157) */
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: clamp(1.75rem, 1rem + 3vw, 3.1rem);
	isolation: isolate;
}
/* Staircase sits centre-right, leaving the button clear on the sage (Figma). */
.ebooks-card__media { position: absolute; top: 0; bottom: 0; right: 16%; width: 44%; z-index: -1; }
.ebooks-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ebooks-card__content { max-width: 27rem; }
.ebooks-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.9rem, 1.3rem + 2vw, 2.5rem);
	line-height: 0.99;
	letter-spacing: -0.01em;
	margin: 0 0 1rem;
}
.ebooks-card__text { font-weight: 500; font-size: 1rem; line-height: 1.44; letter-spacing: -0.03em; margin: 0; max-width: 24rem; }
.ebooks-card__actions { flex: 0 0 auto; }

/* Testimonials */
.section--testimonials { padding-block: clamp(4rem, 2rem + 6vw, 8.1rem); }
.testimonials__inner {
	max-width: 854px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: clamp(2.5rem, 1.5rem + 3vw, 4.55rem);
}
.testimonials__eyebrow {
	font-weight: 600;
	color: #7f7f7f; /* Figma eyebrow grey (1:8165) */
	letter-spacing: -0.05em;
	font-size: 1rem;
	margin: 0;
}
.testimonials__viewport { overflow: hidden; }
.testimonials__track { display: flex; }
.testimonial {
	margin: 0;
	flex: 0 0 100%;
	display: flex;
	align-items: flex-start;
	gap: clamp(1.5rem, 1rem + 2vw, 2.6rem);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}
.testimonial.is-active { opacity: 1; }
[data-carousel] .testimonial { margin-right: 0; }
.testimonial__logo { flex: 0 0 auto; width: 138px; }
.testimonial__logo img { width: 100%; height: auto; aspect-ratio: 138 / 46; object-fit: contain; }
.testimonial__body { display: flex; flex-direction: column; gap: 1.9rem; max-width: 42rem; }
.testimonial__quote {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.5rem);
	line-height: 1.18;
	letter-spacing: -0.01em;
	margin: 0;
	color: var(--c-ink);
}
.testimonial__by { display: flex; flex-direction: column; gap: 1rem; }
.testimonial__author { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.04em; }
.testimonial__role { font-weight: 300; font-size: 1rem; letter-spacing: -0.04em; color: var(--c-ink); }
.testimonials__progress { display: flex; gap: 8px; width: 100%; }
.testimonials__dot { flex: 1 1 0; height: 2px; border: 0; padding: 0; border-radius: 23px; background: #c5bcb9; cursor: pointer; transition: background 0.3s var(--ease); }
.testimonials__dot.is-active { background: #4e3a1d; }

/* AI / Messaging */
.section--messaging {
	background: var(--c-accent-2); /* #e77958 coral */
	color: var(--c-on-dark);
	padding-block: clamp(4rem, 2rem + 7vw, 9.4rem);
}
.section--messaging .section__title { color: var(--c-on-dark); font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.5rem); line-height: 1; letter-spacing: -0.01em; max-width: none; }
.messaging__head { max-width: 708px; margin-inline: auto; }
.messaging__lead { font-weight: 500; font-size: 1rem; line-height: 1.3; letter-spacing: -0.04em; color: var(--c-on-dark); margin: 0; }
.messaging-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: clamp(2.5rem, 1.5rem + 3vw, 2.6rem);
}
.msg-card {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	min-height: 521px;
	display: flex;
	flex-direction: column;
	padding: 34px 37px;
	isolation: isolate;
}
.msg-card__media { position: absolute; inset: 0; z-index: -2; }
.msg-card__media img { width: 100%; height: 100%; object-fit: cover; }
.msg-card--dark { background: var(--c-dark); color: var(--c-on-dark); }
.msg-card--dark .msg-card__media img { object-position: center 78%; }
.msg-card--dark::after {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	/* Stronger, taller top scrim so the title/text sit on a dark area and do
	   not clash with the person's face below. */
	background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.4) 32%, rgba(0,0,0,0) 58%);
}
.msg-card--light { background: #f4f3ee; color: var(--c-ink); }
.msg-card--light .msg-card__media { inset: auto 0 0 0; height: 66%; z-index: 0; }
.msg-card--light .msg-card__media img { object-position: center bottom; }
.msg-card__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; max-width: 24rem; }
.msg-card__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.5rem;
	line-height: 0.99;
	letter-spacing: -0.01em;
	margin: 0;
	color: inherit;
}
.msg-card--dark .msg-card__title { color: var(--c-on-dark); }
.msg-card__text { font-weight: 500; font-size: 0.875rem; line-height: 1.44; letter-spacing: -0.03em; margin: 0; }
.msg-card--light .msg-card__text { color: var(--c-muted); }
.messaging__foot { margin-top: clamp(2rem, 1rem + 2vw, 2.6rem); display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.messaging__foot .btn { font-size: 1.0625rem; padding: 1rem 1.5rem; }
.messaging__note { font-weight: 600; font-size: 0.875rem; letter-spacing: -0.05em; color: var(--c-on-dark); margin: 0; }

/* Messaging card mockups (Figma 1:8189). Coordinates are the design's px on a
   430.67 x 521 card; card 2's stage keeps that box centred in the card. */
.msg-card { --msg-pad: 37px; }

/* Card 1: frosted file list */
.msg-files {
	position: absolute;
	left: var(--msg-pad);
	bottom: 33px;
	z-index: 1;
	width: 219px;
	padding-inline: 14px;
	display: flex;
	flex-direction: column;
	background: rgba(240, 238, 233, 0.86);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 12px;
}
.msg-file { position: relative; display: flex; align-items: center; gap: 20px; height: 48.67px; }
.msg-file + .msg-file::before { content: ""; position: absolute; top: 0; left: 39px; right: 1px; height: 1px; background: rgba(255, 255, 255, 0.7); }
.msg-file__icon { flex: 0 0 19px; display: flex; justify-content: center; }
.msg-file__icon img { display: block; width: auto; height: 24px; }
.msg-file__info { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.msg-file__name { font-size: 12px; line-height: 1; letter-spacing: -0.02em; color: #3a3f44; text-box: trim-both cap alphabetic; white-space: nowrap; }
.msg-file__meta { display: flex; gap: 14px; font-size: 10px; line-height: 1; letter-spacing: -0.02em; color: #b3b2b1; text-box: trim-both cap alphabetic; white-space: nowrap; }
.msg-file__chevron { margin-left: auto; flex: 0 0 auto; width: 12px; height: 12px; }

/* Card 2: credits pill + laptop chart + iPhone report */
/* The stage is the bottom 349px of the design card (pill at y 172), anchored to
   the card bottom; the copy reserves that room so a taller text grows the card. */
.msg-card:has(.msg-stage) .msg-card__content { margin-bottom: 344px; }
.msg-stage { position: absolute; bottom: 0; left: 50%; width: 430.67px; height: 349px; margin-left: -215.33px; pointer-events: none; }
.msg-credits {
	position: absolute;
	left: 117.04px;
	top: 0;
	z-index: 3;
	width: 196.59px;
	height: 53.91px;
	padding-inline: 14.45px;
	display: flex;
	align-items: center;
	background: #f0efe8;
	border: 0.6px solid rgba(231, 121, 88, 0.35);
	border-radius: 12px;
	box-shadow: 0 0 26px rgba(231, 121, 88, 0.1);
}
.msg-credits__mark { flex: 0 0 25px; width: 25px; height: 25px; }
.msg-credits__meta { margin-left: 20.78px; display: flex; flex-direction: column; gap: 7.8px; }
.msg-credits__top { display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.msg-credits__top strong { font-weight: 500; font-size: 12.5px; letter-spacing: -0.01em; color: #3a3f44; text-box: trim-both cap alphabetic; }
.msg-credits__top em { font-style: normal; font-size: 9.5px; color: #8d8d8d; text-box: trim-both cap alphabetic; }
.msg-credits__label { font-size: 9.5px; line-height: 1; color: #b3b2b1; white-space: nowrap; text-box: trim-both cap alphabetic; }
.msg-credits__chevron { margin-left: auto; width: 12px; height: 12px; }

.msg-laptop { position: absolute; left: -397.94px; top: 74.2px; width: 621.2px; height: 425.3px; z-index: 1; }
.msg-laptop__frame { position: absolute; inset: 0; width: 621.2px; height: 425.3px; }
.msg-laptop__display { position: absolute; left: 10.24px; top: 11.18px; width: 600.4px; height: 389.9px; background: #eeeedb; border-radius: 9px 9px 0 0; overflow: hidden; }
.msg-chart { position: absolute; top: 14.6px; right: 15.7px; bottom: 0; left: 15px; background: #fbfaf5; border-radius: 10px 10px 0 0; }
.msg-chart__title { position: absolute; top: 19.2px; right: 150px; margin: 0; font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: -0.02em; color: #27211b; white-space: nowrap; text-box: trim-both cap alphabetic; }
.msg-chart__plot { position: absolute; left: 302.3px; top: 92px; height: 140px; display: flex; align-items: flex-end; gap: 18.7px; }
.msg-chart__plot::after { content: ""; position: absolute; left: -24px; right: -6px; bottom: 0; height: 1px; background: #e4dfd2; }
.msg-chart__group { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.msg-chart__bar { width: 11px; height: var(--h); border-radius: 3px 3px 0 0; background: #e77958; }
.msg-chart__bar--alt { background: #78592d; }
.msg-chart__label { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); font-size: 9px; line-height: 1; color: #6f6a62; text-box: trim-both cap alphabetic; }

.msg-phone { position: absolute; left: 247.86px; top: 74px; width: 246.08px; height: 507.2px; z-index: 2; border-radius: 42px; background: linear-gradient(160deg, #9aa3b1, #5b636f 45%, #8b94a2); box-shadow: inset 0 0 0 0.6px rgba(0, 0, 0, 0.35); }
.msg-phone::before { content: ""; position: absolute; inset: 2.4px; border-radius: 39.6px; background: #121212; }
.msg-phone__btn { position: absolute; left: -1.8px; width: 3px; border-radius: 1px 0 0 1px; background: #7b8390; }
.msg-phone__btn--action { top: 89.65px; height: 18.65px; }
.msg-phone__btn--up { top: 125.75px; height: 33.7px; }
.msg-phone__btn--down { top: 169.67px; height: 33.7px; }
.msg-phone__screen { position: absolute; inset: 7px; border-radius: 35px; background: #eeeedb; overflow: hidden; }
.msg-phone__island { position: absolute; left: 82.64px; top: 7.44px; width: 66.79px; height: 18.65px; border-radius: 10px; background: #000; z-index: 1; }
.msg-report { position: absolute; left: 8.38px; top: 14.49px; width: 213.5px; height: 339.4px; border-radius: 12px; background: #fbfaf5; color: #27211b; }
.msg-report > * { position: absolute; left: 14.62px; margin: 0; line-height: 1; text-box: trim-both cap alphabetic; white-space: nowrap; }
.msg-report__logo { top: 14.69px; width: 14.69px; height: 14.76px; }
.msg-report__title { top: 41.7px; font-weight: 600; font-size: 12.5px; letter-spacing: -0.01em; }
.msg-report__hi { top: 61.7px; font-size: 11px; }
.msg-report__intro { top: 76.7px; width: 178px; font-size: 9px; line-height: 12px; color: #78592d; white-space: normal; }
.msg-report__period { top: 124.2px; font-weight: 600; font-size: 9.6px; }
.msg-report__period::before { content: ""; position: absolute; left: 0; top: -8.1px; width: 184.3px; height: 1px; background: #e6e0d0; }
.msg-report__rows { top: 145.5px; width: 184.3px; height: 82.3px; border: 1px solid #e6e0d0; border-radius: 9px; }
.msg-report__row { position: absolute; left: 0; right: 0; top: 0; height: 41.1px; display: flex; align-items: center; font-size: 10.5px; }
.msg-report__row + .msg-report__row { top: 41.1px; border-top: 1px solid #e6e0d0; }
.msg-report__row svg { position: absolute; left: 8.8px; width: 11.7px; height: 11.7px; }
.msg-report__row span { position: absolute; left: 27.8px; }
.msg-report__row b { position: absolute; left: 132.1px; font-weight: 700; }
.msg-report__dl { top: 243.7px; left: 14.76px; width: 199px; height: 35px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 9px; background: #27211b; color: #fbfaf5; font-weight: 600; font-size: 9.6px; text-box: none; }
.msg-report__dl svg { width: 10px; height: 11.75px; }

/* Card 3: WhatsApp notifications */
.msg-chat { position: absolute; left: var(--msg-pad); bottom: 33px; z-index: 1; width: 246px; display: flex; flex-direction: column; gap: 4px; }
.msg-bubble {
	height: 52px;
	display: flex;
	align-items: center;
	gap: 14.5px;
	padding: 0 9px 0 8.5px;
	background: rgba(104, 104, 104, 0.72);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-radius: 12px;
}
.msg-bubble__icon { flex: 0 0 35px; width: 35px; height: 35px; }
.msg-bubble__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 9px; color: #fff; }
.msg-bubble__head { display: flex; justify-content: space-between; align-items: baseline; }
.msg-bubble__name { font-weight: 500; font-size: 12px; line-height: 1; text-box: trim-both cap alphabetic; }
.msg-bubble__time { font-size: 10px; line-height: 1; color: rgba(255, 255, 255, 0.45); text-box: trim-both cap alphabetic; }
.msg-bubble__text { margin: 0; font-size: 10px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-box: trim-both cap alphabetic; }

/* Desktop frame: 150px band, 1340px row (50px sides), 42px rhythm. */
@media (min-width: 1101px) {
	.section--messaging { padding-block: 150px; }
	.section--messaging .container { max-width: 1440px; padding-inline: 50px; }
	.messaging__head { margin: 0 auto; gap: 0; }
	.messaging__head .section__title { font-size: 40px; line-height: 1; text-box: trim-both cap alphabetic; margin: 0; }
	.messaging__lead { margin-top: 30px; line-height: 1.3; text-box: trim-both cap alphabetic; }
	.messaging-grid { margin-top: 42px; }
	.msg-card__title, .msg-card__text { text-box: trim-both cap alphabetic; }
	.messaging__foot { margin-top: 42px; }
	.messaging__foot .btn { height: 45px; padding: 0 23px; font-size: 17px; letter-spacing: -0.5px; }
}
/* Photo framing measured against the design. */
.msg-card:nth-child(1) .msg-card__media img { object-position: 50% 47%; }
.msg-card:nth-child(3) .msg-card__media img { object-position: 50% 0; transform: scale(1.14); transform-origin: 50% 0; }

/* Figma breaks the light card title as "Control Presupuestario / y de Créditos". */
.msg-card--light .msg-card__title { text-wrap: balance; }

/* Partners */
.section--partners {
	text-align: center;
	padding-block: clamp(3.5rem, 2rem + 5vw, 7.1rem);
}
.partners__title {
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: -0.05em;
	color: var(--c-ink);
	margin: 0 0 clamp(2rem, 1.2rem + 2vw, 3.1rem);
}
.partners__logos {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(1.25rem, 0.8rem + 1.5vw, 2.5rem);
	opacity: 0.6;
}
.partners__logo {
	display: inline-flex;
	align-items: center;
}
.partners__logo img {
	height: clamp(26px, 2.2vw, 38px);
	width: auto;
	object-fit: contain;
}
.partners__divider {
	width: 1px;
	height: 20px;
	border-radius: 100px;
	background: rgba(39, 33, 27, 0.4);
	flex: 0 0 auto;
}

/* Manifesto / closing statement */
.manifesto {
	position: relative;
	overflow: hidden;
	background: var(--c-ink);
	color: var(--c-on-dark);
	padding-block: clamp(4rem, 2rem + 7vw, 8.1rem);
	padding-inline: var(--gutter);
	isolation: isolate;
}
.manifesto__texture {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: repeating-linear-gradient(
		0deg,
		#39322f 0,
		#39322f 1.7px,
		transparent 1.7px,
		transparent 18px
	);
	/* Fade the stripes out behind the centered text for legibility. */
	-webkit-mask-image: radial-gradient(120% 80% at 50% 50%, transparent 22%, #000 62%);
	mask-image: radial-gradient(120% 80% at 50% 50%, transparent 22%, #000 62%);
	opacity: 0.9;
}
.manifesto__inner {
	position: relative;
	max-width: 460px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
}
.manifesto__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(2rem, 1.4rem + 2vw, 2.5rem);
	line-height: 0.99;
	letter-spacing: -0.01em;
	color: var(--c-on-dark);
	margin: 0;
}
.manifesto__subtitle {
	font-weight: 600;
	font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem);
	line-height: 1.4;
	letter-spacing: -0.05em;
	color: var(--c-on-dark);
	margin: 0;
}
.manifesto__body {
	font-weight: 300;
	font-size: 1rem;
	line-height: 1.4;
	letter-spacing: -0.05em;
	color: var(--c-on-dark);
	margin: 0;
}
.manifesto__actions { margin-top: 0; }
.btn--outline-coral {
	background: var(--c-ink);
	color: var(--c-on-dark);
	border-color: var(--c-accent-2);
	font-size: 1.0625rem;
	padding: 1rem 1.5rem;
}
.btn--outline-coral:hover { background: var(--c-accent-2); color: var(--c-ink); }


/* --------------------------------------------------------------------------
 * 12. Responsive (authoritative — placed after all section styles so these
 *     overrides win over the base grid definitions above).
 * ----------------------------------------------------------------------- */

/* Header bar: logo + language + hamburger up to tablet landscape. */
@media (max-width: 1100px) {
	/* Header: collapse to logo + language + hamburger; CTA lives in the menu. */
	.site-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding-left: 1.1rem;
	}
	.site-header__brand { margin-right: auto; }
	.header-actions .btn--primary { display: none; }
	.nav-toggle { order: 3; }
}

/* Tablet and below */
@media (max-width: 900px) {

	.hero__inner { grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 48px; }
	.hero__content { grid-column: 1; }
	.hero__media::after { background: linear-gradient(180deg, rgba(16,16,14,0.15), rgba(16,16,14,0.6)); }

	.feature-grid { grid-template-columns: 1fr 1fr; }
	.docs-grid { flex-wrap: wrap; }
	.docs-col { flex: 1 1 45%; border-left: 0; padding-left: 0; padding-right: 0; }
	.team-row { grid-template-columns: 1fr 1fr; }
	.blog-grid { grid-template-columns: 1fr 1fr; }
	.messaging-grid { grid-template-columns: 1fr; }
	.ebooks-card { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
	.ebooks-card__media { width: 100%; opacity: 0.5; }
	.testimonial { flex-direction: column; gap: 1.75rem; }
	.footer-contact__grid { grid-template-columns: 1fr; }
	.footer-form { width: 100%; }
	.cta-card__content { max-width: none; }
}

/* Mobile */
@media (max-width: 600px) {
	:root { --section-y: clamp(3rem, 2rem + 4vw, 4.5rem); }

	.feature-grid,
	.team-row,
	.blog-grid { grid-template-columns: 1fr; }
	.blog-card { min-height: 0; }
	.team-member { height: 380px; }

	.docs-grid { flex-direction: column; gap: 2rem; }
	.docs-col { flex: 1 1 auto; }

	.hero__title { font-size: clamp(2.5rem, 2rem + 6vw, 3.25rem); }
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; }

	.section--features,
	.section--docs,
	.section--team,
	.section--blog,
	.section--testimonials,
	.section--messaging,
	.section--partners,
	.manifesto,
	.cta-band { padding-block: clamp(3rem, 2rem + 5vw, 4.5rem); }

	.msg-card { min-height: 440px; }
	.cta-card { min-height: 380px; }

	.docs__cta .btn,
	.blog__cta .btn,
	.messaging__foot .btn { width: 100%; }

	.partners__logos { gap: 1.25rem 1.75rem; }

	/* Footer */
	.footer-offices { gap: 1.5rem 2rem; }
	.footer-form__submit { width: 100%; }
	.footer-bottom { padding-inline: clamp(1rem, 4vw, 1.5rem); }
	.footer-bottom__bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.75rem;
		padding: 28px 24px;
	}
	.footer-bottom__nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
	.footer-bottom__logo { align-self: flex-start; }

	/* Billboard: give the panel room; stack tagline over cities. */
	.billboard { aspect-ratio: 4 / 5; }
	.billboard__panel {
		left: 6%; right: 6%; width: auto; top: 8%; height: 84%;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 5%;
		padding: 6% 7%;
	}
	.billboard__tagline { max-width: 100%; font-size: 1.2rem; }
	.billboard__cities { height: auto; margin-top: 0; font-size: clamp(1.3rem, 6vw, 1.9rem); }
}

/* Small phones */
@media (max-width: 380px) {
	.hero__title { font-size: 2.35rem; }
	.footer-offices { gap: 1.25rem; }
}

/* --------------------------------------------------------------------------
 * 13. Mobile carousels & tabbed documents (match the Figma mobile design).
 *     Base rules hide the JS-generated chrome; the media query turns the card
 *     grids into horizontal swipe carousels and the documents grid into tabs.
 * ----------------------------------------------------------------------- */
.carousel-dots { display: none; }
.docs-tabs { display: none; }

@media (max-width: 700px) {
	/* Card grids -> horizontal scroll-snap carousels */
	.feature-grid,
	.team-row,
	.blog-grid {
		display: flex;
		grid-template-columns: none;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		scroll-padding-left: var(--gutter);
	}
	/* The desktop full-bleed trick (width:100vw + translateX(-50%)) must not survive
	   the carousel's own negative margins, or the row starts half a screen to the left. */
	.team-row { width: auto; transform: none; }
	.feature-grid::-webkit-scrollbar,
	.team-row::-webkit-scrollbar,
	.blog-grid::-webkit-scrollbar { display: none; }

	.feature-card,
	.team-member,
	.blog-card {
		flex: 0 0 86%;
		scroll-snap-align: start;
	}
	.team-member { height: 420px; }
	.blog-card { min-height: 420px; }

	/* Dot indicators (generated by JS, one per slide) */
	.carousel-dots {
		display: flex;
		gap: 8px;
		margin-top: 1.5rem;
	}
	.carousel-dots__dot {
		flex: 1 1 0;
		height: 2px;
		border: 0;
		padding: 0;
		border-radius: 23px;
		background: rgba(39, 33, 27, 0.2);
		cursor: pointer;
		transition: background-color 0.25s var(--ease);
	}
	.carousel-dots__dot.is-active { background: var(--c-ink); }
	.section--team .carousel-dots__dot { background: rgba(39, 33, 27, 0.25); }
	.section--team .carousel-dots__dot.is-active { background: var(--c-ink); }

	/* Documents -> tabbed categories */
	.docs-tabs {
		display: flex;
		gap: 1.5rem;
		overflow-x: auto;
		scrollbar-width: none;
		margin-inline: calc(var(--gutter) * -1);
		margin-bottom: 1.75rem;
		padding: 0 var(--gutter) 0.9rem;
		border-bottom: 1px solid var(--c-line);
	}
	.docs-tabs::-webkit-scrollbar { display: none; }
	.docs-tabs__tab {
		flex: 0 0 auto;
		border: 0;
		background: transparent;
		font-family: var(--font-display);
		font-weight: 400;
		font-size: 1.15rem;
		letter-spacing: -0.01em;
		color: var(--c-muted);
		padding: 0 0 0.9rem;
		margin-bottom: -0.9rem;
		cursor: pointer;
		position: relative;
		white-space: nowrap;
	}
	.docs-tabs__tab.is-active { color: var(--c-ink); }
	.docs-tabs__tab.is-active::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 2px;
		background: var(--c-ink);
	}
	.docs-grid { display: block; }
	.docs-col { display: none; padding: 0; border-left: 0; }
	.docs-col.is-active { display: block; }
	.docs-col__title { display: none; } /* category name lives in the tab */
}
/* LinkedIn icon on team cards: periwinkle, coral on hover (global a:link rule would otherwise win). */
.team-member a.team-member__linkedin, .team-member a.team-member__linkedin:visited { color: var(--c-periwinkle); opacity: 1; transition: color 0.2s var(--ease); }
.team-member a.team-member__linkedin:hover, .team-member a.team-member__linkedin:focus-visible { color: var(--c-accent-2); }

/* Link buttons: the global a:link{color:inherit} rule (0,1,1) beats single-class
   button colours, so restate them on the anchor (Figma: ink on periwinkle,
   white on the coral CTAs). */
a.btn--primary, a.btn--primary:visited { color: var(--c-periwinkle-ink); }
.ebooks-card a.btn--coral, .ebooks-card a.btn--coral:visited { color: #fff; }
a.feature-card__cta, a.feature-card__cta:visited { color: #fff; }

/* --------------------------------------------------------------------------
 * 14. Mobile home - strict pass against Figma "Version Mobile" (1:6526, 401px).
 *     Sections use 60px (70px on testimonials / messaging / partners) vertical
 *     padding, an 18px gutter, 16px Medium eyebrows 19px above 28px titles,
 *     and 44px between a section head and its content. Text boxes are
 *     cap-trimmed like Figma so the gaps below are the visible ones.
 * ----------------------------------------------------------------------- */
@media (max-width: 600px) {
	:root { --gutter: 18px; }

	/* Header: logo + hamburger only (language switcher lives in the drawer). */
	.site-header__inner { min-height: 57px; padding-inline: var(--gutter); }
	.site-header .site-header__brand .site-brand__img { height: 22px; }
	.header-actions .lawi-lang-switcher { display: none; }

	/* Hero */
	.hero__inner { padding-bottom: 28px; }
	.hero__title { font-size: 40px; line-height: 0.95; letter-spacing: -0.4px; margin-bottom: 16px; }
	.hero__lead { font-size: 16px; line-height: 1.4; margin-bottom: 32px; }
	.hero__actions { gap: 10px; }
	.hero__actions .btn { height: 52px; padding: 0 23px; font-size: 17px; letter-spacing: -0.85px; }

	/* Shared section head */
	.section--features, .section--docs, .section--blog { padding-block: 60px; }
	.section--team { padding-block: 150px; }
	.section--testimonials, .section--messaging, .section--partners { padding-block: 70px; }
	body .section .section__head { margin-bottom: 44px; row-gap: 19px; }
	.section__head .eyebrow, .team__eyebrow, .blog__eyebrow, .testimonials__eyebrow, .partners__title {
		margin: 0; font-size: 16px; font-weight: 500; line-height: 1.12; letter-spacing: -0.8px; text-box: trim-both cap alphabetic;
	}
	.section__head .section__title { margin-bottom: 0; font-size: 28px; line-height: 0.99; letter-spacing: -0.28px; text-box: trim-both cap alphabetic; }

	/* Features carousel: 324.5 by 506 cards, 14px apart, bars 44px below. */
	.section--features .feature-grid { gap: 14px; }
	.section--features .feature-card { flex: 0 0 324.5px; height: 506px; min-height: 0; aspect-ratio: auto; padding: 23px 20px; }
	.section--features .feature-card__body { gap: 0; }
	.feature-card__title { font-size: 30px; line-height: 0.99; letter-spacing: -0.3px; text-box: trim-both cap alphabetic; }
	.feature-card__desc { margin-top: 21px; font-size: 14px; line-height: 1.43; text-box: trim-both cap alphabetic; }
	.feature-card__cta { margin-top: 18px; height: 40px; padding: 0 20px; font-size: 18px; letter-spacing: -0.9px; }
	.section--features .carousel-dots { margin-top: 44px; gap: 9px; }

	/* Documents: title + subtitle, tabs, stacked 12px chips, full-width CTA. */
	.docs__subtitle { margin-top: 0; font-size: 16px; line-height: 1.12; letter-spacing: -0.8px; text-box: trim-both cap alphabetic; }
	.docs-tabs { gap: 11px; margin: 0 calc(var(--gutter) * -1) 44px; padding: 0 var(--gutter); border-bottom: 0; }
	.docs-tabs__tab { padding: 12px 0; margin: 0; font-family: var(--font-body); font-weight: 500; font-size: 15px; line-height: 1.12; letter-spacing: -0.3px; color: var(--c-ink); opacity: 0.15; border-bottom: 1px solid var(--c-ink); }
	.docs-tabs__tab.is-active { opacity: 1; font-weight: 700; }
	.docs-tabs__tab.is-active::after { display: none; }
	.docs-col.is-active .docs-tags, .docs-col.is-active ul { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
	/* Single-line chips as in Figma; a label longer than the screen (e.g. PT) wraps instead of running off it. */
	.docs-tag { min-height: 35px; height: auto; padding: 9px 16px; font-size: 12px; line-height: 1.4; letter-spacing: -0.6px; white-space: normal; max-width: 100%; text-align: left; }
	.docs__cta { margin-top: 44px; }
	.docs__cta .btn, .blog__cta .btn, .messaging__foot .btn { height: 45px; padding: 0 23px; font-size: 17px; letter-spacing: -0.85px; }

	/* Team: small 174 by 226 cards, bar 50px below, 150px section padding. */
	body .section--team .section__head { margin-bottom: 50px; }
	.section--team .team-row { gap: 4.7px; }
	.section--team .team-member { flex: 0 0 174.25px; height: 226px; }
	.team-member__caption { padding: 0 20px 12px; gap: 8px; }
	.team-member__name { font-size: 13px; }
	.team-member__linkedin svg { width: 12px; height: 12px; }
	.section--team .team-progress { margin-top: 50px; }

	/* Blog: 320 by 424 cards, CTA and Lawi Lens 44px apart. */
	.section--blog .section__head { margin-bottom: 44px; }
	.section--blog .blog-grid { gap: 20px; }
	.section--blog .blog-card { flex: 0 0 320px; height: 424px; min-height: 0; }
	.section--blog .carousel-dots { display: none; }
	.section--blog { padding-bottom: 44px; }
	.blog__cta { margin-top: 44px; }
	.section--ebooks { padding: 0 0 60px; }
	.ebooks-card { position: relative; isolation: isolate; overflow: hidden; height: 213px; min-height: 0; padding: 27px 20px 25px; gap: 0; }
	.ebooks-card__content { max-width: 200px; position: relative; z-index: 1; }
	.ebooks-card__title { font-size: 32px; line-height: 0.99; text-box: trim-both cap alphabetic; margin: 0; }
	.ebooks-card__text { margin-top: 24px; font-size: 16px; line-height: 1.4; }
	.ebooks-card__actions { margin-top: 24px; }
	.ebooks-card .btn--coral { height: 46px; padding: 0 23px; font-size: 17px; letter-spacing: -0.85px; }
	.ebooks-card__media { position: absolute; top: 0; right: 0; bottom: 0; width: 46%; opacity: 1; }
	.ebooks-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }

	/* Testimonial */
	.testimonials__eyebrow { color: #7f7f7f; }
	body .testimonials__inner { gap: 44px; }
	body .testimonials .testimonial, body .section--testimonials .testimonial { gap: 42px; }
	body .section--testimonials .testimonial__body { gap: 50px; }
	.testimonial__logo { margin-top: 0; max-width: 138px; }
	.testimonial__quote { font-size: 32px; line-height: 1.18; letter-spacing: 0; text-box: trim-both cap alphabetic; }
	.testimonial__by { margin-top: 0; display: flex; flex-direction: column; gap: 16px; }
	.testimonial__author { font-size: 20px; line-height: 1.12; letter-spacing: -0.8px; text-box: trim-both cap alphabetic; }
	.testimonial__role { font-size: 16px; line-height: 1.12; letter-spacing: -0.64px; text-box: trim-both cap alphabetic; }
	.testimonials__progress { margin-top: 0; gap: 9px; }

	/* Messaging (coral): 32px title, 15px lead, 365 by 521 cards 24px apart. */
	.messaging__head { margin-bottom: 44px; }
	.messaging__head .section__title { font-size: 32px; }
	.messaging__lead { margin-top: 11px; /* + 19px head gap = 30px */ font-size: 15px; line-height: 1.3; letter-spacing: -0.6px; text-box: trim-both cap alphabetic; }
	.messaging-grid { gap: 24px; }
	.msg-card { min-height: 521px; padding: 25px; --msg-pad: 25px; }
	.msg-card:has(.msg-stage) .msg-card__content { margin-bottom: 353px; }
	.msg-card__title { font-size: 24px; line-height: 0.99; letter-spacing: -0.24px; text-box: trim-both cap alphabetic; }
	.msg-card__text { margin-top: 18px; font-size: 14px; line-height: 1.44; letter-spacing: -0.42px; text-box: trim-both cap alphabetic; }
	.messaging__foot { margin-top: 44px; }

	/* Manifesto: dark card inset 30/20 over the striped texture. */
	.manifesto { padding: 30px 20px; }
	.manifesto__inner { display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding: 40px 20px; background: var(--c-ink); position: relative; }
	.manifesto__title { font-size: 32px; line-height: 0.99; letter-spacing: -0.32px; text-box: trim-both cap alphabetic; margin: 0; }
	.manifesto__subtitle { font-size: 20px; line-height: 1.4; letter-spacing: -1px; text-box: trim-both cap alphabetic; margin: 0; }
	.manifesto__body { font-size: 15px; line-height: 1.45; letter-spacing: -0.75px; text-box: trim-both cap alphabetic; margin: 0; }
	.manifesto__actions { margin: 0; }
	.manifesto__actions .btn { width: 100%; height: 47px; padding: 0 23px; font-size: 17px; letter-spacing: -0.51px; }

	/* Partners: one swipeable row of logos at 72% size. */
	.partners__title { margin-bottom: 44px; }
	.partners__logos { flex-wrap: nowrap; justify-content: flex-start; gap: 29px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.partners__logos::-webkit-scrollbar { display: none; }
	.partners__logo img { height: 31.7px; max-width: none; }
}

/* Mobile home (cont.): billboard fills a 380px band; the dark CTA is a tall
   365 x 697 photo card with its copy anchored to the bottom (Figma 1:6583, 1:6603). */
@media (max-width: 600px) {
	.billboard.billboard--video { aspect-ratio: auto; height: 380px; }
	.billboard--video .billboard__video-wrap { height: 100%; }
	.billboard--video .billboard__video { width: 100%; height: 100%; object-fit: cover; object-position: center; }

	.cta-band.section { padding-block: 60px; }
	.cta-band .cta-card { min-height: 697px; align-items: flex-end; padding: 20px 20px 30px; border-radius: 12px; }
	.cta-card::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 85%); }
	.cta-card__content { gap: 0; width: 100%; }
	.cta-card__eyebrow { font-weight: 500; font-size: 16px; line-height: 1.12; letter-spacing: -0.8px; text-box: trim-both cap alphabetic; }
	.cta-card__title { margin-top: 25px; font-size: 32px; line-height: 0.99; letter-spacing: -0.32px; text-box: trim-both cap alphabetic; }
	.cta-card__text { margin-top: 26px; max-width: none; font-size: 15px; line-height: 1.3; letter-spacing: -0.6px; text-box: trim-both cap alphabetic; }
	.cta-card__actions { margin-top: 30px; }
	.cta-card__actions .btn { width: 100%; height: 45px; padding: 0 23px; font-size: 17px; letter-spacing: -0.5px; }
}

/* Mobile footer (Figma 1:7222 contact 1275px, 1:7266 bottom 546px): mark,
   heading block, inquiries, form, then the offices in two columns; the bottom
   panel stacks logo, vertical nav, tagline and socials. */
@media (max-width: 600px) {
	.footer-contact { padding: 60px 0; }
	.footer-contact > .container { display: flex; flex-direction: column; gap: 0; padding-inline: 20px; }
	.footer-contact__info { display: contents; }
	.footer-contact__mark { order: 1; }
	.footer-contact__head { order: 2; margin-top: 53px; gap: 19px; }
	.footer-contact__email { order: 3; margin-top: 34px; gap: 2px; }
	.footer-form { order: 4; margin-top: 53px; gap: 22px; }
	.footer-offices { order: 5; margin-top: 53px; display: grid; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-template-columns: 154px 154px; gap: 53px 53px; }

	.footer-contact__label { font-size: 16px; line-height: 1.12; text-box: trim-both cap alphabetic; }
	.footer-contact__title { font-size: 40px; line-height: 0.99; letter-spacing: -0.4px; text-box: trim-both cap alphabetic; }
	.footer-contact__text { font-size: 22px; line-height: 1.33; text-box: trim-both cap alphabetic; }
	.footer-contact__email-label, .footer-contact__mail { line-height: 16px; }
	.footer-field input { height: 49px; }
	.footer-field--textarea textarea { display: block; height: 127px; }
	.footer-form .footer-form__submit, .footer-form .btn--coral { height: 45px; padding: 0 23px; }

	.footer-bottom { padding: 40px 30px; }
	.footer-bottom__bar { gap: 0; padding: 20px 30px 21px; }
	.footer-bottom__logo { order: -1; }
	.footer-bottom__nav { order: 0; margin-top: 76px; }
	.footer-bottom__nav ul { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.footer-bottom__nav li { line-height: 30px; }
	.footer-bottom__nav a { font-size: 15px; line-height: 30px; }
	.footer-bottom__brand { order: 1; margin-top: 79px; gap: 15px; }
	.footer-bottom__tagline { font-size: 20px; line-height: 1.1; }
	.footer-social { gap: 6px; }
}

/* Associations strip (Figma 1:8673): same component as Partners, but the
   association marks carry fine subtitles, so they use the container's 44px. */
.section--associations .partners__logo img { height: clamp(34px, 3vw, 44px); }
@media (max-width: 700px) {
	.section--associations .partners__logos { justify-content: center; gap: 18px; margin-inline: 0; padding-inline: 0; overflow: visible; }
	.section--associations .partners__logo img { height: 30px; }
}

/* Lawi Lens banner: the Intellectual Property step video, climbing from the
   lower left to the card's top-right corner (behind the button). */
.ebooks-card__media--video { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%); mask-image: linear-gradient(90deg, transparent, #000 14%); }
.ebooks-card__media--video video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
@media (min-width: 1101px) {
	.ebooks-card__media--video { right: 0; width: 48%; }
}
