html { scroll-behavior: smooth; }
body { margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--wp--preset--color--clay); outline-offset: 5px; }
:where(h1, h2, h3, p) { overflow-wrap: break-word; }
:where(section, [id]) { scroll-margin-top: 2rem; }

.cxa-header { display: grid !important; position: relative; isolation: isolate; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: clamp(1.25rem, 2.75vw, 3.25rem); align-items: center; min-height: 80px; padding-block: .75rem; border-bottom: 1px solid var(--wp--custom--border--subtle); --cxa-header-water: #009C3B; background: radial-gradient(72rem 8rem at 86% -4rem, rgb(0 156 59 / .13), transparent 68%); }
.cxa-header > * { position: relative; z-index: 1; }
.cxa-header-brand { grid-column: 1; flex-shrink: 0; align-items: center; gap: .8rem; }
.cxa-wordmark.wp-block-site-title { flex-shrink: 0; margin: 0; line-height: 1; white-space: nowrap; }
.cxa-wordmark a { display: inline-flex; align-items: center; min-height: 44px; color: var(--wp--preset--color--ink); text-decoration: none; }
.cxa-wordmark__lockup { display: inline-flex; align-items: center; gap: .42rem; }
.cxa-wordmark__china,
.cxa-wordmark__alex { font-family: Baskerville, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif; font-size: 1.62rem; font-weight: 600; letter-spacing: -.045em; line-height: 1; }
.cxa-wordmark__alex { font-style: italic; font-weight: 400; letter-spacing: -.055em; }
.cxa-wordmark__bridge { display: inline-flex; align-items: center; gap: .18rem; color: var(--wp--preset--color--clay); font-family: Arial, Helvetica, sans-serif; font-size: .66rem; font-weight: 800; line-height: 1; }
.cxa-wordmark__bridge::before,
.cxa-wordmark__bridge::after { width: .46rem; height: 1px; background: var(--wp--preset--color--ink); content: ''; opacity: .28; transition: width .18s ease, opacity .18s ease; }
.cxa-wordmark a:hover .cxa-wordmark__bridge::before,
.cxa-wordmark a:hover .cxa-wordmark__bridge::after,
.cxa-wordmark a:focus-visible .cxa-wordmark__bridge::before,
.cxa-wordmark a:focus-visible .cxa-wordmark__bridge::after { width: .62rem; opacity: .5; }
.cxa-header .wp-block-navigation { grid-column: 2; flex-shrink: 0; margin: 0; }
.cxa-header .wp-block-navigation__container { gap: clamp(1.1rem, 1.7vw, 1.6rem); }
.cxa-header .wp-block-navigation-item__content { padding: .75rem 0; font-size: .875rem; font-weight: 500; letter-spacing: .01em; }
.cxa-header .wp-block-navigation-item__content:hover, .cxa-header .wp-block-navigation-item__content:focus-visible { color: var(--cxa-header-water); }
.cxa-header-contact-cluster { display: flex; grid-column: 3; justify-self: end; flex-shrink: 0; gap: .7rem; align-items: center; }
.cxa-header-contact, .cxa-header-contact .wp-block-button { margin: 0 !important; }
.cxa-header-contact .wp-block-button__link { display: inline-flex; min-height: 46px; align-items: center; padding: .6rem .85rem; color: var(--wp--preset--color--ink); background: rgb(0 156 59 / .09) !important; border: 1px solid rgb(0 156 59 / .18); border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .11em; line-height: 1; text-decoration: none; text-transform: uppercase; white-space: nowrap; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.cxa-header-contact .wp-block-button__link::after { margin-left: .45rem; color: var(--cxa-header-water); content: '↗'; font-size: .9rem; line-height: 1; }
.cxa-header-contact .wp-block-button__link:hover, .cxa-header-contact .wp-block-button__link:focus-visible { color: var(--wp--preset--color--paper); background: var(--cxa-header-water) !important; border-color: var(--cxa-header-water); }
.cxa-header-contact .wp-block-button__link:hover::after, .cxa-header-contact .wp-block-button__link:focus-visible::after { color: currentColor; }
.cxa-language-switcher { flex-shrink: 0; }
.cxa-language-switcher__list { display: flex; gap: .16rem; margin: 0; padding: .18rem; list-style: none; background: rgb(0 156 59 / .08); border: 1px solid rgb(0 156 59 / .18); border-radius: 999px; }
.cxa-language-switcher__item { margin: 0; }
.cxa-language-switcher__link { display: inline-flex; min-width: 2.25rem; min-height: 2.25rem; padding-inline: .48rem; align-items: center; justify-content: center; color: var(--wp--preset--color--ink); border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1; text-decoration: none; transition: color .18s ease, background-color .18s ease; }
.cxa-language-switcher__link:hover, .cxa-language-switcher__link:focus-visible { color: var(--wp--preset--color--paper); background: var(--cxa-header-water); }
.cxa-language-switcher__link.is-current { color: var(--wp--preset--color--paper); background: var(--wp--preset--color--ink); }
.cxa-header-social.wp-block-social-links { gap: .4rem; flex-shrink: 0; margin: 0; padding: 0; }
.cxa-header-social.wp-block-social-links .wp-social-link { margin: 0; color: var(--wp--preset--color--ink); background-color: transparent !important; transition: none; }
.cxa-header-social.wp-block-social-links .wp-social-link:hover { transform: none; }
.cxa-header-social.wp-block-social-links .wp-social-link a { display: inline-flex; width: 46px; height: 46px; padding: 0; align-items: center; justify-content: center; color: var(--cxa-header-water); border: 1px solid rgb(0 156 59 / .28); border-radius: 50%; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.cxa-header-social.wp-block-social-links .wp-social-link svg { width: 20px; height: 20px; flex-shrink: 0; fill: currentColor; }
.cxa-header-social.wp-block-social-links .wp-social-link a:hover, .cxa-header-social.wp-block-social-links .wp-social-link a:focus-visible { color: var(--wp--preset--color--paper); background-color: var(--cxa-header-water); border-color: var(--cxa-header-water); }
.cxa-header-whatsapp { flex-shrink: 0; margin: 0 !important; }
.cxa-header-whatsapp .wp-block-button { margin: 0; }
.cxa-header-whatsapp .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1rem; border: 1px solid var(--wp--preset--color--ink); border-radius: 999px; font-size: .8rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; touch-action: manipulation; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.cxa-header-whatsapp .wp-block-button__link:hover, .cxa-header-whatsapp .wp-block-button__link:focus-visible { color: var(--wp--preset--color--paper); background-color: var(--wp--preset--color--clay); border-color: var(--wp--preset--color--clay); }
.cxa-kicker { margin: 0 0 1rem; color: var(--wp--preset--color--clay); font-size: var(--wp--preset--font-size--small); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cxa-section { padding-block: var(--wp--preset--spacing--xl); }
.home .cxa-section { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.cxa-section + .cxa-section { border-top: 1px solid var(--wp--custom--border--subtle); }
.cxa-section-heading { display: grid; gap: 1rem; align-items: end; }
.cxa-section-heading > * { min-width: 0; }
.cxa-section-heading h2 { max-width: 18ch; margin: 0; text-wrap: balance; }
.cxa-section-heading > p { max-width: 42rem; margin: 0; color: var(--wp--preset--color--muted); text-wrap: pretty; }

.cxa-hero { position: relative; left: 50%; width: 100vw; max-width: none; margin: 0 !important; padding: 0; overflow: hidden; color: var(--wp--preset--color--paper); background-color: var(--wp--preset--color--ink); transform: translateX(-50%); }
.cxa-hero-layout { display: grid; width: 100%; margin: 0; background-color: var(--wp--preset--color--ink); }
.cxa-hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background-color: #b8c3bd; }
.cxa-hero-media picture { display: block; width: 100%; height: 100%; }
.cxa-hero-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 44% center; }
.cxa-hero-media::after { position: absolute; right: 0; bottom: 0; left: 0; display: block; height: clamp(2rem, 7vw, 3.25rem); content: ""; pointer-events: none; background: linear-gradient(to bottom, rgb(11 93 59 / 0) 0%, rgb(11 93 59 / .16) 35%, rgb(11 93 59 / .6) 78%, var(--wp--preset--color--ink) 100%); }
.cxa-hero-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding-block: 1.5rem 2rem; padding-inline: max(clamp(1.25rem, 6vw, 2rem), env(safe-area-inset-left)) max(clamp(1.25rem, 6vw, 2rem), env(safe-area-inset-right)); color: var(--wp--preset--color--paper); background-color: var(--wp--preset--color--ink); }
.cxa-hero .cxa-kicker { margin-bottom: .8rem; color: var(--wp--preset--color--sand); }
.cxa-hero h1 { max-width: 14ch; margin-block: 0 .8rem; color: var(--wp--preset--color--paper); font-size: clamp(2.3rem, 10vw, 3.15rem); letter-spacing: -.055em; text-wrap: balance; }
.cxa-hero-copy > .has-lead-font-size { max-width: 35rem; margin: 0 0 1.25rem; color: rgb(247 244 237 / .86); font-size: clamp(1rem, 4.5vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }
.cxa-hero-intro p { margin: 0; }
.cxa-hero-intro p + p { margin-top: .8rem; }
.cxa-hero-intro__identity { color: var(--wp--preset--color--paper); font-size: 1.12em; }
.cxa-hero-intro strong { color: var(--wp--preset--color--paper); font-weight: 700; }
.cxa-hero-actions { width: 100%; margin: 0; }
.cxa-hero-actions .wp-block-button, .cxa-hero-actions .wp-block-button__link { width: 100%; }
.cxa-primary-cta .wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.4rem; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--clay); border: 1px solid var(--wp--preset--color--clay); border-radius: 999px; box-shadow: 0 .45rem 1rem rgb(255 223 0 / .22); text-decoration: none; touch-action: manipulation; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.cxa-hero-actions .wp-block-button__link:hover { transform: translateY(-1px); }
.cxa-primary-cta .wp-block-button__link:hover { box-shadow: 0 .65rem 1.35rem rgb(255 223 0 / .3); }
.cxa-hero-story-link { margin: .8rem 0 0; }
.cxa-hero-story-link a { display: inline-flex; min-height: 44px; align-items: center; gap: .4rem; color: var(--wp--preset--color--paper); font-size: .95rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25em; touch-action: manipulation; transition: color .18s ease; }
.cxa-hero-story-link a:hover, .cxa-hero-story-link a:focus-visible { color: var(--wp--preset--color--sand); }
@keyframes cxa-hero-image-in { from { opacity: .72; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
@keyframes cxa-hero-copy-in { from { opacity: 0; transform: translateY(.75rem); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .cxa-hero-image { animation: cxa-hero-image-in .7s ease-out both; }
  .cxa-hero-copy { animation: cxa-hero-copy-in .5s .12s ease-out both; }
}

@media (min-width: 600px) and (max-width: 781px) {
  .cxa-hero-media { aspect-ratio: 16 / 5; }
  .cxa-hero-copy { padding-block: 1.75rem 2.25rem; padding-inline: max(clamp(2rem, 7vw, 3.5rem), env(safe-area-inset-left)) max(clamp(2rem, 7vw, 3.5rem), env(safe-area-inset-right)); }
  .cxa-hero h1 { max-width: 18ch; font-size: clamp(2.8rem, 6vw, 3.2rem); }
  .cxa-hero-actions, .cxa-hero-actions .wp-block-button, .cxa-hero-actions .wp-block-button__link { width: fit-content; }
  .cxa-route-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.cxa-photo-frame { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4 / 5; min-height: 16rem; padding: clamp(1rem, 2.2vw, 1.5rem); overflow: hidden; color: var(--wp--preset--color--ink); background-color: #e6e1d5; border: 0; border-radius: clamp(1.25rem, 2.5vw, 2rem); }
.cxa-photo-frame::before { display: none; }
.cxa-photo-frame > * { position: relative; z-index: 1; }
.cxa-media-label { margin: 0; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.cxa-media-caption { max-width: 16ch; margin: auto 0 .25rem; font-family: var(--wp--preset--font-family--editorial); font-size: clamp(1.5rem, 3.2vw, 2.6rem); line-height: 1.05; }
.cxa-media-note { margin: 0; color: var(--wp--preset--color--muted); }

.cxa-story-stage { margin-top: clamp(2rem, 4vw, 3rem); }
.cxa-story-stage .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; }
.cxa-story-stage .wp-block-post { margin: 0; }
.cxa-story-card { height: 100%; border-bottom: 1px solid var(--wp--custom--border--subtle); }
.cxa-story-card .wp-block-post-featured-image { display: block; margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background-color: var(--wp--preset--color--sand); border-radius: 1rem; }
.cxa-story-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.cxa-story-photo-placeholder { min-height: 0; aspect-ratio: 16 / 10; border-radius: 1rem; }
.cxa-story-card:has(.wp-block-post-featured-image img) .cxa-story-photo-placeholder { display: none; }
.cxa-story-card-copy { padding: .9rem 0 1.25rem; }
.cxa-story-card-copy .wp-block-post-terms { margin-bottom: .6rem; color: var(--wp--preset--color--clay); font-size: var(--wp--preset--font-size--small); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cxa-story-card-copy h3 { margin-block: 0 .75rem; font-size: clamp(1.4rem, 2vw, 1.85rem); }
.cxa-story-read-more { display: inline-block; margin-top: .5rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; touch-action: manipulation; transition: color .18s ease; }
.cxa-story-read-more:hover, .cxa-story-read-more:focus-visible { color: var(--wp--preset--color--clay); }
.cxa-story-empty-state { display: grid; grid-template-columns: auto minmax(0, 1fr); min-height: 11rem; gap: clamp(1.25rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); align-items: center; background-color: var(--wp--preset--color--sand); border-block: 1px solid var(--wp--custom--border--subtle); }
.cxa-story-empty-index { margin: 0; color: var(--wp--preset--color--clay); font-family: var(--wp--preset--font-family--editorial); font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1; white-space: nowrap; }
.cxa-story-empty-state h3 { margin: 0 0 .35rem; font-size: clamp(1.35rem, 2.5vw, 2rem); }
.cxa-story-empty-state div p { max-width: 42rem; margin: 0; color: var(--wp--preset--color--muted); }

/* Annual films: one dominant cover and a compact two-film archive. */
.cxa-annual-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.cxa-annual-entry { min-width: 0; padding-left: 1rem; border-left: 1px solid var(--wp--custom--border--subtle); }
.cxa-annual-entry.is-latest { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
.cxa-annual-meta { margin-bottom: .75rem; }
.cxa-annual-year { margin: 0; color: var(--wp--preset--color--clay); font-size: 2rem; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.is-latest .cxa-annual-year { font-size: 2.8rem; }
.cxa-annual-caption { margin: .35rem 0 0; color: var(--wp--preset--color--muted); font-size: .8rem; line-height: 1.5; }
.cxa-annual-media { width: 100%; min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; background-color: var(--wp--preset--color--sand); }
.cxa-annual-media.is-playing { min-height: 200px; }
.cxa-video-poster, .cxa-video-pending { position: relative; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.cxa-video-poster { color: var(--wp--preset--color--white); text-decoration: none; touch-action: manipulation; }
.cxa-video-poster:focus-visible { outline-offset: -5px; }
.cxa-video-thumbnail { display: block; width: 100%; height: 100%; object-fit: cover; }
.cxa-video-thumbnail[hidden] { display: none; }
.cxa-video-play { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; padding-left: .15rem; background: var(--wp--preset--color--clay); border: 2px solid var(--wp--preset--color--white); border-radius: 50%; font-size: 1rem; transition: background-color .18s ease, transform .18s ease; }
.cxa-video-poster:hover .cxa-video-play { background-color: var(--wp--preset--color--ink); }
.cxa-video-poster:active .cxa-video-play { transform: scale(.96); }
.cxa-video-pending { padding: 1rem; color: var(--wp--preset--color--muted); font-size: .875rem; line-height: 1.5; text-align: center; }
.cxa-annual-media iframe { display: block; width: 100%; height: 100%; border: 0; }
.cxa-video-external { display: inline-flex; align-items: center; min-height: 44px; width: fit-content; color: var(--wp--preset--color--ink); font-size: .875rem; text-underline-offset: .2em; touch-action: manipulation; transition: color .18s ease; }
.cxa-video-external:hover, .cxa-video-external:focus-visible { color: var(--wp--preset--color--clay); }
.cxa-video-status { margin: .25rem 0 0; color: var(--wp--preset--color--muted); font-size: .875rem; }
@media (max-width: 599px) {
  .cxa-annual-timeline { gap: 1.25rem 1rem; }
  .cxa-annual-entry { padding-left: .65rem; }
  .cxa-annual-entry.is-latest { display: block; }
  .is-latest .cxa-annual-meta { display: flex; align-items: baseline; gap: .75rem; }
  .cxa-annual-media { border-radius: .8rem; }
  .cxa-video-pending { padding: .65rem; font-size: .8rem; }
  /* A small archived thumbnail expands to a usable player after a deliberate click. */
  .cxa-annual-entry:has(.is-playing) { grid-column: 1 / -1; }
}

.cxa-route { background-color: transparent; }
.cxa-route-intro { max-width: 42rem; }
.cxa-route-track { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--wp--custom--border--subtle); }
.cxa-route-step { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; min-height: 76px; gap: .75rem; padding: .85rem 1rem; align-items: center; color: inherit; background-color: transparent; border-bottom: 1px solid var(--wp--custom--border--subtle); border-left: 2px solid transparent; text-decoration: none; touch-action: manipulation; transition: background-color .18s ease, border-color .18s ease; }
.cxa-route-step:hover, .cxa-route-step:focus-visible { background-color: var(--wp--preset--color--sand); border-left-color: var(--wp--preset--color--clay); }
.cxa-route-step:focus-visible { z-index: 1; outline: 3px solid var(--wp--preset--color--clay); outline-offset: -3px; }
.cxa-route-step:active { transform: translateY(1px); }
.cxa-route-step--featured { background-color: var(--wp--preset--color--sand); border-left-color: var(--wp--preset--color--clay); }
.cxa-route-number { margin: 0; color: var(--wp--preset--color--clay); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.cxa-route-step h3 { margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); text-wrap: balance; }
.cxa-route-step > span { color: var(--wp--preset--color--clay); font-size: 1rem; transition: transform .18s ease; }
.cxa-route-step:hover > span, .cxa-route-step:focus-visible > span { transform: translate(.15rem, -.15rem); }
.cxa-route-note { max-width: 54rem; margin: 1.25rem 0 0; color: var(--wp--preset--color--muted); }

.cxa-services-page > .wp-block-post-content { margin-top: 0; }
.cxa-services-hero { padding-top: clamp(2.5rem, 6vw, 5.5rem); }
.cxa-services-hero h1 { max-width: 15ch; margin-block: 0 1rem; letter-spacing: -.045em; }
.cxa-services-hero > .has-lead-font-size { max-width: 48rem; }
.cxa-service-index { display: flex; gap: .5rem 1.5rem; margin-top: var(--wp--preset--spacing--lg); padding-block: 1rem; flex-wrap: wrap; border-block: 1px solid var(--wp--custom--border--subtle); }
.cxa-service-index a { display: inline-flex; min-height: 44px; align-items: center; color: var(--wp--preset--color--ink); font-size: .95rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.cxa-service-chapter-header { max-width: 48rem; margin-bottom: var(--wp--preset--spacing--lg); }
.cxa-service-chapter-header h2 { margin-block: 0 .75rem; }
.cxa-service-chapter-header p { margin: 0; color: var(--wp--preset--color--muted); }
.cxa-service-detail-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.cxa-service-detail { min-width: 0; padding: clamp(1.5rem, 3vw, 2.25rem); scroll-margin-top: 6rem; border-top: 1px solid var(--wp--custom--border--subtle); }
.cxa-service-number { margin: 0 0 .75rem; color: var(--wp--preset--color--clay); font-size: var(--wp--preset--font-size--small); font-weight: 700; letter-spacing: .08em; }
.cxa-service-detail h3 { margin-block: 0 1rem; font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.cxa-service-detail p { font-size: 1rem; }
.cxa-service-detail ul, .cxa-service-boundaries ul { margin-block: 1rem 0; padding-left: 1.2rem; }
.cxa-service-detail li, .cxa-service-boundaries li { margin-bottom: .45rem; }
.cxa-service-detail li::marker, .cxa-service-boundaries li::marker { color: var(--wp--preset--color--clay); }
.cxa-service-related { margin-top: 1.25rem; font-weight: 700; }
.cxa-service-related a { text-underline-offset: .22em; }
.cxa-service-detail--featured { background-color: var(--wp--preset--color--sand); border-top: 3px solid var(--wp--preset--color--clay); }
.cxa-service-boundaries { padding: clamp(2rem, 5vw, 4rem); background-color: var(--wp--preset--color--sand); }
.cxa-service-boundaries > * { max-width: 52rem; }
.cxa-service-boundaries h2 { margin-top: 0; }
.cxa-service-cta { padding: clamp(2rem, 5vw, 4rem); border-left: 3px solid var(--wp--preset--color--clay); }
.cxa-service-cta > * { max-width: 48rem; }
.cxa-service-cta h2 { margin-top: 0; }
.cxa-service-cta .cxa-whatsapp { display: inline-flex; min-height: 48px; margin-top: .75rem; padding: .9rem 1.3rem; align-items: center; color: var(--wp--preset--color--white); background-color: var(--wp--preset--color--clay); border-radius: var(--wp--custom--radius--small); font-weight: 700; text-decoration: none; }
.cxa-service-cta .cxa-whatsapp:hover { filter: brightness(.92); }
.cxa-service-cta .cxa-whatsapp:active { transform: translateY(1px); }

.cxa-alex-story { padding-inline: clamp(1.25rem, 4vw, 3rem); border-top: 0 !important; background-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }
.cxa-alex-story .cxa-kicker { color: #FFDF00; }
.cxa-alex-intro { display: grid; gap: 1rem; align-items: end; }
.cxa-alex-intro h2 { max-width: 17ch; margin: 0; color: var(--wp--preset--color--paper); text-wrap: balance; }
.cxa-alex-intro > .has-lead-font-size { max-width: 38rem; margin: 0; color: rgb(247 244 237 / .82); text-wrap: pretty; }
.cxa-alex-facts { display: grid; grid-template-columns: 1fr; margin-top: clamp(2rem, 4vw, 3rem); border-block: 1px solid rgb(247 244 237 / .24); }
.cxa-alex-facts article { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .25rem 1rem; padding: 1.25rem 0; }
.cxa-alex-facts article + article { border-top: 1px solid rgb(247 244 237 / .24); }
.cxa-fact-number { grid-row: 1 / 3; margin: 0; color: #FFDF00; font-family: var(--wp--preset--font-family--editorial); font-size: clamp(1.65rem, 5vw, 2.5rem); font-variant-numeric: lining-nums tabular-nums; line-height: 1; white-space: nowrap; }
.cxa-alex-facts h3 { margin: 0; color: var(--wp--preset--color--paper); font-size: 1.25rem; }
.cxa-alex-facts article > p:last-child { margin: .35rem 0 0; color: rgb(247 244 237 / .75); font-size: .95rem; line-height: 1.55; }
.cxa-latin-links { margin: 1.5rem 0 0; color: #FFDF00; font-family: var(--wp--preset--font-family--editorial); font-size: 1.08rem; line-height: 1.35; }

.cxa-story-meta { display: flex; flex-wrap: wrap; gap: .45rem 1rem; margin-block: .75rem; color: var(--wp--preset--color--muted); font-size: .875rem; }
.cxa-story-meta div { display: flex; gap: .35rem; }
.cxa-story-meta dt { font-weight: 600; }
.cxa-story-meta dd { margin: 0; }
.cxa-contact { padding: clamp(2rem, 6vw, 5rem); }
.cxa-contact > * { max-width: 48rem; }
.home .cxa-home-contact { padding: clamp(2.5rem, 5vw, 4rem); }
.cxa-home-contact > * { max-width: none; }
.cxa-contact-layout { display: grid; gap: 2rem; }
.cxa-contact-copy { min-width: 0; }
.cxa-contact-copy .cxa-kicker { color: #FFDF00; }
.cxa-contact-copy h2 { max-width: 13ch; margin: 0 0 .75rem; color: var(--wp--preset--color--paper); text-wrap: balance; }
.cxa-contact-copy > p:not(.cxa-kicker) { max-width: 36rem; margin: 0 0 1.25rem; color: rgb(247 244 237 / .8); }
.cxa-contact a { color: inherit; }
.cxa-contact .cxa-whatsapp { display: inline-flex; align-items: center; min-height: 48px; padding: .9rem 1.3rem; color: var(--wp--preset--color--ink); background: var(--wp--preset--color--paper); border-radius: var(--wp--custom--radius--small); font-weight: 700; text-decoration: none; touch-action: manipulation; }
.cxa-contact-details { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgb(247 244 237 / .3); font-style: normal; }
.cxa-contact-layout > .cxa-contact-details { margin: 0; }
.cxa-contact-details h3 { margin: 0 0 .4rem; font-size: 2rem; }
.cxa-contact-layout .cxa-contact-details h3 { margin-bottom: .25rem; color: var(--wp--preset--color--paper); font-size: 1.75rem; }
.cxa-contact-company, .cxa-contact-location { margin: 0; font-size: 1rem; }
.cxa-contact-layout :is(.cxa-contact-company, .cxa-contact-location) { color: rgb(247 244 237 / .75); font-size: .9rem; }
.cxa-contact-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin-block: 1.5rem; }
.cxa-contact-layout .cxa-contact-methods { gap: .75rem 1.5rem; margin-block: 1.25rem; }
.cxa-contact-method { min-width: 0; }
.cxa-contact-method dt { font-size: .8rem; font-weight: 700; }
.cxa-contact-method dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.cxa-contact-layout .cxa-contact-method dd { font-size: .95rem; }
.cxa-contact-layout .cxa-contact-method--email { grid-column: 1 / -1; }
.cxa-contact-details a { text-underline-offset: .2em; }
.cxa-contact-method a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; touch-action: manipulation; transition: color .18s ease; }
.cxa-contact-method a:hover, .cxa-contact-method a:focus-visible { color: #FFDF00; }
.cxa-copyable { display: inline-flex; align-items: center; min-height: 44px; user-select: all; }
.cxa-contact-networks { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.cxa-contact-layout .cxa-contact-networks { gap: 0 1.25rem; }
.cxa-contact-networks a { display: inline-flex; align-items: center; min-height: 44px; font-size: .95rem; touch-action: manipulation; }
.cxa-contact-layout .cxa-contact-networks a { font-size: .9rem; }
.cxa-contact-networks a:hover, .cxa-contact-networks a:focus-visible { color: #FFDF00; }
.cxa-contact-legacy { margin: 1rem 0 0; font-size: .8rem; overflow-wrap: anywhere; }
.cxa-contact-layout .cxa-contact-legacy { margin-top: .25rem; color: rgb(247 244 237 / .65); }
.cxa-contact :where(a, button):focus-visible { outline-color: var(--wp--preset--color--paper); }
.cxa-footer { padding-block: var(--wp--preset--spacing--lg); border-top: 1px solid var(--wp--custom--border--subtle); font-size: .875rem; }
.wp-block-button__link:hover, .cxa-whatsapp:hover { filter: brightness(.92); }
.wp-block-post-content > .cxa-section:first-child { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cxa-route-step, .cxa-route-step > span, .cxa-video-play { transition: none; }
}

@media (min-width: 782px) {
  /* Desktop uses a shorter, landscape media field and tighter section rhythm.
     Phone rules above remain deliberately taller for the image-first scroll. */
  /* The starter pattern is rendered inside WordPress's 760px reading column.
     Break its documentary sections out to the theme's 1200px wide canvas on desktop. */
  .wp-block-post-content.is-layout-constrained > .cxa-section.alignwide {
    position: relative;
    left: 50%;
    width: min(var(--wp--style--global--wide-size), calc(100vw - clamp(2.5rem, 8vw, 6rem)));
    max-width: none;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: translateX(-50%);
  }
  .cxa-section { padding-block: clamp(3.5rem, 5vw, 5rem); }
  .home .cxa-section { padding-block: clamp(3rem, 4vw, 4.5rem); }
  .cxa-section-heading, .cxa-alex-intro { grid-template-columns: minmax(0, 1.05fr) minmax(20rem, .95fr); gap: clamp(2rem, 5vw, 5rem); }
  .cxa-hero-media { aspect-ratio: 16 / 5; }
  .cxa-hero-copy { padding-block: 1.75rem 2.25rem; padding-inline: max(clamp(2.5rem, 7vw, 4.5rem), env(safe-area-inset-left)) max(clamp(2.5rem, 7vw, 4.5rem), env(safe-area-inset-right)); }
  .cxa-hero h1 { max-width: 18ch; font-size: clamp(2.8rem, 4.5vw, 3.2rem); }
  .cxa-hero-actions, .cxa-hero-actions .wp-block-button, .cxa-hero-actions .wp-block-button__link { width: fit-content; }
  .cxa-story-stage .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cxa-route-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cxa-route-step { min-height: 8rem; }
  .cxa-route-step { border-left: 1px solid var(--wp--custom--border--subtle); }
  .cxa-route-step:nth-child(3n + 1) { border-left: 0; }
  .cxa-route-step:nth-child(n + 4) { border-top: 1px solid var(--wp--custom--border--subtle); }
  .cxa-route-step.cxa-route-step--featured { border-left: 3px solid var(--wp--preset--color--clay); }
  .cxa-alex-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cxa-alex-facts article { display: block; padding: 1.5rem; }
  .cxa-alex-facts article + article { border-top: 0; border-left: 1px solid rgb(247 244 237 / .24); }
  .cxa-alex-facts h3 { margin-top: 1.25rem; }
  .cxa-contact-layout { grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
  .cxa-contact-layout > .cxa-contact-details { padding-top: 0; padding-left: clamp(2rem, 4vw, 4rem); border-top: 0; border-left: 1px solid rgb(247 244 237 / .3); }
  .cxa-service-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxa-service-detail:nth-child(even) { border-left: 1px solid var(--wp--custom--border--subtle); }
  .cxa-service-detail--featured { grid-column: 1 / -1; border-left: 0 !important; }
  .cxa-service-detail--featured ~ .cxa-service-detail:nth-child(even) { border-left: 0; }
  .cxa-service-detail--featured ~ .cxa-service-detail:nth-child(odd) { border-left: 1px solid var(--wp--custom--border--subtle); }
}

@media (min-width: 900px) {
  .cxa-annual-timeline { grid-template-columns: minmax(0, 1.55fr) minmax(18rem, .85fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
  .cxa-annual-entry.is-latest { grid-column: 1; grid-row: 1 / 3; }
  .cxa-annual-entry:not(.is-latest) { display: grid; grid-column: 2; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0 1rem; align-content: start; }
  .cxa-annual-entry:not(.is-latest) .cxa-annual-meta { grid-column: 1; grid-row: 1 / 3; }
  .cxa-annual-entry:not(.is-latest) .cxa-annual-media,
  .cxa-annual-entry:not(.is-latest) .cxa-video-external,
  .cxa-annual-entry:not(.is-latest) .cxa-video-status { grid-column: 2; }
}

@media (min-width: 1101px) {
  .cxa-hero-layout { isolation: isolate; grid-template-columns: minmax(0, 1.7fr) minmax(27rem, 1fr); min-height: clamp(38rem, calc(100svh - 5.5rem), 45rem); }
  .cxa-hero-media { z-index: 0; min-height: inherit; margin-right: clamp(-22rem, -20vw, -14rem); aspect-ratio: auto; }
  .cxa-hero-media::after { display: none; }
  .cxa-hero-copy { position: relative; z-index: 1; padding-block: clamp(3rem, 5vw, 5rem); padding-inline: max(clamp(2.25rem, 4vw, 4.5rem), env(safe-area-inset-left)) max(clamp(2.25rem, 4vw, 4.5rem), env(safe-area-inset-right)); background: linear-gradient(90deg, rgb(11 93 59 / 0) 0%, rgb(11 93 59 / .48) 16%, rgb(11 93 59 / .86) 39%, var(--wp--preset--color--ink) 70%); }
  .cxa-hero h1 { max-width: 13.5ch; font-size: clamp(3rem, 3.4vw, 4.15rem); }
  .cxa-hero-copy > .cxa-hero-intro { max-width: 31rem; font-size: clamp(1rem, 1.1vw, 1.12rem); line-height: 1.5; }
}

@media (max-width: 1100px) {
  .cxa-header { grid-template-columns: minmax(0, 1fr) auto auto; column-gap: .75rem; }
  .cxa-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .cxa-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .cxa-header .wp-block-navigation { grid-column: 3; order: initial; }
  .cxa-header-contact-cluster { grid-column: 2; order: initial; margin-left: 0; }
  .cxa-header-social { display: none !important; }
}

@media (max-width: 599px) {
  .cxa-header { column-gap: .35rem; min-height: 64px; padding-block: .5rem; }
  .cxa-header-brand { gap: .4rem; }
  .cxa-wordmark__lockup { gap: .24rem; }
  .cxa-wordmark__china, .cxa-wordmark__alex { font-size: 1.2rem; }
  .cxa-wordmark__bridge { gap: .1rem; font-size: .5rem; }
  .cxa-wordmark__bridge::before, .cxa-wordmark__bridge::after { width: .25rem; }
  .cxa-header-contact-cluster { gap: .2rem; }
  .cxa-header-contact { display: none; }
  .cxa-language-switcher__list { gap: .08rem; padding: .12rem; }
  .cxa-language-switcher__link { min-width: 1.92rem; min-height: 2.2rem; padding-inline: .35rem; font-size: .62rem; letter-spacing: .06em; }
  .cxa-header-whatsapp .wp-block-button__link { min-height: 42px; padding-inline: .68rem; font-size: .74rem; }
  .cxa-contact-methods { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .cxa-contact-layout .cxa-contact-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; }
  .cxa-contact-layout .cxa-contact-method dd { font-size: .85rem; }
}

@media (max-width: 781px) {
  /* WordPress keeps hidden account labels in the logged-in toolbar on narrow screens.
     Contain that editor-only overflow without clipping the visitor page or its story rail. */
  body.admin-bar #wpadminbar { min-width: 0; max-width: 100%; overflow-x: clip; }
  .wp-block-post-content.is-layout-constrained > .cxa-section.alignwide {
    position: relative;
    left: 50%;
    width: min(var(--wp--style--global--wide-size), calc(100vw - clamp(2.5rem, 8vw, 6rem)));
    max-width: none;
    margin-right: 0 !important;
    margin-left: 0 !important;
    transform: translateX(-50%);
  }
  .cxa-header { padding-block: .75rem; }
  .cxa-section { padding-block: 3.5rem; }
  .home .cxa-section { padding-block: 3rem; }
  .cxa-story-stage .wp-block-post-template { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(78vw, 1fr); gap: 1rem; padding-bottom: .75rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .cxa-story-stage .wp-block-post { scroll-snap-align: start; }
  .cxa-alex-facts article { grid-template-columns: clamp(7.5rem, 23vw, 11rem) minmax(0, 1fr); }
  .cxa-route-step { padding-inline: 1rem; }
  .cxa-service-detail-grid { grid-template-columns: 1fr; }
  .cxa-service-index { gap-inline: 1rem; }
  .cxa-service-detail { padding-inline: .25rem; }
  .cxa-service-detail--featured, .cxa-service-boundaries, .cxa-service-cta { padding-inline: 1.25rem; }
  .cxa-contact { padding: 2rem 1.5rem; }
  .home .cxa-home-contact { padding: 1.5rem; }
  .cxa-contact-layout { gap: 1.25rem; }
  .cxa-contact-layout > .cxa-contact-details { padding-top: 1rem; }
  .cxa-contact h2 { font-size: 2rem; }
}

@media (min-width: 700px) and (max-width: 781px) {
  .cxa-contact-layout { grid-template-columns: minmax(0, 1fr) minmax(17rem, .9fr); gap: 2rem; }
  .cxa-contact-layout > .cxa-contact-details { padding-top: 0; padding-left: 2rem; border-top: 0; border-left: 1px solid rgb(247 244 237 / .3); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cxa-hero-actions .wp-block-button__link { transition: none; } }

/* Reference-structure visual direction. These selectors intentionally live in an
   opt-in page template and cannot change the active homepage. */
.cxa-reference-home {
  --cxa-reference-navy: #0B5D3B;
  --cxa-reference-blue: #1D5FA7;
  --cxa-reference-ivory: #FFF8E7;
  --cxa-reference-ink: #123F2C;
  --cxa-reference-green: #009C3B;
  --cxa-reference-gold: #FFDF00;
  --cxa-reference-line: rgb(18 63 44 / .2);
  color: var(--cxa-reference-ink);
  overflow: clip;
  background: var(--cxa-reference-ivory);
  font-family: Arial, Helvetica, sans-serif;
}
.cxa-reference-home :is(h1, h2, h3, p, figure) { margin-top: 0; }
.wp-site-blocks > .cxa-reference-home { margin-block-start: 0; }
.cxa-reference-home a:focus-visible,
.cxa-reference-header a:focus-visible,
.cxa-reference-footer a:focus-visible { outline: 3px solid var(--cxa-reference-green); outline-offset: 4px; }
.cxa-reference-header { --cxa-reference-navy: #0B5D3B; --cxa-reference-green: #009C3B; --cxa-reference-gold: #FFDF00; position: relative; z-index: 3; margin-bottom: 0; color: #fff; background: var(--cxa-reference-navy); }
.cxa-reference-language-bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(100% - 2rem, 1440px); gap: clamp(.35rem, 1.4vw, 1.25rem); padding-top: .65rem; margin-inline: auto; font-size: clamp(.56rem, .72vw, .67rem); font-weight: 700; letter-spacing: .02em; line-height: 1.15; }
.cxa-reference-language-bar a { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; color: rgb(255 255 255 / .72); text-align: center; text-decoration: none; }
.cxa-reference-language-bar a[aria-current="page"] { color: #fff; border-bottom: 1px solid currentColor; }
.cxa-reference-header__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .7rem 1rem; width: min(100% - 2rem, 1440px); min-height: 72px; margin-inline: auto; align-items: center; }
.cxa-reference-header .cxa-reference-header__inner { padding-inline: 0; }
.cxa-reference-header__inner > * { margin-block: 0; }
.cxa-reference-header__brand { display: flex; min-width: 0; align-items: center; gap: .75rem; }
.cxa-reference-header__alex, .cxa-reference-footer__alex { margin: 0; color: #fff; font-family: 'Segoe Print', 'Bradley Hand', cursive; font-size: clamp(2rem, 3.4vw, 3.15rem); font-style: italic; line-height: 1; }
.cxa-reference-header__route, .cxa-reference-footer__brand > p:not(.cxa-reference-footer__alex) { margin: 0; color: currentColor; font-size: .62rem; font-weight: 700; letter-spacing: .08em; line-height: 1.45; }
.cxa-reference-header__navigation { display: flex; min-width: 0; }
.cxa-reference-header__actions { display: flex; justify-self: end; gap: .45rem; align-items: center; }
.cxa-reference-header__whatsapp { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; color: #fff; border-radius: 999px; font-size: .73rem; font-weight: 700; text-decoration: none; }
.cxa-reference-header__whatsapp { padding-inline: .9rem; background: #25D366; }
.cxa-reference-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; isolation: isolate; overflow: hidden; color: #fff; background: var(--cxa-reference-navy); }
.cxa-reference-media-slot { display: block; margin: 0; }
.cxa-reference-hero > .cxa-reference-media { position: relative; grid-row: 1; width: 100%; aspect-ratio: 5 / 4; margin: 0; overflow: hidden; background: #2F7D54; }
/* The supplied 1672x941 photo stays at source x=165..1342: both participants, without the bystanders. */
.cxa-reference-hero > .cxa-reference-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 33.333% center; }
/* Keep the fade at the edge, clear of the faces and welcoming hands. */
.cxa-reference-hero > .cxa-reference-media::after { position: absolute; right: 0; bottom: 0; left: 0; height: clamp(2rem, 8vw, 4rem); content: ""; pointer-events: none; background: linear-gradient(to bottom, rgb(11 93 59 / 0) 0%, rgb(11 93 59 / .35) 38%, rgb(11 93 59 / .8) 72%, var(--cxa-reference-navy) 100%); }
.cxa-reference-hero__scrim { display: none; }
.cxa-reference-convergence__scrim, .cxa-reference-contact__scrim { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgb(6 60 38 / .92) 0%, rgb(6 60 38 / .62) 37%, rgb(6 60 38 / .06) 70%); }
.cxa-reference-hero__inner { grid-row: 2; min-width: 0; padding: clamp(1.5rem, 3vw, 3rem); margin: 0; }
.cxa-reference-route { margin-bottom: .4rem; color: rgb(255 255 255 / .95); font-size: clamp(.65rem, .7vw, .82rem); font-weight: 700; letter-spacing: .1em; line-height: 1.25; }
.cxa-reference-route--small { font-size: .62rem; font-weight: 600; }
.cxa-reference-hero h1 { max-width: 12ch; margin-block: 1.2rem .35rem; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.8rem, 5.1vw, 5.65rem); font-weight: 700; letter-spacing: -.055em; line-height: .94; text-wrap: balance; }
.cxa-reference-script { font-family: 'Segoe Print', 'Bradley Hand', cursive; font-size: clamp(1.05rem, 1.6vw, 1.65rem); font-style: italic; line-height: 1.15; }
.cxa-reference-hero > .cxa-reference-hero__note { display: none; }
.cxa-reference-hero__note p { margin: 0; font-size: 1rem; line-height: 1.45; }
.cxa-reference-hero__copy { max-width: 31rem; margin: 1rem 0 1.35rem; color: rgb(255 255 255 / .94); font-size: clamp(.95rem, 1.1vw, 1.13rem); line-height: 1.4; }
.cxa-reference-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.cxa-reference-button { display: inline-flex; min-height: 48px; padding: .8rem 1.25rem; align-items: center; justify-content: center; color: #fff; border: 1px solid transparent; border-radius: 999px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: transform .16s ease, filter .16s ease, background-color .16s ease; }
.cxa-reference-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cxa-reference-button:active { transform: translateY(1px); }
.cxa-reference-button--whatsapp { background: #25D366; }
.cxa-reference-button--outline { background: rgb(6 60 38 / .34); border-color: rgb(255 223 0 / .9); }
.cxa-reference-pair { display: grid; grid-template-columns: 1fr; overflow: hidden; }
.cxa-reference-pair__scene { position: relative; min-height: clamp(26rem, 52vw, 38rem); isolation: isolate; overflow: hidden; color: #fff; background: var(--cxa-reference-navy); }
.cxa-reference-pair__scene .cxa-reference-media-slot { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; background: #2F7D54; }
.cxa-reference-pair__scene--latin .cxa-reference-media-slot { background: #4B7C59; }
.cxa-reference-pair__scene::after { position: absolute; z-index: -2; inset: 0; content: ''; background: linear-gradient(0deg, rgb(6 60 38 / .92), rgb(6 60 38 / .04) 62%); }
.cxa-reference-pair__label { position: absolute; top: 1.25rem; left: 1.25rem; font-size: .78rem; font-weight: 700; line-height: 1.25; }
.cxa-reference-pair__label p { margin-bottom: .25rem; font-size: 1.05rem; letter-spacing: -.03em; }
.cxa-reference-pair__label small { font-size: .64rem; font-weight: 600; line-height: 1.45; }
.cxa-reference-pair__label--right { right: 1.25rem; left: auto; text-align: right; }
.cxa-reference-pair__copy { position: absolute; right: 1.5rem; bottom: 1.5rem; left: 1.5rem; }
.cxa-reference-pair__copy h2 { max-width: 9ch; margin-bottom: .45rem; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 4.2vw, 4.25rem); letter-spacing: -.055em; line-height: .95; }
.cxa-reference-pair__copy p { max-width: 16rem; margin: 0; font-size: .95rem; line-height: 1.35; }
.cxa-reference-timeline { padding: clamp(2rem, 4vw, 3.5rem) max(1.25rem, calc((100vw - 1360px) / 2)); background: var(--cxa-reference-ivory); }
.cxa-reference-timeline h2 { margin-bottom: 1.7rem; color: var(--cxa-reference-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem, 3vw, 2.8rem); letter-spacing: -.04em; line-height: 1; }
.cxa-reference-timeline__track { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.cxa-reference-timeline__track li { position: relative; display: grid; gap: .2rem; min-width: 0; padding: .75rem 0 .75rem 1.25rem; border-left: 1px solid var(--cxa-reference-line); font-size: .72rem; line-height: 1.25; }
.cxa-reference-timeline__track li::before { position: absolute; top: 1rem; left: -.31rem; width: .55rem; height: .55rem; content: ''; background: var(--cxa-reference-blue); border: 2px solid var(--cxa-reference-ivory); border-radius: 50%; box-shadow: 0 0 0 1px var(--cxa-reference-blue); }
.cxa-reference-timeline__track strong { color: var(--cxa-reference-navy); font-size: .78rem; }
.cxa-reference-timeline__track span { color: rgb(9 35 66 / .78); }
.cxa-reference-stories { display: grid; gap: 1.25rem; padding: clamp(2rem, 4vw, 3.5rem) max(1.25rem, calc((100vw - 1360px) / 2)); background: var(--cxa-reference-ivory); }
.cxa-reference-section-heading { display: flex; gap: 1rem; align-items: end; justify-content: space-between; margin-bottom: 1.25rem; }
.cxa-reference-section-heading h2 { margin-bottom: .15rem; color: var(--cxa-reference-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.6rem, 2.55vw, 2.45rem); letter-spacing: -.045em; line-height: 1; }
.cxa-reference-section-heading h2 a, .cxa-reference-video-card h3 a { color: inherit; text-decoration: none; }
.cxa-reference-section-heading h2 a:focus-visible, .cxa-reference-video-card h3 a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.cxa-reference-section-heading p { margin: 0; color: var(--cxa-reference-ink); font-size: .9rem; }
.cxa-reference-section-heading > a { flex-shrink: 0; color: var(--cxa-reference-navy); font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cxa-reference-story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.cxa-reference-story-card { min-width: 0; color: var(--cxa-reference-navy); font-size: .65rem; text-align: center; }
.cxa-reference-story-card .cxa-reference-media-slot { height: 7.5rem; margin: 0 0 .45rem; background: #F3E4A5; border: 1px solid rgb(18 63 44 / .16); }
.cxa-reference-story-card h3 { margin-bottom: .1rem; font-size: .68rem; line-height: 1.15; }
.cxa-reference-story-card p { margin: 0; line-height: 1.25; }
.cxa-reference-video-panel { min-width: 0; padding: 1.25rem; background: #F3E4A5; }
.cxa-reference-video-grid { display: grid; grid-template-columns: 1fr; gap: .85rem; }
.cxa-reference-video-card { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .75rem; align-items: center; min-width: 0; }
.cxa-reference-video-card .cxa-reference-media-slot { position: relative; height: 4.4rem; margin: 0; background: #D8E7C8; border: 1px solid rgb(18 63 44 / .16); }
.cxa-reference-video-card h3 { margin-bottom: .1rem; color: var(--cxa-reference-navy); font-size: 1rem; line-height: 1; }
.cxa-reference-video-card p { margin: 0; color: var(--cxa-reference-ink); font-size: .75rem; line-height: 1.2; }
.cxa-reference-service-card h3 a { color: inherit; text-decoration: none; }
.cxa-reference-service-card h3 a:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.cxa-reference-convergence, .cxa-reference-contact { position: relative; display: grid; min-height: clamp(23rem, 40vw, 34rem); align-items: center; isolation: isolate; overflow: hidden; color: #fff; background: var(--cxa-reference-navy); }
.cxa-reference-convergence > .cxa-reference-media-slot, .cxa-reference-contact > .cxa-reference-media-slot { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; background: #2F7D54; }
.cxa-reference-convergence__copy, .cxa-reference-contact__copy { width: min(100% - 2.5rem, 1320px); margin-inline: auto; }
.cxa-reference-convergence__copy h2, .cxa-reference-contact__copy h2 { max-width: 12ch; margin-bottom: .65rem; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.15rem, 4vw, 4.5rem); letter-spacing: -.055em; line-height: .94; }
.cxa-reference-convergence__copy p, .cxa-reference-contact__copy p { max-width: 32rem; margin: 0; color: rgb(255 255 255 / .9); font-size: clamp(.95rem, 1.25vw, 1.1rem); }
.cxa-reference-convergence__note { position: absolute; right: clamp(1rem, 6vw, 6rem); bottom: 1.5rem; max-width: 13rem; margin: 0; color: #fff; text-align: center; transform: rotate(-8deg); }
.cxa-reference-services { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: clamp(2rem, 4vw, 3.5rem) max(1.25rem, calc((100vw - 1360px) / 2)); background: var(--cxa-reference-ivory); }
.cxa-reference-services__heading { grid-column: 1 / -1; }
.cxa-reference-services__heading h2 { max-width: 22ch; margin-bottom: .4rem; color: var(--cxa-reference-navy); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem, 3vw, 2.85rem); letter-spacing: -.045em; line-height: 1; }
.cxa-reference-services__heading p { margin: 0; color: var(--cxa-reference-ink); }
.cxa-reference-service-card { position: relative; display: grid; min-height: 17.5rem; align-items: end; isolation: isolate; overflow: hidden; color: #fff; background: var(--cxa-reference-navy); }
.cxa-reference-service-card .cxa-reference-media-slot { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; background: #27734A; }
.cxa-reference-service-card--travel .cxa-reference-media-slot { background: #4B7C59; }
.cxa-reference-service-card--car .cxa-reference-media-slot { background: #1F6340; }
.cxa-reference-service-card .cxa-reference-media-slot::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgb(6 60 38 / .95), rgb(6 60 38 / .05) 68%); }
.cxa-reference-service-card > div { padding: 1.25rem; }
.cxa-reference-service-card h3 { margin-bottom: .45rem; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.75rem, 2.4vw, 2.55rem); letter-spacing: -.04em; line-height: 1; }
.cxa-reference-service-card p { max-width: 24rem; margin: 0; color: rgb(255 255 255 / .9); font-size: .82rem; line-height: 1.45; }
.cxa-reference-contact { min-height: clamp(25rem, 45vw, 37rem); }
.cxa-reference-contact__copy { padding-block: 4rem; }
.cxa-reference-contact__copy .cxa-reference-button { margin-top: 1.35rem; }
.cxa-reference-contact__note { position: absolute; right: clamp(1rem, 6vw, 6rem); bottom: 1.5rem; margin: 0; color: #fff; font-size: clamp(1.25rem, 2vw, 2rem); text-align: center; transform: rotate(-8deg); }
.cxa-reference-footer { color: #fff; background: #063C26; }
.cxa-reference-footer__inner { display: grid; gap: 1.5rem; width: min(100% - 2.5rem, 1320px); padding-block: 2rem; margin-inline: auto; }
.cxa-reference-footer__brand { display: grid; gap: .25rem; }
.cxa-reference-footer__message { margin: 0; color: rgb(255 255 255 / .82); font-size: .82rem; line-height: 1.4; }
.cxa-reference-footer__meta { color: rgb(255 255 255 / .72); font-size: .72rem; }
.cxa-reference-footer__meta p { margin: 0; }
.cxa-reference-footer__meta p + p { margin-top: .8rem; }
.cxa-reference-footer__meta a { display: inline-flex; min-height: 32px; align-items: center; margin-right: .75rem; color: #fff; text-decoration: none; }

@media (min-width: 782px) {
  .cxa-reference-header__inner { grid-template-columns: minmax(11rem, 1fr) auto minmax(11rem, 1fr); width: min(100% - 4rem, 1440px); }
  .cxa-reference-header__navigation { display: block; justify-self: center; }
  .cxa-reference-header__navigation .wp-block-navigation__container { display: flex; flex-wrap: nowrap; gap: clamp(.75rem, 1.6vw, 1.55rem); white-space: nowrap; }
  .cxa-reference-header__navigation .wp-block-navigation-item__content { padding-block: .65rem; color: #fff; font-size: .74rem; font-weight: 600; text-decoration: none; }
  .cxa-reference-header__navigation .wp-block-navigation-item__content:hover { color: var(--cxa-reference-gold); }
  .cxa-reference-hero { grid-template-columns: minmax(0, 38fr) minmax(0, 62fr); grid-template-rows: auto auto; }
  .cxa-reference-hero > .cxa-reference-media { grid-column: 2; align-self: end; }
  .cxa-reference-hero > .cxa-reference-media::after { inset: 0 auto 0 0; width: 14%; height: auto; background: linear-gradient(to right, var(--cxa-reference-navy) 0%, rgb(11 93 59 / .86) 20%, rgb(11 93 59 / .42) 56%, rgb(11 93 59 / 0) 100%); }
  .cxa-reference-hero__inner { grid-column: 1; grid-row: 1 / 3; padding: clamp(1.5rem, 3vw, 3.25rem); }
  .cxa-reference-hero h1 { max-width: none; margin-block: 1.1rem .8rem; font-size: clamp(1.9rem, 3.1vw, 3.5rem); letter-spacing: -.045em; line-height: 1.04; }
  .cxa-reference-hero__inner > .cxa-reference-script { font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.4; }
  .cxa-reference-hero__copy { max-width: none; margin: 1rem 0 1.4rem; font-size: 1rem; line-height: 1.55; }
  .cxa-reference-hero .cxa-reference-actions { align-items: start; flex-direction: column; }
  .cxa-reference-hero .cxa-reference-button { max-width: 100%; padding-inline: 1rem; font-size: .9rem; line-height: 1.3; white-space: normal; }
  .cxa-reference-hero > .cxa-reference-hero__note { display: flex; grid-column: 2; grid-row: 2; align-self: start; flex-wrap: wrap; gap: .25rem 1.5rem; padding: 1rem 1.5rem; color: rgb(255 255 255 / .85); }
  .cxa-reference-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cxa-reference-pair__scene { min-height: clamp(29rem, 39vw, 41rem); }
  .cxa-reference-timeline__track { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
  .cxa-reference-timeline__track li { min-height: 6.25rem; padding: .85rem .65rem 0; border-top: 1px solid var(--cxa-reference-line); border-left: 0; }
  .cxa-reference-timeline__track li::before { top: -.29rem; left: .65rem; }
  .cxa-reference-stories { grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .8fr); gap: clamp(1.5rem, 3vw, 3rem); }
  .cxa-reference-story-panel { min-width: 0; }
  .cxa-reference-story-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .5rem; }
  .cxa-reference-story-card figure { height: clamp(6rem, 9vw, 10rem); }
  .cxa-reference-video-panel { padding: 0; background: transparent; }
  .cxa-reference-video-grid { gap: 1.15rem; }
  .cxa-reference-video-card { grid-template-columns: 5.25rem minmax(0, 1fr); }
  .cxa-reference-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .cxa-reference-service-card { min-height: clamp(22rem, 29vw, 29rem); }
  .cxa-reference-footer__inner { grid-template-columns: minmax(12rem, 1fr) minmax(12rem, .7fr) minmax(17rem, 1fr); align-items: end; }
  .cxa-reference-footer__meta { text-align: right; }
}

@media (min-width: 1101px) {
  .cxa-reference-pair__scene { min-height: 31rem; }
  .cxa-reference-stories { grid-template-columns: minmax(0, 1.58fr) minmax(22rem, .74fr); }
  .cxa-reference-video-card { grid-template-columns: 5.6rem minmax(0, 1fr); }
}

@media (max-width: 781px) {
  .cxa-reference-header { margin-bottom: 0; }
  .cxa-reference-language-bar { width: min(100% - 1.25rem, 1440px); gap: .25rem; padding-top: max(.35rem, env(safe-area-inset-top)); font-size: clamp(.55rem, 2.35vw, .63rem); }
  .cxa-reference-header__inner { grid-template-columns: minmax(0, 1fr) auto; width: min(100% - 1.5rem, 1440px); min-height: 64px; }
  .cxa-reference-header__inner > .cxa-reference-header__navigation { grid-column: 2; grid-row: 1; margin: 0; }
  .cxa-reference-header__inner > .cxa-reference-header__actions { display: none; }
  .cxa-reference-header__navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .cxa-reference-header__navigation .wp-block-navigation__responsive-container-open { display: flex; }
  .cxa-reference-header__brand { gap: .45rem; }
  .cxa-reference-header__alex { font-size: clamp(1.65rem, 8vw, 2.15rem); }
  .cxa-reference-header__route { font-size: .54rem; }
  .cxa-reference-header__whatsapp { min-height: 46px; padding-inline: .8rem; }
  .cxa-reference-hero { min-height: 100svh; min-height: 100dvh; grid-template-rows: auto 1fr; align-items: start; }
  .cxa-reference-hero__note { display: none; }
  .cxa-reference-hero__inner { width: 100%; padding: 1.5rem 1.25rem max(2rem, env(safe-area-inset-bottom)); }
  .cxa-reference-hero h1 { max-width: 18ch; margin-block: 1rem .7rem; font-size: clamp(2rem, 8.5vw, 3.25rem); letter-spacing: -.04em; line-height: 1.05; }
  .cxa-reference-hero__copy { font-size: 1rem; line-height: 1.45; }
  .cxa-reference-actions { display: grid; width: min(100%, 24rem); grid-template-columns: 1fr; gap: .7rem; }
  .cxa-reference-button { width: 100%; min-height: 50px; }
  .cxa-reference-pair__scene { min-height: 29rem; }
  .cxa-reference-convergence__note, .cxa-reference-contact__note { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .cxa-reference-button:hover { filter: none; transform: none; }
  .cxa-reference-button { min-height: 48px; touch-action: manipulation; }
  .cxa-reference-language-bar a { min-height: 40px; touch-action: manipulation; }
}

@media (prefers-reduced-motion: reduce) {
  .cxa-reference-home *,
  .cxa-reference-header *,
  .cxa-reference-footer * { transition: none !important; animation: none !important; }
}
