/* MaterialesGratis V1 — Design System / Ariel Nuñez */
:root{
  --ink:#17221E;--paper:#F7F4ED;--white:#FFFFFF;--blue:#315F73;--copper:#A85F34;--green:#2E7568;--amber:#A97B35;--muted:#5F6B65;--border:#DDE3DF;
  --ink-soft:#30403A;--paper-deep:#EFE9DC;--blue-soft:#E7F0F3;--copper-soft:#F4E7DF;--green-soft:#E4F1ED;--amber-soft:#F3EBDD;
  --font-ui:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-editorial:Georgia,"Times New Roman",serif;
  --space-1:.25rem;--space-2:.5rem;--space-3:.75rem;--space-4:1rem;--space-5:1.5rem;--space-6:2rem;--space-7:3rem;--space-8:4.5rem;--space-9:6rem;
  --radius-s:.65rem;--radius-m:1.1rem;--radius-l:1.75rem;--radius-pill:999px;
  --shadow-s:0 8px 28px rgba(23,34,30,.07);--shadow-m:0 24px 70px rgba(23,34,30,.10);
  --container:78rem;--reading:48rem;--motion:180ms cubic-bezier(.2,.8,.2,1);
}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-ui);line-height:1.65;-webkit-font-smoothing:antialiased}img,svg{display:block;max-width:100%}a{color:inherit;text-decoration-thickness:.08em;text-underline-offset:.18em}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}h1,h2,h3{margin:0;color:var(--ink);line-height:1.06;letter-spacing:-.035em}h1,h2{font-family:var(--font-editorial);font-weight:600}h1{font-size:clamp(2.55rem,6vw,5.6rem)}h2{font-size:clamp(2rem,4vw,3.6rem)}h3{font-size:clamp(1.2rem,2vw,1.55rem)}p{margin:0 0 1rem}.container{width:min(calc(100% - 2rem),var(--container));margin-inline:auto}.narrow{max-width:54rem}.article-width{max-width:64rem}.section{padding:clamp(4rem,8vw,7rem) 0}.section--paper{background:var(--white);border-block:1px solid var(--border)}.kicker,.eyebrow{display:block;text-transform:uppercase;letter-spacing:.16em;font-size:.75rem;font-weight:800;color:var(--blue)}.eyebrow{margin-bottom:.65rem;letter-spacing:.11em}.section-heading{max-width:49rem;margin-bottom:2.2rem}.section-heading h2{margin:.35rem 0 1rem}.section-heading>p{color:var(--muted);font-size:1.04rem}.section-heading--row{max-width:none;display:flex;gap:2rem;justify-content:space-between;align-items:end}.section-heading--row>p{max-width:31rem;margin: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:1rem;top:1rem;z-index:9999;padding:.8rem 1rem;background:var(--ink);color:#fff;border-radius:.5rem;transform:translateY(-160%);transition:transform var(--motion)}.skip-link:focus{transform:translateY(0)}:focus-visible{outline:3px solid var(--blue);outline-offset:3px}.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:1px solid var(--ink);border-radius:var(--radius-pill);padding:.72rem 1.1rem;font-weight:800;text-decoration:none;cursor:pointer;transition:transform var(--motion),background var(--motion),color var(--motion)}.button:hover{transform:translateY(-1px)}.button--primary{background:var(--ink);color:#fff}.button--ghost{background:transparent;color:var(--ink)}.button--large{padding:.9rem 1.35rem}.text-link{font-weight:800;text-decoration:none}.policy-chip{display:inline-flex;align-items:center;min-height:28px;border-radius:var(--radius-pill);padding:.2rem .65rem;font-size:.72rem;font-weight:800;letter-spacing:.04em;background:var(--blue-soft);color:var(--blue);margin-bottom:.9rem}.policy-chip{background:var(--green-soft);color:var(--green)}
.site-header{position:sticky;top:0;z-index:100;background:rgba(247,244,237,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(221,227,223,.9)}.header-inner{min-height:76px;display:grid;grid-template-columns:auto 1fr;gap:2rem;align-items:center}.brand{display:inline-flex;align-items:center;gap:.7rem;text-decoration:none;font-size:1.05rem;white-space:nowrap}.brand strong{font-weight:900}.brand em{font-style:normal;color:var(--blue);font-weight:800}.brand-mark{width:36px;height:36px;display:grid;place-items:center;color:var(--blue)}.brand-mark svg{width:36px;fill:none;stroke:currentColor;stroke-width:2}.site-nav{display:flex;align-items:center;justify-content:flex-end;gap:1.5rem}.site-nav>a{min-height:44px;display:inline-flex;align-items:center;text-decoration:none;font-weight:750;color:var(--ink-soft)}.site-nav>a:hover{color:var(--blue)}.header-search{display:flex;align-items:center;border:1px solid var(--border);background:#fff;border-radius:var(--radius-pill);min-width:14rem}.header-search input{width:100%;min-width:0;border:0;background:transparent;padding:.68rem 0 .68rem 1rem;outline:none}.header-search button{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer}.header-search svg{width:20px;fill:none;stroke:currentColor;stroke-width:2}.menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--border);background:#fff;border-radius:50%;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:4px}.menu-toggle span:not(.sr-only){width:18px;height:2px;background:var(--ink);border-radius:2px}.breadcrumbs{padding-top:.9rem}.breadcrumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.45rem;font-size:.78rem;color:var(--muted)}.breadcrumbs li{display:flex;gap:.45rem}.breadcrumbs a{text-decoration:none}.breadcrumbs a:hover{text-decoration:underline}
.hero{padding:clamp(3.5rem,8vw,7rem) 0 4.5rem;overflow:hidden}.hero--home{background-image:linear-gradient(rgba(49,95,115,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(49,95,115,.07) 1px,transparent 1px);background-size:32px 32px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(2.5rem,6vw,6rem);align-items:center}.hero-copy h1{margin:.65rem 0 1.25rem}.hero-copy h1 em{font-style:normal;color:var(--blue)}.hero-copy>p{max-width:42rem;color:var(--muted);font-size:clamp(1.05rem,1.6vw,1.25rem)}.hero-visual{margin:0;position:relative}.hero-visual picture{display:block;border-radius:var(--radius-l);overflow:hidden;box-shadow:var(--shadow-m);border:1px solid rgba(255,255,255,.75)}.hero-visual img{width:100%;height:auto}.hero-visual figcaption{position:absolute;left:1rem;bottom:1rem;background:rgba(23,34,30,.86);color:#fff;padding:.5rem .75rem;border-radius:var(--radius-pill);font-size:.78rem}.hero-search{margin-top:2rem}.hero-search>label,.search-page-form>label{display:block;font-weight:800;margin-bottom:.5rem}.search-box{display:grid;grid-template-columns:1fr auto;background:#fff;border:1px solid var(--border);box-shadow:var(--shadow-s);border-radius:var(--radius-pill);overflow:hidden;max-width:42rem}.search-box input{min-width:0;border:0;background:transparent;padding:.95rem 1.15rem;outline:0}.search-box button{border:0;background:var(--ink);color:#fff;padding:.8rem 1.25rem;font-weight:850;cursor:pointer}.search-help{font-size:.78rem;color:var(--muted);margin:.55rem 0 0}.live-results{position:relative;max-width:42rem}.live-results ul{position:absolute;z-index:20;left:0;right:0;top:.5rem;margin:0;padding:.45rem;list-style:none;background:#fff;border:1px solid var(--border);border-radius:var(--radius-m);box-shadow:var(--shadow-m)}.live-results li+li{border-top:1px solid var(--border)}.live-results a{display:grid;gap:.2rem;padding:.75rem;border-radius:.7rem;text-decoration:none}.live-results a:hover{background:var(--paper)}.live-results a span{font-size:.72rem;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.search-status{margin-top:.5rem;background:#fff;padding:.7rem;border-radius:.7rem;border:1px solid var(--border);font-size:.86rem}
.portal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.portal-card{min-height:22rem;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:1.6rem;border:1px solid var(--border);border-radius:var(--radius-l);background:#fff;text-decoration:none;overflow:hidden;transition:transform var(--motion),box-shadow var(--motion)}.portal-card::before{content:"";position:absolute;width:9rem;height:9rem;border-radius:50%;right:-2rem;top:-2rem;background:currentColor;opacity:.08}.portal-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-m)}.portal-card--copper{color:var(--copper)}.portal-card--green{color:var(--green)}.portal-card--amber{color:var(--amber)}.portal-card--amber .text-link{color:var(--ink-soft)}.portal-card h3{font-family:var(--font-editorial);font-size:2rem;margin:.4rem 0 .7rem}.portal-card p{color:var(--ink-soft)}.portal-number{position:absolute;top:1.2rem;left:1.4rem;font-size:3rem;font-family:var(--font-editorial);opacity:.28}.portal-card .text-link{margin-top:auto;padding-top:1rem}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.content-card{padding:1.4rem;border:1px solid var(--border);background:var(--paper);border-radius:var(--radius-m)}.section--paper .content-card{background:var(--paper)}.content-card h3{margin-bottom:.8rem}.content-card h3 a{text-decoration:none}.content-card p{color:var(--muted)}.resource-list{display:grid;gap:1.2rem}.resource-card{display:grid;grid-template-columns:13rem minmax(0,1fr);gap:1.6rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-l);background:#fff;box-shadow:var(--shadow-s)}.resource-cover picture{display:block;border-radius:1rem;overflow:hidden;background:var(--paper-deep);height:100%}.resource-cover img{width:100%;height:100%;object-fit:cover}.resource-body{min-width:0;padding:.5rem .5rem .5rem 0}.resource-body h3{font-family:var(--font-editorial);font-size:clamp(1.6rem,3vw,2.35rem);margin-bottom:.7rem}.resource-body>p{color:var(--muted)}.resource-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin:1.2rem 0}.resource-meta div{display:grid}.resource-meta dt{text-transform:uppercase;letter-spacing:.09em;font-size:.68rem;color:var(--muted);font-weight:800}.resource-meta dd{margin:0;font-weight:800}.resource-actions{display:flex;flex-wrap:wrap;gap:.65rem}.download-fallback{font-size:.78rem;margin:.7rem 0 0!important;color:var(--muted)!important}.split-panel{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,7vw,7rem);padding:clamp(2rem,5vw,4rem);border-radius:var(--radius-l);background:var(--ink);color:#fff}.split-panel h2{color:#fff;margin:.4rem 0 1rem}.split-panel .kicker{color:#9fc5d3}.status-list{margin:0;display:grid}.status-list div{padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.16)}.status-list dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.1em;color:#b6c3bd}.status-list dd{margin:.25rem 0 0;font-weight:800}.trust-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:4rem}.trust-grid h2{margin-top:.4rem}.trust-points{display:grid;gap:1rem}.trust-points p{padding-bottom:1rem;border-bottom:1px solid var(--border);color:var(--muted)}.trust-points strong{color:var(--ink)}
.hub-hero{padding:clamp(4.5rem,10vw,8rem) 0;border-bottom:1px solid var(--border)}.hub-hero h1{margin:.4rem 0 1rem}.hub-hero p{font-size:1.18rem;color:var(--muted)}.hub-hero--copper{background:linear-gradient(135deg,var(--paper),var(--copper-soft))}.hub-hero--green{background:linear-gradient(135deg,var(--paper),var(--green-soft))}.hub-hero--amber{background:linear-gradient(135deg,var(--paper),var(--amber-soft))}.cluster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.cluster-card{min-width:0;padding:1.3rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.cluster-line{display:block;width:2.5rem;height:3px;background:var(--blue);margin-bottom:1rem}.cluster-card h3{margin-bottom:.65rem}.cluster-card p{color:var(--muted);font-size:.85rem}.cluster-card code{display:block;overflow-wrap:anywhere;font-size:.75rem;color:var(--blue);background:var(--blue-soft);padding:.55rem;border-radius:.5rem}.filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-bottom:2rem;padding:1rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.filter-bar label{font-weight:800}.filter-bar select{min-height:44px;border:1px solid var(--border);border-radius:.7rem;padding:.55rem;background:#fff}.filter-bar span{font-size:.78rem;color:var(--muted)}
.article-header{padding-top:clamp(3.5rem,7vw,6rem);text-align:left}.article-header h1{font-size:clamp(2.7rem,6vw,5rem);margin:.5rem 0 1rem}.article-lead{font-family:var(--font-editorial);font-size:clamp(1.15rem,2vw,1.45rem);color:var(--ink-soft);line-height:1.55}.article-byline{display:flex;flex-wrap:wrap;gap:.5rem 1rem;margin-top:1.5rem;color:var(--muted);font-size:.82rem}.article-hero{margin-top:2rem}.article-hero picture{display:block;overflow:hidden;border-radius:var(--radius-l);box-shadow:var(--shadow-s)}.article-hero img{width:100%;height:auto}.article-layout{display:grid;grid-template-columns:15rem minmax(0,var(--reading));justify-content:center;gap:clamp(2rem,5vw,5rem);padding-top:3rem;padding-bottom:5rem}.toc{align-self:start;position:sticky;top:100px;border-left:2px solid var(--border);padding-left:1rem;font-size:.85rem}.toc strong{display:block;margin-bottom:.7rem}.toc ol{margin:0;padding-left:1rem}.toc li+li{margin-top:.55rem}.toc a{text-decoration:none;color:var(--muted)}.article-body{min-width:0}.article-body section{scroll-margin-top:110px;margin-bottom:3rem}.article-body h2{font-size:clamp(1.8rem,3.4vw,2.6rem);margin-bottom:1rem}.article-body p{font-size:1.04rem;color:var(--ink-soft)}.callout{margin:1.5rem 0;padding:1.15rem 1.25rem;border-left:4px solid var(--copper);background:var(--copper-soft);border-radius:0 var(--radius-m) var(--radius-m) 0}.callout--green{border-left-color:var(--green);background:var(--green-soft)}.callout p{margin:.35rem 0 0;font-size:.95rem}.table-wrap{width:100%;overflow-x:auto;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.table-wrap:focus-visible{outline:3px solid var(--blue)}table{width:100%;border-collapse:collapse;min-width:34rem}caption{text-align:left;padding:1rem;font-weight:800}th,td{text-align:left;padding:.8rem 1rem;border-top:1px solid var(--border)}thead th{background:var(--blue-soft);color:var(--ink)}tbody th{font-weight:800}.diagram{margin:1.5rem 0}.diagram svg{width:100%;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.diagram rect{fill:var(--paper);stroke:var(--blue);stroke-width:2}.diagram path{stroke:var(--blue);stroke-width:2}.diagram text{text-anchor:middle;font-family:var(--font-ui);font-size:18px;fill:var(--ink);font-weight:800}.diagram figcaption{margin-top:.5rem;font-size:.78rem;color:var(--muted)}.download-section .resource-card{grid-template-columns:10rem minmax(0,1fr)}.ad-slot{min-height:9rem;display:grid;place-items:center;margin:3rem 0;border:1px dashed #b7c0bb;border-radius:var(--radius-m);background:repeating-linear-gradient(-45deg,#f8f8f5,#f8f8f5 8px,#f3f3ef 8px,#f3f3ef 16px);color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.1em}.sources{border-top:1px solid var(--border);padding-top:2rem}.author-box{padding:1.4rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.author-box h2{font-family:var(--font-ui);font-size:1.4rem}.related-section{border-top:1px solid var(--border);background:#fff}.related-section h2{margin:.4rem 0 1.5rem}
.resource-detail-grid{display:grid;grid-template-columns:minmax(18rem,.72fr) minmax(0,1.28fr);gap:clamp(2rem,6vw,6rem);align-items:start}.resource-detail-cover picture{display:block;border-radius:var(--radius-l);overflow:hidden;box-shadow:var(--shadow-m)}.resource-detail-cover img{width:100%;height:auto}.resource-detail-copy h1{margin:.5rem 0 1rem}.detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-block:1px solid var(--border);margin:1.7rem 0}.detail-list div{padding:1rem 0;border-bottom:1px solid var(--border)}.detail-list div:nth-last-child(-n+2){border-bottom:0}.detail-list dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:800}.detail-list dd{margin:.25rem 0 0}.search-page-form{margin-top:2rem}.search-results{margin-top:3rem}.empty-state{padding:2rem;border:1px solid var(--border);border-radius:var(--radius-l);background:#fff;text-align:center}.empty-state h2{font-size:2rem}.inline-links{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center}.results-heading{margin-bottom:1rem}.results-list{display:grid;gap:.75rem}.results-list article{padding:1.2rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.results-list h3{margin:.2rem 0 .5rem}.results-list h3 a{text-decoration:none}.results-list p{color:var(--muted);margin:0}.error-page{text-align:center;min-height:62vh;display:grid;align-items:center}.error-code{font-family:var(--font-editorial);font-size:clamp(5rem,18vw,12rem);line-height:.75;color:var(--blue);opacity:.16}.error-page h1{margin:.4rem 0 1rem}.error-page p{color:var(--muted);font-size:1.1rem}.error-actions{display:flex;flex-wrap:wrap;gap:.7rem;justify-content:center;margin-top:1.5rem}.toast{position:fixed;z-index:999;right:1rem;bottom:1rem;max-width:min(26rem,calc(100% - 2rem));padding:.8rem 1rem;background:var(--ink);color:#fff;border-radius:.8rem;box-shadow:var(--shadow-m);opacity:0;transform:translateY(1rem);pointer-events:none;transition:opacity var(--motion),transform var(--motion)}.toast.is-visible{opacity:1;transform:translateY(0)}
.site-footer{padding:4rem 0 1.4rem;background:var(--ink);color:#dce4e0}.footer-grid{display:grid;grid-template-columns:1.4fr .7fr 1fr;gap:clamp(2rem,6vw,6rem)}.brand--footer{color:#fff;font-size:1.2rem}.footer-grid p{color:#aebbb5;max-width:35rem}.footer-grid h2{font-family:var(--font-ui);font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#fff;margin-bottom:.8rem}.footer-grid>div:nth-child(2){display:flex;flex-direction:column;align-items:flex-start}.footer-grid a{color:#fff;margin-bottom:.5rem}.footer-bottom{display:flex;justify-content:space-between;gap:1rem;padding-top:2rem;margin-top:2rem;border-top:1px solid rgba(255,255,255,.14);font-size:.78rem;color:#9eaca5}.footer-bottom a{color:#fff}
@media (max-width:1023px){.hero-grid{grid-template-columns:1fr}.hero-visual{max-width:48rem}.portal-grid,.cluster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-layout{grid-template-columns:1fr;max-width:var(--reading)}.toc{position:static;border-left:0;border:1px solid var(--border);border-radius:var(--radius-m);padding:1rem;background:#fff}.resource-detail-grid{grid-template-columns:minmax(14rem,.6fr) minmax(0,1fr)}.trust-grid{gap:2.5rem}}
@media (max-width:840px){.header-inner{grid-template-columns:1fr auto;min-height:68px}.js .menu-toggle{display:flex}.js .site-nav{display:none;position:absolute;left:1rem;right:1rem;top:calc(100% + .5rem);padding:.8rem;background:#fff;border:1px solid var(--border);border-radius:var(--radius-m);box-shadow:var(--shadow-m);flex-direction:column;align-items:stretch;gap:.2rem}.js .site-nav.is-open{display:flex}.site-nav>a{padding:0 .6rem}.header-search{margin-top:.4rem}.portal-grid,.cluster-grid{grid-template-columns:1fr 1fr}.resource-detail-grid{grid-template-columns:1fr}.resource-detail-cover{max-width:24rem}.trust-grid,.split-panel{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media (max-width:640px){.container{width:min(calc(100% - 1.25rem),var(--container))}.section{padding:3.5rem 0}.section-heading--row{display:block}.section-heading--row>p{margin-top:1rem}.hero{padding:3rem 0}.hero-copy h1{font-size:clamp(2.5rem,13vw,4rem)}.hero-visual figcaption{position:static;border-radius:0;background:transparent;color:var(--muted);padding:.5rem 0}.portal-grid,.cluster-grid,.feature-grid{grid-template-columns:1fr}.portal-card{min-height:18rem}.resource-card,.download-section .resource-card{grid-template-columns:1fr}.resource-cover{max-width:13rem}.resource-body{padding:.2rem}.resource-actions{display:grid;grid-template-columns:1fr}.split-panel{padding:1.35rem}.detail-list{grid-template-columns:1fr}.detail-list div:nth-last-child(-n+2){border-bottom:1px solid var(--border)}.detail-list div:last-child{border-bottom:0}.article-header h1{font-size:clamp(2.35rem,11vw,3.4rem)}.article-layout{padding-top:2rem}.article-body p{font-size:1rem}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}.footer-bottom{flex-direction:column}.search-box button{padding:.75rem .95rem}.filter-bar{align-items:stretch}.filter-bar>*{width:100%}}
@media (max-width:360px){.brand-mark{width:30px}.brand-mark svg{width:30px}.brand{gap:.5rem;font-size:.96rem}.hero-copy h1{font-size:2.5rem}.resource-meta{display:grid;grid-template-columns:1fr 1fr}.button{width:100%}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* Identidad final y componentes editoriales */
.brand img{width:218px;height:auto}.header-search button img{width:20px;height:20px}.hero-signals{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}.hero-signals span{display:inline-flex;align-items:center;min-height:32px;padding:.35rem .7rem;border:1px solid var(--border);border-radius:var(--radius-pill);background:rgba(255,255,255,.7);color:var(--ink-soft);font-size:.76rem;font-weight:800}.portal-card>img{position:absolute;top:1.25rem;right:1.4rem;width:44px;height:44px}.content-card--featured{padding:0;overflow:hidden;background:#fff}.content-card--featured .card-media{display:block;aspect-ratio:4/3;overflow:hidden;border-bottom:1px solid var(--border)}.content-card--featured .card-media img{width:100%;height:100%;object-fit:cover}.content-card--featured>p,.content-card--featured>h2,.content-card--featured>h3,.content-card--featured>.eyebrow,.content-card--featured>.text-link{margin-left:1.4rem;margin-right:1.4rem}.content-card--featured>.eyebrow{margin-top:1.2rem}.content-card--featured>.text-link{display:inline-block;margin-bottom:1.4rem}.content-card h2{font-family:var(--font-editorial);font-size:clamp(1.6rem,3vw,2.35rem);margin-bottom:.8rem}.content-card h2 a{text-decoration:none}.section--ink{background:var(--ink);color:#e6ece9}.section--ink h2,.section--ink h3{color:#fff}.section--ink .kicker{color:#9ec6d7}.section--ink .section-heading p{color:#b6c2bc}.section--ink .resource-card{box-shadow:none}.resource-stack{display:grid;gap:1rem}.resource-cover{display:block;border-radius:1rem;overflow:hidden;background:var(--paper-deep);align-self:stretch}.resource-cover img{width:100%;height:100%;object-fit:cover}.resource-meta{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.5rem;margin:1.1rem 0}.resource-meta li{padding:.3rem .6rem;border:1px solid var(--border);border-radius:var(--radius-pill);font-size:.74rem;color:var(--muted);background:var(--paper)}.resource-actions{display:flex;flex-wrap:wrap;gap:.65rem}.section--trust{background:linear-gradient(135deg,var(--blue-soft),var(--paper))}.trust-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2.5rem,7vw,7rem);align-items:start}.trust-grid>div:first-child p{color:var(--ink-soft);font-size:1.08rem}.trust-points{display:grid;gap:.8rem}.trust-points article{display:grid;grid-template-columns:3rem 1fr;column-gap:1rem;padding:1.2rem;border:1px solid var(--border);background:#fff;border-radius:var(--radius-m)}.trust-points article>span{grid-row:1/3;width:3rem;height:3rem;display:grid;place-items:center;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-family:var(--font-editorial);font-weight:700}.trust-points h3{align-self:end}.trust-points p{grid-column:2;margin:.35rem 0 0;color:var(--muted)}
.hub-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(17rem,.72fr);gap:clamp(2rem,6vw,5rem);align-items:center}.hub-hero-grid>img{width:100%;border:1px solid rgba(255,255,255,.8);border-radius:var(--radius-l);box-shadow:var(--shadow-s)}.cluster-card--active{border-color:#a8c5b9}.cluster-card--active h3 a{text-decoration:none}.cluster-card--planned{background:rgba(255,255,255,.55)}.cluster-card--planned .cluster-line{background:var(--border)}.section-heading--compact{margin-top:4rem}
.measure-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:1.5rem 0}.measure-grid div{padding:1rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.measure-grid span{display:block;color:var(--muted);font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.measure-grid strong{display:block;margin-top:.35rem;font-size:1.25rem}.split-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.split-list>div{padding:1.25rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.split-list h3{margin-bottom:.8rem}.article-body ul,.article-body ol{padding-left:1.3rem}.article-body li+li{margin-top:.45rem}.technical-figure{margin:1.5rem 0}.technical-figure img{width:100%;height:auto;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.technical-figure figcaption,.preview-frame figcaption{margin-top:.6rem;color:var(--muted);font-size:.78rem}.steps{counter-reset:step;list-style:none;padding:0!important;display:grid;gap:.75rem}.steps li{position:relative;padding:1.05rem 1.1rem 1.05rem 4.2rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.steps li::before{counter-increment:step;content:counter(step,decimal-leading-zero);position:absolute;left:1rem;top:1rem;width:2.4rem;height:2.4rem;display:grid;place-items:center;border-radius:50%;background:var(--blue-soft);color:var(--blue);font-family:var(--font-editorial);font-weight:700}.steps strong,.steps span{display:block}.steps span{color:var(--muted);margin-top:.2rem}.check-list{list-style:none;padding:0!important;display:grid;gap:.65rem}.check-list li{position:relative;padding-left:2rem}.check-list li::before{content:"✓";position:absolute;left:0;top:.05rem;width:1.35rem;height:1.35rem;display:grid;place-items:center;border-radius:50%;background:var(--green-soft);color:var(--green);font-weight:900}.mistake-grid,.progression-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.mistake-grid article,.progression-grid article{padding:1.15rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff}.mistake-grid h3,.progression-grid h3{margin-bottom:.5rem}.mistake-grid p,.progression-grid p{font-size:.94rem!important;margin-bottom:0}.progression-grid article>span{display:grid;place-items:center;width:2rem;height:2rem;margin-bottom:.7rem;border-radius:50%;background:var(--green-soft);color:var(--green);font-weight:900}.exercise-sample{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:1.3rem 0}.exercise-sample div{display:grid;place-items:center;min-height:7rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff;font-size:1.35rem}.exercise-sample strong{color:var(--green)}.callout--blue{border-left-color:var(--blue);background:var(--blue-soft)}
.resource-detail-cover{border-radius:var(--radius-l);overflow:hidden;box-shadow:var(--shadow-m);background:#fff}.resource-actions--detail{margin-top:1.2rem}.source-link{margin-top:1rem;color:var(--muted)}.preview-section{padding-top:4rem}.preview-frame{margin:0}.preview-frame img{width:100%;height:auto;border:1px solid var(--border);border-radius:var(--radius-l);background:#fff;box-shadow:var(--shadow-s)}
.trust-page h1{margin:.5rem 0 1.3rem}.trust-sections{margin-top:3rem}.trust-sections section{padding:2rem 0;border-top:1px solid var(--border)}.trust-sections h2{font-size:clamp(1.55rem,3vw,2.2rem);margin-bottom:.8rem}.trust-sections p{font-size:1.04rem;color:var(--ink-soft)}.contact-note{margin-top:2rem;padding:1rem 1.2rem;border:1px solid var(--border);border-radius:var(--radius-m);background:#fff;color:var(--muted)}.empty-state>img,.error-visual{margin:0 auto 1rem}.empty-state p{color:var(--muted)}
.footer-grid{grid-template-columns:1.35fr repeat(3,.65fr)}.footer-brand{display:inline-block;margin-bottom:1rem}.footer-brand img{width:260px;height:auto}.footer-grid>div:nth-child(2),.footer-grid>div:nth-child(3),.footer-grid>div:nth-child(4){display:flex;flex-direction:column;align-items:flex-start}
@media(max-width:1023px){.hub-hero-grid{grid-template-columns:1fr}.hub-hero-grid>img{max-width:42rem}.measure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exercise-sample{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1.2fr repeat(2,.8fr)}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:840px){.brand img{width:190px;height:auto}.trust-grid{grid-template-columns:1fr}.mistake-grid,.progression-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid>div:first-child{grid-column:1/-1}.resource-card{grid-template-columns:10rem minmax(0,1fr)}}
@media(max-width:640px){.brand img{width:176px}.measure-grid,.split-list,.exercise-sample{grid-template-columns:1fr}.resource-card{grid-template-columns:1fr}.resource-cover{max-width:13rem}.steps li{padding-left:3.7rem}.trust-points article{grid-template-columns:2.6rem 1fr}.trust-points article>span{width:2.6rem;height:2.6rem}.footer-grid{grid-template-columns:1fr}.footer-grid>div:first-child{grid-column:auto}}
@media(max-width:360px){.brand img{width:158px}.header-inner{gap:.5rem}.portal-card>img{width:38px;height:38px}.measure-grid strong{font-size:1.1rem}}

/* RC2 — refinamiento visual premium / Ariel Nuñez */
:root{
  --container:76rem;
  --reading:46rem;
  --shadow-s:0 10px 30px rgba(23,34,30,.08);
  --shadow-m:0 28px 80px rgba(23,34,30,.13);
}
body{font-size:16px;line-height:1.68;background:#f8f5ee}
h1,h2,h3{letter-spacing:-.028em}
h1{font-size:clamp(2.6rem,5vw,4.9rem)}
h2{font-size:clamp(1.95rem,3.2vw,3rem)}
h3{font-size:clamp(1.18rem,1.7vw,1.48rem)}
.section{padding:clamp(3.8rem,7vw,6.5rem) 0}
.section-heading{margin-bottom:2rem}.section-heading h2{max-width:44rem}.section-heading>p{line-height:1.72}
.site-header{background:rgba(248,245,238,.96);box-shadow:0 1px 0 rgba(23,34,30,.04)}
.header-inner{min-height:82px;gap:2.4rem}.brand img{width:232px}.site-nav{gap:1.25rem}.site-nav>a{font-size:.94rem}
.header-search{min-width:13rem;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7)}
.hero{padding:clamp(3.2rem,6vw,5.8rem) 0 4.2rem}
.hero--home{background-color:#f8f5ee;background-size:36px 36px}
.hero-grid{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(2.5rem,5vw,5rem)}
.hero-copy h1{font-size:clamp(3rem,5.6vw,5.15rem);max-width:11.5ch;margin:.55rem 0 1.15rem}
.hero-copy>p{font-size:clamp(1.05rem,1.35vw,1.2rem);line-height:1.72;max-width:38rem}
.hero-visual picture{border-radius:1.5rem;border:1px solid rgba(23,34,30,.09);box-shadow:0 30px 80px rgba(23,34,30,.16)}
.hero-visual figcaption{left:1.15rem;bottom:1.15rem;font-size:.75rem;letter-spacing:.01em}
.hero-signals{margin-top:1.15rem}.hero-signals span{background:#fff;border-color:#d8ded9}
.portal-grid{gap:1.25rem}.portal-card{min-height:20rem;padding:1.5rem 1.55rem 1.7rem;border-radius:1.35rem;box-shadow:0 8px 24px rgba(23,34,30,.045)}
.portal-card::before{width:11rem;height:11rem;right:-3.2rem;top:-3.2rem;opacity:.06}.portal-card h3{font-size:1.9rem}.portal-card p{max-width:28rem;line-height:1.68}
.portal-number{font-size:2.5rem;opacity:.22}.portal-card>img{width:40px;height:40px}
.feature-grid{gap:1.25rem}.content-card{border-radius:1.25rem}.content-card--featured{box-shadow:0 8px 28px rgba(23,34,30,.055)}
.content-card--featured .card-media{aspect-ratio:16/9;background:#ece7dc}.content-card--featured .card-media img{object-position:center center}
.content-card--featured>p,.content-card--featured>h2,.content-card--featured>h3,.content-card--featured>.eyebrow,.content-card--featured>.text-link{margin-left:1.5rem;margin-right:1.5rem}
.content-card--featured>.text-link{margin-bottom:1.5rem}.content-card--featured h3{line-height:1.18}
.resource-stack{gap:1.25rem}.resource-card{grid-template-columns:11.5rem minmax(0,1fr);gap:1.75rem;padding:1.15rem;border-radius:1.35rem;box-shadow:0 10px 34px rgba(23,34,30,.065)}
.resource-cover{aspect-ratio:4/5;max-height:15rem}.resource-cover img{object-fit:cover;object-position:center top}
.resource-body{display:flex;flex-direction:column;justify-content:center;padding:.35rem .4rem .35rem 0}.resource-body h3{font-size:clamp(1.55rem,2.4vw,2.05rem);line-height:1.16}.resource-body>p{line-height:1.65}
.section--ink{background:linear-gradient(145deg,#17221e,#21302a)}
.section--trust{background:linear-gradient(145deg,#e9f1f2 0,#f7f4ed 56%,#f3eadf 100%)}
.trust-points article{border-radius:1rem;box-shadow:0 7px 22px rgba(23,34,30,.035)}
.hub-hero{padding:clamp(3.8rem,7vw,6rem) 0}.hub-hero-grid{grid-template-columns:minmax(0,.82fr) minmax(20rem,1.18fr);gap:clamp(2.4rem,5vw,5rem)}
.hub-hero h1{font-size:clamp(2.8rem,5vw,4.7rem)}.hub-hero p{max-width:38rem;font-size:1.08rem;line-height:1.72}.hub-hero-grid>img{border-radius:1.35rem;box-shadow:0 24px 64px rgba(23,34,30,.12)}
.cluster-grid{gap:1.1rem}.cluster-card{padding:1.4rem;border-radius:1rem}.cluster-card p{font-size:.9rem;line-height:1.65}
.article-header{padding-top:clamp(3rem,5vw,4.8rem)}.article-header h1{font-size:clamp(2.65rem,4.7vw,4.5rem);max-width:16ch;line-height:1.04;margin:.45rem 0 1.1rem}
.article-lead{font-size:clamp(1.12rem,1.7vw,1.34rem);line-height:1.62;max-width:43rem}.article-byline{font-size:.84rem;margin-top:1.25rem}
.article-hero{margin-top:2.2rem}.article-hero picture{border-radius:1.45rem;box-shadow:0 22px 58px rgba(23,34,30,.12)}
.article-layout{grid-template-columns:13.5rem minmax(0,var(--reading));gap:clamp(2rem,4vw,4rem);padding-top:3.4rem}.toc{font-size:.84rem;line-height:1.55}.toc li+li{margin-top:.7rem}
.article-body section{margin-bottom:3.4rem}.article-body h2{font-size:clamp(1.8rem,2.6vw,2.45rem);line-height:1.14}.article-body p{font-size:1.03rem;line-height:1.78}
.technical-figure{margin:2rem 0}.technical-figure img{border-radius:1.2rem;box-shadow:0 9px 28px rgba(23,34,30,.06)}.technical-figure figcaption{font-size:.82rem;line-height:1.55}
.measure-grid div,.split-list>div,.steps li,.mistake-grid article,.progression-grid article{border-radius:1rem;box-shadow:0 5px 18px rgba(23,34,30,.035)}
.steps li{padding-top:1.12rem;padding-bottom:1.12rem}.exercise-sample div{min-height:6.1rem;font-size:1.22rem}
.resource-detail{padding-top:clamp(3.6rem,6vw,5.5rem)}.resource-detail-grid{grid-template-columns:minmax(16rem,.62fr) minmax(0,1.38fr);gap:clamp(2.6rem,6vw,5.6rem);align-items:center}.resource-detail-cover{max-width:26rem;border-radius:1.25rem}.resource-detail-copy h1{font-size:clamp(2.5rem,4.3vw,4rem);line-height:1.08;max-width:15ch}
.detail-list{font-size:.95rem}.preview-section{padding-top:4.8rem}.preview-frame img{border-radius:1.25rem;box-shadow:0 24px 64px rgba(23,34,30,.11)}.preview-frame figcaption{font-size:.82rem}
.trust-page h1{font-size:clamp(2.65rem,4.5vw,4.35rem);max-width:16ch}.trust-sections{margin-top:3rem}.trust-sections section{padding-block:1.5rem;border-top:1px solid var(--border)}.trust-sections h2{font-size:clamp(1.5rem,2.3vw,2rem);margin-bottom:.65rem}.trust-sections p{font-size:1rem;line-height:1.76}
.site-footer{padding-top:4.5rem}.footer-brand img{width:245px}.footer-grid{gap:clamp(2rem,5vw,4.5rem)}.footer-grid h2{font-size:.76rem}.footer-grid a{font-size:.93rem;text-decoration:none}.footer-grid a:hover{text-decoration:underline}.footer-bottom{font-size:.8rem}
@media(max-width:1023px){
 .hero-grid{grid-template-columns:1fr}.hero-copy h1{max-width:15ch}.hero-visual{max-width:none}.hub-hero-grid{grid-template-columns:1fr}.hub-hero-grid>img{max-width:46rem}.resource-detail-grid{grid-template-columns:minmax(14rem,.7fr) minmax(0,1.3fr)}
}
@media(max-width:840px){
 .header-inner{min-height:72px}.brand img{width:202px}.js .site-nav{top:calc(100% + .35rem);left:.75rem;right:.75rem;padding:1rem;border-radius:1rem}.resource-detail-grid{grid-template-columns:1fr}.resource-detail-cover{max-width:21rem}.article-layout{padding-top:2.6rem}.toc{font-size:.88rem}
}
@media(max-width:640px){
 body{line-height:1.64}.container{width:min(calc(100% - 1.25rem),var(--container))}.section{padding:3.4rem 0}.brand img{width:178px}.hero{padding:2.7rem 0 3.3rem}.hero-copy h1{font-size:clamp(2.55rem,12.5vw,3.55rem);line-height:1.02}.hero-copy>p{font-size:1rem}.hero-visual picture{border-radius:1.05rem}.hero-visual figcaption{font-size:.73rem}.portal-card{min-height:16.5rem;padding:1.35rem}.portal-card h3{font-size:1.65rem}.content-card--featured .card-media{aspect-ratio:16/10}.content-card--featured>p,.content-card--featured>h2,.content-card--featured>h3,.content-card--featured>.eyebrow,.content-card--featured>.text-link{margin-left:1.25rem;margin-right:1.25rem}.resource-card{grid-template-columns:1fr;gap:1rem}.resource-cover{max-width:10.5rem;max-height:none}.resource-body{padding:.1rem}.resource-body h3{font-size:1.6rem}.hub-hero{padding:3.1rem 0}.hub-hero h1{font-size:clamp(2.5rem,11vw,3.35rem)}.hub-hero p{font-size:1rem}.hub-hero-grid>img{border-radius:1rem}.article-header{padding-top:2.8rem}.article-header h1{font-size:clamp(2.35rem,10.4vw,3.25rem);max-width:none}.article-lead{font-size:1.08rem}.article-hero{margin-top:1.6rem}.article-hero picture{border-radius:1rem}.article-layout{padding-top:2rem;padding-bottom:3.5rem}.article-body section{margin-bottom:2.8rem}.article-body h2{font-size:clamp(1.7rem,8vw,2.12rem)}.article-body p{font-size:1rem;line-height:1.72}.technical-figure img{border-radius:.9rem}.resource-detail{padding-top:3rem}.resource-detail-copy h1{font-size:clamp(2.3rem,10vw,3.1rem);max-width:none}.preview-section{padding-top:3.4rem}.preview-frame img{border-radius:.9rem}.trust-page h1{font-size:clamp(2.35rem,10vw,3.2rem)}.footer-brand img{width:220px}
}
@media(max-width:360px){.brand img{width:160px}.hero-copy h1{font-size:2.45rem}.portal-card{min-height:15rem}.resource-cover{max-width:9.5rem}.footer-brand img{width:205px}}
/* RC2 responsive corrections after final cascade */
@media(max-width:1023px){
  .portal-grid,.cluster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-layout{grid-template-columns:1fr;max-width:var(--reading);justify-content:initial}
  .toc{position:static;border-left:0;border:1px solid var(--border);border-radius:1rem;padding:1rem;background:#fff}
}
@media(max-width:640px){
  .portal-grid,.cluster-grid,.feature-grid{grid-template-columns:1fr}
  .measure-grid,.split-list,.exercise-sample{grid-template-columns:1fr}
  .resource-actions{display:grid;grid-template-columns:1fr}
  .detail-list{grid-template-columns:1fr}
}

/* RC3 — reinicio parcial de identidad visual / Ariel Nuñez */
:root{
  --container:75rem;
  --reading:45rem;
  --radius-s:.55rem;
  --radius-m:.9rem;
  --radius-l:1.25rem;
  --shadow-s:0 10px 30px rgba(23,34,30,.065);
  --shadow-m:0 24px 64px rgba(23,34,30,.12);
}
body{background:#faf8f3;color:var(--ink);font-size:16px;line-height:1.66}
h1,h2,h3{letter-spacing:-.025em}
h1{font-size:clamp(2.45rem,4.35vw,4.25rem)}
h2{font-size:clamp(1.85rem,2.85vw,2.75rem)}
h3{font-size:clamp(1.12rem,1.45vw,1.38rem)}
.section{padding:clamp(3.5rem,6vw,5.75rem) 0}
.section-heading{margin-bottom:1.75rem}.section-heading h2{max-width:42rem}.section-heading>p{font-size:1rem;line-height:1.7}
.kicker,.eyebrow{font-size:.7rem;letter-spacing:.145em}
.site-header{background:rgba(250,248,243,.96);border-bottom:1px solid rgba(221,227,223,.85);backdrop-filter:blur(14px)}
.header-inner{min-height:74px;gap:2rem}.brand img{width:228px;height:auto}.site-nav{gap:1.15rem}.site-nav>a{font-size:.93rem;font-weight:760}
.header-search{min-width:13.5rem;border-radius:.8rem;background:#fff}.header-search input{padding:.62rem 0 .62rem .85rem}
.hero{padding:clamp(2.9rem,5.2vw,4.8rem) 0 3.7rem}
.hero--home{background:linear-gradient(140deg,#faf8f3 0%,#f5f0e6 64%,#edf2ef 100%);background-size:auto}
.hero-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(2.4rem,4.5vw,4.6rem);align-items:center}
.hero-copy h1{font-size:clamp(2.85rem,4.85vw,4.45rem);line-height:1.01;max-width:12.5ch;margin:.5rem 0 1rem}
.hero-copy>p{font-size:clamp(1.02rem,1.25vw,1.16rem);line-height:1.68;max-width:36rem}
.hero-search{margin-top:1.65rem}.hero-search>label{font-size:.9rem;margin-bottom:.45rem}
.search-box{border-radius:.9rem;max-width:38rem;box-shadow:0 8px 26px rgba(23,34,30,.06)}.search-box input{padding:.85rem 1rem}.search-box button{padding:.78rem 1.15rem}
.hero-signals{gap:.45rem;margin-top:1rem}.hero-signals span{font-size:.72rem;border-radius:999px;padding:.34rem .62rem;background:rgba(255,255,255,.8);border:1px solid #d9dfda}
.hero-visual picture{aspect-ratio:16/9;border-radius:1.15rem;border:1px solid rgba(23,34,30,.08);box-shadow:0 28px 70px rgba(23,34,30,.13)}
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-visual figcaption{left:.85rem;bottom:.85rem;max-width:calc(100% - 1.7rem);font-size:.72rem;padding:.42rem .68rem;background:rgba(23,34,30,.82)}
.portal-grid{gap:1rem}
.portal-card{min-height:15.25rem;justify-content:flex-start;padding:1.45rem 1.5rem 1.55rem;border-radius:1.05rem;box-shadow:0 7px 24px rgba(23,34,30,.045);border-top-width:3px}
.portal-card::before{width:7rem;height:7rem;right:-2.5rem;top:-2.5rem;opacity:.045}
.portal-card--copper{border-top-color:var(--copper)}.portal-card--green{border-top-color:var(--green)}.portal-card--amber{border-top-color:var(--amber)}
.portal-number{display:none!important}
.portal-card>img{width:38px;height:38px;margin-bottom:1rem}.portal-card h3{font-size:1.68rem;margin:0 0 .55rem}.portal-card p{font-size:.94rem;line-height:1.62;margin-bottom:.85rem}.portal-card .text-link{margin-top:auto;padding-top:.7rem;font-size:.9rem}
.feature-grid{gap:1rem}.content-card{padding:0;border-radius:1rem;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(23,34,30,.045)}
.section--paper .content-card{background:#fff}.content-card--featured .card-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#ece7dc}
.content-card--featured .card-media img{width:100%;height:100%;object-fit:cover;object-position:center}
.content-card--featured>p,.content-card--featured>h2,.content-card--featured>h3,.content-card--featured>.eyebrow,.content-card--featured>.text-link{margin-left:1.35rem;margin-right:1.35rem}
.content-card--featured>.eyebrow{margin-top:1.25rem}.content-card--featured h3{font-size:1.45rem;line-height:1.24;margin-bottom:.55rem}.content-card--featured>p:not(.eyebrow){font-size:.92rem;line-height:1.62}.content-card--featured>.text-link{margin-bottom:1.3rem;margin-top:.25rem}
.resource-stack{gap:1rem}.resource-card{grid-template-columns:10.5rem minmax(0,1fr);gap:1.45rem;padding:1rem;border-radius:1rem;box-shadow:0 8px 26px rgba(23,34,30,.055)}
.resource-cover{aspect-ratio:4/5;max-height:13.5rem;border-radius:.75rem}.resource-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.resource-body{padding:.25rem .35rem .25rem 0}.resource-body h3{font-size:clamp(1.4rem,2vw,1.82rem);line-height:1.2;margin-bottom:.55rem}.resource-body>p{font-size:.92rem;line-height:1.58}
.resource-meta{margin:.9rem 0}.resource-meta dt{font-size:.64rem}.resource-meta dd{font-size:.84rem}
.section--ink{background:linear-gradient(145deg,#17221e,#22322c)}
.section--trust{background:linear-gradient(145deg,#edf3f1 0,#faf8f3 58%,#f4ece3 100%)}
.trust-grid{grid-template-columns:.9fr 1.1fr;gap:clamp(2.4rem,5vw,4.5rem);align-items:start}
.trust-points{gap:.75rem}.trust-points article{display:grid;grid-template-columns:2.7rem 1fr;column-gap:1rem;align-items:start;padding:1rem 1.05rem;border:1px solid rgba(221,227,223,.9);background:rgba(255,255,255,.75);border-radius:.85rem;box-shadow:none}
.trust-points article>img{grid-row:1/3;width:2.7rem;height:2.7rem;padding:.65rem;border-radius:.8rem;background:#fff;border:1px solid var(--border)}
.trust-points article h3{font-family:var(--font-ui);font-size:.98rem;letter-spacing:-.01em;margin:.08rem 0 .18rem}.trust-points article p{font-size:.88rem;line-height:1.55;padding:0;border:0;margin:0}
.hub-hero{padding:clamp(3.2rem,5.5vw,5.1rem) 0}.hub-hero-grid{grid-template-columns:minmax(0,.86fr) minmax(22rem,1.14fr);gap:clamp(2.4rem,4.7vw,4.5rem);align-items:center}
.hub-hero h1{font-size:clamp(2.55rem,4.15vw,3.9rem);line-height:1.04}.hub-hero p{font-size:1.03rem;line-height:1.68}
.hub-hero-grid>img{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center;border-radius:1rem;box-shadow:0 22px 56px rgba(23,34,30,.11)}
.cluster-grid{gap:.85rem}.cluster-card{padding:1.2rem;border-radius:.85rem}.cluster-card p{font-size:.86rem;line-height:1.58}.cluster-line{width:2rem;margin-bottom:.8rem}
.article-header{padding-top:clamp(2.6rem,4.6vw,4.1rem)}.article-header h1{font-size:clamp(2.35rem,4vw,3.75rem);line-height:1.06;max-width:18ch;margin:.4rem 0 .9rem}
.article-lead{font-size:clamp(1.06rem,1.45vw,1.24rem);line-height:1.62;max-width:44rem}.article-byline{margin-top:1rem;font-size:.78rem}
.article-hero{margin-top:1.8rem}.article-hero picture{aspect-ratio:16/9;border-radius:1rem;box-shadow:0 20px 50px rgba(23,34,30,.10)}.article-hero img{width:100%;height:100%;object-fit:cover;object-position:center}
.article-layout{grid-template-columns:12.5rem minmax(0,var(--reading));gap:clamp(1.8rem,3.5vw,3.5rem);padding-top:3rem}.toc{font-size:.81rem;line-height:1.5}
.article-body section{margin-bottom:3rem}.article-body h2{font-size:clamp(1.65rem,2.25vw,2.25rem);line-height:1.15}.article-body p{font-size:1rem;line-height:1.76}
.technical-figure img{border-radius:.8rem;box-shadow:0 8px 24px rgba(23,34,30,.05)}
.resource-detail{padding-top:clamp(3rem,5vw,4.6rem)}.resource-detail-grid{grid-template-columns:minmax(15rem,.58fr) minmax(0,1.42fr);gap:clamp(2.4rem,5vw,5rem)}
.resource-detail-cover{width:100%;max-width:23rem;aspect-ratio:4/5;border-radius:1rem}.resource-detail-cover img{width:100%;height:100%;object-fit:cover;object-position:center}
.resource-detail-copy h1{font-size:clamp(2.25rem,3.65vw,3.5rem);line-height:1.09;max-width:17ch}.detail-list{font-size:.91rem}
.preview-section{padding-top:4rem}.preview-frame img{width:100%;aspect-ratio:14/9;object-fit:cover;object-position:center;border-radius:1rem;box-shadow:0 20px 52px rgba(23,34,30,.10)}
.trust-page h1{font-size:clamp(2.3rem,3.8vw,3.7rem);line-height:1.08}.trust-sections{margin-top:2.5rem}.trust-sections h2{font-size:clamp(1.4rem,2vw,1.85rem)}
.site-footer{padding-top:3.8rem}.footer-brand img{width:228px}.footer-grid{gap:clamp(1.8rem,4vw,3.5rem)}.footer-grid h2{font-size:.7rem;letter-spacing:.12em}.footer-grid a{font-size:.9rem}.footer-bottom{font-size:.76rem;line-height:1.5}

@media(max-width:1023px){
  .hero-grid,.hub-hero-grid{grid-template-columns:1fr}.hero-copy h1{max-width:15ch}.hero-visual,.hub-hero-grid>img{max-width:50rem}
  .resource-detail-grid{grid-template-columns:minmax(14rem,.65fr) minmax(0,1.35fr)}
  .portal-grid,.cluster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .article-layout{grid-template-columns:1fr;max-width:var(--reading);justify-content:initial}.toc{position:static;border-left:0;border:1px solid var(--border);border-radius:.85rem;padding:.9rem;background:#fff}
}
@media(max-width:840px){
  .header-inner{min-height:68px}.brand img{width:205px}.js .site-nav{top:calc(100% + .3rem);left:.65rem;right:.65rem;padding:.9rem;border-radius:.9rem}
  .resource-detail-grid{grid-template-columns:1fr}.resource-detail-cover{max-width:20rem}.article-layout{padding-top:2.35rem}
}
@media(max-width:640px){
  body{line-height:1.63}.container{width:min(calc(100% - 1.25rem),var(--container))}.section{padding:3.1rem 0}.brand img{width:172px}
  .hero{padding:2.35rem 0 2.9rem}.hero-copy h1{font-size:clamp(2.25rem,10.6vw,3rem);line-height:1.035;max-width:none}.hero-copy>p{font-size:.98rem}.hero-visual picture{aspect-ratio:4/3;border-radius:.85rem}.hero-visual figcaption{font-size:.68rem}
  .search-box{border-radius:.8rem}.search-box input{padding:.8rem .9rem}.search-box button{padding:.75rem .95rem}
  .portal-grid,.cluster-grid,.feature-grid{grid-template-columns:1fr}.portal-card{min-height:auto;padding:1.25rem}.portal-card>img{margin-bottom:.8rem}.portal-card h3{font-size:1.48rem}.portal-card p{font-size:.91rem}
  .content-card--featured .card-media{aspect-ratio:16/10}.content-card--featured>p,.content-card--featured>h2,.content-card--featured>h3,.content-card--featured>.eyebrow,.content-card--featured>.text-link{margin-left:1.15rem;margin-right:1.15rem}
  .resource-card{grid-template-columns:1fr;gap:.9rem}.resource-cover{max-width:11rem;max-height:none}.resource-body{padding:0}.resource-body h3{font-size:1.45rem}
  .trust-grid{grid-template-columns:1fr;gap:2rem}.trust-points article{grid-template-columns:2.45rem 1fr}.trust-points article>img{width:2.45rem;height:2.45rem}
  .hub-hero{padding:2.7rem 0}.hub-hero h1{font-size:clamp(2.2rem,9.6vw,2.9rem)}.hub-hero p{font-size:.98rem}.hub-hero-grid>img{aspect-ratio:4/3;border-radius:.85rem}
  .article-header{padding-top:2.4rem}.article-header h1{font-size:clamp(2.1rem,9.2vw,2.85rem);max-width:none}.article-lead{font-size:1.04rem}.article-hero{margin-top:1.4rem}.article-hero picture{aspect-ratio:4/3;border-radius:.85rem}
  .article-layout{padding-top:1.9rem;padding-bottom:3.2rem}.article-body section{margin-bottom:2.55rem}.article-body h2{font-size:clamp(1.55rem,7.2vw,1.95rem)}.article-body p{font-size:.98rem;line-height:1.72}
  .resource-detail{padding-top:2.6rem}.resource-detail-copy h1{font-size:clamp(2.05rem,8.9vw,2.75rem);max-width:none}.preview-section{padding-top:3.1rem}.preview-frame img{aspect-ratio:4/3;border-radius:.85rem}
  .trust-page h1{font-size:clamp(2.05rem,8.8vw,2.8rem)}.footer-brand img{width:208px}
}
@media(max-width:360px){.brand img{width:156px}.header-inner{gap:.5rem}.hero-copy h1{font-size:2.18rem}.portal-card>img{width:34px;height:34px}.footer-brand img{width:198px}}

/* ============================================================
   MaterialesGratis — Bloque 2 RC4
   Editorial premium + taller contemporáneo + materialidad real.
   Firma técnica: Ariel Nuñez
   ============================================================ */
:root{
  --wood-walnut:#71462f;
  --wood-oak:#c48a57;
  --wood-honey:#d7aa6d;
  --sand:#eadfce;
  --surface:#fffdf9;
  --surface-warm:#f4eee4;
  --line-warm:#dfd3c4;
  --shadow-editorial:0 18px 48px rgba(58,42,29,.10);
  --shadow-lift:0 26px 72px rgba(42,31,22,.14);
  --font-editorial:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,"Times New Roman",serif;
}
body{
  background:
    radial-gradient(circle at 12% 7%,rgba(168,95,52,.035),transparent 28rem),
    linear-gradient(180deg,#fbfaf7 0,#f8f5ee 100%);
  font-size:17px;
  color:var(--ink);
}
h1,h2,h3{letter-spacing:-.022em}
h1{font-size:clamp(2.55rem,4.4vw,4rem)}
h2{font-size:clamp(1.85rem,2.8vw,2.65rem)}
h3{font-size:clamp(1.1rem,1.5vw,1.38rem)}
.section{padding:clamp(3.8rem,6.2vw,6rem) 0}
.section--paper{background:rgba(255,253,249,.92);border-block:1px solid var(--line-warm)}
.section-heading{margin-bottom:2rem}.section-heading h2{line-height:1.08}.section-heading>p{max-width:42rem}
.kicker,.eyebrow{letter-spacing:.13em;font-size:.73rem}
.button{border-radius:.8rem;padding:.78rem 1.1rem;box-shadow:none}
.button--primary{background:var(--ink);border-color:var(--ink)}
.button--primary:hover{background:#22342d}
.button--ghost{background:rgba(255,255,255,.78)}

/* Header */
.site-header{background:rgba(251,250,247,.955);border-bottom:1px solid rgba(168,95,52,.16);box-shadow:0 5px 24px rgba(23,34,30,.035)}
.header-inner{min-height:78px;gap:2.2rem}
.brand img{width:222px;height:auto}
.site-nav{gap:1.25rem}
.site-nav>a{position:relative;font-size:.93rem;font-weight:760;color:#2d3934}
.site-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:5px;height:2px;background:var(--copper);transform:scaleX(0);transform-origin:left;transition:transform var(--motion)}
.site-nav>a:hover::after,.site-nav>a:focus-visible::after{transform:scaleX(1)}
.header-search{min-width:14rem;border-color:#d8d4cc;background:#fffdf9;border-radius:999px}

/* Home hero */
.hero--home{position:relative;background:linear-gradient(118deg,#fbfaf6 0%,#f4ecdf 50%,#eef4f1 100%)}
.hero--home::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(168,95,52,.45),transparent)}
.hero-grid{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(2.8rem,5.4vw,5.8rem)}
.hero-copy h1{font-size:clamp(3.05rem,4.7vw,4rem);line-height:1.02;max-width:12.2ch;margin:.55rem 0 1.15rem}
.hero-copy>p{font-size:clamp(1.04rem,1.2vw,1.17rem);line-height:1.7;max-width:35rem;color:#4c5a54}
.hero-search{margin-top:1.55rem}.hero-search>label{font-size:.92rem}
.search-box{max-width:37rem;border-color:#d7d2c9;background:#fff;box-shadow:0 10px 30px rgba(58,42,29,.07)}
.search-box button{background:linear-gradient(135deg,var(--ink),#2f4a3f)}
.hero-signals span{background:rgba(255,253,249,.9);border-color:#ded6ca;color:#43504a}
.hero-visual picture{aspect-ratio:16/9;border-radius:1.15rem;border:1px solid rgba(88,61,40,.14);box-shadow:var(--shadow-lift);background:#e9dfd1}
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero-visual figcaption{background:rgba(23,34,30,.9);font-size:.74rem}

/* Three visual portals */
.portal-grid--visual{gap:1.15rem}
.portal-card{min-height:0;padding:0;display:block;background:var(--surface);border:1px solid #ddd4c8;border-top:0;border-radius:1.15rem;box-shadow:0 10px 34px rgba(58,42,29,.065);color:var(--ink);overflow:hidden}
.portal-card::before{display:none}
.portal-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-editorial)}
.portal-media{display:block;aspect-ratio:16/9;overflow:hidden;background:#e8dfd2}
.portal-media img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform 420ms cubic-bezier(.2,.8,.2,1)}
.portal-card:hover .portal-media img{transform:scale(1.018)}
.portal-content{position:relative;display:flex;flex-direction:column;min-height:13rem;padding:1.4rem 1.45rem 1.5rem;border-top:3px solid var(--copper)}
.portal-card--green .portal-content{border-top-color:var(--green)}
.portal-card--amber .portal-content{border-top-color:var(--amber)}
.portal-icon{position:absolute;right:1.25rem;top:-1.55rem;width:3.1rem;height:3.1rem;display:grid;place-items:center;border-radius:50%;background:#fff;border:1px solid #ded5c9;box-shadow:0 8px 20px rgba(58,42,29,.10)}
.portal-icon img{width:28px;height:28px}
.portal-card h3{font-size:1.65rem;margin:.05rem 0 .55rem;color:var(--ink)}
.portal-card p{color:#4f5c56;font-size:.95rem;line-height:1.62;margin:0 0 1rem}
.portal-card .text-link{margin-top:auto;padding-top:.2rem;color:var(--ink);font-size:.92rem}

/* Editorial cards */
.feature-grid{gap:1.2rem}
.content-card{background:var(--surface);border:1px solid #ded7cb;box-shadow:0 10px 34px rgba(58,42,29,.055)}
.content-card--featured{border-radius:1.15rem}
.content-card--featured .card-media{aspect-ratio:16/9;background:#e9dfd2}
.content-card--featured .card-media img{object-fit:contain;background:#e9dfd2}
.content-card--featured>.eyebrow{margin-top:1.3rem;color:var(--copper)}
.content-card--featured h3{font-size:1.48rem;line-height:1.22}
.content-card--featured>p:not(.eyebrow){color:#56615d}
.text-link{color:#23463d}

/* Resources */
.section--ink{background:linear-gradient(138deg,#14211d 0%,#20342b 52%,#392c23 135%)}
.section--ink .resource-card{background:#fffdf9;border-color:rgba(255,255,255,.08)}
.resource-card{grid-template-columns:11.25rem minmax(0,1fr);gap:1.6rem;border-radius:1.1rem;padding:1.15rem;background:var(--surface);border:1px solid #dfd6c9;box-shadow:0 12px 38px rgba(23,34,30,.065)}
.resource-cover{aspect-ratio:4/5;max-height:15rem;border-radius:.85rem;background:#efe8dc;padding:.6rem;border:1px solid #e0d6c8;display:grid;place-items:center}
.resource-cover picture{height:100%;width:100%}
.resource-cover img{width:100%;height:100%;object-fit:contain!important;object-position:center;background:#fff;box-shadow:0 7px 18px rgba(58,42,29,.10)}
.resource-body h3{font-size:clamp(1.45rem,2.2vw,1.95rem)}
.resource-meta{list-style:none;padding:0;display:flex;gap:.45rem .9rem}.resource-meta li{font-size:.76rem;color:#5c665f;background:#f1ede5;border-radius:999px;padding:.28rem .55rem}

/* Trust */
.section--trust{background:linear-gradient(135deg,#edf4f1 0%,#fbf8f1 50%,#efe3d5 100%)}
.trust-grid>div:first-child{padding-right:1rem}.trust-grid h2{max-width:12ch;line-height:1.08}
.trust-points article{background:rgba(255,253,249,.86);border-color:#ddd5ca}

/* Hub heroes */
.hub-hero{padding:clamp(3.4rem,5.8vw,5.35rem) 0}
.hub-hero--copper{background:linear-gradient(125deg,#fbf8f2 0%,#f0dfcf 100%)}
.hub-hero--green{background:linear-gradient(125deg,#fbfaf6 0%,#dfefea 100%)}
.hub-hero--amber{background:linear-gradient(125deg,#fbf8f1 0%,#f0e5cd 100%)}
.hub-hero-grid{grid-template-columns:minmax(0,.82fr) minmax(24rem,1.18fr);gap:clamp(2.8rem,5vw,5.5rem)}
.hub-hero h1{font-size:clamp(2.8rem,4vw,3.5rem);line-height:1.03;margin:.45rem 0 1rem}
.hub-hero p{font-size:1.06rem;line-height:1.72;max-width:38rem}
.hub-hero-media{display:block;overflow:hidden;border-radius:1.1rem;box-shadow:var(--shadow-editorial);border:1px solid rgba(58,42,29,.12);background:#e9dfd2}
.hub-hero-media img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#e9dfd2}
.cluster-card{background:rgba(255,253,249,.94);border-color:#ded6ca;border-radius:.95rem;box-shadow:0 6px 20px rgba(58,42,29,.035)}
.cluster-card--active{border-color:rgba(49,95,115,.32)}

/* Article */
.article-header h1{font-size:clamp(2.55rem,3.8vw,3.45rem);line-height:1.06;max-width:19ch}
.article-lead{font-size:clamp(1.07rem,1.35vw,1.22rem);max-width:46rem}
.article-hero picture{aspect-ratio:16/9;background:#e9dfd2;border:1px solid #e0d5c8;border-radius:1.15rem;box-shadow:var(--shadow-editorial)}
.article-hero img{object-fit:contain;background:#e9dfd2}
.article-body{font-size:1rem}.article-body p{font-size:1.01rem;line-height:1.82;color:#33423c}.article-body h2{font-size:clamp(1.75rem,2.2vw,2.2rem)}
.technical-figure{padding:1rem;background:#f1ece3;border:1px solid #e0d7cb;border-radius:1rem}
.technical-figure img,.technical-figure picture{width:100%;height:auto;object-fit:contain}
.technical-figure figcaption{margin:.75rem .25rem .1rem;color:#5d6761}
.technical-figure--document{background:#ece6dc}.technical-figure--document picture{display:block}.technical-figure--document img{background:#fff;box-shadow:0 10px 25px rgba(58,42,29,.10)}
.table-wrap{border-color:#dcd3c7;box-shadow:0 4px 18px rgba(58,42,29,.03)}
.author-box{background:#fffdf9;border-color:#ded6c9}

/* Related section */
.related-section{background:linear-gradient(180deg,#fffdf9,#f4eee5);border-top:1px solid #ded3c5}
.related-section .section-heading{margin-bottom:1.4rem}.related-section .section-heading h2{font-size:clamp(1.85rem,2.6vw,2.4rem)}
.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.related-card{min-height:9.5rem;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1rem;padding:1rem;border:1px solid #ddd3c6;border-radius:1rem;background:#fffdf9;text-decoration:none;box-shadow:0 8px 26px rgba(58,42,29,.045);transition:transform var(--motion),box-shadow var(--motion)}
.related-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-editorial)}
.related-card-icon{width:3.6rem;height:3.6rem;border-radius:.9rem;display:grid;place-items:center;background:#eef3f1;border:1px solid #d8e2de}.related-card-icon img{width:30px;height:30px}
.related-card-thumb{width:7.3rem;aspect-ratio:16/9;border-radius:.7rem;overflow:hidden;background:#e9dfd2}.related-card-thumb img{width:100%;height:100%;object-fit:contain}
.related-card span:last-child{display:grid;gap:.28rem}.related-card small{font-size:.68rem;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#6a746e}.related-card strong{font-family:var(--font-editorial);font-size:1.22rem;line-height:1.18}.related-card em{font-size:.82rem;font-style:normal;font-weight:800;color:#315f73}

/* Resource detail and documents */
.resource-detail{background:linear-gradient(180deg,#fbfaf7,#f7f1e7)}
.resource-detail-cover{aspect-ratio:4/5;padding:.85rem;background:#ece4d7;border:1px solid #ddd1c1;border-radius:1rem;box-shadow:var(--shadow-editorial);display:grid;place-items:center}
.resource-detail-cover img{width:100%;height:100%;object-fit:contain!important;object-position:center;background:#fff;box-shadow:0 9px 24px rgba(58,42,29,.12)}
.resource-detail-copy h1{font-size:clamp(2.4rem,3.4vw,3.25rem);line-height:1.08}
.preview-section{padding-top:4rem}.preview-frame{margin:0;padding:1.25rem;background:#ece5da;border:1px solid #ddd2c4;border-radius:1rem}.preview-frame picture{display:block;text-align:center}.preview-frame img{display:block;width:100%;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center;background:#fff;border-radius:.55rem;box-shadow:0 14px 34px rgba(58,42,29,.12)}
.preview-frame figcaption{margin:.8rem .2rem .15rem;color:#59645e;font-size:.82rem}

/* Trust/legal */
.trust-page h1{font-size:clamp(2.45rem,3.5vw,3.35rem);max-width:19ch}.trust-sections h2{font-size:clamp(1.45rem,1.9vw,1.85rem)}

/* Footer */
.site-footer{position:relative;background:linear-gradient(135deg,#14211d,#1d2d27 70%,#30271f);color:#edf0ed;padding-top:4rem}
.site-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--copper),var(--wood-honey),var(--green))}
.footer-brand img{width:232px}.footer-grid p{color:#c8d0cc;max-width:29rem}.footer-grid h2{font-size:.76rem;color:#d9dfdc;letter-spacing:.11em}.footer-grid a{font-size:.9rem;color:#eef1ef}.footer-bottom{font-size:.86rem;color:#cbd3cf;border-top-color:rgba(255,255,255,.12)}.footer-bottom a{color:#fff;text-decoration-color:#d6a26b}

/* Responsive art direction */
@media(max-width:1023px){
  .hero-grid,.hub-hero-grid{grid-template-columns:1fr}.hero-copy{max-width:46rem}.hero-visual,.hub-hero-media{max-width:52rem}
  .portal-grid--visual{grid-template-columns:repeat(3,minmax(0,1fr))}
  .resource-detail-grid{grid-template-columns:minmax(14rem,.6fr) minmax(0,1.4fr)}
}
@media(max-width:840px){
  .header-inner{min-height:70px}.brand img{width:198px}
  .portal-grid--visual{grid-template-columns:1fr 1fr}.portal-card--amber{grid-column:1/-1}.portal-card--amber .portal-media{aspect-ratio:21/7}
  .resource-detail-grid{grid-template-columns:1fr}.resource-detail-cover{max-width:20rem}
}
@media(max-width:640px){
  body{font-size:16px}.container{width:min(calc(100% - 1.25rem),var(--container))}.section{padding:3.15rem 0}
  .brand img{width:168px}.header-inner{min-height:66px}
  .hero{padding:2.25rem 0 2.9rem}.hero-copy h1{font-size:clamp(2.15rem,9.7vw,2.5rem);line-height:1.06;max-width:15ch}.hero-copy>p{font-size:1rem;line-height:1.66}
  .hero-visual picture{aspect-ratio:4/5;border-radius:.9rem}.hero-visual img{object-fit:cover}
  .hero-visual figcaption{position:static;margin-top:.55rem;background:transparent;color:#59645f;padding:0;font-size:.74rem}
  .hero-signals{display:flex;flex-wrap:wrap}
  .portal-grid--visual{grid-template-columns:1fr}.portal-card--amber{grid-column:auto}.portal-card--amber .portal-media,.portal-media{aspect-ratio:16/9}.portal-content{min-height:0;padding:1.25rem}.portal-card h3{font-size:1.5rem}.portal-icon{width:2.8rem;height:2.8rem;top:-1.4rem}.portal-icon img{width:25px;height:25px}
  .content-card--featured .card-media{aspect-ratio:16/9}.content-card--featured .card-media img{object-fit:contain}
  .resource-card{grid-template-columns:1fr}.resource-cover{width:min(12rem,100%);max-height:none;justify-self:start}.resource-meta{gap:.4rem}.resource-actions{gap:.55rem}
  .hub-hero{padding:2.7rem 0}.hub-hero h1{font-size:clamp(2.05rem,9vw,2.38rem)}.hub-hero p{font-size:1rem}.hub-hero-media{border-radius:.9rem}.hub-hero-media img{aspect-ratio:4/5;object-fit:cover}
  .article-header{padding-top:2.35rem}.article-header h1{font-size:clamp(2.05rem,8.7vw,2.35rem);max-width:none}.article-lead{font-size:1.04rem}.article-byline{font-size:.78rem}
  .article-hero{margin-top:1.4rem}.article-hero picture{aspect-ratio:4/5;border-radius:.9rem}.article-hero img{object-fit:cover}
  .article-body h2{font-size:clamp(1.55rem,6.8vw,1.85rem)}.article-body p{font-size:1rem;line-height:1.76}.technical-figure{padding:.65rem}
  .related-grid{grid-template-columns:1fr}.related-card{min-height:0}.related-card-thumb{width:6.2rem}
  .resource-detail{padding-top:2.7rem}.resource-detail-copy h1{font-size:clamp(2rem,8.4vw,2.35rem);max-width:none}.resource-detail-cover{max-width:17.5rem;padding:.7rem}.preview-section{padding-top:3rem}.preview-frame{padding:.7rem}.preview-frame img{width:100%;height:auto;object-fit:contain}
  .trust-page h1{font-size:clamp(2.05rem,8.3vw,2.38rem)}
  .site-footer{padding-top:3.4rem}.footer-brand img{width:208px}.footer-grid a{font-size:.92rem}.footer-bottom{font-size:.87rem;gap:.55rem}
}
@media(max-width:360px){
  .brand img{width:154px}.hero-copy h1{font-size:2.12rem}.portal-content{padding:1.15rem}.related-card{grid-template-columns:1fr}.related-card-thumb{width:100%;max-width:11rem}
}
/* RC4 contrast correction: resource cards sit on the dark editorial band, but their own surface is light. */
.section--ink .resource-card h3,
.section--ink .resource-card h3 a{color:var(--ink)}
.section--ink .resource-card .eyebrow{color:var(--copper)}
.section--ink .resource-card p{color:#53605a}
.section--ink .resource-card .resource-meta li{color:#5c665f;background:#f1ede5;border-color:#e1d9cd}
.section--ink .resource-card .button--ghost{color:var(--ink);border-color:var(--ink);background:#fff}
