:root{color-scheme:light;--paper:#f8f6f0;--ink:#21372e;--muted:#49574e;--line:#cacdc0;--serif:Baskerville,"Iowan Old Style",Georgia,serif;font-family:"DM Sans",system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}body:has(dialog[open]){overflow:hidden}a{color:inherit;text-decoration:none}a,button{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button,a{touch-action:manipulation}:focus-visible{outline:3px solid #a14c1c;outline-offset:4px}h1,h2,h3,p,figure{margin:0}h1,h2,h3,.brand,.caption strong{font-family:var(--serif);font-weight:400}img{display:block;max-width:100%}main,.mast,footer{width:min(calc(100% - 96px),1376px);margin:auto}.mast,footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.mast{height:84px;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:11px;font-size:23px;letter-spacing:-.06em}.brand i{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--ink);border-radius:50%;font-size:25px;line-height:1;padding-right:3px}.mast nav a,footer a{font-size:.84rem;font-weight:570}.mast nav span{margin-left:8px}.skip{position:fixed;top:8px;left:8px;transform:translateY(-180%);background:white;padding:12px;z-index:9}.skip:focus{transform:translateY(0)}
.hero{display:grid;grid-template-columns:.9fr 1.1fr;gap:5vw;align-items:center;padding:42px 0 50px}.intro{padding:20px 0}.label{text-transform:uppercase;letter-spacing:.15em;font-weight:650;font-size:.67rem;line-height:1.5}.intro>.label{display:flex;align-items:center;gap:12px}.rule{width:32px;height:1px;background:currentColor}.hero h1{font-size:clamp(4.8rem,8.6vw,9rem);line-height:.86;letter-spacing:-.07em;margin:27px 0}.hero h1 em{display:block;color:#48634d;font-weight:400}.lede{font-size:clamp(1rem,1.3vw,1.2rem);line-height:1.55;max-width:37ch;color:var(--muted)}.cta{display:inline-flex;align-items:center;gap:24px;background:var(--ink);color:#fff;padding:13px 20px;border-radius:32px;font-size:.9rem;margin-top:25px}.cta:hover{background:#395640}.featured{position:relative;display:block;height:clamp(345px,33vw,480px);overflow:hidden;border-radius:4px;background:#796848;color:#fff}.featured>img{width:100%;height:100%;object-fit:cover;object-position:50% 41%;transition:transform .35s}.featured:hover>img{transform:scale(1.025)}.caption{position:absolute;inset:auto 0 0;padding:60px 24px 23px;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;background:linear-gradient(transparent,rgba(13,22,16,.87))}.caption strong{display:block;font-size:clamp(1.6rem,2.65vw,2.8rem);line-height:1.12;letter-spacing:-.04em;margin-top:4px}.round,.expand,.controls button,.close{border-radius:50%;display:grid;place-items:center;flex:none}.round{width:38px;height:38px;border:1px solid #ffffff88;font-size:1.3rem}
#proyectos{border-top:1px solid var(--line);scroll-margin-top:16px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:34px 0 25px}.section-title h2{font-size:clamp(2.4rem,4.2vw,4rem);letter-spacing:-.055em;line-height:1}.section-title h2 em{font-weight:400}.section-title>span,.controls span{font-size:.82rem;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 24px}.project{scroll-margin-top:18px;display:flex;flex-direction:column}.artwork{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:1.64;border:0;border-radius:3px;padding:7%;overflow:hidden;background:#dbd0ac}.artwork img{width:100%;height:auto;box-shadow:0 7px 18px #302f2526;transition:transform .22s}.artwork:hover img{transform:translateY(-3px)}.miga{background:#dec5ad}.lumbre{background:#cdbdc4}.cortijo{background:#c4cdbd}.lector{background:#d1d3d0}.expand{position:absolute;right:10px;bottom:10px;background:var(--paper);width:30px;height:30px;border:1px solid #24382c30;font-size:1.2rem}.project-info{padding-top:18px;display:flex;flex-direction:column;flex:1}.project .label{color:#64705f}.project h3{font-size:clamp(1.65rem,2.5vw,2.6rem);line-height:1.08;letter-spacing:-.045em;margin:6px 0 10px}.description{font-size:.95rem;color:var(--muted);line-height:1.55}.actions{display:flex;gap:18px;align-items:center;padding-top:13px;margin-top:auto;flex-wrap:wrap}.actions a,.gallery-link{display:inline-flex;align-items:center;gap:6px;min-height:42px;font-size:.83rem;font-weight:600}.gallery-link{border:0;background:none;padding:0;text-decoration:underline;text-underline-offset:4px}.visit:hover,nav a:hover,footer a:hover{text-decoration:underline;text-underline-offset:4px}footer{padding:25px 0;margin:55px auto 0;border-top:1px solid var(--line)}
dialog{width:min(960px,95vw);max-height:94dvh;overflow:auto;border:0;border-radius:8px;padding:18px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#0e1b15d9}.viewer-head,.controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewer-head{margin-bottom:12px}.viewer-head h2{font-size:clamp(1.5rem,3vw,2rem);letter-spacing:-.04em}.close,.controls button{border:1px solid var(--line);background:transparent;width:42px;height:42px;font-size:1.4rem}dialog figure img{width:100%;height:auto;max-height:65dvh;object-fit:contain;background:#e5e5dc}figcaption{font-size:.9rem;padding:11px 0 0}.controls{justify-content:center;margin-top:10px}
@media(max-width:900px){main,.mast,footer{width:calc(100% - 48px)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:4vw}.hero h1{font-size:clamp(4.1rem,10vw,6.8rem)}}
@media(max-width:640px){main,.mast,footer{width:calc(100% - 36px)}.mast{height:62px}.mast nav a{font-size:.74rem}.brand{font-size:20px;gap:7px}.brand i{width:30px;height:30px;font-size:22px}.hero{grid-template-columns:1fr;gap:24px;padding:27px 0}.intro{padding:0}.hero h1{font-size:clamp(3.5rem,14vw,5.4rem);margin:14px 0}.hero h1 em{display:inline}.lede{font-size:1rem}.cta{margin-top:16px}.featured{height:auto;aspect-ratio:1.75}.caption{padding:45px 16px 14px}.section-title{padding:25px 0 20px}.section-title h2{font-size:2.25rem}.section-title>span{display:none}.grid{grid-template-columns:1fr;gap:28px}.project-info{padding-top:13px}.project h3{font-size:2rem}.description{max-width:58ch}.actions{padding-top:5px}dialog{padding:12px}footer{margin-top:32px}}
@media(prefers-reduced-motion:reduce){*,*::before{transition:none!important}}
