:root { --ed-ink:#191d21; --ed-muted:#62686d; --ed-line:#e7e8e8; --ed-panel:#f6f7f7; --ed-radius:28px; }
*,*::before,*::after { box-sizing:border-box; }
html { max-width:100%; overflow-x:hidden; scroll-behavior:smooth; }
body { max-width:100%; margin:0; overflow-x:hidden; background:#fff; color:var(--ed-ink); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
a { color:inherit; }
img { max-width:100%; }
.wrap-wide { width:min(1180px,calc(100% - 40px)); margin-inline:auto; }
.wrap-content { width:min(780px,calc(100% - 40px)); margin-inline:auto; }
.screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link:focus { position:fixed; z-index:100; top:10px; left:10px; width:auto; height:auto; padding:10px 14px; clip:auto; background:#fff; }
::selection { background:#dfff00; color:#111; }
:focus-visible { outline:3px solid #b9df00; outline-offset:4px; }
.site-header { position:sticky; top:0; z-index:30; padding:20px clamp(16px,3vw,32px) 0; }
.site-header__inner { display:flex; width:min(1180px,100%); min-height:72px; margin-inline:auto; padding:0 28px; align-items:center; justify-content:space-between; border:1px solid var(--ed-line); border-radius:22px; background:rgba(255,255,255,.92); box-shadow:0 8px 24px rgba(25,29,33,.06); backdrop-filter:blur(16px); }
.site-brand a { color:var(--ed-ink); font-weight:750; letter-spacing:-.04em; text-decoration:none; }
.site-nav { display:flex; gap:28px; align-items:center; }
.site-nav a { color:var(--ed-ink); text-decoration:none; }
.site-nav a:hover { opacity:.55; }
.hero-panel { display:flex; min-height:clamp(520px,68svh,680px); flex-direction:column; justify-content:center; margin-top:22px; padding:clamp(44px,5vw,72px) clamp(24px,6vw,80px); border-radius:var(--ed-radius); background:var(--ed-panel); text-align:center; }
.hero-heading { display:flex; gap:clamp(10px,2vw,26px); align-items:center; justify-content:center; flex-wrap:wrap; }
.hero-heading span { margin:0; font-size:clamp(3.4rem,9.2vw,8rem); font-weight:750; line-height:.9; letter-spacing:-.075em; }
.hero-avatar { width:clamp(70px,8vw,110px)!important; margin:0!important; transform:rotate(5deg); overflow:hidden; border-radius:16px!important; background:#d7d9d9; box-shadow:0 10px 24px rgba(25,29,33,.14); }
.hero-avatar img { width:100%!important; aspect-ratio:1/1; object-fit:cover; }
.hero-copy { max-width:790px; margin:30px auto 0!important; color:var(--ed-muted); font-size:clamp(1.25rem,2.1vw,1.8rem); line-height:1.45; }
.hero-arrow { margin-top:36px!important; font-size:2.4rem; }
.hero-arrow a { text-decoration:none; }
.projects-section { padding-top:clamp(28px,4vw,48px); }
.section-title { margin-top:0; margin-bottom:40px; font-size:clamp(2.8rem,6vw,5.8rem); letter-spacing:-.065em; }
.case-card { display:grid; grid-template-columns:minmax(0,42%) minmax(0,58%); gap:clamp(28px,6vw,80px); margin-bottom:24px; padding:clamp(26px,5vw,62px); align-items:center; overflow:hidden; border-radius:var(--ed-radius); }
.case-card--zinli { background:#f1eefb; }
.case-card--delmal { background:#171717; color:#fff; }
.case-card--delmal a { color:#fff; }
.case-card--convivencia { background:#eef5e9; }
.case-card--tour { background:#fff2df; }
.case-card .wp-block-columns { gap:clamp(28px,6vw,80px); }
.case-card h3 { margin:10px 0 18px; font-size:clamp(2.5rem,5vw,5rem); letter-spacing:-.06em; }
.case-card p:not(.eyebrow):not(.case-link) { max-width:42ch; font-size:clamp(1.05rem,1.5vw,1.25rem); }
.case-card__media { display:block; border-radius:20px; overflow:hidden; box-shadow:0 18px 44px rgba(25,29,33,.15); }
.case-card__placeholder { display:grid; min-height:320px; place-items:center; background:rgba(255,255,255,.45); text-decoration:none; }
.case-card__placeholder span { font-size:clamp(4rem,10vw,8rem); font-weight:800; letter-spacing:-.08em; opacity:.22; }
.case-card img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .55s cubic-bezier(.2,.7,.2,1); }
.case-card:hover img { transform:scale(1.03); }
.eyebrow { font-size:.76rem!important; font-weight:750; letter-spacing:.14em; text-transform:uppercase; }
.case-link { margin-top:28px!important; font-weight:700; }
.case-link a { text-underline-offset:5px; }
.about-panel { margin-top:clamp(80px,11vw,150px); padding:clamp(34px,7vw,90px); border-radius:var(--ed-radius); background:var(--ed-panel); }
.about-grid { display:grid; grid-template-columns:minmax(0,36%) minmax(0,64%); gap:clamp(36px,8vw,110px); align-items:center; }
.about-portrait { overflow:hidden; border-radius:22px; background:#e3e4e4; }
.about-portrait img { display:block; width:100%; height:auto; }
.about-copy { font-size:clamp(1.35rem,2.4vw,2.1rem); line-height:1.42; letter-spacing:-.025em; }
.site-footer { box-sizing:border-box; margin-top:24px; padding:clamp(48px,8vw,100px); border-radius:var(--ed-radius); background:var(--ed-ink); color:#fff; }
.site-footer a { color:#fff; }
.footer-title { margin:10px 0 80px; font-size:clamp(4rem,10vw,9rem); letter-spacing:-.075em; }
.footer-links { display:flex; gap:24px; align-items:center; justify-content:space-between; }
.portfolio-index,.case-study { padding-top:clamp(70px,10vw,140px); }
.page-display,.case-title { max-width:12ch; margin:12px 0 28px; font-size:clamp(3.5rem,8vw,7.5rem); line-height:.94; letter-spacing:-.07em; }
.project-grid { margin-top:70px; }
.project-tile { padding:18px; border:1px solid var(--ed-line); border-radius:22px; }
.project-tile figure { margin:0 0 20px; overflow:hidden; border-radius:14px; background:var(--ed-panel); }
.project-tile .wp-block-post-title a { text-decoration:none; }
.case-meta { display:flex; gap:24px; margin-bottom:40px; padding:18px 0; border-top:1px solid var(--ed-line); border-bottom:1px solid var(--ed-line); }
.case-meta a { color:inherit; }
.case-cover { margin-bottom:clamp(50px,8vw,100px); overflow:hidden; border-radius:22px; }
.case-cover img { display:block; width:100%; height:auto; }
.case-content { font-size:1.08rem; line-height:1.78; }
.case-content p,
.case-content h2,
.case-content h3,
.case-content h4,
.case-content h5,
.case-content ul,
.case-content ol,
.case-content blockquote { width:min(600px,100%); margin-right:auto; margin-left:auto; }
.case-content p { margin-top:0; margin-bottom:1.65em; color:#33383d; }
.case-content > p:first-child { margin-bottom:2.2em; color:var(--ed-ink); font-size:clamp(1.3rem,2vw,1.7rem); font-weight:650; line-height:1.45; letter-spacing:-.025em; }
.case-content h2 { margin-top:clamp(72px,9vw,120px); margin-bottom:24px; font-size:clamp(2.35rem,4.5vw,4rem); line-height:1.02; letter-spacing:-.055em; }
.case-content h3,.case-content h4 { margin-top:64px; margin-bottom:20px; font-size:clamp(1.75rem,3vw,2.6rem); line-height:1.12; letter-spacing:-.035em; }
.case-content ul,.case-content ol { margin-bottom:2em; padding-left:1.4em; }
.case-content blockquote { margin-top:56px; margin-bottom:56px; padding-left:24px; border-left:4px solid var(--ed-ink); font-size:1.35rem; line-height:1.5; }
.case-content figure { width:min(1100px,100%); margin:clamp(48px,7vw,90px) auto; overflow:hidden; border-radius:22px; }
.case-content figcaption { padding-top:10px; color:var(--ed-muted); font-size:.82rem; line-height:1.45; text-align:center; }
.case-content img { width:100%; height:auto; }
.case-nav { display:flex; justify-content:space-between; gap:24px; margin-top:80px; padding:30px 0; border-top:1px solid var(--ed-line); }
.standard-page,.not-found { padding-block:clamp(70px,10vw,140px); }
.page-title { font-size:clamp(3rem,7vw,6.5rem); line-height:.95; letter-spacing:-.06em; }
@media (max-width:780px) {
  .site-header { padding:10px 10px 0; }
  .site-header__inner { min-height:62px; padding:0 18px; }
  .hero-panel { min-height:75svh; margin-top:12px; }
  .hero-heading { flex-direction:column; }
  .hero-avatar { order:2; }
  .case-card,.about-grid { grid-template-columns:1fr; }
  .site-nav { gap:14px; font-size:.85rem; }
  .site-nav a:nth-child(3) { display:none; }
  .footer-links { align-items:flex-start!important; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) { html{scroll-behavior:auto} *{transition:none!important} }
