@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight-400.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-display: swap; src: url(/fonts/inter-tight-600.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-display: swap; src: url(/fonts/inter-tight-700.woff2) format("woff2"); }
@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url(/fonts/anton-400.woff2) format("woff2"); }

:root { --ink: #1c1c1c; --muted: #757575; --hover: #6a6a6a; --line: #e4e4e4; --gutter: 3%; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 "Inter Tight", "Helvetica Neue", Arial, sans-serif; overflow-wrap: break-word; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-weight: 600; }

.site-header { position: relative; height: 120px; display: flex; align-items: center; justify-content: center; padding: 0 var(--gutter); }
.site-header nav { position: absolute; left: var(--gutter); display: flex; gap: 22px; font-size: 15px; text-transform: uppercase; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--hover); }
.site-header nav a.active { font-weight: 600; }
.logo img { height: 96px; width: auto; }

.masthead { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; text-align: center; }
.masthead p { margin: 0; color: #3a3a3a; font-size: 24px; line-height: 31px; letter-spacing: -.01em; }

.project-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 0 var(--gutter); }
.project-cover { display: block; text-decoration: none; text-align: center; }
.project-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.project-cover .title { display: block; margin-top: 16px; font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -.01em; }
.project-cover .date { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.project-cover:hover .title { color: var(--hover); }

.project, .page { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.page-header { max-width: 700px; margin: 0 auto; padding: 40px 0 60px; text-align: center; }
.page-header h1, .page h1 { margin: 0 0 18px; font-size: 22px; line-height: 28px; text-align: center; }
.page-header p { margin: 0; color: var(--muted); font-size: 17px; line-height: 24px; white-space: pre-line; }
.module { display: block; width: 100%; margin: 0 auto 30px; }
.module img { width: 100%; }
.module-text { max-width: 760px; margin: 30px auto 60px; color: var(--muted); font-size: 17px; line-height: 26px; text-align: center; }

.other-projects { margin-top: 90px; }
.other-projects h2 { margin: 0 0 36px; font-size: 18px; text-align: center; }

.page { max-width: 720px; padding-top: 25px; }
.legal h2 { margin: 40px 0 10px; font-size: 18px; line-height: 24px; }
.legal p, .legal li { color: #444; line-height: 26px; }
.legal li { margin-bottom: 8px; }
.legal .lead { color: var(--ink); font-size: 19px; line-height: 28px; }
.vigencia { margin: 0 0 32px; text-align: center; font-size: 14px; color: var(--muted) !important; }

.about h2 { margin: 44px 0 14px; font-size: 18px; line-height: 24px; }
.about .lead { font-size: 19px; line-height: 28px; }
.about p { color: #444; line-height: 26px; }
.about ul.pm { margin: 0; padding-left: 18px; color: #444; line-height: 26px; columns: 2; column-gap: 32px; }
@media (max-width: 700px) { .about ul.pm { columns: 1; } }
.cv { display: grid; grid-template-columns: 110px 1fr; gap: 14px 20px; margin: 0; }
.cv dt { color: var(--muted); font-size: 15px; }
.cv dd { margin: 0; color: #444; line-height: 24px; }
.cv strong { color: var(--ink); font-weight: 600; }

.contact-form { display: grid; gap: 22px; }
.contact-form label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: var(--ink); font: 400 16px/1.4 inherit; font-family: inherit; }
.contact-form button { justify-self: start; padding: 12px 32px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px "Inter Tight", Arial, sans-serif; cursor: pointer; }
.contact-form button:hover { background: #fff; color: var(--ink); }

.empresa { display: grid; grid-template-columns: 110px 1fr; gap: 10px 20px; margin: 56px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.empresa dt { color: var(--muted); }
.empresa dd { margin: 0; }

.site-footer { margin-top: 100px; padding: 40px 20px 56px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; line-height: 22px; color: var(--muted); }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--ink); font-weight: 600; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 18px 0; }
.site-footer nav a { color: var(--ink); }
.site-footer .copy { font-size: 13px; }

.lightbox { position: fixed; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(255, 255, 255, .96); cursor: zoom-out; }
.lightbox img { max-height: 100%; width: auto; height: auto; object-fit: contain; }
[data-lightbox] { cursor: zoom-in; }

html { scroll-behavior: smooth; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero { --hero-ink: #262626; position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: linear-gradient(125deg, #f6c6b3, #cbbdf1, #bde5d2, #f6c6b3) 0 50% / 300% 300%; animation: gradiente 18s ease-in-out infinite alternate; color: var(--hero-ink); font-size: 15px; line-height: 20px; }
@keyframes gradiente { to { background-position: 100% 50%; } }
.hero a { text-decoration: none; }
.hero a:hover { opacity: .7; }
.hero-top { position: absolute; z-index: 3; top: 28px; left: var(--gutter); right: var(--gutter); display: grid; grid-template-columns: 1fr auto 140px 110px; gap: 0 48px; align-items: start; }
.hero-brand { font-size: 17px; }
.hero-top nav { display: grid; }
.hero-arrow { position: absolute; z-index: 3; top: 92px; left: max(12px, calc(var(--gutter) - 14px)); display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #262626; color: #fff; }
.hero-marquee { position: absolute; z-index: 1; top: 11%; left: 0; width: 100%; overflow: hidden; }
.hero-marquee div { display: flex; width: max-content; animation: marquesina 22s linear infinite; }
.hero-marquee span { color: #fffdf8; font: 400 clamp(190px, 29vw, 580px)/.9 "Anton", "Impact", "Arial Narrow", sans-serif; text-transform: uppercase; white-space: nowrap; }
@keyframes marquesina { to { transform: translateX(-50%); } }
.hero-portrait { position: absolute; z-index: 2; bottom: 0; left: 50%; height: min(92%, 125vw); width: auto; max-width: none; transform: translateX(-50%); }
.hero-bottom { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; justify-content: space-between; align-items: end; padding-top: 30px; border-top: 1px solid var(--hero-ink); }
.hero-bottom p { margin: 0; }
.hero-bottom p:last-child { text-align: right; }
.hero + main .masthead { padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { .hero, .hero-marquee div { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 768px) {
  :root { --gutter: 5%; }
  .project-covers { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .masthead { padding-top: 24px; padding-bottom: 40px; }
  .masthead p { font-size: 18px; line-height: 24px; }
  .page-header p, .module-text { font-size: 15px; line-height: 22px; }
}
@media (max-width: 540px) {
  .hero { font-size: 13px; line-height: 17px; }
  .hero-top { grid-template-columns: 1fr auto auto; gap: 0 22px; top: 20px; }
  .hero-year { display: none; }
  .hero-arrow { top: 84px; left: var(--gutter); width: 46px; height: 46px; }
  .hero-marquee { top: 20%; }
  .hero-marquee span { font-size: 60vw; }
  .hero-portrait { height: min(72%, 135vw); }
  .hero-bottom { z-index: 3; bottom: 22px; padding-top: 0; border-top: 0; color: #fffdf8; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); gap: 16px; }
  .hero-bottom p { max-width: 48%; }
  .site-header { height: 92px; justify-content: flex-end; }
  .site-header nav { gap: 16px; font-size: 14px; }
  .logo img { height: 68px; }
  .project-covers { grid-template-columns: 1fr; }
  .empresa, .cv { grid-template-columns: 1fr; gap: 2px; }
  .cv dd { margin-bottom: 12px; }
  .empresa dd { margin-bottom: 12px; }
}
