/* M·A·S — una composición editorial común a todas las páginas. */
:root { --bg:#fff; --paper:#fff; --dark:#191919; --accent:#191919; --border:#dedede; --muted:#666; --gray:#eee; --font-display:'Helvetica Neue',Helvetica,Arial,sans-serif; --font-body:'Helvetica Neue',Helvetica,Arial,sans-serif; --pad:clamp(22px,4.5vw,80px); --nav-h:88px; }
html { font-size:16px; }
body { font-weight:400; animation:none; }
h1,h2,h3,h4 { font-weight:400; text-transform:none; }
::selection { background:#dedede; color:#111; }
:focus-visible { outline:2px solid currentColor; outline-offset:6px; }
[hidden] { display:none !important; }
.skip-link { position:fixed; top:12px; left:var(--pad); z-index:2000; padding:12px 20px; background:#fff; color:#111; transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.fade-in { opacity:1; transform:none; will-change:auto; }
.nav, .nav.scrolled { border:0; box-shadow:none; transform:none; }
.portada .nav { transition:opacity 480ms ease,visibility 0s; }
.portada.hero-at-top .nav:not(.menu-open) { opacity:0; visibility:hidden; pointer-events:none; transition:opacity 360ms ease,visibility 0s 360ms; }
.nav-bg { background:#fff; backdrop-filter:none; }
.nav-logo { position:relative; z-index:600; }
.nav-logo img { width:98px; height:auto; filter:brightness(0); }
.nav-toggle { width:44px; height:44px; align-items:center; justify-content:center; gap:6px; }
.nav-toggle span { width:28px; height:1px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform:translateY(-7px) rotate(-45deg); }
.nav-backdrop { position:fixed; inset:0; z-index:540; background:rgba(0,0,0,.12); opacity:0; visibility:hidden; pointer-events:none; transition:opacity 320ms var(--ease),visibility 0s 320ms; }
.nav.menu-open .nav-backdrop { opacity:1; visibility:visible; pointer-events:auto; transition-delay:0s; }
.nav.menu-open .nav-bg { background:#fff; }
.nav.menu-open .nav-logo img { filter:brightness(0); }
.nav.menu-open .nav-logo { z-index:530; }
.nav-links { inset:0 0 0 auto; width:clamp(400px,38vw,560px); visibility:hidden; align-items:flex-start; text-align:left; padding:calc(var(--nav-h) + 48px) clamp(36px,4.5vw,72px) 64px; gap:14px; overflow-y:auto; transform:translateX(32px); transition:opacity 320ms var(--ease),transform 320ms var(--ease),visibility 0s 320ms; }
.nav-links.open { visibility:visible; transition-delay:0s; }
.nav-links a { font-family:var(--font-display); font-weight:400; font-size:clamp(32px,3vw,44px); letter-spacing:-.04em; text-transform:none; color:#aaa; }
.nav-links a::after { background:#fff; }
.sec-title,.sec-head h2 { font-weight:400; text-transform:none; letter-spacing:-.025em; font-size:clamp(26px,3vw,42px); }
.btn { font-weight:400; font-size:14px; letter-spacing:0; text-transform:none; border:0; border-bottom:1px solid #777; padding:12px 0; background:transparent; color:var(--dark); }
.btn:hover,.btn-accent:hover { background:transparent; color:#777; border-color:#777; }
.btn-ghost-light { color:#fff; }
.crumb,.back-link,.founder-more,.sv-mas,.feat-more,.post-kicker,.hn-kicker,.service-more { font-weight:400; font-size:14px; letter-spacing:0; text-transform:none; }
footer { background:#fff; border-top:1px solid var(--border); color:#191919; padding:36px var(--pad); }
.foot-logo img { filter:brightness(0); height:20px; }
.foot-nav { gap:12px 24px; }
.foot-nav a,.foot-copy { color:#666; font-size:12px; }
.foot-nav a:hover { color:#111; }
/* Portada: marca centrada y lema discreto, con el terracota del estudio. */
.hh { min-height:680px; min-height:max(680px,100svh); padding:calc(var(--nav-h) + 56px) var(--pad) 112px; display:flex; align-items:center; justify-content:center; position:relative; }
.hh-inner { width:100%; text-align:center; }
.hh-logo { display:block; width:min(58vw,340px); height:auto; aspect-ratio:599/118; margin:0 auto; overflow:visible; }
.logo-trace { stroke-dasharray:1; stroke-dashoffset:0; }
.hero-motion .logo-trace { stroke-dashoffset:1; opacity:0; }
.hero-motion .logo-dot { opacity:0; }
.hero-ready .logo-trace { animation:mas-trace 1.35s cubic-bezier(.4,0,.2,1) both; }
.hero-ready .logo-trace-a { animation-delay:.16s; }
.hero-ready .logo-trace-s { animation-delay:.32s; }
.hero-ready .logo-dot { animation:mas-dot .4s ease both; }
.hero-ready .logo-dot-one { animation-delay:.65s; }
.hero-ready .logo-dot-two { animation-delay:.85s; }
.hero-motion .hh-tag,.hero-motion .hh-sub,.hero-motion .hh-actions { opacity:0; }
.hero-ready .hh-tag,.hero-ready .hh-sub,.hero-ready .hh-actions { animation:mas-settle .75s ease both; }
.hero-ready .hh-tag { animation-delay:.95s; }
.hero-ready .hh-sub { animation-delay:1.1s; }
.hero-ready .hh-actions { animation-delay:1.2s; }
@keyframes mas-trace { 0% { stroke-dashoffset:1; opacity:0; } 1% { opacity:1; } 100% { stroke-dashoffset:0; opacity:1; } }
@keyframes mas-dot { from { opacity:0; } to { opacity:1; } }
@keyframes mas-settle { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
.hh-tag { font-weight:400; font-size:clamp(22px,2.3vw,30px); line-height:1.3; letter-spacing:-.025em; max-width:none; margin:36px auto 0; }
.hh-sub { font-size:17px; line-height:1.75; max-width:44ch; color:#777; margin:20px auto 0; }
.hh-actions { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin-top:36px; }
.hh-actions .btn { min-width:148px; border:1px solid #999; padding:14px 24px; color:#333; }
.hh-actions .btn-accent { background:#b5422d; border-color:#b5422d; color:#fff; }
.hh-actions .btn:hover { border-color:#333; color:#111; }
.hh-actions .btn-accent:hover { background:#9e3826; border-color:#9e3826; color:#fff; }
.hh-scroll { position:absolute; left:50%; transform:translateX(-50%); bottom:32px; font-size:12px; color:#777; display:flex; flex-direction:column; gap:12px; align-items:center; white-space:nowrap; }
.hh-scroll span { font-size:20px; }
.intro { z-index:1200; }
.intro-marca { width:130px; }
.hs { padding:100px var(--pad); }
.hs-head { display:flex; justify-content:space-between; align-items:baseline; gap:24px; margin-bottom:38px; }
.hs-head h2,.he-text h2 { font-size:24px; line-height:1.2; font-weight:400; letter-spacing:-.025em; }
.hs-more { display:inline-block; font-size:14px; padding-bottom:8px; }
.section-index { color:#666; font-size:13px; }
.portada #proyectos { padding-top:24px; }
.hc { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:70px 28px; }
.hc-item { grid-column:span 6; display:block; min-width:0; }
.hc-item:first-child,.hc-item:last-child { grid-column:span 12; }
.hc-item:nth-child(4) { grid-column:span 7; }
.hc-item:nth-child(5) { grid-column:span 5; padding-top:120px; }
.hc-foto { overflow:hidden; background:#eee; }
.hc-foto img { width:100%; aspect-ratio:1.42; object-fit:cover; transition:transform .8s ease; }
.hc-item:first-child img,.hc-item:last-child img { aspect-ratio:2.05; }
.hc-item:nth-child(5) img { aspect-ratio:1.06; }
.hc-item:hover img { transform:scale(1.018); }
.hc-cap { padding-top:17px; display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.hc-name { font-size:18px; letter-spacing:-.02em; }
.hc-meta { color:#666; font-size:13px; }
.hc-todos { margin-top:50px; text-align:right; }
.hp { display:grid; grid-template-columns:1fr 2fr; border-top:1px solid var(--border); }
.hp-label { font-size:14px; font-weight:400; }
.hp-text { max-width:32ch; font-size:clamp(25px,3.1vw,46px); line-height:1.35; letter-spacing:-.035em; }
.hsv { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.hsv-image { width:100%; aspect-ratio:4/3; object-fit:cover; margin-bottom:24px; }
.hsv-n { font-size:12px; color:#666; margin-bottom:14px; }
.hsv-item h3 { font-size:21px; font-weight:400; letter-spacing:-.025em; margin-bottom:12px; }
.hsv-item p:not(.hsv-n) { font-size:16px; color:#606060; line-height:1.7; }
.hsv-item { min-width:0; }
.hn { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.hn-thumb { aspect-ratio:4/3; overflow:hidden; margin-bottom:20px; }
.hn-thumb img { width:100%; height:100%; object-fit:cover; }
.hn-kicker { font-size:12px; color:#666; margin-bottom:12px; }
.hn-kicker .dot { margin:0 8px; }
.hn-post h3 { font-size:22px; font-weight:400; letter-spacing:-.025em; line-height:1.25; }
.hn-post>p:last-child { font-size:16px; color:#606060; margin-top:16px; }
.he { display:grid; grid-template-columns:1fr 1fr; gap:8vw; align-items:center; }
.he-text h2 { margin-bottom:32px; }
.he-text p { font-size:25px; line-height:1.5; letter-spacing:-.02em; margin-bottom:30px; }
.he-image img { width:100%; aspect-ratio:1.15; object-fit:cover; filter:grayscale(1); }
.hct { border-top:1px solid var(--border); }
.hct h2 { font-size:clamp(38px,8vw,112px); letter-spacing:-.06em; line-height:1.1; font-weight:400; margin-bottom:30px; }
.hct p { max-width:40ch; color:#606060; font-size:18px; }
.hct-actions { display:flex; gap:32px; margin-top:24px; }
/* Archivo y fichas */
.archive-heading { font-size:clamp(34px,7vw,96px); font-weight:400; letter-spacing:-.055em; line-height:1.1; margin:44px 0 56px; }
.f-chip,.b-chip { font-size:14px; font-weight:400; letter-spacing:0; text-transform:none; min-height:44px; }
.f-count { font-size:12px; font-weight:400; letter-spacing:0; text-transform:none; }
.proj-grid { gap:56px 28px; }
.proj-card { grid-column:span 3; }
.proj-name,.proj-card.is-principal .proj-name { font-weight:400; font-size:20px; text-transform:none; letter-spacing:-.02em; }
.proj-meta { font-size:14px; }
.proj-thumb,.proj-card.is-principal .proj-thumb { aspect-ratio:1.5; }
.proj-hero { padding-top:var(--nav-h); }
.proj-hero img { height:calc(88svh - var(--nav-h)); }
.proj-head,.proj-body,.proj-ficha,.proj-share { max-width:1600px; }
.proj-head { padding-top:70px; padding-bottom:70px; }
.proj-head-title { font-size:clamp(32px,6vw,88px); font-weight:400; letter-spacing:-.05em; }
.proj-head-meta { font-weight:400; font-size:14px; text-transform:none; letter-spacing:0; }
.proj-lead { margin:40px 0 0 auto; max-width:64ch; }
.proj-lead p { font-size:18px; line-height:1.8; color:#505050; }
.proj-mosaic { gap:40px; align-items:start; }
.proj-mosaic .m-item:only-child,.proj-mosaic .m-drawing { grid-column:1/-1; }
.m-drawing img { max-height:850px; object-fit:contain; background:#fff; }
.m-item figcaption { font-size:13px; color:#666; padding-top:12px; }
.proj-ficha dt { font-size:12px; font-weight:400; }
.switch-name { font-weight:400; text-transform:none; letter-spacing:-.025em; }
/* Estudio, investigación y servicios */
#sobre-h { font-size:clamp(34px,7vw,96px); }
.about-grid { grid-template-columns:2fr 1fr; gap:8vw; }
.about-text p { font-size:clamp(23px,2.6vw,36px); letter-spacing:-.03em; line-height:1.4; color:#222; }
.about-stats { flex-direction:column; gap:32px; }
.stat-n { font-weight:400; color:#191919; }
.studio-work { margin:0 var(--pad) 80px; }
.studio-work img { width:100%; max-height:680px; object-fit:cover; }
.studio-work figcaption { padding-top:12px; font-size:13px; color:#666; }
.founder-name { font-weight:400; letter-spacing:-.035em; }
.founder-role,.founder-company { font-weight:400; text-transform:none; letter-spacing:0; font-size:14px; }
.service-name,.paso h3 { font-weight:400; text-transform:none; letter-spacing:-.02em; }
.paso p { font-size:16px; }
#contact-h { font-size:clamp(32px,6vw,80px); }
.cf-input { border-radius:0; background:#fff; border:0; border-bottom:1px solid #aaa; padding-left:0; font-size:16px; }
.cf-label { font-size:14px; font-weight:400; text-transform:none; letter-spacing:0; }
.cf-btn { background:#191919; border:1px solid #191919; font-size:14px; text-transform:none; letter-spacing:0; font-weight:400; }
.cf-btn:hover { background:#444; }
.c-icon { background:transparent; border-radius:0; color:#191919; }
.c-label,.c-value { font-size:14px; }
.b-head h1,.sv-head h1,.art-title,.lp-title,.per-name { font-weight:400; letter-spacing:-.045em; text-transform:none; }
.b-head h1,.sv-head h1 { font-size:clamp(34px,7vw,96px); }
.feat h2,.post-card h3,.sv-item h2 { font-weight:400; text-transform:none; letter-spacing:-.025em; }
.b-chip { border:0; border-bottom:1px solid transparent; border-radius:0; padding:8px 0; }
.b-chip.active,.b-chip:hover { background:transparent; color:#111; border-bottom-color:#111; }
.b-chips { gap:24px; }
.sv-img { overflow:hidden; }
.sv-img img { transition:transform .8s ease; }
/* Los titulares grandes dejan de encoger a partir de cierto ancho, y una
   palabra larga puede ser más ancha que un teléfono estrecho. Esto no cambia
   nada mientras quepa; solo parte la palabra cuando de verdad no cabe. */
h1,h2,h3,.hct h2,.archive-heading,.proj-head-title,.hp-text { overflow-wrap:break-word; }

@media(max-width:860px) {
 :root { --nav-h:76px; }
 .hs { padding-block:64px; }
 .hc { gap:42px 20px; }
 .hc-cap { display:block; }
 .hc-meta { margin-top:6px; }
 .hc-item:nth-child(5) { padding-top:60px; }
 .hsv { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 20px; }
 .hp { grid-template-columns:1fr; gap:30px; }
 .hn { gap:20px; }
 .he { gap:40px; }
 .he-text p { font-size:20px; }
 .about-grid { gap:32px; }
}
@media(max-width:599px) {
 .nav-logo img { width:85px; }
 .hh { min-height:max(620px,100svh); padding:132px var(--pad) 110px; }
 .hh-tag { font-size:23px; margin-top:30px; }
 .hh-sub { font-size:16px; max-width:30ch; }
 .hh-scroll { bottom:24px; }
 .hh-actions { gap:12px; margin-top:30px; }
 .hh-actions .btn { min-width:0; padding:13px 20px; }
 .hs-head { flex-wrap:wrap; margin-bottom:24px; gap:14px; }
 .hs-head h2 { font-size:21px; }
 .section-index { font-size:12px; }
 .hc { grid-template-columns:1fr; gap:38px; }
 .hc-item,.hc-item:first-child,.hc-item:last-child,.hc-item:nth-child(4),.hc-item:nth-child(5) { grid-column:auto; padding:0; }
 .hc-foto img,.hc-item:first-child img,.hc-item:last-child img,.hc-item:nth-child(5) img { aspect-ratio:1.25; }
 .hc-name { font-size:18px; }
 .hc-todos { text-align:left; margin-top:32px; }
 .hsv,.hn,.he { grid-template-columns:1fr; }
 .hsv-image { aspect-ratio:1.6; }
 .hn { gap:42px; }
 .hp-text { font-size:27px; }
 .hct-actions { flex-direction:column; align-items:flex-start; gap:8px; }
 .proj-grid { grid-template-columns:1fr; gap:36px; }
 .proj-card,.proj-card.is-principal { grid-column:auto; }
 .archive-heading { margin:24px 0 32px; }
 .f-line { gap:0 18px; }
 .proj-head { padding-block:40px; }
 .proj-hero img { height:60svh; }
 .proj-lead { margin-top:28px; }
 .proj-lead p { font-size:16px; }
 .proj-mosaic { grid-template-columns:1fr; gap:30px; }
 .proj-body > * { margin-top:30px; }
 .about-grid { grid-template-columns:1fr; }
 .about-stats { flex-direction:row; margin-top:0; }
 .studio-work { margin-bottom:48px; }
 .studio-work img { min-height:280px; }
 footer { gap:26px; }
 .foot-nav { gap:12px 20px; }
 .nav-links { justify-content:flex-start; padding-top:calc(var(--nav-h) + 32px); }
}
@media(prefers-reduced-motion:reduce) {
 *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
 .intro { display:none; }
 .hero-motion .logo-trace { stroke-dashoffset:0; opacity:1; }
 .hero-motion .logo-dot,.hero-motion .hh-tag,.hero-motion .hh-sub,.hero-motion .hh-actions { opacity:1; transform:none; }
 @view-transition { navigation:none; }
}
.foot-contact { flex-basis:100%; display:flex; flex-wrap:wrap; gap:12px 30px; font-size:14px; }
.blog-head h1 { font-size:clamp(32px,7vw,96px); font-weight:400; text-transform:none; letter-spacing:-.055em; }
.blog-head>div>p { max-width:47ch; font-size:18px; }
.blog-filters { gap:24px; }
.blog-count { font-size:13px; }
.person-photo { border-radius:0; }
.person-name,.team-area-name { font-weight:400; text-transform:none; letter-spacing:0; }
.person-role { font-size:14px; text-transform:none; letter-spacing:0; color:#666; }
.person-link { font-size:14px; text-transform:none; letter-spacing:0; font-weight:400; }
.person-sin-foto { background:#f3f3f3; }
.person-sin-foto span { font-weight:400; color:#777; }
.pp-card { border-radius:0; }
.pp-rol { font-size:14px; color:#666; }
.share-btn { border-radius:0; }
.share-label,.switch-label { font-size:12px; font-weight:400; text-transform:none; letter-spacing:0; }
.proj-switch { max-width:1600px; }
#lightbox,#perfilPanel { z-index:1400; }
#lb-count,#lb-caption,#lb-cap { font-size:14px; }
#lb-close,.lb-nav { min-width:44px; min-height:44px; }
#servicios .hs-head h2 { font-size:24px; }
@media(max-width:599px) { .blog-filters { gap:14px; } .blog-head h1 { font-size:42px; } .foot-contact { flex-direction:column; } }
img { height:auto; }
main[id],article[id] { scroll-margin-top:calc(var(--nav-h) + 24px); }
.dir-people { display:block; }
.dir-people .person-sin-foto { display:none; }
.dir-people .person-name { font-size:28px; letter-spacing:-.025em; }
.dir-people .person-role { margin-top:8px; }
.sv-intro h1 { font-weight:400; font-size:clamp(34px,7vw,96px); text-transform:none; letter-spacing:-.05em; }
.sv-cierre h2,.pf-name,.pf-sec h2,.pf-post h3,.pp-nombre { font-weight:400; text-transform:none; letter-spacing:-.03em; }
.pf-role,.pf-link { font-size:14px; font-weight:400; text-transform:none; letter-spacing:0; }
.carta-block.accent { background:#191919; }
.cf-input::placeholder { color:#777; }
.lp-hero { display:flex; flex-direction:column; align-items:stretch; min-height:0; padding:calc(var(--nav-h) + 48px) var(--pad) 0; color:#191919; overflow:visible; }
.lp-hero img.lp-bg { position:static; order:2; width:100%; height:auto; max-height:720px; aspect-ratio:1.9; object-fit:cover; z-index:auto; margin-top:48px; }
.lp-hero::after { display:none; }
.lp-hero-inner { max-width:960px; }
.lp-hero h1 { font-weight:400; text-transform:none; font-size:clamp(32px,5vw,76px); letter-spacing:-.045em; }
.lp-hero .lp-sub { color:#606060; font-size:18px; }
.lp-hero .crumb { color:#666!important; }
.lp-hero .btn-ghost-light { color:#191919; }
.lp-actions { gap:32px; }
.lp-fact .f-n,.lp-intro h2,.lp-row h3,.lp-cta h2 { font-weight:400; text-transform:none; letter-spacing:-.025em; }
.lp-proj .p-over { position:static; padding:16px 0 0; background:none; }
.lp-proj .p-name { color:#191919; font-size:18px; text-transform:none; font-weight:400; letter-spacing:0; }
.lp-proj .p-meta { color:#666; font-size:14px; }
.lp-cta { background:#191919; }
.lp-faq summary { font-weight:400; }
footer .foot-links a { color:#666; }
footer .foot-links a:hover { color:#111; }
@media(max-width:599px) { .lp-hero img.lp-bg { aspect-ratio:1.15; } .lp-actions .btn { width:auto; text-align:left; } .lp-actions { gap:24px; } }
.c-link { border:0; border-bottom:1px solid var(--border); padding:20px 0; }
.c-link:hover { background:transparent; border-color:#777; }
.c-label { font-weight:400; text-transform:none; letter-spacing:0; }
.cf-input { scroll-margin-top:calc(var(--nav-h) + 30px); }
.foot-nav { display:flex; flex-wrap:wrap; max-width:100%; min-width:0; }
@media(max-width:599px) {
 .f-line { flex-wrap:wrap; overflow:visible; }
 .proj-topbar { min-width:0; }
}

/* El panel ocupa toda la pantalla solamente en móvil. */
@media(max-width:760px) {
 .nav-links { width:100%; padding:calc(var(--nav-h) + 48px) var(--pad) 48px; justify-content:center; gap:16px; }
 .nav-links a { font-size:clamp(34px,8vw,48px); }
 .nav.menu-open .nav-logo { z-index:600; }
 .nav.menu-open .nav-logo img { filter:brightness(0) invert(1); }
}