:root {
  --navy-950: #061a35;
  --navy-900: #092852;
  --navy-800: #0c376f;
  --blue-600: #1167b1;
  --blue-100: #e9f3fb;
  --amber-500: #f59f0b;
  --amber-400: #ffb323;
  --copper-600: #b76324;
  --ink: #10243c;
  --muted: #607084;
  --paper: #fbf8f2;
  --cream: #f3ecdf;
  --white: #fff;
  --line: #dbe2e8;
  --shadow: 0 22px 60px rgba(8,31,57,.11);
  --shell: min(1180px, calc(100% - 48px));
  --radius-sm: 14px;
  --radius-md: 22px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
body[data-page="carpinteria"] main,body[data-page="educacion"] main,body[data-page="recursos"] main { display: flex; flex-direction: column; }
body[data-page="carpinteria"] .hub-hero,body[data-page="educacion"] .hub-hero,body[data-page="recursos"] .hub-hero { flex: 1 0 auto; }
.site-footer { flex: 0 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow-shell { max-width: 850px; }
.section-pad { padding: clamp(56px, 6.2vw, 86px) 0; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; transform: translateY(-220%); background: var(--navy-950); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 3px; }
h1,h2,h3 { font-family: Georgia, Cambria, "Times New Roman", serif; text-wrap: balance; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 820; color: var(--navy-800); }
.eyebrow.dark { color: var(--blue-600); }
.eyebrow.light { color: #ffd173; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.985); border-bottom: 1px solid rgba(8,39,79,.07); transition: box-shadow .22s var(--ease), background .22s var(--ease), backdrop-filter .22s var(--ease); }
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 9px 28px rgba(6,26,53,.085); }
.header-inner { width: var(--shell); height: 76px; margin-inline: auto; display: grid; grid-template-columns: minmax(220px,280px) 1fr auto; align-items: center; gap: 24px; }
.brand { display: inline-flex; width: 236px; max-width: 100%; }
.brand img { width: 100%; aspect-ratio: 1024 / 341; object-fit: contain; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: clamp(18px,2.6vw,34px); }
.nav-link { position: relative; text-decoration: none; color: #31465e; font-weight: 690; font-size: 15px; padding: 26px 0 24px; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 15px; height: 2px; background: var(--amber-500); transform: scaleX(0); transform-origin: center; transition: transform .2s var(--ease); }
.nav-link:hover,.nav-link.is-active { color: var(--navy-900); }
.nav-link:hover::after,.nav-link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.search-action { border: 1px solid #ced8e1; background: #fff; color: var(--navy-900); height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; font-weight: 760; transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.search-action:hover { border-color: var(--navy-900); background: #f7fafc; }
.search-action svg,.mobile-search-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-action { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-radius: 50%; }
.menu-action i { width: 21px; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu-open .menu-action i:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-action i:nth-of-type(2) { opacity: 0; }
.menu-open .menu-action i:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: absolute; top: calc(100% + 12px); left: max(12px,calc((100vw - min(100% - 24px, 560px))/2)); width: min(calc(100% - 24px),560px); background: rgba(255,255,255,.985); border: 1px solid rgba(9,40,82,.12); border-radius: 20px; padding: 10px 14px; box-shadow: 0 22px 54px rgba(6,26,53,.18); backdrop-filter: blur(12px); animation: menu-pop .2s var(--ease) both; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu a,.mobile-search-link { min-height: 48px; display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 0 10px; font-weight: 760; color: var(--navy-900); border: 0; border-bottom: 1px solid #edf0f3; background: transparent; text-align: left; border-radius: 8px; }
.mobile-menu a:hover,.mobile-search-link:hover { background: #f7f9fb; }
.mobile-menu .mobile-search-link { border-bottom: 0; }
@keyframes menu-pop { from { opacity: 0; transform: translateY(-7px) scale(.985); } to { opacity: 1; transform: none; } }

/* Hero */
.home-hero { background: #e9dfd2; overflow: clip; }
.hero-shell { min-height: min(552px,calc(100vh - 76px)); position: relative; overflow: hidden; display: grid; align-items: center; }
.hero-picture { position: absolute; inset: 0; display: block; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(250,247,240,.985) 0%,rgba(250,247,240,.95) 24%,rgba(250,247,240,.68) 44%,rgba(250,247,240,.08) 68%,rgba(250,247,240,0) 100%); }
.hero-content { position: relative; z-index: 2; padding-block: 44px 46px; }
.hero-content > * { max-width: 620px; }
.hero-content h1 { margin: 0; font-size: clamp(45px,4.7vw,64px); line-height: .99; letter-spacing: -.043em; max-width: 680px; color: var(--navy-950); }
.hero-content h1 em { font-style: normal; color: var(--copper-600); }
.hero-lead { font-size: clamp(16px,1.3vw,18.5px); color: #3f5368; margin: 16px 0 18px; line-height: 1.56; }
.hero-search { height: 54px; background: #fff; border: 1px solid rgba(9,40,82,.18); box-shadow: 0 12px 30px rgba(50,49,41,.11); border-radius: 999px; display: grid; grid-template-columns: 24px 1fr 48px; align-items: center; gap: 10px; padding: 4px 5px 4px 18px; max-width: 550px; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.hero-search:focus-within { border-color: rgba(17,103,177,.55); box-shadow: 0 12px 34px rgba(9,40,82,.15); }
.hero-search svg,.search-box svg { width: 21px; height: 21px; fill: none; stroke: #5c6f84; stroke-width: 2; stroke-linecap: round; }
.hero-search input { min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 16px; background: transparent; }
.hero-search button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 820; transition: background .2s var(--ease), transform .2s var(--ease); }
.hero-search button:hover { background: var(--blue-600); transform: translateX(1px); }
.presence-chip { width: max-content; max-width: 100%; margin-top: 10px; min-height: 30px; padding: 5px 10px 5px 8px; border: 1px solid rgba(9,40,82,.13); border-radius: 999px; background: rgba(255,255,255,.72); color: #4f6276; font-size: 12.5px; font-weight: 720; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 5px 16px rgba(9,40,82,.05); }
.presence-chip[hidden] { display: none; }
.presence-dot { width: 8px; height: 8px; border-radius: 50%; background: #4fa66d; box-shadow: 0 0 0 0 rgba(79,166,109,.35); animation: presence-pulse 2.2s ease-out infinite; }
@keyframes presence-pulse { 0%,45% { box-shadow: 0 0 0 0 rgba(79,166,109,.32); } 80%,100% { box-shadow: 0 0 0 6px rgba(79,166,109,0); } }

/* Home */
.areas-section { background: var(--paper); }
.areas-intro { max-width: 760px; margin-bottom: 30px; }
.areas-intro h2,.build-note h2,.hub-structure h2,.search-page h1,.not-found h1 { margin: 0; font-size: clamp(34px,3.8vw,50px); line-height: 1.06; letter-spacing: -.035em; color: var(--navy-950); }
.areas-intro > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 17px; max-width: 680px; }
.area-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.area-card { min-height: 280px; display: flex; flex-direction: column; text-decoration: none; border: 1px solid #d4dde5; border-radius: 18px; padding: 22px 24px 21px; overflow: hidden; position: relative; transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.area-card:hover { transform: translateY(-4px); border-color: #b8c5d0; box-shadow: 0 15px 32px rgba(9,40,82,.07); }
.area-card-carpentry { background: linear-gradient(180deg,#fffaf3 0%,#f8efe3 100%); }
.area-card-education { background: linear-gradient(180deg,#fbfdff 0%,#eef6fb 100%); }
.area-card-resources { background: linear-gradient(180deg,#fff 0%,#f3f5f7 100%); }
.card-kicker-row { min-height: 92px; display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.area-card-icon { width: 92px; height: 92px; flex: 0 0 92px; display: grid; place-items: center; }
.area-card-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(12,38,66,.11)); transition: transform .2s var(--ease); }
.area-card:hover .area-card-icon img { transform: scale(1.04); }
.card-kicker-row small { color: var(--blue-600); font-size: 11px; text-transform: uppercase; letter-spacing: .11em; font-weight: 820; line-height: 1.25; }
.area-card-carpentry .card-kicker-row small { color: var(--copper-600); }
.area-card-copy { display: flex; flex-direction: column; flex: 1; }
.area-card-copy strong { font: 700 29px/1.05 Georgia, serif; color: var(--navy-950); margin-bottom: 9px; }
.area-card-copy > span { color: var(--muted); line-height: 1.5; }
.area-card-copy b { margin-top: auto; padding-top: 17px; font-size: 14px; color: var(--navy-900); }
.area-card-copy b i { font-style: normal; display: inline-block; margin-left: 6px; transition: transform .2s var(--ease); }
.area-card:hover .area-card-copy b i { transform: translateX(4px); }
.build-note { background: var(--navy-950); color: #fff; padding: 44px 0; }
.build-note-inner { display: block; }
.build-note h2 { color: #fff; font-size: clamp(29px,3vw,42px); }
.build-note p:not(.eyebrow) { color: #c1cfdd; max-width: 820px; font-size: 16px; margin-bottom: 0; }
.build-note-copy { max-width: 930px; }

/* Hubs */
.hub-hero { display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); scroll-margin-top: 86px; }
.hub-wood { background: radial-gradient(circle at 82% 24%,#f5d7af 0 7%,transparent 7.5%),linear-gradient(135deg,#f9f5ed 0%,#f5eee3 55%,#eadcc9 100%); }
.hub-learn { background: radial-gradient(circle at 82% 24%,#c9e8ff 0 8%,transparent 8.5%),linear-gradient(135deg,#f8f7f2 0%,#edf6fb 58%,#f4e9d3 100%); }
.hub-resource { background: radial-gradient(circle at 82% 24%,#f8cd72 0 8%,transparent 8.5%),linear-gradient(135deg,#f7f8fb 0%,#eef3f8 58%,#e4eaf1 100%); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(250px,.58fr); gap: 30px 42px; align-items: center; padding-block: 46px 34px; }
.hub-copy h1 { margin: 0 0 14px; font-size: clamp(42px,4.45vw,60px); line-height: 1; letter-spacing: -.044em; color: var(--navy-950); max-width: 790px; }
.hub-copy > p:not(.eyebrow) { color: #435a70; font-size: 17px; line-height: 1.62; max-width: 720px; margin-bottom: 0; }
.hub-actions,.not-found-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.primary-link,.secondary-link { min-height: 44px; padding: 0 17px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 780; text-decoration: none; transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.primary-link { color: #fff; background: var(--navy-900); border: 1px solid var(--navy-900); }
.primary-link:hover { transform: translateY(-2px); background: var(--navy-800); }
.secondary-link { color: var(--navy-900); background: rgba(255,255,255,.72); border: 1px solid #bdcad5; }
.secondary-link:hover { transform: translateY(-2px); border-color: #9eafbe; }
.hub-object { min-height: 250px; display: grid; place-items: center; position: relative; }
.hub-object .orb { position: absolute; width: min(245px,82%); aspect-ratio: 1; background: rgba(255,255,255,.58); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.82),0 20px 45px rgba(8,31,57,.09); }
.hub-object img { width: min(245px,82%); position: relative; z-index: 2; filter: drop-shadow(0 20px 22px rgba(26,44,67,.16)); }
.hub-explore { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; scroll-margin-top: 96px; }
.hub-access { min-height: 112px; display: grid; grid-template-columns: 58px minmax(0,1fr); align-items: center; gap: 12px; padding: 14px 15px; border: 1px solid rgba(81,101,121,.18); border-radius: 15px; background: rgba(255,255,255,.7); backdrop-filter: blur(2px); }
.hub-wood .hub-access { background: rgba(255,251,245,.78); }
.hub-learn .hub-access { background: rgba(250,253,255,.8); }
.hub-resource .hub-access { background: rgba(255,255,255,.78); }
.hub-access-icon { width: 58px; height: 58px; display: grid; place-items: center; }
.hub-access-icon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 10px rgba(15,39,65,.09)); }
.hub-access-copy { min-width: 0; }
.hub-access-copy strong { display: block; color: var(--navy-950); font-size: 15px; line-height: 1.2; margin-bottom: 4px; }
.hub-access-copy > span { display: block; color: #5f7183; font-size: 12.5px; line-height: 1.38; }

/* Search / 404 */
.search-page { min-height: 64vh; background: linear-gradient(180deg,#f8f4ed,#fff); }
.search-page h1 { margin-bottom: 30px; }
.search-page-form label { display: block; font-weight: 780; margin-bottom: 9px; }
.search-box { min-height: 56px; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; background: #fff; border: 1px solid #bac7d3; border-radius: var(--radius-sm); padding: 5px 6px 5px 16px; box-shadow: 0 10px 30px rgba(17,38,64,.07); }
.search-box input { min-width: 0; border: 0; outline: 0; font-size: 16px; color: var(--ink); }
.search-box button { height: 44px; border: 0; padding: 0 19px; border-radius: 10px; background: var(--navy-900); color: #fff; font-weight: 780; }
.search-empty { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 32px; display: grid; grid-template-columns: 100px 1fr; gap: 26px; align-items: center; }
.search-empty img { width: 96px; }
.search-empty h2 { margin: 0 0 6px; font-size: 29px; color: var(--navy-950); }
.search-empty p { color: var(--muted); margin: 0; }
.result-label { color: var(--blue-600)!important; font-weight: 790; margin-bottom: 8px!important; }
.search-area-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.search-area-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid #c6d1db; border-radius: 999px; color: var(--navy-900); background: #fff; text-decoration: none; font-weight: 740; font-size: 13px; transition: border-color .18s var(--ease), transform .18s var(--ease), background .18s var(--ease); }
.search-area-links a:hover { border-color: var(--navy-900); background: #f8fafc; transform: translateY(-1px); }
.not-found { min-height: 60vh; display: grid; align-items: center; background: var(--paper); }
.not-found h1 { max-width: 720px; }
.not-found > .shell > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* Footer */
.site-footer { background: #fff; }
.footer-main { background: #fbf8f2; border-top: 1px solid #e8e0d5; }
.footer-top { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 25px 23px; }
.footer-brand { display: block; width: 220px; max-width: 100%; margin: 0 auto 7px; }
.footer-brand img { width: 100%; display: block; }
.footer-description { color: #5d6d7d; max-width: 640px; margin: 0; font-size: 14px; line-height: 1.5; }
.footer-mark { position: relative; display: block; width: min(250px,48vw); height: 1px; margin: 15px auto 12px; background: rgba(7,31,63,.26); }
.footer-mark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 2px; border-radius: 999px; background: var(--amber-500); transform: translate(-50%,-50%); }
.footer-utility { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0; }
.footer-utility a { position: relative; color: var(--navy-900); text-decoration: none; font-weight: 680; font-size: 13px; padding: 4px 13px; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer-utility a + a::before { content: "·"; position: absolute; left: -1px; color: #8c99a7; pointer-events: none; }
.footer-utility a::after { content: ""; position: absolute; left: 13px; right: calc(100% - 13px); bottom: 1px; height: 1px; background: var(--amber-500); transition: right .2s var(--ease); }
.footer-utility a:hover { color: var(--blue-600); transform: translateY(-1px); }
.footer-utility a:hover::after { right: 13px; }
.footer-strip { background: #071f3f; color: #b7c5d3; border-top: 1px solid rgba(255,255,255,.05); }
.footer-bottom { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 12.5px; line-height: 1.45; }
.footer-bottom a { color: #fff; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ease); }
.footer-bottom a:hover { color: #f3b15a; }

/* Legal / utility pages */
.legal-page { min-height: 62vh; background: linear-gradient(180deg,#fbf8f2 0%,#fff 36%); }
.legal-shell { max-width: 840px; }
.legal-page h1 { margin: 0; font-size: clamp(38px,4.5vw,58px); line-height: 1.03; letter-spacing: -.04em; color: var(--navy-950); }
.legal-intro { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.62; max-width: 760px; }
.legal-sections { margin-top: 34px; border-top: 1px solid var(--line); }
.legal-sections section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.legal-sections h2 { margin: 0 0 7px; color: var(--navy-900); font-size: 20px; }
.legal-sections p { margin: 0; color: var(--muted); line-height: 1.68; }

/* Search dialog */
.search-dialog { width: min(690px,calc(100% - 32px)); padding: 0; border: 1px solid rgba(16,52,87,.10); border-radius: 22px; background: #fff; box-shadow: 0 28px 88px rgba(2,17,34,.28); }
.search-dialog::backdrop { background: rgba(5,23,45,.60); backdrop-filter: blur(5px); }
.dialog-search-form { padding: 30px; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.dialog-head > div { min-width: 0; padding-top: 1px; }
.dialog-head .eyebrow { margin-bottom: 7px; }
.dialog-head h2 { margin: 0; font-size: 32px; line-height: 1.08; color: var(--navy-950); }
.dialog-close { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; padding: 0; border-radius: 13px; border: 1px solid #cbd6df; background: #f9fbfc; color: var(--navy-900); cursor: pointer; box-shadow: 0 5px 16px rgba(14,44,74,.06); transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.dialog-close svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.dialog-close:hover { color: #fff; border-color: var(--navy-900); background: var(--navy-900); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(14,44,74,.14); }
.dialog-close:focus-visible { outline: 3px solid rgba(35,116,173,.25); outline-offset: 3px; border-color: var(--blue-600); }
.dialog-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

/* Viewport reveal: progressive enhancement only */
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .24s var(--ease), transform .24s var(--ease); }
.reveal-enabled [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 1023px) {
  :root { --shell: min(100% - 40px,900px); }
  .header-inner { grid-template-columns: 220px 1fr auto; gap: 16px; }
  .desktop-nav { gap: 17px; }
  .search-action span { display: none; }
  .search-action { width: 44px; padding: 0; justify-content: center; }
  .area-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .area-card { min-height: 270px; }
  .area-card:last-child { grid-column: 1 / -1; width: calc(50% - 9px); justify-self: center; }
  .hub-section-head { grid-template-columns: 1fr; gap: 10px; }
  .hub-section-head .eyebrow,.hub-section-head h2,.hub-section-head .section-copy { grid-column: 1; grid-row: auto; }
}

@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .menu-action { display: inline-flex; }
  .header-inner { height: 70px; grid-template-columns: 1fr auto; }
  .brand { width: 215px; }

  .home-hero { background: #faf6ef; }
  .hero-shell { min-height: 0; display: flex; flex-direction: column; background: #faf6ef; }
  .hero-content { order: 1; width: var(--shell); padding-block: 34px 21px; }
  .hero-content > * { max-width: 610px; }
  .hero-content h1 { font-size: clamp(40px,7.1vw,55px); max-width: 650px; }
  .hero-lead { max-width: 590px; margin: 13px 0 16px; }
  .hero-picture { order: 2; position: relative; inset: auto; width: 100%; overflow: hidden; background: #e9dfd2; }
  .hero-picture::before { content: ""; position: absolute; z-index: 2; inset: 0 0 auto; height: 34px; background: linear-gradient(to bottom,#faf6ef 0%,rgba(250,246,239,.72) 36%,rgba(250,246,239,0) 100%); pointer-events: none; }
  .hero-picture img { width: 100%; height: auto; aspect-ratio: 1920 / 900; object-fit: contain; object-position: center; }
  .hero-shade { display: none; }
  .presence-chip { margin-top: 9px; }

  .hub-hero-grid { grid-template-columns: minmax(0,1.2fr) minmax(200px,.55fr); gap: 24px; padding-block: 40px 30px; }
  .hub-object { min-height: 210px; }
  .hub-object img,.hub-object .orb { width: min(205px,82%); }
  .hub-explore { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  .area-cards { grid-template-columns: 1fr; gap: 14px; }
  .area-card,.area-card:last-child { width: 100%; grid-column: auto; min-height: 0; justify-self: stretch; }
  .topic-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --shell: calc(100% - 32px); }
  .section-pad { padding: 50px 0; }
  .header-inner { height: 66px; }
  .brand { width: 174px; }
  .header-actions { gap: 2px; }
  .mobile-menu { top: calc(100% + 10px); left: 12px; width: calc(100% - 24px); border-radius: 19px; }

  .hero-content { padding-block: 29px 18px; }
  .hero-content h1 { font-size: clamp(34px,9.6vw,42px); line-height: 1.01; max-width: 390px; }
  .hero-lead { font-size: 15.5px; line-height: 1.48; margin: 12px 0 15px; max-width: 390px; }
  .hero-search { height: 50px; grid-template-columns: 20px 1fr 42px; padding-left: 14px; border-radius: 15px; max-width: 100%; }
  .hero-search button { width: 38px; height: 38px; }
  .presence-chip { font-size: 12px; min-height: 28px; padding-block: 4px; }

  .areas-intro { margin-bottom: 23px; }
  .areas-intro h2,.build-note h2,.hub-structure h2,.search-page h1,.not-found h1 { font-size: 33px; }
  .areas-intro > p:not(.eyebrow) { font-size: 16px; }
  .area-card { padding: 18px 19px 17px; display: flex; min-height: 0; }
  .card-kicker-row { min-height: 74px; gap: 11px; margin-bottom: 11px; }
  .area-card-icon { width: 74px; height: 74px; flex-basis: 74px; }
  .area-card-copy strong { font-size: 25px; }
  .area-card-copy > span { font-size: 14px; }
  .area-card-copy b { padding-top: 13px; }
  .build-note { padding: 39px 0; }
  .build-note-inner { display: block; }

  .hub-hero-grid { grid-template-columns: minmax(0,1fr) 78px; gap: 14px 12px; padding-block: 30px 26px; align-items: start; }
  .hub-copy { display: contents; }
  .hub-copy .eyebrow { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
  .hub-copy h1 { grid-column: 1 / -1; grid-row: 2; font-size: clamp(34px,9.5vw,42px); line-height: 1.02; margin: 0; max-width: 570px; }
  .hub-copy > p:not(.eyebrow) { grid-column: 1 / -1; grid-row: 3; font-size: 15.5px; line-height: 1.52; max-width: 570px; margin: 0; }
  .hub-actions { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; }
  .hub-object { grid-column: 2; grid-row: 1; position: relative; top: auto; right: auto; justify-self: end; min-height: 0; width: 76px; height: 76px; opacity: .94; }
  .hub-object img,.hub-object .orb { width: 76px; }
  .hub-object .orb { box-shadow: inset 0 0 0 1px rgba(255,255,255,.8),0 10px 24px rgba(8,31,57,.07); }
  .hub-explore { grid-column: 1 / -1; grid-row: 5; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .hub-access { min-height: 104px; grid-template-columns: 48px minmax(0,1fr); gap: 9px; padding: 12px; border-radius: 13px; }
  .hub-access-icon { width: 48px; height: 48px; }
  .hub-access-copy strong { font-size: 14px; }
  .hub-access-copy > span { font-size: 12px; line-height: 1.34; }

  .search-page { min-height: 70vh; }
  .search-box { grid-template-columns: 20px 1fr; padding: 10px 13px; }
  .search-box button { grid-column: 1 / -1; width: 100%; }
  .search-empty { grid-template-columns: 70px 1fr; gap: 17px; margin-top: 34px; padding-top: 28px; }
  .search-empty img { width: 68px; }
  .search-empty h2 { font-size: 25px; }

  .footer-top { padding-block: 21px 18px; }
  .footer-brand { width: min(190px,62vw); margin-bottom: 6px; }
  .footer-description { max-width: 360px; font-size: 13.5px; line-height: 1.48; }
  .footer-mark { width: min(220px,62vw); margin-block: 13px 10px; }
  .footer-utility { width: min(360px,100%); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px 10px; }
  .footer-utility a { padding: 6px 3px; font-size: 12.5px; }
  .footer-utility a + a::before { content: none; }
  .footer-utility a::after { left: 3px; right: calc(100% - 3px); }
  .footer-utility a:hover::after { right: 3px; }
  .footer-bottom { min-height: 0; flex-direction: column; gap: 1px; padding-block: 9px; font-size: 12px; }
  .footer-separator { display: none; }
  .footer-copyright,.footer-credit { display: block; }
  .footer-credit a { white-space: nowrap; }
  .legal-page { min-height: 66vh; }
  .legal-page h1 { font-size: 36px; }
  .legal-intro { font-size: 16px; }
  .legal-sections { margin-top: 27px; }
  .dialog-search-form { padding: 22px; }
  .dialog-head { gap: 14px; margin-bottom: 18px; }
  .dialog-head h2 { font-size: 28px; }
  .dialog-close { width: 44px; height: 44px; flex-basis: 44px; }
}

@media (max-width: 360px) {
  :root { --shell: calc(100% - 26px); }
  .brand { width: 157px; }
  .search-action,.menu-action { width: 40px; height: 40px; }
  .hero-content { padding-block: 26px 17px; }
  .hero-content h1 { font-size: 32px; }
  .hero-lead { font-size: 15px; }
  .area-card { padding: 16px; }
  .card-kicker-row { min-height: 66px; gap: 9px; }
  .area-card-icon { width: 66px; height: 66px; flex-basis: 66px; }
  .card-kicker-row small { font-size: 10px; letter-spacing: .085em; }
  .area-card-copy strong { font-size: 23px; }
  .hub-hero-grid { grid-template-columns: minmax(0,1fr) 66px; gap: 12px 8px; }
  .hub-object { width: 64px; height: 64px; }
  .hub-object img,.hub-object .orb { width: 64px; }
  .hub-copy h1 { font-size: 32px; }
  .hub-explore { grid-template-columns: 1fr; }
  .hub-access { min-height: 86px; grid-template-columns: 50px minmax(0,1fr); }
  .hub-access-icon { width: 50px; height: 50px; }
}

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

/* Preproduction V1 — privacy, contact and institutional content */
.footer-utility button {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--navy-900);
  font: inherit;
  font-weight: 680;
  font-size: 13px;
  padding: 4px 13px;
  cursor: pointer;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.footer-utility button::before { content: "·"; position: absolute; left: -1px; color: #8c99a7; pointer-events: none; }
.footer-utility button::after { content: ""; position: absolute; left: 13px; right: calc(100% - 13px); bottom: 1px; height: 1px; background: var(--amber-500); transition: right .2s var(--ease); }
.footer-utility button:hover { color: var(--blue-600); transform: translateY(-1px); }
.footer-utility button:hover::after { right: 13px; }

.legal-sections p + p { margin-top: 10px; }
.legal-sections a,.about-sections a { color: var(--blue-600); }

.about-page { min-height: 62vh; background: linear-gradient(180deg,#fbf8f2 0%,#fff 36%); }
.about-shell { max-width: 860px; }
.about-page h1,.contact-heading h1 { margin: 0; font-size: clamp(38px,4.5vw,58px); line-height: 1.03; letter-spacing: -.04em; color: var(--navy-950); }
.about-lead,.contact-heading > p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 18px; line-height: 1.62; max-width: 760px; }
.about-sections { margin-top: 34px; border-top: 1px solid var(--line); }
.about-sections section { padding: 22px 0; border-bottom: 1px solid var(--line); }
.about-sections h2 { margin: 0 0 7px; color: var(--navy-900); font-size: 20px; }
.about-sections p { margin: 0; color: var(--muted); line-height: 1.68; }

.contact-page { background: linear-gradient(180deg,#fbf8f2 0%,#fff 30%); }
.contact-shell { max-width: 1040px; }
.contact-heading { max-width: 780px; }
.contact-channels { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.contact-channel { position: relative; overflow: hidden; border: 1px solid #d8e0e7; border-radius: 16px; background: #fff; padding: 21px 22px 20px; }
.contact-channel::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: var(--amber-500); }
.contact-channel:last-child::before { background: var(--blue-600); }
.contact-channel-label { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .11em; font-size: 11px; font-weight: 820; margin-bottom: 5px; }
.contact-channel > a { display: inline-block; color: var(--navy-900); font-weight: 820; font-size: clamp(18px,2.3vw,23px); text-decoration-color: rgba(17,103,177,.35); overflow-wrap: anywhere; }
.contact-channel p { color: var(--muted); margin: 8px 0 0; line-height: 1.55; }
.contact-form-wrap { margin-top: 34px; border-top: 1px solid var(--line); padding-top: 30px; }
.contact-form-intro { max-width: 760px; }
.contact-form-intro h2 { margin: 0; color: var(--navy-950); font-size: clamp(30px,3.4vw,42px); line-height: 1.06; letter-spacing: -.03em; }
.contact-form-intro > p:not(.eyebrow) { color: var(--muted); margin: 10px 0 0; }
.contact-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.form-field { display: grid; gap: 7px; margin-bottom: 17px; }
.form-field label { color: var(--navy-900); font-weight: 760; font-size: 14px; }
.form-field input,.form-field select,.form-field textarea { width: 100%; border: 1px solid #bdc9d4; border-radius: 12px; background: #fff; color: var(--ink); padding: 11px 12px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease); }
.form-field input,.form-field select { min-height: 48px; }
.form-field textarea { resize: vertical; min-height: 170px; line-height: 1.55; }
.form-field input:focus,.form-field select:focus,.form-field textarea:focus { outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(17,103,177,.12); }
.form-field [aria-invalid="true"] { border-color: #a83f38; }
.field-error { display: block; color: #8d302b; font-weight: 690; font-size: 12.5px; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; color: #7a8794; font-size: 12px; }
.form-consent { display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: 9px; margin-top: 2px; }
.form-consent input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--navy-900); }
.form-consent label { color: #42566c; line-height: 1.5; }
.form-consent a { color: var(--blue-600); }
.form-consent.has-error label { color: #7c3530; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.form-actions p { margin: 0; color: #728092; font-size: 12.5px; }
.contact-submit { min-height: 46px; border: 1px solid var(--navy-900); border-radius: 999px; background: var(--navy-900); color: #fff; padding: 0 20px; font-weight: 790; transition: background .18s var(--ease), transform .18s var(--ease); }
.contact-submit:hover { background: var(--navy-800); transform: translateY(-1px); }
.form-notice { margin-top: 20px; border: 1px solid; border-radius: 12px; padding: 12px 14px; line-height: 1.5; }
.form-notice.is-success { border-color: #a9d3b6; background: #f2fbf5; color: #285f39; }
.form-notice.is-error { border-color: #e2b9b5; background: #fff6f5; color: #81332d; }
.form-hp { position: absolute!important; left: -10000px!important; top: auto!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }

.privacy-banner { position: fixed; z-index: 120; left: 50%; bottom: max(14px,env(safe-area-inset-bottom)); width: min(100% - 28px,980px); transform: translateX(-50%); border: 1px solid rgba(9,40,82,.14); border-radius: 18px; background: rgba(255,255,255,.985); box-shadow: 0 24px 70px rgba(6,26,53,.2); }
.privacy-banner[hidden] { display: none; }
.privacy-banner-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 17px 18px; }
.privacy-banner-copy p { margin: 0; color: #566a7e; font-size: 13.5px; line-height: 1.48; }
.privacy-banner-copy p + p { margin-top: 4px; }
.privacy-banner-copy strong { color: var(--navy-950); font-size: 14px; }
.privacy-banner-actions { display: flex; align-items: center; gap: 7px; }
.privacy-action,.privacy-save { min-height: 42px; border: 1px solid #b9c6d2; border-radius: 999px; background: #fff; color: var(--navy-900); padding: 0 14px; font-weight: 780; font-size: 13px; transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease); }
.privacy-action:hover,.privacy-save:hover { border-color: var(--navy-900); transform: translateY(-1px); }
.privacy-action.is-primary,.privacy-save { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.privacy-action.is-primary:hover,.privacy-save:hover { background: var(--navy-800); }
.privacy-dialog { width: min(760px,calc(100% - 28px)); max-height: min(88vh,760px); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 28px 90px rgba(2,17,34,.32); color: var(--ink); }
.privacy-dialog::backdrop { background: rgba(5,23,45,.62); backdrop-filter: blur(4px); }
.privacy-dialog-shell { padding: 25px; }
.privacy-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.privacy-dialog-head h2 { margin: 0; color: var(--navy-950); font-size: clamp(29px,4vw,38px); line-height: 1.06; letter-spacing: -.03em; }
.privacy-close { width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy-900); font-size: 26px; line-height: 1; }
.privacy-dialog-intro { color: var(--muted); margin: 12px 0 20px; max-width: 650px; }
.privacy-options { border-top: 1px solid var(--line); }
.privacy-option { min-height: 84px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.privacy-option strong { display: block; color: var(--navy-900); margin-bottom: 3px; }
.privacy-option p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.48; }
.privacy-option > span { color: #647488; font-size: 12px; font-weight: 760; white-space: nowrap; }
.privacy-option input { width: 22px; height: 22px; accent-color: var(--navy-900); }
.privacy-option.is-disabled { opacity: .72; cursor: default; }
.privacy-dialog-actions { min-height: 54px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding-top: 18px; }
.privacy-dialog-actions [data-privacy-status] { margin-right: auto; color: #2d6a40; font-size: 12.5px; font-weight: 720; }

@media (max-width: 720px) {
  .contact-channels,.form-grid { grid-template-columns: 1fr; }
  .privacy-banner-inner { grid-template-columns: 1fr; gap: 12px; }
  .privacy-banner-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .privacy-action { padding-inline: 8px; }
}

@media (max-width: 600px) {
  .footer-utility button { padding: 6px 3px; font-size: 12.5px; }
  .footer-utility button::before { content: none; }
  .footer-utility button::after { left: 3px; right: calc(100% - 3px); }
  .footer-utility button:hover::after { right: 3px; }
  .about-page h1,.contact-heading h1 { font-size: 36px; }
  .about-lead,.contact-heading > p:not(.eyebrow) { font-size: 16px; }
  .contact-channels { margin-top: 25px; gap: 12px; }
  .contact-channel { padding: 18px 18px 17px; }
  .contact-channel > a { font-size: 18px; }
  .contact-form-wrap { margin-top: 28px; padding-top: 25px; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .contact-submit { width: 100%; }
  .privacy-banner { width: calc(100% - 20px); bottom: max(10px,env(safe-area-inset-bottom)); border-radius: 16px; }
  .privacy-banner-inner { padding: 14px; }
  .privacy-banner-copy p { font-size: 12.5px; }
  .privacy-banner-actions { gap: 5px; }
  .privacy-action { min-height: 40px; font-size: 12px; }
  .privacy-dialog { width: calc(100% - 20px); max-height: 90vh; border-radius: 18px; }
  .privacy-dialog-shell { padding: 19px; }
  .privacy-option { gap: 12px; padding: 13px 0; }
  .privacy-option > span { white-space: normal; text-align: right; max-width: 92px; }
  .privacy-dialog-actions { align-items: stretch; flex-direction: column; }
  .privacy-dialog-actions [data-privacy-status] { margin: 0; min-height: 18px; }
  .privacy-save { width: 100%; }
}

/* OLEADA 01 — sistema editorial real */
.featured-editorial,.hub-library,.resources-library { background: #fff; }
.editorial-section-head { max-width: 760px; margin-bottom: 28px; }
.editorial-section-head h2 { margin: 6px 0 10px; color: var(--navy-950); font-size: clamp(30px,3.5vw,46px); line-height: 1.06; letter-spacing: -.035em; }
.editorial-section-head > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.editorial-section-action { display: flex; justify-content: center; margin-top: 26px; }
.article-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.article-card-grid-home { grid-template-columns: repeat(4,minmax(0,1fr)); }
.article-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid #dce4ea; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(9,40,82,.045); transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.article-card:hover { transform: translateY(-3px); border-color: #c7d4df; box-shadow: 0 16px 36px rgba(9,40,82,.08); }
.article-card-media { display: block; aspect-ratio: 8/5; overflow: hidden; background: #eef2f5; }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--ease); }
.article-card:hover .article-card-media img { transform: scale(1.025); }
.article-card-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.article-card-cluster,.search-result-card > div > span,.resource-list-copy > span { color: var(--blue-600); font-size: 11px; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.article-card h3 { margin: 7px 0 8px; color: var(--navy-950); font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.article-card h3 a { color: inherit; text-decoration: none; }
.article-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.text-link { margin-top: auto; color: var(--navy-900); font-weight: 790; text-decoration: none; }
.text-link span { display: inline-block; transition: transform .18s var(--ease); }
.text-link:hover span { transform: translateX(3px); }

.library-cluster + .library-cluster { margin-top: 42px; }
.library-cluster-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.library-cluster-head h3 { margin: 0; color: var(--navy-950); font-size: 25px; letter-spacing: -.025em; }
.library-cluster-head span { color: #738194; font-size: 13px; }
.resource-list-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.resource-list-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; align-items: center; border: 1px solid #dce4ea; border-radius: 15px; padding: 16px 18px; background: #fff; }
.resource-list-type { width: 62px; height: 62px; display: grid; place-items: center; align-content: center; border-radius: 13px; background: #f1f5f8; color: var(--navy-900); }
.resource-list-type span { font-weight: 900; font-size: 13px; }
.resource-list-type b { margin-top: 2px; color: #708092; font-size: 9px; font-weight: 760; }
.resource-list-copy h3 { margin: 4px 0 4px; color: var(--navy-950); font-size: 17px; line-height: 1.28; }
.resource-list-copy p { margin: 0; color: var(--muted); font-size: 12.5px; }

.article-page { background: linear-gradient(180deg,#fbf8f2 0,#fff 340px); padding: 22px 0 64px; }
.article-shell { max-width: 1220px; }
.breadcrumbs { margin: 0 0 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; padding: 0; margin: 0; list-style: none; color: #758293; font-size: 12.5px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 7px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: #a9b2bc; }
.breadcrumbs a { color: var(--blue-600); text-decoration: none; }
.article-hero { display: grid; grid-template-columns: minmax(0,.92fr) minmax(420px,1.08fr); gap: clamp(30px,5vw,68px); align-items: center; padding: 26px 0 42px; }
.article-hero-copy h1 { margin: 8px 0 16px; color: var(--navy-950); font-size: clamp(40px,4.7vw,66px); line-height: 1.01; letter-spacing: -.045em; }
.article-lead { margin: 0; color: #4e6175; font-size: 18px; line-height: 1.64; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 19px; color: #748294; font-size: 12.5px; }
.article-hero-media { margin: 0; }
.article-hero-media picture { display: block; overflow: hidden; aspect-ratio: 1586/992; border-radius: 20px; background: #edf1f4; box-shadow: 0 20px 50px rgba(9,40,82,.12); }
.article-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-media figcaption { margin-top: 8px; color: #7a8795; font-size: 11.5px; line-height: 1.45; }
.article-layout { display: grid; grid-template-columns: minmax(0,780px) 190px; gap: 52px; justify-content: center; align-items: start; }
.article-main { min-width: 0; }
.article-side { position: sticky; top: 98px; display: grid; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.article-side a,.article-side button { padding: 0; border: 0; background: none; color: #5c6d7f; text-align: left; font: inherit; font-size: 13px; font-weight: 740; cursor: pointer; text-decoration: none; }
.article-side a:hover,.article-side button:hover { color: var(--navy-900); }
.article-quick { margin: 0 0 32px; border: 1px solid #d8e1e8; border-radius: 16px; padding: 21px 23px; background: #f8fafb; }
.article-quick h2 { margin: 0 0 11px; color: var(--navy-950); font-size: 20px; }
.article-quick ul { display: grid; gap: 8px; margin: 0; padding-left: 20px; color: #485d71; line-height: 1.5; }
.article-content { max-width: 760px; }
.article-content section + section { margin-top: 36px; }
.article-content h2,.technical-sources h2,.resource-card h2,.related-editorial h2 { margin: 0 0 12px; color: var(--navy-950); font-size: clamp(26px,3vw,34px); line-height: 1.12; letter-spacing: -.028em; }
.article-content p { margin: 0; color: #3f5266; font-size: 17px; line-height: 1.75; }
.article-content p + p { margin-top: 15px; }
.article-content ul { margin: 15px 0 0; padding-left: 22px; color: #3f5266; font-size: 16px; line-height: 1.7; }
.article-content li + li { margin-top: 6px; }
.article-table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid #d8e1e8; border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
.article-table-wrap:focus-visible { outline: 3px solid rgba(36,109,172,.26); outline-offset: 3px; }
.article-data-table { width: 100%; min-width: 620px; border-collapse: collapse; color: #3f5266; font-size: 14px; line-height: 1.45; }
.article-data-table caption { padding: 14px 16px 10px; color: var(--navy-950); text-align: left; font-size: 15px; font-weight: 820; }
.article-data-table th,.article-data-table td { padding: 11px 13px; border-top: 1px solid #e3e9ee; text-align: left; vertical-align: top; }
.article-data-table thead th { background: #f4f7f9; color: var(--navy-900); font-size: 12px; letter-spacing: .02em; }
.article-data-table tbody tr:nth-child(even) td { background: #fbfcfd; }
.article-table-note { margin-top: 10px!important; color: #6b7a89!important; font-size: 13px!important; line-height: 1.55!important; }
.technical-sources { margin-top: 38px; padding: 18px 20px; border: 1px solid #e1e5e8; border-left: 3px solid var(--amber-500); background: #fbf8f2; border-radius: 0 14px 14px 0; }
.technical-sources-head { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 14px; align-items: center; }
.technical-sources .technical-sources-head h2 { margin: 0; font-size: clamp(22px,2.7vw,30px); }
.technical-sources-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; justify-self: end; border: 0; border-radius: 50%; padding: 0; background: transparent; color: var(--navy-900); }
.technical-sources-icon { position: relative; width: 34px; height: 34px; display: block; border: 1px solid #bcc8d2; border-radius: 50%; background: #fff; transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease); }
.technical-sources-icon::before,.technical-sources-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; border-radius: 999px; background: currentColor; transform: translate(-50%,-50%); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.technical-sources-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.technical-sources-toggle[aria-expanded="true"] .technical-sources-icon::after { opacity: 0; transform: translate(-50%,-50%) rotate(90deg) scaleX(.35); }
.technical-sources-toggle:hover .technical-sources-icon { border-color: var(--navy-900); background: #f5f8fa; transform: translateY(-1px); }
.technical-sources-toggle:focus-visible { outline-offset: 2px; }
.technical-sources-panel { padding-top: 14px; border-top: 1px solid rgba(9,40,82,.09); margin-top: 14px; }
.technical-sources-panel[hidden] { display: none; }
.technical-sources p { margin: 0; color: #55687a; line-height: 1.6; }
.technical-sources ul { margin: 12px 0 0; padding-left: 20px; }
.technical-sources li + li { margin-top: 6px; }
.technical-sources a { color: var(--blue-600); overflow-wrap: anywhere; word-break: break-word; }
.resource-card { margin-top: 48px; border: 1px solid #d4dfe7; border-radius: 20px; padding: clamp(20px,3vw,30px); background: #f9fbfc; }
.resource-card-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: start; }
.resource-card-head > div > p:not(.eyebrow) { margin: 0; color: #53677b; line-height: 1.6; }
.resource-meta { display: grid; min-width: 150px; margin: 0; border-left: 1px solid #dbe3e9; padding-left: 20px; }
.resource-meta div + div { margin-top: 11px; }
.resource-meta dt { color: #7c8895; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.resource-meta dd { margin: 2px 0 0; color: var(--navy-950); font-size: 14px; font-weight: 780; }
.pdf-preview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 24px; }
.pdf-preview figure { min-width: 0; margin: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid #d6dee4; border-radius: 11px; background: #e9edf0; }
.pdf-preview img { display: block; width: 100%; height: auto; max-height: 680px; object-fit: contain; background: #fff; }
.resource-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.secondary-download { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #aab8c5; border-radius: 999px; padding: 0 20px; color: var(--navy-900); font-weight: 780; text-decoration: none; background: #fff; }
.secondary-download:hover { border-color: var(--navy-900); }
.resource-heavy-note { margin: 14px 0 0; color: #6a7887; font-size: 12.5px; line-height: 1.5; }
.related-editorial { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--line); }
.related-head { margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.related-card { min-width: 0; }
.related-card a { display: block; color: inherit; text-decoration: none; }
.related-card img { width: 100%; aspect-ratio: 8/5; object-fit: cover; border-radius: 12px; background: #eef2f4; }
.related-card span { display: block; margin-top: 9px; color: var(--blue-600); font-size: 10px; font-weight: 820; text-transform: uppercase; letter-spacing: .08em; }
.related-card strong { display: block; margin-top: 4px; color: var(--navy-950); font-size: 15px; line-height: 1.35; }

.search-results { margin-top: 26px; }
.search-result-list { display: grid; gap: 13px; margin-top: 12px; }
.search-result-card { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 18px; align-items: center; border: 1px solid #dce4ea; border-radius: 15px; padding: 12px; }
.search-result-media { overflow: hidden; border-radius: 10px; aspect-ratio: 8/5; }
.search-result-media img { width: 100%; height: 100%; object-fit: cover; }
.search-result-card h2 { margin: 4px 0 5px; font-size: 19px; line-height: 1.25; }
.search-result-card h2 a { color: var(--navy-950); text-decoration: none; }
.search-result-card p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

@media (max-width: 1120px) {
  .article-card-grid-home { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { grid-template-columns: minmax(0,780px); }
  .article-side { position: static; display: flex; flex-wrap: wrap; border-left: 0; border-top: 1px solid var(--line); padding: 18px 0 0; }
}
@media (max-width: 900px) {
  .article-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-hero { grid-template-columns: 1fr; gap: 24px; padding-top: 14px; }
  .article-hero-copy { max-width: 760px; }
  .article-hero-media { max-width: 760px; }
  .resource-list-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .article-card-grid,.article-card-grid-home { grid-template-columns: 1fr; gap: 14px; }
  .article-card-body { padding: 16px; }
  .article-card h3 { font-size: 19px; }
  .library-cluster + .library-cluster { margin-top: 32px; }
  .library-cluster-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .resource-list-card { grid-template-columns: 56px minmax(0,1fr); gap: 12px; }
  .resource-list-card > .text-link { grid-column: 2; }
  .resource-list-type { width: 56px; height: 56px; }
  .article-page { padding-top: 14px; }
  .breadcrumbs { margin-bottom: 14px; }
  .article-hero { padding-bottom: 30px; }
  .article-hero-copy h1 { font-size: clamp(34px,10vw,45px); }
  .article-lead { font-size: 16px; }
  .article-hero-media picture { border-radius: 14px; }
  .article-content p { font-size: 16px; line-height: 1.7; }
  .article-quick { padding: 18px; }
  .resource-card { margin-top: 38px; padding: 18px; }
  .resource-card-head { grid-template-columns: 1fr; gap: 18px; }
  .resource-meta { grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; border-left: 0; border-top: 1px solid #dbe3e9; padding: 14px 0 0; gap: 8px; }
  .resource-meta div + div { margin-top: 0; }
  .pdf-preview { grid-template-columns: 1fr; }
  .pdf-preview figure:nth-child(n+2) { display: none; }
  .resource-actions { display: grid; grid-template-columns: 1fr; }
  .resource-actions .primary-link,.secondary-download { width: 100%; }
  .related-grid { grid-template-columns: 1fr; }
  .search-result-card { grid-template-columns: 96px minmax(0,1fr); gap: 12px; }
  .search-result-card p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .article-card,.article-card-media img,.text-link span { transition: none!important; transform: none!important; }
}
