:root {
	/* Semantic light palette. A future scheme can replace these values together. */
	--alan-ui-paper: #ffffff;
	--alan-ui-surface: #f5f5f7;
	--alan-ui-ink: #1d1d1f;
	--alan-ui-muted: #6e6e73;
	--alan-ui-line: rgba(29, 29, 31, .13);
	--alan-ui-accent: #14263d;
	--alan-ui-focus: #294866;
	--alan-ui-font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--alan-ui-font-serif: Georgia, "Times New Roman", serif;
	--alan-ui-h2: clamp(2rem, 4.2vw, 3.5rem);
	--alan-ui-heading-weight: 500;
	--alan-ui-heading-tracking: -.045em;
	--alan-ui-heading-leading: 1.08;
	--alan-ui-gutter: clamp(1.25rem, 4.5vw, 4.5rem);
	--alan-ui-content-max: 80rem;
	--alan-ui-header-height: 5rem;
	--alan-ui-header-gap: 1rem;
	--alan-ui-section-space: clamp(4rem, 8vw, 8rem);
	--alan-ui-copy-gap: clamp(1.25rem, 2vw, 1.75rem);
	--alan-paper: var(--alan-ui-paper);
	--alan-ink: var(--alan-ui-ink);
	--alan-muted: var(--alan-ui-muted);
	--alan-line: var(--alan-ui-line);
	--alan-accent: var(--alan-ui-accent);
	--alan-gutter: var(--alan-ui-gutter);
	--alan-width: var(--alan-ui-content-max);
	color-scheme: light;
}

/* ScrollTrigger refresh must measure synchronous scroll positions. Anchor motion is explicit in alan.js. */
html:has(> body.wp-theme-alan) { scroll-behavior: auto !important; }
body { margin: 0; background: var(--alan-paper); color: var(--alan-ink); font-family: var(--alan-ui-font-sans); -webkit-font-smoothing: antialiased; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
.alan-skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--alan-accent); transform: translateY(-160%); }
.alan-skip-link:focus { transform: translateY(0); }
.alan-header { position: relative; z-index: 10; border-bottom: 1px solid var(--alan-line); }
.alan-header__inner, .alan-footer__inner { width: min(calc(100% - var(--alan-gutter) - var(--alan-gutter)), var(--alan-width)); min-height: 5.5rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.alan-wordmark { font-size: 1.05rem; font-weight: 750; letter-spacing: .12em; }
.alan-wordmark span { color: var(--alan-ui-accent); }
/* Only the editorial CMS has a quiet logo-only header.
   Keep all global/Home navigation and spacing unchanged. */
.alan-header--cms { background: var(--alan-ui-paper); border-bottom: 0; }
.alan-header--cms .alan-header__inner {
  justify-content: flex-start;
  min-height: clamp(4rem, 6vw, 4.75rem);
}
.alan-header--cms .alan-wordmark { display: inline-flex; align-items: center; min-height: 44px; }

.alan-navigation__list { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3.5rem); margin: 0; padding: 0; list-style: none; }
.alan-navigation__list a, .alan-footer a { font-size: .82rem; letter-spacing: .035em; }
.alan-navigation__list a:hover, .alan-footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.alan-menu-toggle { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.alan-home { overflow: clip; }
.alan-hero { position: relative; width: min(calc(100% - var(--alan-gutter) - var(--alan-gutter)), var(--alan-width)); min-height: min(76svh, 57rem); margin-inline: auto; padding-block: clamp(4rem, 12vh, 10rem) clamp(3rem, 8vh, 7rem); display: flex; flex-direction: column; justify-content: space-between; }
.alan-eyebrow { margin: 0; color: var(--alan-muted); font-size: .72rem; font-weight: 650; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.alan-hero h1 { max-width: 14ch; margin: clamp(3rem, 8vh, 7rem) 0; font-size: clamp(3.5rem, 10vw, 9.5rem); font-weight: 450; letter-spacing: -.075em; line-height: .91; }
.alan-hero h1 em { color: var(--alan-ui-accent); font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.alan-hero__bottom { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: 53rem; }
.alan-hero__bottom p { max-width: 29rem; margin: 0; color: var(--alan-muted); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.6; }
.alan-text-link { display: inline-flex; align-items: center; gap: 1.4rem; padding-bottom: .55rem; border-bottom: 1px solid currentColor; font-size: .86rem; white-space: nowrap; }
.alan-text-link span { transition: transform .2s ease; }
.alan-text-link:hover span { transform: translate(3px, -3px); }
.alan-hero__index { position: absolute; right: 0; bottom: 3rem; color: var(--alan-muted); font-size: .7rem; letter-spacing: .12em; }
.alan-selection { padding: clamp(4rem, 9vw, 9rem) var(--alan-gutter); background: var(--alan-ui-surface); }
.alan-section-heading, .alan-content-grid { width: min(100%, var(--alan-width)); margin-inline: auto; }
.alan-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 5.5rem); }
.alan-section-heading h2 { max-width: 15ch; margin: 0; font-size: clamp(2.3rem, 5vw, 5rem); font-weight: 450; letter-spacing: -.065em; line-height: .98; }
.alan-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.alan-content-card { position: relative; min-width: 0; }
.alan-content-card__link { display: block; height: 100%; }
.alan-content-card__number { display: block; margin-bottom: .75rem; color: var(--alan-muted); font-size: .68rem; letter-spacing: .12em; }
.alan-content-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #d8d8cf; }
.alan-content-card__copy { padding: 1.25rem 2rem 1.5rem 0; }
.alan-content-card__series { margin: 0 0 .7rem; color: var(--alan-muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.alan-content-card h3 { margin: 0 0 .65rem; font-size: clamp(1.25rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -.04em; }
.alan-content-card__copy > p:last-child { max-width: 34rem; margin: 0; color: var(--alan-muted); font-size: .9rem; line-height: 1.55; }
.alan-content-card__arrow { position: absolute; right: .1rem; bottom: 1.7rem; transition: transform .2s ease; }
.alan-content-card__link:hover .alan-content-card__arrow { transform: translate(3px, -3px); }
.alan-content-card__link:hover img { filter: saturate(.85); }
.alan-selection__all { display: flex; width: max-content; margin: 3.5rem auto 0; }
.alan-empty-state { width: min(100%, var(--alan-width)); margin: 0 auto; padding-block: 2rem; border-top: 1px solid var(--alan-line); color: var(--alan-muted); }
.alan-footer { border-top: 1px solid var(--alan-line); }
.alan-footer__inner { min-height: 7rem; }
.alan-footer p { margin: 0; color: var(--alan-muted); font-size: .78rem; }
.alan-document { width: min(calc(100% - var(--alan-gutter) - var(--alan-gutter)), 66rem); min-height: 60vh; margin-inline: auto; padding-block: clamp(4rem, 9vw, 8rem); }
.alan-document__heading { margin-bottom: 3rem; }
.alan-document__heading h1, .alan-not-found h1 { margin: 1rem 0 0; font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 450; letter-spacing: -.07em; line-height: .98; }
.alan-document__content { line-height: 1.7; }
.alan-document__content > * { max-width: 52rem; }
.alan-document__content .elementor, .alan-document__content .elementor > * { max-width: none; }
.alan-post-row { padding-block: 1.5rem; border-top: 1px solid var(--alan-line); }
.alan-post-row > p:first-child { color: var(--alan-muted); font-size: .8rem; }
.alan-post-row h2 { margin: .5rem 0; font-size: clamp(1.5rem, 4vw, 3rem); font-weight: 450; letter-spacing: -.05em; }
.alan-not-found { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.alan-js [data-alan-reveal] { opacity: 0; transform: translateY(1rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.alan-js [data-alan-reveal][data-gsap-reveal] { transition: none; }
.alan-js [data-alan-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
	:root { --alan-ui-h2: clamp(1.75rem, 8.6vw, 2.5rem); }
	.alan-header__inner { min-height: 4.5rem; flex-wrap: wrap; padding-block: .9rem; }
	.alan-menu-toggle:not([hidden]) { display: block; }
	.alan-navigation { flex-basis: 100%; }
	.alan-navigation[hidden] { display: none; }
	.alan-navigation__list { align-items: flex-start; flex-direction: column; gap: 1rem; padding-block: .6rem 1rem; }
	.alan-hero { min-height: 76svh; padding-block: 4rem 3rem; }
	.alan-hero h1 { margin-block: 4rem; font-size: clamp(3.5rem, 16vw, 7rem); }
	.alan-hero__bottom { align-items: flex-start; flex-direction: column; }
	.alan-hero__index { bottom: 1rem; }
	.alan-section-heading { align-items: flex-start; flex-direction: column; }
	.alan-content-grid { grid-template-columns: 1fr; gap: 2.25rem; }
	.alan-content-card img { aspect-ratio: 1.15 / 1; }
	.alan-footer__inner { min-height: 6rem; flex-wrap: wrap; gap: 1rem; padding-block: 1.25rem; }
}

@media (min-width: 768px) and (max-width: 1050px) {
	.alan-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.alan-content-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.alan-js [data-alan-reveal] { opacity: 1; transform: none; }
}

/* Header disclosures enhance the saved menu; no menu data is rewritten. */
.alan-header .alan-navigation ul { list-style: none; }
.alan-header .alan-navigation li { position: relative; min-width: 0; }
.alan-header .alan-navigation__list > li { display: flex; align-items: center; gap: .25rem; }
.alan-header .alan-navigation a { display: block; padding-block: .65rem; line-height: 1.4; }
.alan-header .alan-navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.alan-header .alan-submenu-toggle { display: grid; place-items: center; width: 32px; min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.alan-header .alan-submenu-toggle::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg) translate(-1px,-1px); transition: transform .2s ease; }
.alan-header .alan-submenu-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.alan-header .sub-menu { display: none; position: absolute; top: 100%; left: 0; z-index: 20; min-width: 230px; width: max-content; max-width: min(320px, calc(100vw - 40px)); margin: 0; padding: 12px 16px; border: 1px solid var(--alan-line); background: var(--alan-paper); box-shadow: 0 18px 32px -24px rgba(32,38,34,.35); }
.alan-header .sub-menu a { white-space: normal; overflow-wrap: anywhere; }
.alan-header .sub-menu li { display: flex; flex-wrap: wrap; align-items: center; }
.alan-header .sub-menu li > a { flex: 1; }
.alan-header .sub-menu .sub-menu { position: static; width: 100%; min-width: 0; margin-block: 8px; box-shadow: none; border-width: 0 0 0 1px; }
.alan-header .alan-navigation__list > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.alan-header .alan-navigation:not(.alan-navigation--enhanced) li:is(:hover,:focus-within) > .sub-menu,
.alan-header .alan-navigation--enhanced .sub-menu:not([hidden]) { display: block; }
.alan-header .alan-navigation--enhanced .sub-menu[hidden] { display: none; }
.alan-header :is(a,button):focus-visible { outline: 2px solid var(--alan-ui-focus); outline-offset: 3px; }
@media (max-width: 1050px) and (min-width: 761px) {
	.alan-header .alan-navigation__list { gap: .75rem; }
	.alan-header .alan-header__inner { gap: 1rem; }
	.alan-header .alan-submenu-toggle { width: 24px; }
}
@media (max-width: 760px) {
	.alan-header .alan-navigation__list { align-items: stretch; }
	.alan-header .alan-navigation__list > li { flex-wrap: wrap; gap: 0; border-top: 1px solid var(--alan-line); }
	.alan-header .alan-navigation__list > li > a { flex: 1; min-height: 44px; }
	.alan-header .alan-submenu-toggle { width: 44px; }
	.alan-header .sub-menu { position: static; flex-basis: 100%; width: 100%; max-width: none; min-width: 0; box-shadow: none; border-width: 0 0 0 1px; margin-block: 0 12px; }
}
/* Alan-only integration. The original Evidence plugin and Osty are untouched. */
body.wp-theme-alan .alan-home .elementor { --widgets-spacing: 0px; --widgets-spacing-row: 0px; }
body.wp-theme-alan .alan-home .elementor-element.alan-evidence {
	--alan-gutter: var(--alan-ui-gutter);
	width: 100%; max-width: none; margin-block: 0;
	padding: var(--alan-ui-section-space) var(--alan-ui-gutter);
	border: 0;
}
body.wp-theme-alan .alan-home .alan-evidence .evi {
	--color-bg: var(--alan-ui-paper);
	--color-contrast-higher: var(--alan-ui-ink);
	--color-contrast-medium: var(--alan-ui-muted);
	--font-primary: var(--alan-ui-font-sans);
	--font-heading: var(--alan-ui-font-sans);
	font-family: var(--alan-ui-font-sans);
}
body.wp-theme-alan .alan-home .alan-evidence .evi__inner { width: min(100%, var(--alan-width)); margin-inline: auto; padding-inline: 0; }
body.wp-theme-alan .alan-home .alan-evidence .evi__eyebrow { font: 650 .75rem/1.5 var(--alan-ui-font-sans); letter-spacing: .15em !important; text-transform: uppercase; }
body.wp-theme-alan .alan-home .alan-evidence .evi__intro { margin-block: .8rem var(--alan-ui-copy-gap); }
body.wp-theme-alan .alan-home .alan-evidence .evi__intro h2 {
	font-family: var(--alan-ui-font-sans); font-size: var(--alan-ui-h2); font-weight: var(--alan-ui-heading-weight);
	letter-spacing: var(--alan-ui-heading-tracking); line-height: var(--alan-ui-heading-leading); max-width: 20ch;
}
body.wp-theme-alan .alan-home .alan-evidence .evi__intro > p { margin-top: var(--alan-ui-copy-gap); font-size: clamp(1rem, 1.3vw, 1.1875rem); line-height: 1.6; }
body.wp-theme-alan .alan-home .alan-evidence .evi__copy blockquote p { font-family: var(--alan-ui-font-sans); font-size: clamp(1.75rem, 2.5cqi, 2.125rem); font-weight: 450; line-height: 1.35; letter-spacing: -.035em; }
@media (max-width: 760px) {
	body.wp-theme-alan .alan-home .alan-evidence .evi__copy blockquote p { font-size: clamp(1.5rem, 6.4cqi, 1.875rem); }
}

/* Integrated Elementor Home: the theme owns composition; widgets own motion/media.
   Each chapter supplies half a shared interval, so adjacent paddings do not double it.
   Select semantic component roots, never saved Elementor IDs or generated CSS. */
body.wp-theme-alan .alan-home--integrated {
 --alan-ui-section-space: clamp(4rem, 7vw, 6rem);
 --alan-ui-section-space-compact: calc(var(--alan-ui-section-space) * .625);
 --alan-ui-chapter-inset: calc(var(--alan-ui-section-space) * .5);
 --alan-ui-heading-gap: clamp(1.75rem, 3vw, 2.75rem);
 --alan-ui-label-size: .6875rem;
 background: var(--alan-ui-paper);
 color: var(--alan-ui-ink);
}
.alan-home--integrated > .elementor > .alan-integrated-section {
 --container-max-width:100%; --content-width:100%; --widgets-spacing:0px;
 width:100%;max-width:none;margin:0;padding:0;gap:0;display:block;
}
.alan-home--integrated .alan-integrated-section > .e-con-inner {width:100%;max-width:none;padding:0;gap:0;}
.alan-home--integrated .alan-integrated-section > .elementor-element {width:100%;max-width:none;}
body.wp-theme-alan .alan-home--integrated :is(.alan-home-chapter,.alan-gallery,.alan-integrated-section.alan-evidence) {
 padding:var(--alan-ui-chapter-inset) var(--alan-ui-gutter);
 background:var(--alan-ui-chapter-paper,var(--alan-ui-paper));
 scroll-margin-top:calc(var(--alan-ui-header-height) + var(--alan-ui-header-gap) + var(--wp-admin--admin-bar--height, 0px));
}
body.wp-theme-alan .alan-home--integrated .alan-home-chapter__inner,
body.wp-theme-alan .alan-home--integrated .alan-evidence .evi__inner {width:min(100%,var(--alan-ui-content-max));margin-inline:auto;}
body.wp-theme-alan .alan-home--integrated .alan-integrated-section.alan-evidence .evi {padding:0;background:var(--alan-ui-paper);}
body.wp-theme-alan .alan-home--integrated .alan-home-chapter__heading,
body.wp-theme-alan .alan-home--integrated .alan-events__intro {margin-bottom:var(--alan-ui-heading-gap);}
body.wp-theme-alan .alan-home--integrated :is(.alan-home-chapter h2,.evi__intro h2,.alan-gallery__heading h2) {
 font-family:var(--alan-ui-font-sans);font-size:var(--alan-ui-h2);font-weight:var(--alan-ui-heading-weight);
 line-height:var(--alan-ui-heading-leading);letter-spacing:var(--alan-ui-heading-tracking);
}
body.wp-theme-alan .alan-home--integrated .alan-gallery {--alan-width:var(--alan-ui-content-max);--alan-ui-chapter-paper:var(--alan-ui-surface);}
body.wp-theme-alan .alan-home--integrated .alan-gallery__heading h2 {max-width:20ch;}
body.wp-theme-alan .alan-home--integrated .alan-home-chapter--presentation .alan-home-chapter__intro {
 font-family:var(--alan-ui-font-sans);font-size:clamp(1rem,1.35vw,1.1875rem);line-height:1.6;letter-spacing:-.015em;max-width:54ch;
}
body.wp-theme-alan .alan-home--integrated .alan-events__intro h2 span {
 font-family:inherit;font-style:normal;font-weight:inherit;letter-spacing:inherit;color:inherit;
}
body.wp-theme-alan .alan-home--integrated :is(.alan-post h3,.alan-gallery-card h3,.alan-event__body h3) {
 font-family:var(--alan-ui-font-sans);font-size:clamp(1.375rem,2vw,1.875rem);font-weight:500;line-height:1.2;letter-spacing:-.035em;
}
body.wp-theme-alan .alan-home--integrated .alan-editorial-hero {
 min-height:clamp(40rem,calc(100svh - var(--alan-ui-header-height)),50rem);
 padding:var(--alan-ui-heading-gap) max(var(--alan-ui-gutter),calc((100% - var(--alan-ui-content-max)) / 2)) var(--alan-ui-chapter-inset);
 background:var(--alan-ui-paper);
}
body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__eyebrow,
body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__footnote > span:first-child {display:none;}
/* The expanded preview keeps its editorial line (the rule above is for the Hero's own eyebrow). */
body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__dialog .alan-editorial-hero__eyebrow {display:block;margin:0 0 14px;}
body.wp-theme-alan .alan-home .alan-editorial-hero .alan-editorial-hero__title {
 margin-top:0;font-size:clamp(2.25rem,5.75cqi,5rem);font-weight:500;letter-spacing:-.055em;line-height:1.06;
}
body.wp-theme-alan .alan-home .alan-editorial-hero__line--accent {
 font-family:inherit;font-style:normal;font-weight:inherit;letter-spacing:inherit;color:var(--alan-ui-muted);
}
body.wp-theme-alan .alan-home .alan-editorial-hero .alan-editorial-hero__dialog-copy h2 {
 font-family:var(--alan-ui-font-sans);font-style:normal;font-weight:500;letter-spacing:var(--alan-ui-heading-tracking);
}
body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__stage {margin-block:clamp(1.25rem,2.5svh,2rem) .75rem;}
body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__footnote {justify-content:flex-end;margin-top:1.5rem;}
/* Keep the existing preview lane, image fallback, hover and GSAP hit targets. */
body.wp-theme-alan .alan-home--integrated .alan-project__link {
 min-height:clamp(6rem,8vw,7.5rem);padding-block:clamp(1.5rem,2.5vw,2.25rem);
}
body.wp-theme-alan .alan-home--integrated .alan-project h3 {font-weight:500;line-height:1.2;letter-spacing:-.04em;}
body.wp-theme-alan .alan-home--integrated .alan-project__link:focus-visible {outline-offset:-4px;}
body.wp-theme-alan .alan-home--integrated .alan-companies--media .alan-companies__meta {padding-bottom:var(--alan-ui-heading-gap);}
body.wp-theme-alan .alan-home--integrated .alan-interviewees {margin-top:var(--alan-ui-section-space-compact);}
/* Evidence's authored media/blur geometry, kept local to this component. */
body.wp-theme-alan .alan-home .alan-evidence {
 --alan-media-radius:clamp(16px,2vw,24px);
 --alan-content-gap:clamp(24px,3.4vw,48px);
 --alan-heading-content:var(--alan-ui-heading-gap,clamp(32px,4vw,56px));
}
body.wp-theme-alan .alan-home .alan-evidence .evi__experience {gap:var(--alan-content-gap);border:0;padding-block:var(--alan-heading-content) 0;}
body.wp-theme-alan .alan-home .alan-evidence .evi__navigation {border-inline-end:0;}
body.wp-theme-alan .alan-home .alan-evidence .evi__intro {margin-bottom:0;}
@media(max-width:760px) {
 :root {--alan-ui-header-height:4rem;}
 body.wp-theme-alan .alan-home--integrated .alan-editorial-hero {min-height:0;}
 body.wp-theme-alan .alan-home .alan-editorial-hero .alan-editorial-hero__title {font-size:clamp(2rem,10cqi,3rem);}
 body.wp-theme-alan .alan-home--integrated .alan-project__link {min-height:6rem;padding-block:1.25rem;grid-template-columns:clamp(4.5rem,22vw,5.5rem) minmax(0,1fr) 1rem;gap:.75rem;}
 body.wp-theme-alan .alan-home--integrated .alan-project h3 {font-size:clamp(1.125rem,4.5vw,1.5rem);}
}

/* Clareza em movimento — Home-only type direction. Width and Hero contracts
   remain above, unchanged. No grid, container, card or image dimensions here. */
body.wp-theme-alan .alan-home--integrated {
 --alan-home-title-size:clamp(1.875rem,4vw,3.375rem);
 --alan-home-title-weight:600;
 --alan-home-title-leading:1.08;
 --alan-home-title-tracking:-.04em;
 --alan-home-card-size:clamp(1.375rem,1.8vw,1.625rem);
 --alan-home-copy-size:clamp(1rem,1.25vw,1.125rem);
 --alan-home-copy-leading:1.6;
 --alan-home-secondary:#616167;
 --alan-home-label-size:.75rem;
 --alan-home-label-tracking:.045em;
 --alan-home-title-copy:clamp(1rem,1.4vw,1.25rem);
 --alan-home-heading-content:clamp(2rem,3.4vw,3rem);
}
body.wp-theme-alan .alan-home--integrated :is(.alan-home-chapter h2,.evi__intro h2,.alan-gallery__heading h2),
body.wp-theme-alan .alan-home--integrated .alan-evidence .evi__intro h2 {
 font-size:var(--alan-home-title-size);
 font-weight:var(--alan-home-title-weight);
 line-height:var(--alan-home-title-leading);
 letter-spacing:var(--alan-home-title-tracking);
 text-wrap:balance;
}
body.wp-theme-alan .alan-home--integrated :is(.alan-home-chapter__heading,.alan-events__intro) {
 margin-bottom:var(--alan-home-heading-content);
}
body.wp-theme-alan .alan-home--integrated .alan-events__intro-row {row-gap:var(--alan-home-title-copy);}
body.wp-theme-alan .alan-home--integrated :is(.alan-home-chapter__intro,.alan-home-chapter--presentation .alan-home-chapter__intro,.alan-events__intro p,.alan-gallery__library-intro) {
 font-family:var(--alan-ui-font-sans);
 font-size:var(--alan-home-copy-size);
 font-weight:400;
 line-height:var(--alan-home-copy-leading);
 letter-spacing:-.01em;
 color:var(--alan-home-secondary);
 text-wrap:pretty;
}
body.wp-theme-alan .alan-home--integrated .alan-home-chapter__intro {margin-top:var(--alan-home-title-copy);}
body.wp-theme-alan .alan-home--integrated .alan-gallery__heading h2 {margin-top:.75rem;}
body.wp-theme-alan .alan-home--integrated :is(.alan-post h3,.alan-gallery-card h3,.alan-event__body h3) {
 font-size:var(--alan-home-card-size);
 font-weight:600;
 line-height:1.22;
 letter-spacing:-.025em;
 text-wrap:pretty;
}
body.wp-theme-alan .alan-home--integrated .alan-project h3 {font-weight:550;letter-spacing:-.03em;}
body.wp-theme-alan .alan-home--integrated :is(.alan-event__body p,.alan-gallery-card__excerpt) {
 font-size:1rem;
 line-height:1.6;
 letter-spacing:-.008em;
 color:var(--alan-home-secondary);
 text-wrap:pretty;
}
body.wp-theme-alan .alan-home--integrated :is(.alan-eyebrow,.alan-events__eyebrow,.alan-event__meta,.alan-gallery-card__meta,.alan-post time,.alan-interviewees .alan-companies__meta p) {
 font-size:var(--alan-home-label-size);
 font-weight:500;
 line-height:1.5;
 letter-spacing:var(--alan-home-label-tracking);
 color:var(--alan-home-secondary);
 text-transform:none;
}
body.wp-theme-alan .alan-home--integrated :is(.alan-post time,.alan-event__index,.alan-gallery__pagination) {font-variant-numeric:tabular-nums;}
body.wp-theme-alan .alan-home--integrated .alan-events__eyebrow {display:block;}
body.wp-theme-alan .alan-home--integrated .alan-home-chapter :is(.alan-event__link,.alan-text-link),
body.wp-theme-alan .alan-home--integrated .alan-gallery__library-link {font-weight:500;}
@media(max-width:760px) {
 body.wp-theme-alan .alan-home--integrated {
  --alan-home-title-size:clamp(1.75rem,7.6vw,2.375rem);
  --alan-home-title-tracking:-.035em;
  --alan-home-card-size:clamp(1.375rem,5.8vw,1.5rem);
 }
}

/* Round 2: stronger editorial hierarchy in the three selected chapters.
   Keep the approved 80rem content cap and all existing grid/card geometry. */
body.wp-theme-alan .alan-home--integrated :is(#apresentacao, #projetos, #conversas) :is(h2, .alan-events__intro h2) {
 font-size:clamp(3.5rem,4.45vw,4rem);
 font-weight:600;
 line-height:1.02;
 letter-spacing:-.045em;
 text-wrap:balance;
}
body.wp-theme-alan .alan-home--integrated :is(#apresentacao, #conversas) :is(.alan-home-chapter__intro, .alan-events__intro p) {
 font-size:clamp(1.125rem,1.35vw,1.25rem);
 line-height:1.55;
 color:#515154;
}
body.wp-theme-alan .alan-home--integrated #projetos .alan-project h3 {
 font-weight:600;
 letter-spacing:-.035em;
}
body.wp-theme-alan .alan-home--integrated #conversas :is(.alan-events__eyebrow,.alan-event__meta) {
 color:var(--alan-ui-navy,#14263D);
}
@media(max-width:760px) {
 body.wp-theme-alan .alan-home--integrated :is(#apresentacao, #projetos, #conversas) :is(h2, .alan-events__intro h2) {
  font-size:clamp(2.125rem,8.2vw,2.5rem);
  line-height:1.04;
  letter-spacing:-.04em;
 }
 body.wp-theme-alan .alan-home--integrated :is(#apresentacao, #conversas) :is(.alan-home-chapter__intro, .alan-events__intro p) {
  font-size:1.0625rem;
  line-height:1.55;
 }
}

/* Hero optical centering — reference: 1699×864 desktop composition.
   Balance vertical padding to raise the entire editorial group without
   transforming the card stage or altering the Hero's min-height/width.
   Mobile keeps the already-approved compact layout. */
@media (min-width: 768px) {
 body.wp-theme-alan .alan-home--integrated .alan-editorial-hero {
  --alan-hero-optical-rise: min(32px, 3.4svh, calc(var(--alan-ui-heading-gap) - 8px));
  padding-top: calc(var(--alan-ui-heading-gap) - var(--alan-hero-optical-rise));
  padding-bottom: calc(var(--alan-ui-chapter-inset) + var(--alan-hero-optical-rise));
 }
}


/* Hero composition, phones and portrait tablets (09/11/2026). One block
   replaces the three stacked mobile attempts (FOCUS, OPTICAL BALANCE, short
   viewports). The opening is sized by its content: no viewport-height
   minimum, no flexible spacer between the guidance and the next chapter.
   Rhythm: header → statement → fan → card title → text → guidance, with
   gaps that follow the viewport height within fixed bounds. The scroll cue
   (footnote) stays on desktop; on phones the swipe guidance is the cue. */
@media screen and (max-width: 760px) {
  body.wp-theme-alan .alan-home--integrated .alan-editorial-hero {
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(20px, 3.4svh, 34px);
    padding-bottom: clamp(36px, 6svh, 56px);
  }
  body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__stage {
    margin-block: clamp(14px, 2.6svh, 26px) 0;
  }
  body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__bottom {
    gap: clamp(12px, 2svh, 18px);
  }
  body.wp-theme-alan .alan-home--integrated .alan-editorial-hero__footnote {
    display: none;
  }
}
@media screen and (min-width: 761px) and (max-width: 1024px) and (orientation: portrait) {
  body.wp-theme-alan .alan-home--integrated .alan-editorial-hero {
    min-height: 0;
    padding-bottom: calc(var(--alan-ui-chapter-inset) + 8px);
  }
}

/* The mobile toggle inherits the page palette before the menu opens. */
@media (max-width: 767px) {
  html[data-alan-theme="dark"] body.wp-theme-alan .underlay-nav__header { color: #f5f5f7; }
}

@media (min-width: 768px) {
  body.wp-theme-alan .underlay-nav__logo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity 420ms ease-out,
      transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.wp-theme-alan[data-underlay-active] .underlay-nav__logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: none;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  body.wp-theme-alan .underlay-nav__logo {
    transition: none;
  }
}


/* The media chapter keeps its CMS rail and links to the complete press room. */
.alan-home-chapter--media .alan-home-press-link{display:flex;align-items:center;justify-content:space-between;gap:32px;width:fit-content;min-height:48px;margin:32px auto 0;padding:8px 0;border-bottom:1px solid currentColor;color:var(--alan-ui-ink);font-size:13px}.alan-home-press-link span{font-size:21px}
