/* DAC Studio — hoja única. Misma estética del sitio anterior (stone, Oswald light, fondo claro).
   Contrastes revisados para WCAG AA sobre #fafaf9:
   --ink #1c1917 (17:1) · --text #44403c (10:1) · --muted #625c57 (6.3:1) · --line #e7e5e4 (solo decorativo) */

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url(/fonts/oswald-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fafaf9;
  --ink: #1c1917;
  --text: #44403c;
  --muted: #625c57;
  --line: #e7e5e4;
  --tint: #f5f5f4;
  --serif: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: 24px;
}
@media (min-width: 768px) { :root { --pad: 40px; } }
@media (min-width: 1024px) { :root { --pad: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: .01em; margin: 0; line-height: 1.1; }
p { margin: 0 0 1.2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; }
.skip:focus { top: 8px; }

.wrap { max-width: 1600px; margin: 0 auto; padding: 0 var(--pad); }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.caps { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 249, .92); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
@media (min-width: 768px) { .site-header .wrap { height: 80px; } }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand b { font-size: 12px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase; }
.brand span { display: none; }
@media (min-width: 1200px) { .brand span { display: inline; } }
.brand, .nav a { white-space: nowrap; }
.nav { display: none; align-items: center; gap: 40px; }
.nav a { color: var(--muted); transition: color .3s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-block; border: 1px solid var(--ink); padding: 10px 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: transparent; transition: background .3s, color .3s; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--ink); color: var(--bg); }
.nav .btn { color: var(--ink); padding: 8px 14px; }
.nav .btn:hover { color: var(--bg); }
.menu-btn { background: none; border: 0; padding: 8px; cursor: pointer; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.menu-btn i { display: block; height: 1px; width: 24px; background: var(--ink); }
.menu-btn i + i { width: 16px; }
.mobile-nav { display: none; }
@media (min-width: 960px) { .nav { display: flex; } .menu-btn, .mobile-nav.open { display: none; } }
.mobile-nav.open { display: flex; flex-direction: column; align-items: center; gap: 32px; position: fixed; inset: 64px 0 0; background: var(--bg); padding-top: 18vh; z-index: 49; }
.mobile-nav a { font-family: var(--serif); font-size: 36px; font-weight: 300; }
.mobile-nav .btn { font-family: var(--sans); font-size: 12px; }

/* Home */
.intro { padding: 72px 0 56px; }
@media (min-width: 768px) { .intro { padding: 120px 0 80px; } }
.intro h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; max-width: 14ch; }
.intro p { margin-top: 28px; max-width: 46ch; font-size: 17px; color: var(--text); }

.services { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; margin-bottom: 80px; }
.services > .wrap > p { color: var(--text); max-width: 60ch; margin-bottom: 32px; }
.services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 768px) { .services ul { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.services h3 { font-size: 22px; margin-bottom: 8px; }
.services li p { color: var(--text); font-size: 15px; margin: 0; }

.featured { display: grid; gap: 96px; padding-bottom: 96px; }
@media (min-width: 768px) { .featured { gap: 144px; } }
.card-media { overflow: hidden; background: var(--tint); aspect-ratio: 16 / 10; }
@media (min-width: 768px) { .card-media { aspect-ratio: 16 / 9; } }
.card-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .7s var(--ease), transform .7s var(--ease); }
.card:hover .card-media img, .card:focus-visible .card-media img { filter: none; transform: scale(1.03); }
.card .lcp img { filter: none; }
.card-head { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
@media (min-width: 768px) { .card-head { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 32px; } }
.card-head h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); }
.card-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.card-idea { margin-top: 10px; color: var(--text); max-width: 60ch; }

.manifesto { padding: 96px 0; border-top: 1px solid var(--line); }
.manifesto blockquote { margin: 0; max-width: 28ch; font-family: var(--serif); font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.75rem); line-height: 1.2; }
.manifesto p { margin-top: 28px; max-width: 52ch; color: var(--text); }
.manifesto .more { display: inline-block; margin-top: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.cta-band { padding: 80px 0; border-top: 1px solid var(--line); text-align: left; }
.cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); margin-bottom: 16px; }
.cta-band p { color: var(--text); max-width: 52ch; }

/* Páginas interiores */
.page-head { padding: 64px 0 48px; }
@media (min-width: 768px) { .page-head { padding: 96px 0 64px; } }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1; }
.page-head p { margin-top: 20px; color: var(--text); max-width: 60ch; }
.crumbs { margin-bottom: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a:hover { color: var(--ink); }

.grid { display: grid; gap: 56px 32px; padding-bottom: 96px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid .card-media { aspect-ratio: 4 / 5; }
.grid h2 { font-size: 22px; margin-top: 16px; }
.grid .label { margin-top: 6px; display: block; }
.grid .card-idea { font-size: 15px; }

/* Proyecto */
.project-hero { margin-bottom: 64px; }
.project-hero img { width: 100%; height: auto; }
.project-body { display: grid; gap: 48px; padding-bottom: 80px; }
@media (min-width: 1024px) { .project-body { grid-template-columns: 1fr 2fr; gap: 96px; } }
.spec { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; align-content: start; border-top: 1px solid var(--line); padding-top: 24px; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; font-size: 15px; }
.memoria h2, .gallery-section h2, .faq h2, .section-title { font-size: 26px; margin-bottom: 24px; }
.memoria p { color: var(--text); max-width: 68ch; }
.credits { margin-top: 32px; }
.gallery-section { padding-bottom: 80px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.gallery figure { margin: 0; }
.gallery a { display: block; background: var(--tint); }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { margin-top: 10px; }
.pager { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 40px 0; }
.pager a { display: flex; flex-direction: column; gap: 6px; }
.pager a:last-child { text-align: right; margin-left: auto; }
.pager strong { font-family: var(--serif); font-weight: 300; font-size: 24px; }
.pager a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(250, 250, 249, .98); display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: 12px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; }
.lb-next { right: 8px; top: 50%; }
.lb-cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; }

/* Estudio */
.statement { padding-bottom: 80px; display: grid; gap: 48px; }
@media (min-width: 1024px) { .statement { grid-template-columns: 1fr 2fr; gap: 96px; } }
.statement p { color: var(--text); max-width: 68ch; }
.factual { font-size: 18px; color: var(--ink) !important; }
.team { list-style: none; margin: 0 0 96px; padding: 0; display: grid; gap: 56px; }
@media (min-width: 768px) { .team { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); background: var(--tint); }
.team h3 { font-size: 24px; margin-top: 20px; }
.team p { color: var(--text); margin-top: 12px; font-size: 15px; }
.collabs { list-style: none; margin: 0 0 96px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 768px) { .collabs { grid-template-columns: repeat(4, 1fr); } }
.collabs img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1); background: var(--tint); }
.collabs span { display: block; margin-top: 10px; font-size: 14px; }
.faq { padding: 80px 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; max-width: 820px; }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 300; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text); margin: 14px 0 0; max-width: 68ch; }

/* Contacto */
.contact { display: grid; gap: 64px; padding-bottom: 96px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 1fr 2fr; gap: 96px; } }
.contact-info dl { margin: 0; display: grid; gap: 20px; }
.contact-info dt { margin-bottom: 4px; }
.contact-info dd { margin: 0; }
.contact-info a { border-bottom: 1px solid var(--line); }
.contact-info a:hover { border-color: var(--ink); }
form .row { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 768px) { form .row.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #a8a29e; padding: 8px 0; border-radius: 0; }
textarea { min-height: 140px; resize: vertical; border: 1px solid #a8a29e; padding: 10px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-status { margin-top: 16px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot { display: grid; gap: 40px; }
@media (min-width: 768px) { .foot { grid-template-columns: 2fr 1fr 1fr; } }
.foot p { color: var(--text); max-width: 36ch; font-size: 15px; }
.foot ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .btn { margin-top: 8px; }
.legal { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* WhatsApp flotante */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--ink); color: var(--ink); transition: background .3s, color .3s; }
.wa:hover { background: var(--ink); color: var(--bg); }
.wa svg { width: 22px; height: 22px; fill: currentColor; }

/* 404 */
.notfound { padding: 120px 0 160px; }
.notfound h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 20px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
